Update file style.css

This commit is contained in:
[ vicgs ] 2024-04-29 15:14:57 +00:00
parent 24d250d052
commit 789f0a09af
1 changed files with 25 additions and 5 deletions

View File

@ -5,6 +5,8 @@
| |/ // // /___/ /_/ /___/ / | |/ // // /___/ /_/ /___/ /
|___/___/\____/\____//____/ |___/___/\____/\____//____/
*/ */
/* style.css */
/* General styles */ /* General styles */
body { body {
@ -16,15 +18,21 @@ body {
/* Centering content */ /* Centering content */
.center { .center {
text-align: center; display: flex;
justify-content: center;
align-items: center;
height: 100vh;
} }
/* Styling the main content */ /* Styling the main content */
.main-content { .main-content {
width: 75%; width: 75%;
margin: 0 auto;
padding: 20px; padding: 20px;
background-color: white; 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 */ /* Header styles */
@ -36,13 +44,25 @@ h1 {
/* Link styles */ /* Link styles */
a { a {
color: #00db16; /* Same color as the background */ color: #00db16;
text-decoration: none; text-decoration: none;
margin-right: 10px; margin-right: 10px;
} }
a:hover { 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 */ /* Paragraph styles */
@ -65,4 +85,4 @@ footer {
margin-top: 20px; margin-top: 20px;
color: #666; color: #666;
font-size: 14px; font-size: 14px;
} }