MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 1: | Zeile 1: | ||
− | /* | + | /* Dieses CSS formatiert alle Artikel des Westmärker Wiki für alle Benutzeroberflächen |
− | * [[Tagebuchstyles.css]] | + | |
− | * [[Kalenderstyles.css]], | + | Aufruf erfolgt automatisch. |
− | ** | + | |
− | + | Siehe auch | |
− | + | * [[Tagebuchstyles.css]] für alle Artikel, die zum Tagebuch gehören | |
+ | * [[Kalenderstyles.css]] für die Edition "Tag für Tag", und zwar | ||
+ | ** die Navigationsboxen | ||
+ | ** die Überschriften, die nur auf diesen Seiten so aussehen sollen wie in der PDF-Edition bzw. in Word. | ||
+ | :: Die dort ferner angegebene Formatierung einer Tabelle in Schriftart courier (.KTB, für die Gliederung einer MGK) könnte auch gerne in Tagebuchstyles.css oder gar MediaWiki:Common.css verschoben werden. | ||
*/ | */ | ||
− | |||
− | |||
/* ******************************************************* */ | /* ******************************************************* */ |
Version vom 29. April 2020, 14:14 Uhr
/* Dieses CSS formatiert alle Artikel des Westmärker Wiki für alle Benutzeroberflächen
Aufruf erfolgt automatisch.
Siehe auch
* [[Tagebuchstyles.css]] für alle Artikel, die zum Tagebuch gehören
* [[Kalenderstyles.css]] für die Edition "Tag für Tag", und zwar
** die Navigationsboxen
** die Überschriften, die nur auf diesen Seiten so aussehen sollen wie in der PDF-Edition bzw. in Word.
:: Die dort ferner angegebene Formatierung einer Tabelle in Schriftart courier (.KTB, für die Gliederung einer MGK) könnte auch gerne in Tagebuchstyles.css oder gar MediaWiki:Common.css verschoben werden.
*/
/* ******************************************************* */
/* ******************************************************* */
/* */
/* TEIL 1: war vorher in shared */
/* */
/* ******************************************************* */
/* ******************************************************* */
/* wikitable class for skinning normal tables ************ */
/* keep in sync with commonPrint.css !! ************ */
/* MIT FARBÄNDERUNGEN ************************************ */
table.wikitable {
background-color: #f6fdf3 /* * statt #f8f9fa * */;
color: black /* * statt #222 * */;
margin: 1em 0;
border: 1px solid #aaa /* * statt #a2a9b1 * */;
border-collapse: collapse;
}
table.wikitable > tr > th,
table.wikitable > tr > td,
table.wikitable > * > tr > th,
table.wikitable > * > tr > td {
border: 1px solid #aaa /* * statt #a2a9b1 * */;
padding: 0.2em 0.4em;
vertical-align: top;
}
table.wikitable > tr > th,
table.wikitable > * > tr > th {
background-color: #e3f3d3 /* * statt #eaecf0 * */;
text-align: center;
vertical-align: top;
}
/* table.hombruchmenue *********************************** */
/* MENUE UND HINTERGRUNDFARBEN ALS CLASS ***************** */
table.hombruchmenue {
margin: 1em 0;
float: right;
width: 280px;
font-size: 10pt
}
table.hombruchmenue > * > tr > td {
background-color: #e3f3d3;
border: 1px solid #aaa;
}
.hellgruen {
background-color: #f6fdf3;
border: 1px solid #aaa;
}
.dunkelgruen {
background-color: #e3f3d3;
border: 1px solid #aaa;
}
/* table.hombruchmenue-eng ******************************* */
/* TABLE MIT KLEINERER SCHRIFT UND ABSTÄNDEN ************* */
table.hombruch-eng {
font-size: 10pt;
line-height: 1.2em;
}
table.hombruch-eng > tr > th,
table.hombruch-eng > tr > td,
table.hombruch-eng > * > tr > th,
table.hombruch-eng > * > tr > td {
padding: 0.2em 0.4em;
vertical-align: top;
}
table.hombruch-eng > * > tr > td > p {
margin-bottom: 2px;
}
table.hombruch-eng > * > tr > td > ul {
margin-top: 2px;
}
table.hombruch-eng-2 > tr > td,
table.hombruch-eng > * > tr > td {
border-bottom: solid 1px black;
}
/* table.gm = Genealogische Tabelle im Artikel Grafschaft Mark */
/* TABLE MIT KLEINERER SCHRIFT UND ABSTÄNDEN ************* */
table.gm {
background-color: white;
line-height: 1.4em;
border: 1px solid #aaa;
}
table.gm > * > tr > td {
border-bottom: solid 1px #eee;
}
table.gm > * > tr > td.m { /* Mark yellow */
background-color: lightyellow;
}
table.gm > * > tr > td.b { /* Berg black */
background-color: white;
}
table.gm > * > tr > td.l { /* Limburg, Alpen tomato */
background-color: lavenderblush;
}
table.gm > * > tr > td.lb { /* Limburg-Broich red */
background-color: mistyrose;
}
table.gm > * > tr > td.e { /* Erzbischöfe gold */
background-color: lemonchiffon;
}
/* table.modelle MIT NOCH KLEINERER SCHRIFT UND ABSTÄNDEN */
/* FÜR MODELLBAHNFAHRZEUGBESTAND ************************* */
table.modelle {
font-size: 8pt;
line-height: 1.2em;
margin: 1em 0;
background-color: ivory;
border: 1px solid sienna;
border-collapse: collapse;
color: saddlebrown;
width: 100%;
}
table.modelle > tr > th,
table.modelle > tr > td,
table.modelle > * > tr > th,
table.modelle > * > tr > td {
border: 1px solid sienna;
padding: 0.2em 0.4em;
vertical-align: top;
}
table.modelle > tr > th,
table.modelle > * > tr > th {
background-color: sienna;
text-align: center;
color: ivory;
}
table.modelle > * > tr > td > p {
margin-bottom: 2px;
}
table.modelle > * > tr > td > ul {
margin-top: 2px;
}
/* table.zuege MIT NOCH KLEINERER SCHRIFT UND ABSTÄNDEN ** */
/* FÜR ZÜGETABELLE ************************* */
table.zuege {
font-size: 8pt;
line-height: 1.2em;
margin: 1em 0;
background-color: white;
border: 1px solid silver;
border-collapse: collapse;
color: black;
// width: 100%;
}
table.zuege > tr > th,
table.zuege > tr > td,
table.zuege > * > tr > th,
table.zuege > * > tr > td {
border: 1px solid silver;
padding: 0.2em 0.4em;
vertical-align: top;
}
table.zuege > tr > th,
table.zuege > * > tr > th {
background-color: dimgray;
text-align: center;
color: white;
}
table.zuege > * > tr > td > p {
margin-bottom: 2px;
}
table.zuege > * > tr > td > ul {
margin-top: 2px;
}
/* TABLE MIT KLEINERER SCHRIFT UND ABSTÄNDEN ************* */
/* FÜR Schulzes Hervorhebungen ************************* */
table.sch {
width: 100%;
font-size: 10pt;
line-height: 1.3em;
margin: 1em 0;
background-color: lemonchiffon;
border: 1px solid gold;
border-collapse: collapse;
color: black;
}
table.sch > tr > td,
table.sch > * > tr > td {
border: 0px;
padding: 0.2em 0.4em;
vertical-align: top;
}
table.sch > * > tr > td > p {
margin-top: 2px;
}
/* ABWANDLUNG ******************************************** */
/* FÜR Schulzes Römerzitate ****************************** */
table.roe {
width: 100%;
font-size: 10pt;
line-height: 1.3em;
margin: 1em 0;
background-color: honeydew;
border: 1px solid palegreen;
border-collapse: collapse;
color: black;
}
table.roe > tr > th,
table.roe > tr > td,
table.roe > * > tr > th,
table.roe > * > tr > td {
border: 0px;
padding: 0.2em 0.4em;
}
table.roe > tr > th,
table.roe > * > tr > th {
font-size: smaller;
font-weight: normal;
text-align: right;
}
table.roe > * > tr > td > p {
margin-top: 2px;
}
/* ABWANDLUNG ******************************************** */
/* FÜR Schulzes Deutschen-Zitate ************************* */
table.deu {
width: 100%;
font-size: 10pt;
line-height: 1.3em;
margin: 1em 0;
background-color: lavenderblush;
border: 1px solid lightpink;
border-collapse: collapse;
color: black;
}
table.deu > tr > th,
table.deu > tr > td,
table.deu > * > tr > th,
table.deu > * > tr > td {
border: 0px;
padding: 0.2em 0.4em;
font-style: italic;
}
table.deu > tr > th,
table.deu > * > tr > th {
font-size: smaller;
font-weight: normal;
text-align: right;
}
table.deu > * > tr > td > p {
margin-top: 2px;
font-style: italic;
}
/* TABLE MIT KLEINERER SCHRIFT UND ABSTÄNDEN ************* */
/* FÜR Schulzes Quellenangaben ************************* */
table.Schulze {
width: 100%;
font-size: 10pt;
line-height: 1.2em;
margin: 1em 0;
background-color: lemonchiffon;
border: 1px solid gold;
border-collapse: collapse;
color: black;
}
table.Schulze > tr > th,
table.Schulze > tr > td,
table.Schulze > * > tr > th,
table.Schulze > * > tr > td {
border: 1px solid gold;
padding: 0.2em 0.4em;
vertical-align: top;
}
table.Schulze > tr > th,
table.Schulze > * > tr > th {
font-weight: bold;
text-align: left;
}
table.Schulze > * > tr > td > p {
margin-bottom: 2px;
}
table.Schulze > * > tr > td > ul {
margin-top: 2px;
}
/* SONSTIGES */
/* In "Letze Änderungen" sollen die geänderten Bilder nur klein angezeigt werden statt original groß */
.letztebildaenderungen * img {
width: 20px;
height: 20px;
}
/* FARBIGER KASTEN FÜR WIKIPEDIA UND GENWIKI ************* */
div.hombruch-wp {
border: 1px solid #aaa;
margin: 1em 0;
background: #e3f3d3;
width: 100%;
height: 63px;
padding: 4px;
text-align: left;
vertical-align: middle;
}
/* KEIN AUFZÄHLUNGSZEICHEN FÜR GEWÄSSER ****************** */
div.hombruch-gewaesser ul {
list-style: none;
}
div.hombruch-gewaesser pre {
white-space: pre;
line-height: 115%;
color: navy;
font-family: monospace;
}
div.hombruch-gewaesser pre sup {
font-size: 0.7em;
}
/* ******************************************************* */
/* ******************************************************* */
/* */
/* TEIL 2: war schon hier */
/* */
/* ******************************************************* */
/* ******************************************************* */
/* Verstecken des Wortes "Hauptseite" */
body.page-Hauptseite.action-view h1.firstHeading, body.page-Hauptseite.action-submit h1.firstHeading { display: none; }
/* Keine Nummerierung des Inhaltsverzeichnisses
Dazu auf die Seite an der gewünschten Stelle des Inhaltsverzeichnisses schreiben:
<div class="noautonum">__TOC__</div>
und hier aktivieren: */
.noautonum .tocnumber { display: none; }
/*ohne .noautonum würde generell abgeschaltet: .tocnumber { display: none; }*/
/* Technische Ränder farblich stärker absetzen *********** */
body,
/*div#mw-head { background-image: URL(images/bg/bgpattern1.png); }*/
div#mw-head { background-image: URL(images/bg/bggold.jpg); }
div#content { background-color: white; }
/* Banner für Sprach- und Heimatseiten */
.TTHeimat1 { background-image:url(http://www.vexilli.net/w/images/9/9d/Banner_Westm%C3%A4rker.jpg); }
.TTHeimat2 { background-image:url(http://www.vexilli.net/w/images/e/ea/Banner_Westm%C3%A4rkerFortsetzung.jpg); }
/* ******************************************************* */
/* ******************************************************* */
/* */
/* TEIL 3: Neu */
/* */
/* ******************************************************* */
/* ******************************************************* */
/* Buttons *********************************************** */
/* in einem table mit Buttons müssen auch */
/* die einzelnen Buttons classifiziert werden, */
/* um bei Bedarf Zellen ausnehmen zu können! */
/* Und nur Zellen mit ! (th) werden Buttons! */
table.buttonlike th.buttonlike,
table.buttonlike td,
table.buttonlike > tr > th.buttonlike,
table.buttonlike > tr > td,
table.buttonlike > * > tr > th.buttonlike,
table.buttonlike > * > tr > td {
vertical-align: middle;
border: 10px solid silver;
background-color: lightyellow;
}
table.buttonlike th.buttonlike:hover {
background-color: gold;
}
table.buttonlike th.buttonlike:hover p {
background-color: white;
}
table.buttonlike th.buttonlike:hover a {
color: red;
}
/* Background des Suchen-Feldes ************************** */
/* (sonst Seiten-bg (WEST: gelb, TGB: grün) ************** */
div#simpleSearch {
background-color: white;
}
/* Seitentitelverlängerung ******************************* */
/* (Abs. im H1-Format: <div class="h1"></div) ************ */
/* damit d. erläuterte/erweiterte Titel nicht im TOC steht */
.mw-body-content div.h1 {
border-bottom: 1px solid #a2a9b1;
margin: 0;
font-weight: normal;
background: none;
line-height: 1.3;
font-family: 'Linux Libertine','Georgia','Times',serif;
padding: 0;
margin-bottom: 0.5em; /* war 0.25em; sah im Vergleich zum echten Titel anders aus */
font-size: 1.8em; /* geht so, obwohl echte h1 größer (2.1em?); finde den Grund nicht */
}