mirror of
https://github.com/metagov/govarch-website.git
synced 2025-06-22 10:21:06 +00:00
improve hover state for navigation and post list
This commit is contained in:
@ -1,6 +1,12 @@
|
||||
.site-navigation {
|
||||
margin-top: 2rem;
|
||||
padding: 0 1rem;
|
||||
&:hover,
|
||||
&:focus-within {
|
||||
a {
|
||||
opacity: .7;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.site-navigation ul {
|
||||
@ -24,8 +30,9 @@
|
||||
display: block;
|
||||
padding: .25em .5em;
|
||||
text-decoration: none;
|
||||
transition: opacity .125s ease-in-out;
|
||||
&:hover,
|
||||
&:focus {
|
||||
text-decoration: underline;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user