Skip to content

Commit

Permalink
Update style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
kvsc27 authored Jul 29, 2024
1 parent b158268 commit 6801864
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions navigation/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,57 @@
body {
margin: 0;
}

header {
background-color: #000;
margin-bottom: 40px;
}

header h1 {
color: #fff;
text-align: center;
margin: 0;
padding-top: 20px;
}

header nav {
display: flex;
justify-content: center;
}

header nav ul {
display: flex;
padding-left: 0;
list-style: none;
}

header nav ul li a {
color: #fff;
text-decoration: none;
margin: 0 20px 0 0;
}

header nav ul li:last-child a {
margin-right: 0;
}

@media all and (min-width: 600px) {
header {
display: flex;
justify-content: space-between;
padding: 0 30px;
}

header h1 {
margin: 14px 0;
padding-top: 0;
}

header nav {
margin-top: 8px;
}

header nav ul li a:hover {
color: #bdbdbd;
}
}

0 comments on commit 6801864

Please sign in to comment.