lib/isodoc/iec/html/htmlstyle.scss in metanorma-iec-2.0.1 vs lib/isodoc/iec/html/htmlstyle.scss in metanorma-iec-2.0.2
- old
+ new
@@ -203,11 +203,11 @@
#toggle {
@include sidebarNavToggle(black, #f5faff)
}
-#toc, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
+#toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
@include toc(black, black, black);
@include sidebarToc();
.toc-active,
li:hover {
@@ -222,12 +222,13 @@
color: black;
}
}
}
-#toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
+#toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
margin-top: 0;
margin-bottom: 0;
+ font-size: 100%;
}
@media screen and (min-width: 768px) {
nav {
line-height: 1.2em;