mirror of
https://github.com/rust-lang/mdBook
synced 2024-12-13 22:32:35 +00:00
commit
b891fd5a12
1 changed files with 7 additions and 5 deletions
|
@ -345,15 +345,17 @@ ul#searchresults span.teaser em {
|
|||
color: var(--sidebar-non-existant);
|
||||
}
|
||||
.chapter li a {
|
||||
color: var(--sidebar-fg);
|
||||
display: block;
|
||||
padding: 0;
|
||||
text-decoration: none;
|
||||
color: var(--sidebar-fg);
|
||||
}
|
||||
.chapter li a:hover { text-decoration: none }
|
||||
.chapter li .active,
|
||||
a:hover {
|
||||
/* Animate color change */
|
||||
|
||||
.chapter li a:hover {
|
||||
color: var(--sidebar-active);
|
||||
}
|
||||
|
||||
.chapter li .active {
|
||||
color: var(--sidebar-active);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue