feat: add hover for navbar

This commit is contained in:
eggy 2022-08-08 11:03:16 -04:00
parent 1e87a8556e
commit 0f42679478

View File

@ -45,12 +45,26 @@ html.dark nav img {
ul { ul {
display: flex; display: flex;
align-items: center; align-items: center;
gap: 3rem; gap: 1rem;
} }
li { li {
font-size: large; font-size: large;
border-radius: 0.5rem;
padding: 0.5rem;
padding-left: 1rem;
padding-right: 1rem;
} }
li:hover:not(.home-text) {
--nav-active-color: lightgray;
background: var(--nav-active-color);
}
html.dark li:hover {
--nav-active-color: darkslategray;
}
li.home-text { li.home-text {
font-size: x-large; font-size: x-large;
font-weight: bold; font-weight: bold;