MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Foxwiki
Keine Bearbeitungszusammenfassung
K Textersetzung - „float-right“ durch „float“
Zeile 224: Zeile 224:
}
}


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

Version vom 22. Februar 2024, 11:19 Uhr

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

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

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

#mw-content-text.mw-body-content.mw-content-ltr div.mw-parser-output h1 {
	font-family: sans-serif;
	margin-top: 3em;
    border-bottom: solid lightgrey;
    font-size: 2em;
    font-weight: normal;
}
#mw-content-text.mw-body-content.mw-content-ltr div.mw-parser-output h2 {
	font-family: sans-serif;
	margin-top: 3em;
    border-bottom: solid lightgrey;
    font-size: 1.8em;
    font-weight: normal;
}
#mw-content-text.mw-body-content.mw-content-ltr div.mw-parser-output h3 {
	font-family: sans-serif;
	margin-top: 1.6em;
	border-bottom: solid lightgrey;
	font-size: 1.6em;
	font-weight: normal;
}
#mw-content-text.mw-body-content.mw-content-ltr div.mw-parser-output h4 {
	font-family: sans-serif;
	margin-top: 1.4em;
    border-bottom: solid lightgrey;
    font-size: 1.4em;
    font-weight: normal;
}
#mw-content-text.mw-body-content.mw-content-ltr div.mw-parser-output h5 {
	font-family: sans-serif;
	margin-top: 1.1em;
	border-bottom: solid lightgrey;
	font-size: 1.1em;
	font-weight: normal;
}
#mw-content-text.mw-body-content.mw-content-ltr div.mw-parser-output h6 {
	font-family: sans-serif;
	margin-top: 1em;
	border-bottom: solid lightgrey;
	font-size: 1em;
	font-weight: normal;
}

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

/* Tabellen */
table {
}

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

/* Zwischenueberschriften */
#bodyContent #mw-content-text.mw-body-content.mw-content-ltr div.mw-parser-output dl dt {
  font-size: 1.1em;
  font-family: sans-serif;
  margin-top: 2em;
 }

/* Tabellen */
.big {
	  width: 100%;
	  max-width: 940px;
}

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

/* 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 {
	margin: 1.25em 0 0.5em 0;
}

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

.center {
	text-align:center;
}

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

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

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

/*** Farben ***/

.hintergrundfarbe8 {
	background-color: #FFEBAD ;
}

/** OSI-Farben **/
.osicolor0 {
	background-color: #B9FFC5;
	padding: 0;
}
.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;
}

table.wikitable tbody tr td {
	 padding: 0.2em 1em 0.2em 0.6em;
}

/* figure */

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

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