mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 09:30:17 +00:00
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:
parent
d389464865
commit
9101bd6327
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue