MediaWiki:Print.css: Unterschied zwischen den Versionen

Aus Foxwiki
Keine Bearbeitungszusammenfassung
Markierung: Manuelle Zurücksetzung
Keine Bearbeitungszusammenfassung
 
(27 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
/* Das folgende CSS wird in der Druckausgabe geladen. */
html, body {
  font-family: sans-serif;
}
 
hr {
  margin: 1em 0 1em 0;
  height: 0.5px;
}
 
/* Ueberschriften */
.mw-body-content h1 h2 h3 h4 h5 h6 {
font-family: sans-serif;
}
 
#mw-content-text.mw-body-content .mw-content-ltr.mw-parser-output h1 {
margin-top: 3em;
    border-bottom: solid lightgrey;
    font-size: 2em;
    font-weight: normal;
}
 
#mw-content-text.mw-body-content .mw-content-ltr.mw-parser-output h2 {
margin-top: 3em;
    border-bottom: solid lightgrey;
    font-size: 1.8em;
    font-weight: normal;
}
 
#mw-content-text.mw-body-content .mw-content-ltr.mw-parser-output h3 {
margin-top: 1.6em;
margin-bottom: 0.8em;
border-bottom: solid lightgrey;
font-size: 1.3em;
font-weight: normal;
}
 
#mw-content-text.mw-body-content .mw-content-ltr.mw-parser-output h4 {
margin-top: 1.4em;
    border-bottom: solid lightgrey;
    font-size: 1.1em;
    font-weight: normal;
    margin-bottom: 0.7em;
}
 
#mw-content-text.mw-body-content .mw-content-ltr.mw-parser-output h5 {
margin-top: 1.1em;
border-bottom: solid lightgrey;
font-size: 1em;
font-weight: normal;
}
 
#mw-content-text.mw-body-content .mw-content-ltr.mw-parser-output h6 {
margin-top: 1em;
border-bottom: solid lightgrey;
font-size: 1em;
font-weight: normal;
margin-bottom: 0.5em;
}
 
/* Zwischenueberschriften */
#bodyContent #mw-content-text.mw-body-content .mw-content-ltr.mw-parser-output dl dt {
font-size: 1em;
font-family: sans-serif;
margin-top: 2em;
border-bottom: solid lightgrey;
font-weight: bold;
margin-bottom: 1em;
}
 
/* Inhaltsverzeichnis */
/** Nur Überschiften 1-3
.toclevel-3 {
display:none;
}
**/
 
/* Hide letter headlines on category pages */
.mw-category-generated h3 {
  display: none;
}


/* Do not print:
.vector-body {
  1: When in mainspace: Article message boxes,
/* line-height: initial;*/
      navboxes, sister project boxes, disambig links,
      and items marked as metadata.
  2: section edit links.
  3: navbar links.
  4: Show/hide toggles for collapsible items.
*/
.ns--1 .ambox,
.ns-0 .ambox,
.ns--1 .navbox,
.ns-0 .navbox,
/* high specificity because Minerva */
.mediawiki.ns--1 .mw-parser-output .sidebar,
.mediawiki.ns-0 .mw-parser-output .sidebar,
.ns--1 .sisterproject,
.ns-0 .sisterproject,
.ns--1 .hatnote,
.ns-0 .hatnote,
.ns--1 .metadata,
.ns-0 .metadata,
.sistersitebox,
.editlink,
.navbar,
span.mw-collapsible-toggle,
th .sortkey,
td .sortkey,
#mw-revision-nav,
/* Add formatting to make sure that "external references" from templates
  like [[Template:Ref]] do not get URL expansion, not even when printed.
  The anchor itself has class "external autonumber" and the url expansion
  is inserted when printing (see the common printing style sheet at
  http://en.wikipedia.org/w/skins/common/commonPrint.css) using the
  ":after" pseudo-element of CSS.
*/
.nourlexpansion a.external.text:after,
.nourlexpansion a.external.autonumber:after {
display: none !important;
}
}


/* Uncollapse collapsible things */
.vector-body p, #mw-body p {
.mw-parser-output .mw-collapsed .mw-collapsible-content {
margin: 1.25em 0 0 0;
display: block !important;
}
}


