MediaWiki:Print.css: Unterschied zwischen den Versionen

Aus Open Source Ecology - Germany
Zur Navigation springen Zur Suche springen
(normal #toc more compact, less padding left)
(ul padding left reduced)
Zeile 1: Zeile 1:
 
/* Das folgende CSS wird in der Druckausgabe geladen. */
 
/* 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;
 +
}
 +
 
div.endash-list ul,
 
div.endash-list ul,
 
ul.endash {
 
ul.endash {

Version vom 1. Juni 2018, 14:12 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;
}

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 }