mirror of
https://github.com/cupcakearmy/nicco.io.git
synced 2025-09-06 10:40:44 +00:00
moved all css to vars & hover state + transition on nav
This commit is contained in:
@@ -60,10 +60,14 @@
|
||||
top: 0;
|
||||
left: 1.12em;
|
||||
position: absolute;
|
||||
transition: all 500ms ease;
|
||||
}
|
||||
li a div.active {
|
||||
background-color: var(--clr-secondary);
|
||||
}
|
||||
li:hover a div:not(.active) {
|
||||
background-color: var(--clr-light);
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin: 0;
|
||||
|
@@ -19,7 +19,7 @@
|
||||
position: relative;
|
||||
top: 0;
|
||||
transition: var(--animation);
|
||||
background-color: #fff;
|
||||
background-color: var(--clr-light);
|
||||
}
|
||||
a:hover h2 {
|
||||
top: -1em;
|
||||
|
Reference in New Issue
Block a user