table.collapsible tr,
#float, .float {
.mw-parser-output table.mw-collapsed > * > tr {
float:right;
display: table-row !important;
margin-left: 20px;
}
}


.mw-parser-output ol.mw-collapsed > li,
.center {
.mw-parser-output ul.mw-collapsed > li {
text-align:center !important;
display: list-item !important;
}
}


/* On websites with siteSub visible, the margin on the firstHeading is not needed. */
pre {
#firstHeading {
margin: 2em 0 1.3em 1.4em;
margin: 0;
font-size: 85%;
}
}


/* We don't want very long URLs (that are added to the content in print) to widen the canvas */
.wikitable > caption {
#content a.external.text:after,
    font-weight: normal;
#content a.external.autonumber:after {
  }
word-wrap: break-word;
 
.osi {
padding: 0.5em 1em;
white-space: nowrap;
font-size: 85%;
}
 
/*** Farben ***/
 
.hintergrundfarbe8 {
background-color: #FFEBAD ;
}
}


/*
/** OSI-Farben **/
- Basic infobox styling
.osicolor0 {
- Remove background colors, they are hard to print
background-color: #B9FFC5;
*/
padding: 0;
.infobox {
text-align: center;
border: solid 1px #aaa;
}
background-color: #fff;
.osicolor1 {
border-spacing: 0;
background-color: #FFEBAD;
border-collapse: collapse;
}
width: 180pt !important; /*T174957*/
.osicolor2 {
background-color: #FFCBCB;
}
.osicolor3 {
background-color: #B3B7FF;
}
.osicolor4 {
background-color: #EAECF0;
}
.osicolor5 {
background-color: #FFAA00;
}
.osicolor6 {
background-color: #FFFF40;
}
.osicolor7 {
background-color: #F8F9FA;
}
 
.line {
padding: 0 0.1em 0 0.1em;
text-align: center !important;
vertical-align: middle;
color: darkgray;
}
 
/* figure */
 
div#mw-content-text.mw-body-content .mw-content-ltr.mw-parser-output  figure {
border-width: 20px 0 20px 20px;
border-color: white;
}
div#mw-content-text.mw-body-content .mw-content-ltr.mw-parser-output  figcaption {
border-width: 20px 0 20px 20px;
border-color: white;
}
 
/*catlinks*/
div#catlinks.catlinks {
margin-top: 3em;
}
}


.infobox > * > tr > td,
/*** Tabellen ***/
.infobox > * > tr > th {
div.mw-parser-output table {
padding: 2px 5px;
margin: 0 0 1.5em 1.4em;
border-bottom: 1px solid #EAECF0;
font-size: 90%;
border-width:1.25em 0.1em 1.5em 1.5em;
border-color: white;
}
}


/* Reduce noise for print medium - labels may be links */
div.mw-parser-output table.big {
.infobox a,
margin: 2em 0 1.5em 0;
/* reset last border (set above) of infobox */
font-size: 100%;
.infobox > * > tr:last-child > th,
border-width:20px 0 20px 0;
.infobox > * > tr:last-child > td {
border-color: white;
border: 0;
}
}


/* References */
/** Erste Spalte **/
.refbegin a,
.wikitable.options tr td:nth-child(1) {
.references a,
font-weight: bold;
.reference a {
white-space: nowrap;
color: black !important;
}
}


.reference a {
/** Zweite Spalte **/
border-bottom: 0;
table tr td:nth-child(2) {
/* white-space: nowrap; */
}
}


