„Vorlage:Erweiterte Navigationsleiste/styles legacy.css“ – Versionsunterschied
Zur Navigation springen
Zur Suche springen
[gesichtete Version] | [gesichtete Version] |
Inhalt gelöscht Inhalt hinzugefügt
Hgzh (Diskussion | Beiträge) verhindern, dass sich die Regel für .NavContent auf herkömmliche Navigationsleisten auswirken |
Hgzh (Diskussion | Beiträge) Farbschemata und zebra per CSS implementiert |
||
Zeile 6: | Zeile 6: | ||
die Verwendung von '!important' als schlechter Stil gilt. |
die Verwendung von '!important' als schlechter Stil gilt. |
||
*/ |
*/ |
||
table.erw-nav-zebra > tbody > :nth-child(odd) { |
|||
background-color: #ffffff; |
|||
} |
|||
.erw-nav-farbschema-blau .erw-nav-leiste { |
|||
background-color: #f5f5f5; |
|||
} |
|||
.erw-nav-farbschema-grau .erw-nav-leiste { |
|||
background-color: #eaeaea; |
|||
} |
|||
.erw-nav-farbschema-blau .erw-nav-gruppe { |
|||
background-color: #dde5ee; |
|||
} |
|||
.erw-nav-farbschema-grau .erw-nav-gruppe { |
|||
background-color: #eaeaea; |
|||
} |
|||
.erweiterte-navigationsleiste .hlist .wikitable { |
.erweiterte-navigationsleiste .hlist .wikitable { |
||
border-top: 0px !important; |
border-top: 0px !important; |
Version vom 30. April 2024, 15:17 Uhr
/* Um temporär Schönheitsfehler in der Bestandsvorlage auszubessern,
ist geplant, die Vorlage Navbox der engl. Wikipedia erneut zu
importieren, weswegen hier keine gründlichere Bearbeitung erfolgt.
Bitte nicht als Vorlage für andere Stylesheets verwenden, da z. B.
die Verwendung von '!important' als schlechter Stil gilt.
*/
table.erw-nav-zebra > tbody > :nth-child(odd) {
background-color: #ffffff;
}
.erw-nav-farbschema-blau .erw-nav-leiste {
background-color: #f5f5f5;
}
.erw-nav-farbschema-grau .erw-nav-leiste {
background-color: #eaeaea;
}
.erw-nav-farbschema-blau .erw-nav-gruppe {
background-color: #dde5ee;
}
.erw-nav-farbschema-grau .erw-nav-gruppe {
background-color: #eaeaea;
}
.erweiterte-navigationsleiste .hlist .wikitable {
border-top: 0px !important;
border-bottom: 0px !important;
margin-top: 0 !important;
margin-bottom: 0 !important;
}
.erweiterte-navigationsleiste .hlist .wikitable tr:first-of-type td {
border-top: 0px !important;
}
.erweiterte-navigationsleiste .hlist .wikitable tr:last-of-type td {
border-bottom: 0px !important;
}
.erweiterte-navigationsleiste .NavContent > .wikitable > * > tr {
border-top: 2px solid #fdfdfd !important;
border-bottom: 2px solid #fdfdfd !important;
}