MediaWiki:Common.css: Unterschied zwischen den Versionen
Erscheinungsbild
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 158: | Zeile 158: | ||
margin-left: 20px; | margin-left: 20px; | ||
} | } | ||
.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; } | |||
Version vom 9. Juni 2023, 11:22 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;
}
h1,h2,h3,h4,h5,h6,h7,h8 {
font-family: sans-serif !important;
}
/*
#mw-wrapper #bodyContent h1,h2,h3,h4,h5,h6,h7,h8 {
font-weight: bold !important;
}
*/
div#mw-content-text.mw-body-content.mw-content-ltr div.mw-parser-output h1 {
margin-top: 5em;
}
div#mw-content-text.mw-body-content.mw-content-ltr div.mw-parser-output h2 {
margin-top: 4.5em;
}
div#mw-content-text.mw-body-content.mw-content-ltr div.mw-parser-output h3 {
margin-top: 4em;
border-bottom: solid lightgrey;
}
div#mw-content-text.mw-body-content.mw-content-ltr div.mw-parser-output h4 {
margin-top: 3.5em;
border-bottom: solid lightgrey;
}
div#mw-content-text.mw-body-content.mw-content-ltr div.mw-parser-output h5 {
margin-top: 3em;
}
div#mw-content-text.mw-body-content.mw-content-ltr div.mw-parser-output h6 {
margin-top: 2.5em;
}
/* Zwischenueberschriften */
div#bodyContent div#mw-content-text.mw-body-content.mw-content-ltr div.mw-parser-output dl dt {
font-size: 1.1em;
font-family: sans-serif !important;
margin-top: 2em;
}
/* Tabellen */
.big {
width: 100%;
}
/** Zellenausrichung**/
.opt {
white-space: nowrap;
}
.wikitable th {
text-align: left !important;
}
table tr td {
vertical-align: top;
}
/** 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; */
}
/* 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;
background-color:#eee;
}
.thumbcaption {
font-size: 0.8em;
}
.wikitable {
font-size: 0.9em;
}
p {
margin: 1.25em 0 0.5em 0;
}
/* Hide letter headlines on category pages */
div.mw-category-generated h3 {
display: none;
}
.float-right {
float:right;
margin-left: 20px;
}
.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; }