better nav bar structure that handles home link separately
This commit is contained in:
@ -19,10 +19,21 @@ nav a {
|
||||
}
|
||||
}
|
||||
|
||||
#current-page {
|
||||
nav div {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
/* this specifically handles the home button
|
||||
we want it taking up flex container space */
|
||||
nav > #current-page {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
nav > div > #current-page {
|
||||
display: none;
|
||||
}
|
||||
|
||||
header img {
|
||||
max-height: 25vh;
|
||||
max-width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user