style new TOC, sans font headings, less noise for links

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-01-24 13:46:06 +01:00
parent da30f82a27
commit ea17ced93d

View File

@ -588,12 +588,34 @@ endif::linkcss[]
ifdef::toc2[]
<style type="text/css">
div #toc {
width: 19em
width: 19em;
font-family: sans;
}
.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[]