MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Foxwiki
Wechseln zu:Navigation, Suche
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(440 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
html, body {
/* Ueberschriften */
  font-family: sans-serif !important;
.mw-heading {
border-bottom: solid lightgray;
}
}


.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
.mw-heading.mw-heading1 {
font-family: sans-serif !important;
margin-top: 4em;
  font-weight: normal;
  font-family: sans-serif;
}
}


.mw-body-content h1,h2,h3,h4,h5,h6,h7,h8 {
.mw-heading.mw-heading2 {
font-weight: bold;
margin: 3.5em 0 0.25em 0;
font-family: sans-serif !important;
  font-weight: normal;
  font-family: sans-serif;
}
}
.mw-body-content h1 {
 
  margin-top: 2em;
.mw-heading.mw-heading3 {
}
margin: 3em 0 0.8em 0;
.mw-body-content h2 {
   font-weight: normal;
  margin-top: 2em;
   font-family: sans-serif;
}
.mw-body-content h3 {
  margin-top: 1.75em;
}
.mw-body-content h4 {
   margin-top: 1.5em;
}
.mw-body-content h5 {
   margin-top: 1em;
}
.mw-body-content h6 {
  margin-top: 1em;
}
}


/*
.mw-heading.mw-heading4 {
* Farbdefinitionen für Rahmen und Hintergründe von [[w:Wikipedia:Textbausteine|Textbausteinen]].
margin: 2em 0 0.7em 0;
* Hier: Standardvorgaben für "dunkle Schrift auf hellem Grund".
  font-family: sans-serif;
* 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 */
  border-color: #aaaaaa;
  border-width: 1px;
}
.rahmenfarbe2 { /* Unauffällig, geringer Kontrast */
  border-color: #e9e9e9;
  border-width: 1px;
}
.rahmenfarbe3 { /* "Rot", auffällig */
  border-color: #c00000;
  border-width: 1px;
}
.rahmenfarbe4 { /* Neutrale Farbe, deutlich */
  border-color: #8888aa;
  border-width: 1px;
}
.rahmenfarbe5 { /* "Schwarz", hoher Kontrast */
  border-color: #000000;
  border-width: 1px;
}
}


.hintergrundfarbe1 { /* Wie Inhaltsverzeichnis */
.mw-heading.mw-heading5 {
  background-color: #f9f9f9;
margin: 1.6em 0 0.5em 0;
}
  font-family: sans-serif;
.hintergrundfarbe2 { /* "Weiß", für Nicht-Artikel-Seiten, neutral */
  background-color: #ffffff;
}
.hintergrundfarbe3 { /* "Gelb", auffällig */
  background-color: #ffff40;
}
.hintergrundfarbe4 { /* Sehr auffällig */
  background-color: #ffaa00;
}
.hintergrundfarbe5 { /* Neutral, abgesetzt */
  background-color: #e0e0e0;
}
.hintergrundfarbe6 { /* Blau abgesetzt */
  background-color: #b3b7ff;
}
.hintergrundfarbe7 { /* Rot abgesetzt */
  background-color: #ffcbcb;
}
.hintergrundfarbe8 { /* Gelb abgesetzt */
  background-color: #ffebad;
}
.hintergrundfarbe9 { /* Grün abgesetzt */
  background-color: #b9ffc5;
}
}


/* Abschnitt-Bearbeiten-Links */
.mw-heading.mw-heading6 {
.editsection {
margin: 1em 0 0.5em 0;
font-size:90%;
  font-family: sans-serif;
}
}


/*****
hr {
** Bytecounter colours
margin: 1em 0 1em 0;
*****/
height: 0.5px;
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 */
.reference, .references sup {
  font-size: 91%;
  vertical-align: text-top;
  position: relative;
  top: -0.3em;
}
}


/* Redirect-Markierungen */
/* Zwischenueberschriften */
.allpagesredirect, .watchlistredir, .redirect-in-category {
#bodyContent #mw-content-text.mw-body-content .mw-content-ltr.mw-parser-output dl dt {
  font-style: italic;
font-size: 1em;
}
font-family: sans-serif;
 
margin-top: 3.5em;
/*
border-bottom: solid lightgrey;
* Allow limiting of which header levels are shown in a TOC;
font-weight: bold;
* <div class="toclimit-3">, for instance, will limit to
margin-bottom: 1em;
* showing ==headings== and ===headings=== but no further
* (as long as there are no =headings= on the page, which
* 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 */
dl dt a {
/* am oberen Rand (Standardeinstellung: mittig). */
  font-weight: bold!important;
table.table-valign-top td {
vertical-align: top;
}
}


