Zum Inhalt springen

MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Foxwiki
KKeine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(367 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
/*
html, body {
* Farbdefinitionen für Rahmen und Hintergründe von [[w:Wikipedia:Textbausteine|Textbausteinen]].
  font-family: sans-serif;
* Hier: Standardvorgaben für "dunkle Schrift auf hellem Grund".
}
* Für Hell-auf-dunkel-Skins ([[MediaWiki:Amethyst.css|Amethyst]]) müssen dort entsprechende Definitionen
* zusätzlich eingetragen werden! Anpassungen für andere Skins sind optional.
* (Die Angaben der Rahmenstärke dienen der Bequemlichkeit, so dass man
* für dünne Rahmen nur noch "border-style" angeben muss.)
*/


.rahmenfarbe1 { /* Wie Inhaltsverzeichnis */
hr {
  border-color: #aaaaaa;
  margin: 1em 0 1em 0;
  border-width: 1px;
  height: 0.5px;
}
}
.rahmenfarbe2 { /* Unauffällig, geringer Kontrast */
 
  border-color: #e9e9e9;
/* Ueberschriften */
  border-width: 1px;
.mw-body-content h1 h2 h3 h4 h5 h6 {
font-family: sans-serif;
}
}
.rahmenfarbe3 { /* "Rot", auffällig */
 
  border-color: #c00000;
#mw-content-text.mw-body-content .mw-content-ltr.mw-parser-output h1 {
  border-width: 1px;
margin-top: 3em;
    border-bottom: solid lightgrey;
    font-size: 2em;
    font-weight: normal;
}
}
.rahmenfarbe4 { /* Neutrale Farbe, deutlich */
 
  border-color: #8888aa;
#mw-content-text.mw-body-content .mw-content-ltr.mw-parser-output h2 {
  border-width: 1px;
margin-top: 3em;
    border-bottom: solid lightgrey;
    font-size: 1.8em;
    font-weight: normal;
}
}
.rahmenfarbe5 { /* "Schwarz", hoher Kontrast */
 
  border-color: #000000;
#mw-content-text.mw-body-content .mw-content-ltr.mw-parser-output h3 {
  border-width: 1px;
margin-top: 1.6em;
margin-bottom: 0.8em;
border-bottom: solid lightgrey;
font-size: 1.3em;
font-weight: normal;
}
}


.hintergrundfarbe1 { /* Wie Inhaltsverzeichnis */
#mw-content-text.mw-body-content .mw-content-ltr.mw-parser-output h4 {
  background-color: #f9f9f9;
margin-top: 1.4em;
    border-bottom: solid lightgrey;
    font-size: 1.1em;
    font-weight: normal;
    margin-bottom: 0.7em;
}
}
.hintergrundfarbe2 { /* "Weiß", für Nicht-Artikel-Seiten, neutral */
 
  background-color: #ffffff;
#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;
}
}
.hintergrundfarbe3 { /* "Gelb", auffällig */
 
  background-color: #ffff40;
#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;
}
}
.hintergrundfarbe4 { /* Sehr auffällig */
 
  background-color: #ffaa00;
/* 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;
}
}
.hintergrundfarbe5 { /* Neutral, abgesetzt */
 
   background-color: #e0e0e0;
/* Hide letter headlines on category pages */
.mw-category-generated h3 {
   display: none;
}
}
.hintergrundfarbe6 { /* Blau abgesetzt */
 
  background-color: #b3b7ff;
.vector-body {
/* line-height: initial;*/
}
}
.hintergrundfarbe7 { /* Rot abgesetzt */
 
  background-color: #ffcbcb;
.vector-body p {
margin: 1.25em 0 0.75em 0;
}
}
.hintergrundfarbe8 { /* Gelb abgesetzt */
 
  background-color: #ffebad;
#float, .float {
float:right;
margin-left: 20px;
background-color: white;
border-left: 20px;
}
}
.hintergrundfarbe9 { /* Grün abgesetzt */
 
  background-color: #b9ffc5;
.center {
text-align:center !important;
}
}


/* Abschnitt-Bearbeiten-Links */
pre {
.editsection {
margin: 2em 0 1.3em 1.4em;
font-size:90%;
font-size: 85%;
}
}


/*****
.wikitable > caption {
** Bytecounter colours
    font-weight: normal;
*****/
strong.mw-plusminus-neg
  {
  color: #cc0000;
  }
span.mw-plusminus-neg
  {
  color: #990000;
  }
.mw-plusminus-pos
  {
  color: #006600;
   }
   }


