MediaWiki:Print.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(ul padding left reduced) |
(less margin on definition lists) |
||
Zeile 15: | Zeile 15: | ||
padding-left: 0em!important; | padding-left: 0em!important; | ||
} | } | ||
+ | dl dd { margin-left: 1.5em; } | ||
div.endash-list ul, | div.endash-list ul, |
Version vom 1. Juni 2018, 14:15 Uhr
/* Das folgende CSS wird in der Druckausgabe geladen. */
#mw-content-text ul {
padding-left: 1em
}
div.endash-list ul {
padding-left: 0em!important;
}
div.latex-style-list > ul {
padding-left: 1em!important;
}
div.latex-style-list ul li ul {
padding-left: 0em!important;
}
dl dd { margin-left: 1.5em; }
div.endash-list ul,
ul.endash {
list-style-type: none;
list-style-image:none;
margin:0.3em 0 0 1em;
}
div.endash-list ul li:before,
ul.endash li:before {
content: '\2013';
position: absolute;
margin-left:-15px;
}
/* lists having LaTeX style: bullet, ndash, asterisk, cdot */
div.latex-style-list ul ul,
ul.latex-style-list ul
{
list-style-type: none;
list-style-image:none;
margin:0.3em 0 0 1em;
}
div.latex-style-list ul li ul li:before,
ul.latex-style-list li ul li:before {
content: '\2013'; /* endash – */
position: absolute;
margin-left:-15px;
}
div.latex-style-list ul li ul li ul li:before,
ul.latex-style-list li ul li ul li:before {
content: '\2217'; /* asterisk * */
position: absolute;
margin-left:-15px;
}
div.latex-style-list ul li ul li ul li ul li:before,
ul.latex-style-list li ul li ul li ul li:before {
content: '\22C5'; /* sdot ⋅ */
position: absolute;
margin-left:-15px;
}
/* make table of contents more compact (2nd level is floating inline) */
.toc-compact #toc > .toctitle { text-align:center; }
.toc-compact #toc { max-width:300px }
.toc-compact #toc li.toclevel-1 li.toclevel-2 { float:left; display:inline; margin-left:0.5em}
.toc-compact #toc li.toclevel-1 {clear:left;}
.toc-compact #toc li.toclevel-1 > a .tocnumber {font-weight:bold;}
.toc-compact #toc > ul {
list-style-type:none;
padding-left:0.5em;
}
.toc-compact #toc > ul > li > ul {
list-style-type:none;
padding-left:0.5em;
}
.toc-compact #toc > ul > li > ul > li > ul {
list-style-type:none;
padding-left:0.5em;
}
/* normal #toc more compact, less padding left */
#toc > ul
{
list-style-image: none;
list-style-type: none;
padding-left:0.5em;
}
#toc > ul li ul
{
list-style-image: none;
list-style-type: none;
padding-left:1em;
}
#toc > ul li ul li ul
{
list-style-image: none;
list-style-type: none;
padding-left:1.5em;
}
/* fix thumbs */
.thumbinner, img.thumbimage {border-radius:0px}
.thumbcaption { word-wrap:break-word }