ol.references,
/* Table alignment */
div.reflist,
.defaultleft { text-align:left; }
div.refbegin,
.defaultcenter { text-align:center; }
cite * {
.defaultright { text-align:right; }
/* Override any editor added inline styles that play with font-size */
 
font-size: inherit !important;
.col1left td:nth-child(1),
.col2left td:nth-child(2),
.col3left td:nth-child(3),
.col4left td:nth-child(4),
.col5left td:nth-child(5),
.col6left td:nth-child(6),
.col7left td:nth-child(7),
.col8left td:nth-child(8),
.col9left td:nth-child(9),
.col10left td:nth-child(10),
.col11left td:nth-child(11),
.col12left td:nth-child(12),
.col13left td:nth-child(13),
.col14left td:nth-child(14),
.col15left td:nth-child(15),
.col16left td:nth-child(16),
.col17left td:nth-child(17),
.col18left td:nth-child(18),
.col19left td:nth-child(19) { text-align:left; }
 
.col1center td:nth-child(1),
.col2center td:nth-child(2),
.col3center td:nth-child(3),
.col4center td:nth-child(4),
.col5center td:nth-child(5),
.col6center td:nth-child(6),
.col7center td:nth-child(7),
.col8center td:nth-child(8),
.col9center td:nth-child(9),
.col10center td:nth-child(10),
.col11center td:nth-child(11),
.col12center td:nth-child(12),
.col13center td:nth-child(13),
.col14center td:nth-child(14),
.col15center td:nth-child(15),
.col16center td:nth-child(16),
.col17center td:nth-child(17),
.col18center td:nth-child(18),
.col19center td:nth-child(19) { text-align:center; }
 
.col1right td:nth-child(1),
.col2right td:nth-child(2),
.col3right td:nth-child(3),
.col4right td:nth-child(4),
.col5right td:nth-child(5),
.col6right td:nth-child(6),
.col7right td:nth-child(7),
.col8right td:nth-child(8),
.col9right td:nth-child(9),
.col10right td:nth-child(10),
.col11right td:nth-child(11),
.col12right td:nth-child(12),
.col13right td:nth-child(13),
.col14right td:nth-child(14),
.col15right td:nth-child(15),
.col16right td:nth-child(16),
.col17right td:nth-child(17),
.col18right td:nth-child(18),
.col19right td:nth-child(19) { text-align:right; }
 
/* Tabellen */
.big {
width: 100%;
margin: 2em 0 1.5em 0;
border-width: 20px 0 20px 0;
border-color: white;
}
}


.refbegin li,
.small {
.references li {
width: 25%;
color: #666;
line-height: 14pt;
}
}


.printfooter {
/** Zellenausrichung**/
clear: both;
.wikitable {
padding: 0.1em 0.3em 0.1em 0.3em;
font-size: 90%;
border-width: 20px 0 20px 20px;
border-color: white;
}
}


/* page-breaks */
.wikitable th {
h1 {  
text-align: left;
    page-break-before: always;
padding: 0.5em;
  page-break-inside: avoid;
    page-break-after: avoid;
}
}


h2, h3, h4, h5, dl {
.opt {
    page-break-before: auto;
white-space: nowrap;
  page-break-inside: avoid;
    page-break-after: avoid;
}
}


dt {
table tr td {
    page-break-before: auto;
vertical-align: top;
  page-break-inside: avoid;
padding: 0.5em;
    page-break-after: avoid;
}
}


dl {
/** Erste Spalte **/
    page-break-before: auto;
table.wikitable.options tr td:nth-child(1) {
  page-break-inside: avoid;
font-weight: bold;
    page-break-after: avoid;
white-space: nowrap;
}
}


ul, ol {
/** Zweite Spalte **/
    page-break-before: avoid;
table tr td:nth-child(2) {
  page-break-inside: auto;
/* white-space: nowrap; */
    page-break-after: auto;
}
}


div#toc, div#toctitle {
table.wikitable, table.wikitable tbody, table.wikitable tbody tr td, .wikitable > * > tr > th {
page-break-inside: auto;
padding: 0.2em 1em 0.2em 0.6em;
page-break-before: avoid;
border: 4px solid #fff;
    page-break-after: auto;
}
}


h1#firstHeading {
div.mw-parser-output div.mw-highlight.mw-highlight-lang-bash.mw-content-ltr pre span.hll {
    page-break-before: avoid;
font-weight: bold;
}
}