/* Keine Vergrößerung der Zeilenhöhe durch hochgestellte Zahlen der Fußnoten */
.osi {
.reference, .references sup {
padding: 0.5em 1em;
  font-size: 91%;
white-space: nowrap;
  vertical-align: text-top;
font-size: 85%;
  position: relative;
}
  top: -0.3em;
 
/*** Farben ***/
 
.hintergrundfarbe8 {
background-color: #FFEBAD ;
}
 
/** OSI-Farben **/
.osicolor0 {background-color: #b9ffc5;}
.osicolor1 {background-color: #ffebad;}
.osicolor2 {background-color: #ffcbcb;}
.osicolor3 {background-color: #b3b7ff;}
.osicolor4 {background-color: #eaecf0;}
.osicolor5 {background-color: #d7be8f;}
.osicolor6 {background-color: #ffff79;}
.osicolor7 {background-color: #a3bfe1;}
 
.line {
padding: 0 0.1em 0 0.1em;
text-align: center !important;
vertical-align: middle;
color: darkgray;
}
}


/* Redirect-Markierungen */
/* figure */
.allpagesredirect, .watchlistredir, .redirect-in-category {
/*
  font-style: italic;
div#mw-content-text.mw-body-content .mw-content-ltr.mw-parser-output  figure {
border-width: 20px 0 20px 20px;
border-color: white;
}
figcaption {
border-width: 20px 0 20px 20px;
border-color: white;
font-size: 0.6em !important;
  }
  }


/*
*/
* Allow limiting of which header levels are shown in a TOC;
 
* <div class="toclimit-3">, for instance, will limit to
/*catlinks*/
* showing ==headings== and ===headings=== but no further
div#catlinks.catlinks {
* (as long as there are no =headings= on the page, which
margin-top: 3em;
* there shouldn't be according to the MoS).
* [[Vorlage:TOC limit]]
*/
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
display: none;
}
}


/* Zur vertikalen Ausrichtung von Zelleninhalten in Tabellen */
/*** Tabellen ***/
/* am oberen Rand (Standardeinstellung: mittig). */
table {
table.table-valign-top td {
vertical-align: top;
}
}


div.NavFrame {
div.mw-parser-output table {
  margin: 0px;
  margin: 0 0 1.5em 1.4em;
  padding: 2px;
  font-size: 75%;
  border: 1px solid #aaaaaa;
  border-width:1.25em 0.1em 1.5em 1.5em;
text-align: center;
  border-color: white;
  border-collapse: collapse;
font-size: 95%;
clear:both;
}
}
div.BoxenVerschmelzen div.NavFrame {
 
  border-style: none;
div.mw-parser-output table.big {
  border-style: hidden;
margin: 2em 0 1.5em 0;
font-size: 90%;
  border-width:20px 0 20px 0;
  border-color: white;
}
}
div.NavFrame + div.NavFrame {
 
border-top-style: none;
/** Erste Spalte **/
border-top-style: hidden;
.wikitable.options tr td:nth-child(1),
}
.wikitable.options tr th:nth-child(1) {
div.NavPic {
background-color: #ffffff;
margin: 0px;
padding: 2px;
float: left;
}
div.NavFrame div.NavHead  {
  font-weight: bold;
  font-weight: bold;
  font-size: 100%;
  white-space: nowrap;
background-color: #efefef;
}
}
div.NavFrame p {
 
font-size: 100%;
/** Zweite Spalte **/
}
table tr td:nth-child(2) {
div.NavFrame div.NavContent {
  /* white-space: nowrap; */
font-size: 100%;
}
div.NavFrame div.NavContent p {
font-size: 100%;
}
div.NavEnd {
  margin: 0px;
padding: 0px;
line-height: 1px;
clear: both;
}
.NavToggle {
font-size: x-small;
float:right;
}
}


/* Nichtanzeige von Benutzergruppen in [[Spezial:Statistik]],
/* Table alignment */
* die keine Mitglieder haben
.defaultleft { text-align:left; }
*/
.defaultcenter { text-align:center; }
.statistics-group-zero {display:none;}
.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; }


/* Hervorhebung der angeklickten Fußnoten und der Rückverweise in blau */
.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; }


ol.references > li:target {
/* Tabellen */
  background-color: #DEF;
.big {
width: 100%;
margin: 2em 0 1.5em 0;
border-width: 20px 0 20px 0;
  border-color: white;
}
}


sup.reference:target {
.small {
  background-color: #DEF;
  width: 25%;
}
}


/* prettytable und wikitable für schöne Tabellen */
.mid {
  width: 33%;
table.prettytable, table.wikitable {
  margin: 1em 1em 1em 0;
font-size:95%;
background: #f9f9f9;
color: black;
border: 1px #aaaaaa solid;
border-collapse: collapse;
empty-cells: show;
}
}
   
 
table.prettytable th, table.prettytable td, table.wikitable th, table.wikitable td {
/** Zellen **/
  border: 1px #aaaaaa solid;
.wikitable {
  padding: 0.2em 0.6em;
  padding: 0.1em 0.3em 0.1em 0.3em;
font-size: 90%;
  border-width: 20px 0 20px 20px;
  border-color: white;
}
}
 
table.prettytable th, table.wikitable th {
.wikitable th {
background: #ddddff;
  text-align: left;
  text-align: left;
}
  padding: 0.5em;
   
table.prettytable caption, table.wikitable caption {
margin-left: inherit;
margin-right: inherit;
font-size: larger;
font-weight: bold;
}
}


table.wikitable.zebra tr:nth-child(even) {
.opt {
  background: white;
  white-space: nowrap;
}
}


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


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


div.float-right,
/** Zweite Spalte **/
table.float-right,
table.wikitable.gnu tr td:nth-child(2) {
.float-right {
  white-space: nowrap;
  float: right;
clear: right;
margin: 1em 0 1em 1em;
}
}


div.centered,
table.wikitable, table.wikitable tbody, table.wikitable tbody tr td, .wikitable > * > tr > th {
table.centered,
  padding: 0.2em 1em 0.2em 0.6em;
.centered {
  border: 4px solid #fff;
  margin-left: auto;
  margin-right: auto;
}
}


.collapsible.changecolor.selected .title,
div.mw-parser-output div.mw-highlight.mw-highlight-lang-bash.mw-content-ltr pre span.hll {
.collapsible.changecolor.selected tr:first-child th,
  font-weight: bold;
.collapsible.changecolor.selected tr:first-child td,
.collapsible.selected .title .changecolor,
.collapsible.selected tr:first-child th .changecolor,
.collapsible.selected tr:first-child td .changecolor {
  color:#0645AD;
}
 
@media print {
.forceprint_block {
  display: block !important;
}
.forceprint_inline {
  display: inline !important;
}
}
}


/* <syntaxhighlight> errors without border. */
table.wikitable.options.col3center tbody tr td p {
.mw-highlight .err{
margin: 0.75em 0 0.5em 0;
border: none;
}
}


/* nötigenfalls seitwärtsscrolling statt Zeilenumbruch */
a.new {
.mw-highlight{
color:gray;
clear: both;
}
}


pre, .mw-code{
/* mw-message-box cdx-message cdx-message--block mw-message-box-notice cdx-message--notice collection-maintenance-box collection-notice-box */
white-space: pre;
overflow: auto;
clear: both;
}
 
/* do not select line numbers in <syntaxhighlight> */
.mw-highlight .lineno {
-ms-user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
user-select: none;
background: #EEE;
display: inline-block;
padding-left: 0.5em;
margin-right: 0.5em;
}


/* Ergänzung zu Common.js - #specialchars oberhalb des Edit-Fensters anzeigen
div.mw-message-box.cdx-message.cdx-message--block.mw-message-box-notice.cdx-message--notice.collection-maintenance-box.collection-notice-box {
  gemäß Verbesserungsvorschlägen "Hilfen bei der Texteingabe"  */
display:none;
#specialchars {
  clear: both;
}
}

Aktuelle Version vom 10. Juli 2025, 09:36 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;
}

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

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

.vector-body p {
	margin: 1.25em 0 0.75em 0;
}

#float, .float {
 float:right;
 margin-left: 20px;
 background-color: white;
 border-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;}
.osicolor1 {background-color: #ffebad;}
.osicolor2 {background-color: #ffcbcb;}
.osicolor3 {background-color: #b3b7ff;}
.osicolor4 {background-color: #eaecf0;}
.osicolor5 {background-color: #d7be8f;}
.osicolor6 {background-color: #ffff79;}
.osicolor7 {background-color: #a3bfe1;}

.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;
 }
 
figcaption {
 border-width: 20px 0 20px 20px;
 border-color: white;
 font-size: 0.6em !important;
 }

*/

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

/*** Tabellen ***/
table {
}

div.mw-parser-output table {
 margin: 0 0 1.5em 1.4em;
 font-size: 75%;
 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: 90%;
 border-width:20px 0 20px 0;
 border-color: white;
}

/** Erste Spalte **/
.wikitable.options tr td:nth-child(1),
.wikitable.options tr th: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%;
}

.mid {
 width: 33%;
}

/** Zellen **/
.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.wikitable.gnu 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;
}

a.new {
 	color:gray;
}

/* mw-message-box cdx-message cdx-message--block mw-message-box-notice cdx-message--notice collection-maintenance-box collection-notice-box */

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