Add and style the nav bar.

This commit is contained in:
Drew Galbraith 2023-12-06 18:14:27 -08:00
parent 4f22a58dae
commit 8cff6ab72b
5 changed files with 43 additions and 3 deletions

View file

@ -30,3 +30,30 @@ figcaption {
h2 {
border-bottom: 1px solid #000;
}
header {
display: flex;
align-items: center;
}
header a {
text-decoration: none;
color: black;
}
header * {
display: inline;
}
nav {
margin-left: auto;
}
nav li {
padding: 20px;
border-radius: 5px;
}
nav li:hover {
background-color: #eee;
}