MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Foxwiki
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 135: Zeile 135:
.infobox-image {
.infobox-image {
text-align: center;
text-align: center;
background-color: #555555;
background-color: #ffff00;
}
}


Zeile 141: Zeile 141:
   font-size: 0.75em;
   font-size: 0.75em;
   color:white;  
   color:white;  
   background-color:#000000;
   background-color:#555555;
}
}



Version vom 2. Dezember 2022, 23:02 Uhr

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

/* Ueberschriften */
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
 font-family: sans-serif !important;
}

.mw-body-content h1,h2,h3,h4,h5,h6,h7,h8 {
 font-weight: bold;
 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;
}
th {
	text-align: left !important;
}
table tr td {
	vertical-align: top;
}

/** Erste Spalte **/
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;
}

/* Überschriften */
/** Nummern bei 4-8 ausblenden **/
div#mw-content-text.mw-content-ltr div.mw-parser-output h4 span.mw-headline-number {
	display: none;
}
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;
}

/* 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:#555555;
}

.wikitable,.thumbcaption {
  font-size: 0.8em;
}

p  {
	margin: 1.25em 0 0.5em 0;
}