mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-06-21 11:10:53 +00:00
Improve the layout of toc entries
This commit is contained in:
parent
9844b964a8
commit
77c2009658
@ -139,15 +139,13 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#toc li > a {
|
#toc li a {
|
||||||
line-height: 1rem;
|
|
||||||
padding-top: 0.5rem;
|
|
||||||
padding-bottom: 0.5rem;
|
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
|
|
||||||
&.nav-link:not(.active) {
|
&.nav-link:not(.active) {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
nav[data-toggle=toc] {
|
nav[data-toggle=toc] {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user