/* page-breaks
table.wikitable.options.col3center tbody tr td p {
h1 {  
margin: 0.75em 0 0.5em 0;
    page-break-before: always;
}
  page-break-inside: avoid;
    page-break-after: avoid;
  }
  h2, h3, h4, h5 {
    page-break-after: avoid;
  page-break-inside: avoid;
  }
  pre, blockquote {
    page-break-inside: avoid;
    page-break-before: avoid;
  }


h1#firstHeading {
.mw-body div#bodyContent  {
    page-break-before: avoid;
}
}


div.content-table-wrapper {
a.new {
page-break-before: avoid;
color:gray;
}
}


dl {
div.mw-message-box.cdx-message.cdx-message--block.mw-message-box-notice.cdx-message--notice.collection-maintenance-box.collection-notice-box {
page-break-before: auto;
display:none;
page-break-inside: avoid;
page-break-after: auto;
}
}
dt {
 
page-break-inside: avoid;
/** Seitenumbruch vor Überschriften **/
page-break-before: avoid;
div#mw-content-text.mw-body-content div.mw-content-ltr.mw-parser-output h1 {
    page-break-after: avoid;
break-before: page;  
}
}
dd {
 
page-break-inside: avoid;
/** keinen Seitenumbruch nach Überschriften **/
page-break-before: auto;
h1, h2, h3, h4, h5, dt {
    page-break-after: auto;
break-after: avoid;
}
}


ul, ol {
/** Schusterjungen **/
page-break-inside: avoid;
p, li {  
page-break-before: avoid;
orphans:3;  
    page-break-after: avoid;
}
}


/** keinen Seitenumbruch innerhalb von Tabellen und Grafiken **/
table, figure {
break-inside: avoid;
}
/** Link-URL ausblenden **/
.mediawiki .mw-body a.external.text:after,
.mediawiki .mw-body a.external.autonumber:after {
content: none;
}
/** test
.wikitable {
font-weight: bold;
}
*/
*/


table {
/** Tabellen **/
  width: 100%;
.wikitable {
background-color:#f8f9fa !important;
color:#202122;
margin:1em 0;
border:1px solid #a2a9b1!important;
border-collapse:collapse
}
 
.wikitable > tr > th,
.wikitable > tr > td,
.wikitable > * > tr > th,
.wikitable > * > tr > td {
border:1px solid #a2a9b1!important;
padding:0.2em 0.4em
}
 
.wikitable > tr > th,
.wikitable > * > tr > th {
background-color:#eaecf0!important;
text-align:center
}
.wikitable > caption {
font-weight:bold
}
}

Aktuelle Version vom 18. Oktober 2024, 00:28 Uhr

html, body {
  font-family: sans-serif;
}

hr {
  margin: 1em 0 1em 0;
  height: 0.5px;
}

/* Ueberschriften */
.mw-body-content h1 h2 h3 h4 h5 h6 {
	font-family: sans-serif;
}

#mw-content-text.mw-body-content .mw-content-ltr.mw-parser-output h1 {
	margin-top: 3em;
    border-bottom: solid lightgrey;
    font-size: 2em;
    font-weight: normal;
}

#mw-content-text.mw-body-content .mw-content-ltr.mw-parser-output h2 {
	margin-top: 3em;
    border-bottom: solid lightgrey;
    font-size: 1.8em;
    font-weight: normal;
}

#mw-content-text.mw-body-content .mw-content-ltr.mw-parser-output h3 {
	margin-top: 1.6em;
	margin-bottom: 0.8em;
	border-bottom: solid lightgrey;
	font-size: 1.3em;
	font-weight: normal;
}

#mw-content-text.mw-body-content .mw-content-ltr.mw-parser-output h4 {
	margin-top: 1.4em;
    border-bottom: solid lightgrey;
    font-size: 1.1em;
    font-weight: normal;
    margin-bottom: 0.7em;
}

#mw-content-text.mw-body-content .mw-content-ltr.mw-parser-output h5 {
	margin-top: 1.1em;
	border-bottom: solid lightgrey;
	font-size: 1em;
	font-weight: normal;
}

#mw-content-text.mw-body-content .mw-content-ltr.mw-parser-output h6 {
	margin-top: 1em;
	border-bottom: solid lightgrey;
	font-size: 1em;
	font-weight: normal;
	margin-bottom: 0.5em;
}

