Zum Inhalt springen

MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Foxwiki
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(334 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
html, body {
.mw-body .mw-headin2 {
   font-family: sans-serif !important;
   font-family: sans-serif !important;  
}
}


/* Ueberschriften */
.mw-body .mw-heading2 {
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
margin: 2em 0 0.5em 0;
font-family: sans-serif !important;
    font-family: sans-serif !important;  
}
}


.mw-body-content h1,h2,h3,h4,h5,h6,h7,h8 {
.mw-heading .mw-heading3 {
font-weight: bold;
margin: 2em 0 0.5em 0;
font-family: sans-serif !important;
}
.mw-body-content h1 {
  margin-top: 3.5em;
}
.mw-body-content h2 {
  margin-top: 3em;
}
.mw-body-content h3 {
  margin-top: 2.5em;
}
.mw-body-content h4 {
  margin-top: 2em;
}
.mw-body-content h5 {
  margin-top: 1.75em;
}
.mw-body-content h6 {
  margin-top: 1.5em;
}
 
/* Zwischenueberschriften */
div#bodyContent div#mw-content-text.mw-body-content.mw-content-ltr div.mw-parser-output dl dt {
font-size: 1.0em;
  font-family: sans-serif !important;
}
 
/* Tabellen */
/** Zellenausrichung**/
.opt {
white-space: nowrap;
}
.wikitable th {
text-align: left !important;
}
table tr td {
vertical-align: top;
}
 
/** Erste Spalte **/
.wikitable table tr td:nth-child(1) {
font-weight: bold;
white-space: nowrap;
}
 
/** Zweite Spalte **/
table tr td:nth-child(2) {
  /* white-space: nowrap; */
}
 
/* Vergrößerung der Zeilenhöhe durch hochgestellte Zahlen verhindern */
sup {
  font-size: 91%;
  vertical-align: text-top;
  position: relative;
  top: -0.3em;
}
 
/* Syntaxhighlighting */
/** do not select line numbers **/
.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;
}
 
/* Inhaltsverzeichnis */
/** Nur Überschiften 1-3 **/
div#toc.toc li.toclevel-3 {
display:none;
}
 
hr {
  margin: 1.5em 0 0.5em 0;
}
 
/* Testfragen auf Seitenbreite vergrößern */
ul#filetoc, .toc, .toccolours, .mw-warning {
  display: block;
}
 
.infobox {
background-color: #ffff00;
border: 2px solid #008600;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 400px;
}     
.infobox-title {
border: 1px solid #000000;
font-size: 1.5em;
text-align: center;
background-color: #ff0000;
}
.infobox-subtitle {
font-size: 1em;
text-align: center;
background-color: #fff00;
}
.infobox-image {
text-align: center;
background-color: #ffff00;
}
 
pre {
  font-size: 0.75em;
  color:white;
  background-color:#222;
}
 
.wikitable,.thumbcaption {
  font-size: 0.8em;
}
 
p  {
margin: 1.25em 0 0.5em 0;
}
}


.mw-body dt {
dl {
  margin-top: 2em;
margin: 2em 0 0.5em
}
}

Aktuelle Version vom 1. August 2026, 13:55 Uhr

.mw-body .mw-headin2 {
  font-family: sans-serif !important; 
}

.mw-body .mw-heading2 {
	margin: 2em 0 0.5em 0;
    font-family: sans-serif !important; 
}

.mw-heading .mw-heading3 {
	margin: 2em 0 0.5em 0;
}

dl {
		margin: 2em 0 0.5em
}