Update file style.css
This commit is contained in:
parent
24d250d052
commit
789f0a09af
28
style.css
28
style.css
|
@ -6,6 +6,8 @@
|
|||
|___/___/\____/\____//____/
|
||||
*/
|
||||
|
||||
/* style.css */
|
||||
|
||||
/* General styles */
|
||||
body {
|
||||
background-color: #00db16;
|
||||
|
@ -16,15 +18,21 @@ body {
|
|||
|
||||
/* Centering content */
|
||||
.center {
|
||||
text-align: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
/* Styling the main content */
|
||||
.main-content {
|
||||
width: 75%;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
background-color: white;
|
||||
border-radius: 5px;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
text-align: center; /* Center content horizontally */
|
||||
margin-top: 0px; /* Adjust the margin from the top as needed */
|
||||
}
|
||||
|
||||
/* Header styles */
|
||||
|
@ -36,13 +44,25 @@ h1 {
|
|||
|
||||
/* Link styles */
|
||||
a {
|
||||
color: #00db16; /* Same color as the background */
|
||||
color: #00db16;
|
||||
text-decoration: none;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* List styles */
|
||||
nav ul {
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
nav ul li {
|
||||
display: inline-block;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
/* Paragraph styles */
|
||||
|
|
Loading…
Reference in New Issue