Skip to content

Commit

Permalink
Create style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
zeyudsai authored Nov 23, 2024
1 parent 7f519c8 commit 387e52c
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
body {
font-family: "EB Garamond", serif;
line-height: 1.6;
color: #333;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
header {
text-align: center;
background: #444;
color: white;
padding: 2rem 0;
}
.profile-pic {
width: 150px;
height: 150px;
border-radius: 50%;
border: 3px solid white;
}
nav ul {
list-style: none;
background: #333;
display: flex;
justify-content: center;
padding: 0;
margin: 0;
}
nav ul li {
margin: 0 15px;
}
nav ul li a {
color: white;
text-decoration: none;
padding: 10px 15px;
display: block;
}
nav ul li a:hover {
background: #555;
border-radius: 5px;
}
section {
margin: 2rem auto;
max-width: 800px;
padding: 1rem;
background: white;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
footer {
text-align: center;
padding: 1rem 0;
background: #444;
color: white;
}

0 comments on commit 387e52c

Please sign in to comment.