MediaWiki Diskussion:Common.css

Aus Foxwiki
Version vom 10. August 2026, 21:18 Uhr von Dirkwagner (Diskussion | Beiträge)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu:Navigation, Suche

/* Ueberschriften */

.mw-body h1,.mw-body h2,.mw-body h3,.mw-body h4,.mw-body h5,.mw-body h6 {

 font-weight: normal;

}

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

.mw-heading.mw-heading1 { margin-top: 4em;

 font-weight: normal;
 font-family: serif;

}

.mw-heading.mw-heading2 { margin: 3.5em 0 0.25em 0;

 font-weight: normal;
 font-family: serif;

}

.mw-heading.mw-heading3 { margin: 3em 0 0.8em 0;

 font-weight: normal;
 font-family: serif;

}

.mw-heading.mw-heading4 { margin: 2em 0 0.7em 0;

 font-family: serif;

}

.mw-heading.mw-heading5 { margin: 1.6em 0 0.5em 0;

 font-family: serif;

}

.mw-heading.mw-heading6 { margin: 1em 0 0.5em 0;

 font-family: serif;

}

hr {

margin: 1em 0 1em 0;
height: 0.5px;

}

/* Zwischenueberschriften */

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

}

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

  1. float, .float {
float:right;
margin-left: 20px;
background-color: white;
border-left: 20px;

}

.center { text-align:center !important; }

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

 font-weight: normal;

}

.table table-striped table-hover > caption {

 font-weight: normal;
}

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

.line { padding: 0 0.1em 0 0.1em; text-align: center !important; vertical-align: middle; color: darkgray; }

/* figure */ /* div#mw-content-text.mw-body-content .mw-content-ltr.mw-parser-output figure {

border-width: 20px 0 20px 20px; 
border-color: white;
}

figcaption {

border-width: 20px 0 20px 20px;
border-color: white;
font-size: 0.6em !important;
}
  • /

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

/*** Tabellen ***/ table { }

div.mw-parser-output table {

margin: 0 0 1.5em 1.4em;
font-size: 75%;
border-width:1.25em 0.1em 1.5em 1.5em;
border-color: white;

}

div.mw-parser-output table.big {

margin: 1em 0 1.5em 0;
font-size: 90%;
border-width:20px 0 20px 0;
border-color: white;

}

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

/* Tabellen */ .big {

width: 100%;
margin: 2em 0 1.5em 0;
border-width: 20px 0 20px 0;
border-color: white;

}

.small {

width: 25%;

}

.mid {

width: 33%;

}

/** Zellen **/ .table table-striped table-hover {

padding: 0.1em 0.3em 0.1em 0.3em;
font-size: 90%;
border-width: 20px 0 20px 20px;
border-color: white;

}

.table table-striped table-hover th {

text-align: left;
padding: 0.5em;

}

.opt {

white-space: nowrap;

}

table tr td {

vertical-align: top;
padding: 0.5em;

}

/** Erste Spalte **/ table.table table-striped table-hover.options tr td:nth-child(1) {

font-weight: bold;
white-space: nowrap;

}

/** Zweite Spalte **/ table.table table-striped table-hover.gnu tr td:nth-child(2) {

white-space: nowrap;

}

table.table table-striped table-hover, table.table table-striped table-hover tbody, table.table table-striped table-hover tbody tr td, .table table-striped table-hover > * > tr > th {

padding: 0.2em 1em 0.2em 0.6em;
border: 4px solid #fff;

}

div.mw-parser-output div.mw-highlight.mw-highlight-lang-bash.mw-content-ltr pre span.hll {

font-weight: bold;

}

table.table table-striped table-hover.options.col3center tbody tr td p { margin: 0.75em 0 0.5em 0; }

a.new {

	color:gray;

}

div.mw-message-box.cdx-message.cdx-message--block.mw-message-box-notice.cdx-message--notice.collection-maintenance-box.collection-notice-box { display:none; }

/* Container für Navigationsbuttons */ .custom-nav-container {

 display: flex;
 justify-content: space-between;
 align-items: center;
 margin: 1.5em 0;
 width: 100%;
 clear: both;

}

/* Allgemeiner Stil für Links innerhalb des Containers (Buttons) */ .custom-nav-container a {

 display: inline-block;
 padding: 6px 12px;
 border-radius: 2px;
 font-family: sans-serif;
 font-weight: bold;
 text-decoration: none !important;
 transition: background-color 100ms;

}

/* Stil für den linken "Zurück"-Button (hell) */ .custom-nav-prev a {

 background-color: #f8f9fa;
 color: #202122;
 border: 1px solid #a2a9b1;

}

.custom-nav-prev a:hover {

 background-color: #ffffff;

}

/* Stil für den rechten "Weiter"-Button (blau, hervorgehoben) */ .custom-nav-next a {

 background-color: #3366cc;
 color: #ffffff !important;
 border: 1px solid #3366cc;

}

.custom-nav-next a:hover {

 background-color: #2b56a8;

}


div#mw-content-text.mw-body-content div.mw-content-ltr.mw-parser-output div.mw-heading.mw-heading1 { font-family: sans-serif; margin-top: 3.5em; border-bottom: solid lightgrey; font-weight: bold; margin-bottom: 1em; }

div#mw-content-text.mw-body-content div.mw-content-ltr.mw-parser-output div.mw-heading.mw-heading2 { font-family: sans-serif; margin-top: 3.5em; border-bottom: solid lightgrey; font-weight: bold; margin-bottom: 1em; }

div#mw-content-text.mw-body-content div.mw-content-ltr.mw-parser-output div.mw-heading.mw-heading3 { margin: 4em 0 1em 0 !important; }

div#mw-content-text.mw-body-content div.mw-content-ltr.mw-parser-output div.mw-heading.mw-heading4 { margin: 4em 0 1em 0 !important; }

div#mw-content-text.mw-body-content div.mw-content-ltr.mw-parser-output div.mw-heading.mw-heading5 { margin: 4em 0 1em 0 !important; }

div#mw-content-text.mw-body-content div.mw-content-ltr.mw-parser-output div.mw-heading.mw-heading6 { margin: 4em 0 1em 0 !important; }

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

a.new {

	color:gray;

}

/* Allgemeiner Stil für Links innerhalb des Containers (Buttons) */ .custom-nav-container a {

 /*display: inline-block;*/
 /*display: flex;*/
 padding: 6px 12px;
 border-radius: 2px;
 font-family: sans-serif;
 font-weight: bold;
 text-decoration: none !important;
 transition: background-color 100ms;

}

/* Stil für den linken "Zurück"-Button (hell) */ .custom-nav-prev a { float: left; background-color: #f8f9fa; color: #202122; border: 1px solid #a2a9b1; }

.custom-nav-prev a:hover { float: left; background-color: #ffffff; }

/* Stil für den rechten "Weiter"-Button (blau, hervorgehoben) */ .custom-nav-next a { float: right; background-color: #3366cc; color: #ffffff !important; border: 1px solid #3366cc; }

.custom-nav-next a:hover { background-color: #2b56a8;

 	float: right;

}