MediaWiki:Print.css: Unterschied zwischen den Versionen

Aus Open Source Ecology - Germany
Zur Navigation springen Zur Suche springen
(layout ul.endash, ul.latex-style-list)
(normal #toc more compact, less padding left)
Zeile 60: Zeile 60:
 
   padding-left:0.5em;
 
   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 */
 
/* fix thumbs */
 
.thumbinner, img.thumbimage {border-radius:0px}
 
.thumbinner, img.thumbimage {border-radius:0px}
 
.thumbcaption { word-wrap:break-word }
 
.thumbcaption { word-wrap:break-word }

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

/* 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 }