Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update style.css #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
body {
margin: 0;
}

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

header h1 {
font-family: "Gochi Hand";
font-size: 52px;
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 {
font-family: Montserrat;
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 {
font-size: 42px;
margin: 14px 0;
padding-top: 6px;
}

header nav {
margin-top: 14px;
}

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