mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Fade out ToC when it's not hovered
This commit is contained in:
@@ -128,6 +128,12 @@ aside#toc {
|
||||
margin-left: -15rem;
|
||||
font-size: 90%;
|
||||
line-height: 1.2;
|
||||
opacity: .2;
|
||||
transition: opacity .5s;
|
||||
}
|
||||
|
||||
aside#toc:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
aside#toc h2 {
|
||||
|
||||
Reference in New Issue
Block a user