Adjust TOC print styles

* Font size shrunk and declared in `pt`
* `margin` adjustment
* `page-break-before` now uses `avoid`

Bug: T173767
Change-Id: Ieeabc22079978cdf1f8484f3ac9961d990901336
This commit is contained in:
jdlrobson 2017-08-22 13:28:38 -05:00 committed by VolkerE
parent d389464865
commit 9101bd6327

View file

@ -142,8 +142,8 @@
// Using #toc rather than .toc to override default print style // Using #toc rather than .toc to override default print style
#toc { #toc {
page-break-before: always; page-break-before: avoid;
page-break-after: always; page-break-after: avoid;
background: none; background: none;
border: 0; border: 0;
display: block; display: block;
@ -156,7 +156,7 @@
> ul { > ul {
> li { > li {
margin-bottom: 20px; margin-bottom: 4px;
font-weight: bold; font-weight: bold;
> ul { > ul {
@ -184,7 +184,7 @@
li.toclevel-1 { li.toclevel-1 {
> a { > a {
font-weight: bold; font-weight: bold;
font-size: 16px; font-size: 10pt;
} }
} }