/* Zwischenueberschriften */
#bodyContent #mw-content-text.mw-body-content .mw-content-ltr.mw-parser-output dl dt {
	font-size: 1em;
	font-family: sans-serif;
	margin-top: 2em;
	border-bottom: solid lightgrey;
	font-weight: bold;
	margin-bottom: 1em;
}

/* Inhaltsverzeichnis */
/** Nur Überschiften 1-3 
.toclevel-3 {
	display:none;
}
**/

/* Hide letter headlines on category pages */
.mw-category-generated h3 {
   display: none;
}

.vector-body {
	/* line-height: initial;*/
}

.vector-body p, #mw-body p {
	margin: 1.25em 0 0 0;
}

#float, .float {
 float:right;
 	margin-left: 20px;
}

.center {
	text-align:center !important;
}

pre {
	margin: 2em 0 1.3em 1.4em;
	font-size: 85%;
}

.wikitable > caption {
    font-weight: normal;
  }

.osi {
	padding: 0.5em 1em;
	white-space: nowrap;
	font-size: 85%;
	}

/*** Farben ***/

.hintergrundfarbe8 {
	background-color: #FFEBAD ;
}

/** OSI-Farben **/
.osicolor0 {
	background-color: #B9FFC5;
	padding: 0;
	text-align: center;
}
.osicolor1 {
	background-color: #FFEBAD;
}
.osicolor2 {
	background-color: #FFCBCB;
}
.osicolor3 {
	background-color: #B3B7FF;
}
.osicolor4 {
	background-color: #EAECF0;
}
.osicolor5 {
	background-color: #FFAA00;
}
.osicolor6 {
	background-color: #FFFF40;
}
.osicolor7 {
	background-color: #F8F9FA;
}

.line {
	padding: 0 0.1em 0 0.1em;
	text-align: center !important;
	vertical-align: middle;
	color: darkgray;
}

/* figure */

div#mw-content-text.mw-body-content .mw-content-ltr.mw-parser-output  figure {
 border-width: 20px 0 20px 20px;
 border-color: white;
 }
 
div#mw-content-text.mw-body-content .mw-content-ltr.mw-parser-output  figcaption {
 border-width: 20px 0 20px 20px;
 border-color: white;
 }

/*catlinks*/
div#catlinks.catlinks {
	margin-top: 3em;
}

/*** Tabellen ***/
div.mw-parser-output table {
 margin: 0 0 1.5em 1.4em;
 font-size: 90%;
 border-width:1.25em 0.1em 1.5em 1.5em;
 border-color: white;
}

div.mw-parser-output table.big {
 margin: 2em 0 1.5em 0;
 font-size: 100%;
 border-width:20px 0 20px 0;
 border-color: white;
}

/** Erste Spalte **/
.wikitable.options tr td:nth-child(1) {
 font-weight: bold;
 white-space: nowrap;
}

/** Zweite Spalte **/
table tr td:nth-child(2) {
 /* white-space: nowrap; */
}

/* Table alignment */
.defaultleft { text-align:left; }
.defaultcenter { text-align:center; }
.defaultright { text-align:right; }

.col1left td:nth-child(1),
.col2left td:nth-child(2),
.col3left td:nth-child(3),
.col4left td:nth-child(4),
.col5left td:nth-child(5),
.col6left td:nth-child(6),
.col7left td:nth-child(7),
.col8left td:nth-child(8),
.col9left td:nth-child(9),
.col10left td:nth-child(10),
.col11left td:nth-child(11),
.col12left td:nth-child(12),
.col13left td:nth-child(13),
.col14left td:nth-child(14),
.col15left td:nth-child(15),
.col16left td:nth-child(16),
.col17left td:nth-child(17),
.col18left td:nth-child(18),
.col19left td:nth-child(19) { text-align:left; }

