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

commit changes #11

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
32 changes: 17 additions & 15 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,26 @@
<html>

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Joey Thinkful : Software Engineer</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css" rel="stylesheet" type="text/css" />
<link href="style.css" rel="stylesheet" type="text/css" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Joey Thinkful : Software Engineer</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css" rel="stylesheet" type="text/css" />
<link href="style.css" rel="stylesheet" type="text/css" />
</head>

<body>

<header>
<h1>Name</h1>
<nav>
<ul id="menu">
<li><a href="#">Home</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
</header>
<header>
<h1>Joey Thinkful</h1>
<nav>
<ul id="menu">
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Portfolio</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
</header>
</body>

</html>
</html>
64 changes: 64 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
body {
margin: 0;
}

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

header h1 {
font-family: "Montserrat", sans-serif;
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, sans-serif;
color: #fff;
text-decoration: none;
margin: 0 20px;
}

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

header h1 {
font-size: 48px;
text-align: left;
padding-top: 0;
margin: 20px 0;
}

header nav {
margin-top: 20px;
}

header nav ul {
justify-content: flex-end;
}

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