div.NavFrame {
big a.mw-selflink.selflink {
margin: 0px;
color: black;
padding: 2px;
border: 1px solid #aaaaaa;
text-align: center;
border-collapse: collapse;
font-size: 95%;
clear:both;
}
div.BoxenVerschmelzen div.NavFrame {
border-style: none;
border-style: hidden;
}
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
div.NavPic {
background-color: #ffffff;
margin: 0px;
padding: 2px;
float: left;
}
div.NavFrame div.NavHead  {
font-weight: bold;
font-size: 100%;
background-color: #efefef;
}
div.NavFrame p {
font-size: 100%;
}
div.NavFrame div.NavContent {
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]],
div.card-header b big a {
* die keine Mitglieder haben
color: white;
*/
.statistics-group-zero {display:none;}
 
/* Hervorhebung der angeklickten Fußnoten und der Rückverweise in blau */
 
ol.references > li:target {
background-color: #DEF;
}
}


sup.reference:target {
card-header ve-ce-branchNode {
background-color: #DEF;
color: white;
}
}


/* prettytable und wikitable für schöne Tabellen */
div.card-header b big a.mw-selflink.selflink {
color: white;
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 {
border: 1px #aaaaaa solid;
padding: 0.2em 0.6em;
}
table.prettytable th, table.wikitable th {
background: #ddddff;
text-align: left;
}
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) {
.osi {
background: white;
padding: 0.5em 1em;
}
white-space: nowrap;
font-size: 85%;
}


.toptextcells td {
/*** Farben ***/
vertical-align: top;
}


div.float-left,
.hintergrundfarbe8 {
table.float-left,
background-color: #FFEBAD ;
.float-left {
float: left;
clear: left;
}
}


