Add and style the nav bar.
This commit is contained in:
parent
4f22a58dae
commit
8cff6ab72b
5 changed files with 43 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue