MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus CMO
UweS (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
UweS (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 30: | Zeile 30: | ||
height: 1em; | height: 1em; | ||
margin-right: .4em; | margin-right: .4em; | ||
background: # | background: #9B3A2F;/* Karminrot */ | ||
} | } | ||
| Zeile 39: | Zeile 39: | ||
height: 1em; | height: 1em; | ||
margin-right: .4em; | margin-right: .4em; | ||
background: # | background: #1F5A5E;/* Petrol */ | ||
} | } | ||
#n-CM---Quellen > a::before { | #n-CM---Quellen > a::before { | ||
background: # | background: #C89B3C;/* Goldocker */ | ||
content: ""; | content: ""; | ||
display: inline-block; | display: inline-block; | ||
| Zeile 52: | Zeile 52: | ||
#n-CM---Rezeptionen > a::before { | #n-CM---Rezeptionen > a::before { | ||
background: # | background: #5A3E5B;/* Aubergine */ | ||
content: ""; | content: ""; | ||
display: inline-block; | display: inline-block; | ||
| Zeile 61: | Zeile 61: | ||
#n-CMG > a::before { | #n-CMG > a::before { | ||
background: # | background: #4F8C7A;/* Türkisgrün */ | ||
content: ""; | content: ""; | ||
display: inline-block; | display: inline-block; | ||
| Zeile 70: | Zeile 70: | ||
#n-Museum > a::before { | #n-Museum > a::before { | ||
background: # | background: #5E6F3E;/* Moosgrün */ | ||
content: ""; | content: ""; | ||
display: inline-block; | display: inline-block; | ||
| Zeile 79: | Zeile 79: | ||
#n-Projekt > a::before { | #n-Projekt > a::before { | ||
background: # | background: #E6E1D8;/* Warmes Grau*/ | ||
content: ""; | content: ""; | ||
display: inline-block; | display: inline-block; | ||
Version vom 5. Februar 2026, 01:11 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/*Verindert das Anzeigen des Inhaltsverzeichnisses, das Inhalrsverzeichnis existiert aber noch für barrierefreiheit */
.mw-parser-output .toc { display: none; }
/* Opt-in: Wenn __TOC__ in einem Wrapper sitzt, wieder anzeigen */
.mw-parser-output .show-toc .toc {
display: block; /* bei Bedarf mit !important */
}
/* Das muss man dann auf der Seite eintragen, wenn das Inhaltsverzeichnis eingeblendet werden soll
<div class="show-toc">
__TOC__
</div>
*/
/*Zusatz in Skin-Farbbalken */
.mw-desktop-sitename::after {
content: " Christian-Morgenstern-Online";
font-weight: normal;
font-size: 90%;
margin-left: .25em;
}
/* Grundlayout: schmaler Balken links neben dem Link in Sidebar */
#n-CM---Werk > a::before {
content: "";
display: inline-block;
width: .4em;
height: 1em;
margin-right: .4em;
background: #9B3A2F;/* Karminrot */
}
#n-CM---Leben > a::before {
content: "";
display: inline-block;
width: .4em;
height: 1em;
margin-right: .4em;
background: #1F5A5E;/* Petrol */
}
#n-CM---Quellen > a::before {
background: #C89B3C;/* Goldocker */
content: "";
display: inline-block;
width: .4em;
height: 1em;
margin-right: .4em;
}
#n-CM---Rezeptionen > a::before {
background: #5A3E5B;/* Aubergine */
content: "";
display: inline-block;
width: .4em;
height: 1em;
margin-right: .4em;
}
#n-CMG > a::before {
background: #4F8C7A;/* Türkisgrün */
content: "";
display: inline-block;
width: .4em;
height: 1em;
margin-right: .4em;
}
#n-Museum > a::before {
background: #5E6F3E;/* Moosgrün */
content: "";
display: inline-block;
width: .4em;
height: 1em;
margin-right: .4em;
}
#n-Projekt > a::before {
background: #E6E1D8;/* Warmes Grau*/
content: "";
display: inline-block;
width: .4em;
height: 1em;
margin-right: .4em;
}
/*Zeilennummerierung*/
.poem {
margin-left: 3.5em;
line-height: 1.6em;
position: relative;
}
.poem .zeilennummer {
position: absolute;
left: -3.5em;
width: 3em;
text-align: right;
color: #666;
font-size: 85%;
line-height: 1.6em;
}
/* Textausrichtung Tabelle Gedichtinformation
.gedichtinformation td,
.gedichtinformation th {
vertical-align: top;
}*/
/*Textauszeichnung "gesperrt" */
.gesperrt {
letter-spacing: 0.12em;
}
/*Textauszeichnung "Serifenschrift" */
.serif {
font-family: serif;
}
/*Textauszeichnung "Kapitälchen" */
.kap {
font-variant:small-caps;
}
/*Einrückung mit : funzt nicht, da margin-left auf 0, das wird hier geändert*/
dl dd {
margin-left: 1.6em !important;
}
/* Luftigere Darstellung für Tabellen */
.wikitable {
border-collapse: collapse;
border: 1px solid #aaa;
}
.wikitable th,
.wikitable td {
padding: 6px 10px; /* etwas mehr Luft */
vertical-align: top;
border: 1px solid #aaa;
}
.wikitable th {
background-color: #f8f8f8; /* leichtes Grau für Kopfzeile */
}
/* Zusammenfassung ausblenden */
#wpSummary,
label[for="wpSummary"] {
display: none !important;
}
/* Minor-Edit-Checkbox ausblenden */
#wpMinoredit,
label[for="wpMinoredit"] {
display: none !important;
}
/*Wenige Gedichte von CM sind achszenriert*/
/* Grund-Wrapper für achszentrierte Gedichte */
.gedicht-achs-wrapper {
text-align: left;
margin: 0.5em 0;
padding: 0;
}
/* drei Abstufungen für Abstand zur Zeilennummern-Spalte */
.gedicht-achs-wrapper-schmal { margin-left: 0.5em; }
.gedicht-achs-wrapper-mittel { margin-left: 1.5em; }
.gedicht-achs-wrapper-breit { margin-left: 3em; }
/* Gedichtblock: Breite ergibt sich automatisch aus der längsten Zeile */
.poem.poem-achs {
display: inline-block;
text-align: center;
margin: 0;
padding: 0;
}
@media screen {
/* Nur linker Headerbereich (Banner/Sitename) */
#p-banner,
#p-banner a,
#p-banner:visited,
#p-banner:hover,
#p-banner a:visited,
#p-banner a:hover,
#p-banner .mw-desktop-sitename,
#p-banner .mw-desktop-sitename a,
#p-banner .mw-desktop-sitename::after {
color: #2B2B2B !important;
}
}