.col1center td:nth-child(1),
.col2center td:nth-child(2),
.col3center td:nth-child(3),
.col4center td:nth-child(4),
.col5center td:nth-child(5),
.col6center td:nth-child(6),
.col7center td:nth-child(7),
.col8center td:nth-child(8),
.col9center td:nth-child(9),
.col10center td:nth-child(10),
.col11center td:nth-child(11),
.col12center td:nth-child(12),
.col13center td:nth-child(13),
.col14center td:nth-child(14),
.col15center td:nth-child(15),
.col16center td:nth-child(16),
.col17center td:nth-child(17),
.col18center td:nth-child(18),
.col19center td:nth-child(19) { text-align:center; }

.col1right td:nth-child(1),
.col2right td:nth-child(2),
.col3right td:nth-child(3),
.col4right td:nth-child(4),
.col5right td:nth-child(5),
.col6right td:nth-child(6),
.col7right td:nth-child(7),
.col8right td:nth-child(8),
.col9right td:nth-child(9),
.col10right td:nth-child(10),
.col11right td:nth-child(11),
.col12right td:nth-child(12),
.col13right td:nth-child(13),
.col14right td:nth-child(14),
.col15right td:nth-child(15),
.col16right td:nth-child(16),
.col17right td:nth-child(17),
.col18right td:nth-child(18),
.col19right td:nth-child(19) { text-align:right; }

/* Tabellen */
.big {
 width: 100%;
 margin: 2em 0 1.5em 0;
 border-width: 20px 0 20px 0;
 border-color: white;
}

.small {
 width: 25%;
}

/** Zellenausrichung**/
.wikitable {
 padding: 0.1em 0.3em 0.1em 0.3em;
 font-size: 90%;
 border-width: 20px 0 20px 20px;
 border-color: white;
}

.wikitable th {
 text-align: left;
 padding: 0.5em;
}

.opt {
 white-space: nowrap;
}

table tr td {
 vertical-align: top;
 padding: 0.5em;
}

/** Erste Spalte **/
table.wikitable.options tr td:nth-child(1) {
 font-weight: bold;
 white-space: nowrap;
}

/** Zweite Spalte **/
table tr td:nth-child(2) {
 /* white-space: nowrap; */
}

table.wikitable, table.wikitable tbody, table.wikitable tbody tr td, .wikitable > * > tr > th {
 padding: 0.2em 1em 0.2em 0.6em;
 border: 4px solid #fff;
}

div.mw-parser-output div.mw-highlight.mw-highlight-lang-bash.mw-content-ltr pre span.hll {
 font-weight: bold;
}

table.wikitable.options.col3center tbody tr td p {
	margin: 0.75em 0 0.5em 0;
}

.mw-body div#bodyContent  {
	
}

a.new {
 	color:gray;
}

div.mw-message-box.cdx-message.cdx-message--block.mw-message-box-notice.cdx-message--notice.collection-maintenance-box.collection-notice-box {
	display:none;
}

/** Seitenumbruch vor Überschriften **/
div#mw-content-text.mw-body-content div.mw-content-ltr.mw-parser-output h1 {
 break-before: page; 
}

/** keinen Seitenumbruch nach Überschriften **/
h1, h2, h3, h4, h5, dt {
 break-after: avoid;
}

/** Schusterjungen **/
p, li { 
 orphans:3; 
}

/** keinen Seitenumbruch innerhalb von Tabellen und Grafiken **/
table, figure {
 break-inside: avoid;
 }


/** Link-URL ausblenden **/
.mediawiki .mw-body a.external.text:after,
.mediawiki .mw-body a.external.autonumber:after {
 content: none;
}

/** test 
.wikitable {
 font-weight: bold;
}
*/

/** Tabellen **/ 
.wikitable {
 background-color:#f8f9fa !important;
 color:#202122;
 margin:1em 0;
 border:1px solid #a2a9b1!important;
 border-collapse:collapse
}

.wikitable > tr > th,
.wikitable > tr > td,
.wikitable > * > tr > th,
.wikitable > * > tr > td {
 border:1px solid #a2a9b1!important;
 padding:0.2em 0.4em
}

.wikitable > tr > th,
.wikitable > * > tr > th {
 background-color:#eaecf0!important;
 text-align:center
}
.wikitable > caption {
 font-weight:bold
}