]> git.proxmox.com Git - pve-docs.git/commitdiff
style new TOC, sans font headings, less noise for links
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 24 Jan 2020 12:46:06 +0000 (13:46 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 24 Jan 2020 12:46:06 +0000 (13:46 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
asciidoc/pve-html.conf

index 4c202f718171aa08af51203c04922cdb7dd2b2ed..ba1a7d0a025e0222e65e49366d7816813af76e4c 100644 (file)
@@ -588,12 +588,34 @@ endif::linkcss[]
 ifdef::toc2[]
 <style type="text/css">
 div #toc {
 ifdef::toc2[]
 <style type="text/css">
 div #toc {
-    width: 19em
+    width: 19em;
+    font-family: sans;
 }
 }
-
 .book {
     margin-left: 22em
 }
 .book {
     margin-left: 22em
 }
+div #toc a:link, div #toc a:visited {
+    color: black;
+    text-decoration: none;
+}
+div #toc a:hover {
+    text-decoration: underline;
+}
+div .toclevel1 {
+    font-size: 1.1em;
+    margin-bottom: 0.3em;
+}
+@media only screen and (min-width: 85em) {
+div #toc {
+    width: 22em
+}
+.book {
+    margin-left: 25em
+}
+div .toclevel1 {
+    font-size: 1.2em;
+}
+}
 </style>
 endif::toc2[]
 
 </style>
 endif::toc2[]