Skip to content
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
54 changes: 54 additions & 0 deletions top-nav-drill/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,57 @@
}

/*Put your code here*/
header {
background-color: black;
padding: 10px 20px 10px;
}

header a {
color: white;
text-decoration: none;
}

header span {
float: left;
}

header span a {
font-size: 30px;
font-weight: bold;
}

header nav a {
display: inline-block;
padding: 10px;
}

ul {
list-style-type: none;
margin: 0;
overflow: hidden;
padding: 0;
}

li {
display: inline;
float: right;
position: relative;
}

li a:hover {
background-color: #333;
border-radius: 5px;
}

.container > section {
margin: 0 20% 0;
}

h1 {
border-bottom: 1px solid gray;
padding-bottom: 5px;
}

footer {
border-top: 2px solid gray;
}