MediaWiki:Print.css: Unterschied zwischen den Versionen

Aus Open Source Ecology - Germany
Zur Navigation springen Zur Suche springen
(+fix thumbs)
(layout ul.endash, ul.latex-style-list)
Zeile 1: Zeile 1:
 
/* Das folgende CSS wird in der Druckausgabe geladen. */
 
/* Das folgende CSS wird in der Druckausgabe geladen. */
 +
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) */
 
/* make table of contents more compact (2nd level is floating inline) */

Version vom 1. Juni 2018, 13:48 Uhr

/* Das folgende CSS wird in der Druckausgabe geladen. */
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;
}

/* fix thumbs */
.thumbinner, img.thumbimage {border-radius:0px}
.thumbcaption { word-wrap:break-word }