div.float-right,
/** OSI-Farben **/
table.float-right,
.osicolor0 {background-color: #b9ffc5;}
.float-right {
.osicolor1 {background-color: #ffebad;}
float: right;
.osicolor2 {background-color: #ffcbcb;}
clear: right;
.osicolor3 {background-color: #b3b7ff;}
margin: 1em 0 1em 1em;
.osicolor4 {background-color: #eaecf0;}
}
.osicolor5 {background-color: #d7be8f;}
.osicolor6 {background-color: #ffff79;}
.osicolor7 {background-color: #a3bfe1;}


div.centered,
/*** Tabellen ***/
table.centered,
/** Erste Spalte **/
.centered {
.table table-striped table-hover.options tr td:nth-child(1),
  margin-left: auto;
.table table-striped table-hover.options tr th:nth-child(1) {
  margin-right: auto;
  font-weight: bold;
  white-space: nowrap;
}
}
 
.options {
.collapsible.changecolor.selected .title,
font-weight: bold;
.collapsible.changecolor.selected tr:first-child th,
white-space: nowrap;
.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 {
/** Erste Spalte **/
.forceprint_block {
.table table-striped table-hover.options tr td:nth-child(1),
  display: block !important;
.table table-striped table-hover.options tr th:nth-child(1) {
}
font-weight: bold;
.forceprint_inline {
  white-space: nowrap;
  display: inline !important;
  }
}
}


/* <syntaxhighlight> errors without border. */
/** Zweite Spalte **/
.mw-highlight .err{
table tr td:nth-child(2) {
  border: none;
  /* white-space: nowrap; */
}
}


/* nötigenfalls seitwärtsscrolling statt Zeilenumbruch */
/* Table alignment */
.mw-highlight{
.defaultleft { text-align:left; }
clear: both;
.defaultcenter { text-align:center; }
}
.defaultright { text-align:right; }


pre, .mw-code{
.col1left td:nth-child(1),
white-space: pre;
.col2left td:nth-child(2),
overflow: auto;
.col3left td:nth-child(3),
clear: both;
.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; }


/* do not select line numbers in <syntaxhighlight> */
.col1center td:nth-child(1),
.mw-highlight .lineno {
.col2center td:nth-child(2),
-ms-user-select: none;
.col3center td:nth-child(3),
-moz-user-select: none;
.col4center td:nth-child(4),
-webkit-user-select: none;
.col5center td:nth-child(5),
user-select: none;
.col6center td:nth-child(6),
background: #EEE;
.col7center td:nth-child(7),
display: inline-block;
.col8center td:nth-child(8),
padding-left: 0.5em;
.col9center td:nth-child(9),
margin-right: 0.5em;
.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; }


/* Ergänzung zu Common.js - #specialchars oberhalb des Edit-Fensters anzeigen
.col1right td:nth-child(1),
  gemäß Verbesserungsvorschlägen "Hilfen bei der Texteingabe"  */
.col2right td:nth-child(2),
#specialchars {
.col3right td:nth-child(3),
  clear: both;
.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; }


hr {
.col1bold td:nth-child(1),
  margin: 1.5em 0 0.5em 0;
.col2bold td:nth-child(2),
}
.col3bold td:nth-child(3),
.col4bold td:nth-child(4),
.col5bold td:nth-child(5),
.col6bold td:nth-child(6),
.col7bold td:nth-child(7),
.col8bold td:nth-child(8),
.col9bold td:nth-child(9),
.col10bold td:nth-child(10),
.col11bold td:nth-child(11),
.col12bold td:nth-child(12),
.col13bold td:nth-child(13),
.col14bold td:nth-child(14),
.col15bold td:nth-child(15),
.col16bold td:nth-child(16),
.col17bold td:nth-child(17),
.col18bold td:nth-child(18),
.col19bold td:nth-child(19) { font-weight: bold; }


div#toc.toc li.toclevel-4 {
.col1nowrap td:nth-child(1),
display:none;
.col2nowrap td:nth-child(2),
}
.col3nowrap td:nth-child(3),
.col4nowrap td:nth-child(4),
.col5nowrap td:nth-child(5),
.col6nowrap td:nth-child(6),
.col7nowrap td:nth-child(7),
.col8nowrap td:nth-child(8),
.col9nowrap td:nth-child(9),
.col10nowrap td:nth-child(10),
.col11nowrap td:nth-child(11),
.col12nowrap td:nth-child(12),
.col13nowrap td:nth-child(13),
.col14nowrap td:nth-child(14),
.col15nowrap td:nth-child(15),
.col16nowrap td:nth-child(16),
.col17nowrap td:nth-child(17),
.col18nowrap td:nth-child(18),
.col19nowrap td:nth-child(19) { white-space: nowrap; }


div#mw-content-text.mw-content-ltr div.mw-parser-output h4 span.mw-headline-number {
.table {
display: none;
font-size: small;
}
div#mw-content-text.mw-content-ltr div.mw-parser-output h5 span.mw-headline-number {
display: none;
}
}
div#mw-content-text.mw-content-ltr div.mw-parser-output h6 span.mw-headline-number {
display: none;
}
div#mw-content-text.mw-content-ltr div.mw-parser-output h7 span.mw-headline-number {
display: none;
}
div#mw-content-text.mw-content-ltr div.mw-parser-output h8 span.mw-headline-number {
display: none;
}
div.toccolours.mw-collapsible.mw-made-collapsible {
display: block;
}
dl dt {
font-size: 2em;
font-family: sans-serif !important;
}

Aktuelle Version vom 1. Oktober 2026, 11:50 Uhr

/* Ueberschriften */
.mw-heading {
	border-bottom: solid lightgray;
}

.mw-heading.mw-heading1 {
	margin-top: 4em;
  font-weight: normal;
  font-family: sans-serif;
}

.mw-heading.mw-heading2 {
	margin: 3.5em 0 0.25em 0;
  font-weight: normal;
  font-family: sans-serif;
}

.mw-heading.mw-heading3 {
	margin: 3em 0 0.8em 0;
  font-weight: normal;
  font-family: sans-serif;
}

.mw-heading.mw-heading4 {
	margin: 2em 0 0.7em 0;
  font-family: sans-serif;
}

.mw-heading.mw-heading5 {
	margin: 1.6em 0 0.5em 0;
  font-family: sans-serif;
}

.mw-heading.mw-heading6 {
	margin: 1em 0 0.5em 0;
  font-family: sans-serif;
}

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

/* 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: 3.5em;
	border-bottom: solid lightgrey;
	font-weight: bold;
	margin-bottom: 1em;
}

dl dt a {
  font-weight: bold!important;
}

big a.mw-selflink.selflink {
	color: black;
}

div.card-header b big a {
		color: white;
}

card-header ve-ce-branchNode {
		color: white;
}

div.card-header b big a.mw-selflink.selflink {
		color: white;
}

.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;}

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

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

.col1bold td:nth-child(1),
.col2bold td:nth-child(2),
.col3bold td:nth-child(3),
.col4bold td:nth-child(4),
.col5bold td:nth-child(5),
.col6bold td:nth-child(6),
.col7bold td:nth-child(7),
.col8bold td:nth-child(8),
.col9bold td:nth-child(9),
.col10bold td:nth-child(10),
.col11bold td:nth-child(11),
.col12bold td:nth-child(12),
.col13bold td:nth-child(13),
.col14bold td:nth-child(14),
.col15bold td:nth-child(15),
.col16bold td:nth-child(16),
.col17bold td:nth-child(17),
.col18bold td:nth-child(18),
.col19bold td:nth-child(19) { font-weight: bold; }

.col1nowrap td:nth-child(1),
.col2nowrap td:nth-child(2),
.col3nowrap td:nth-child(3),
.col4nowrap td:nth-child(4),
.col5nowrap td:nth-child(5),
.col6nowrap td:nth-child(6),
.col7nowrap td:nth-child(7),
.col8nowrap td:nth-child(8),
.col9nowrap td:nth-child(9),
.col10nowrap td:nth-child(10),
.col11nowrap td:nth-child(11),
.col12nowrap td:nth-child(12),
.col13nowrap td:nth-child(13),
.col14nowrap td:nth-child(14),
.col15nowrap td:nth-child(15),
.col16nowrap td:nth-child(16),
.col17nowrap td:nth-child(17),
.col18nowrap td:nth-child(18),
.col19nowrap td:nth-child(19) { white-space: nowrap; }

.table {
	font-size: small;
}