Vorlage:CSS/GlobalHeader.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Sysop (Diskussion • Beiträge) Keine Bearbeitungszusammenfassung |
Sysop (Diskussion • Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
/* [[Kategorie:Vorlage:Formatierung]] | /* [[Kategorie:Vorlage:Formatierung]] | ||
CSS für den globalen Header von genealogy.net | CSS für den globalen Header von genealogy.net siehe [[:Vorlage:GlobalHeader]] | ||
<syntaxhighlight lang="css"> | <syntaxhighlight lang="css"> | ||
/* | /* | ||
Globaler Header für genealogy.net Navigation | Globaler Header für genealogy.net Navigation | ||
Positioniert die Navigation | Positioniert die Navigation als festen Header oben | ||
*/ | */ | ||
#menue { | #menue { | ||
position: fixed; | position: fixed !important; | ||
top: 0; | top: 0 !important; | ||
left: 0; | left: 0 !important; | ||
right: 0; | right: 0 !important; | ||
background: #f6f6f6; | width: 100% !important; | ||
border-bottom: 1px solid #ccc; | background: #f6f6f6 !important; | ||
z-index: | border-bottom: 1px solid #ccc !important; | ||
padding: 5px 10px; | z-index: 9999 !important; | ||
font-size: 0.9em; | padding: 5px 10px !important; | ||
font-size: 0.9em !important; | |||
box-sizing: border-box !important; | |||
} | } | ||
#menue-row, #menue-subrow-Datenbanken { | #menue-row, #menue-subrow-Datenbanken { | ||
margin: 3px 0; | margin: 3px 0 !important; | ||
line-height: 1.4 !important; | |||
} | } | ||
#menue a { | #menue a { | ||
color: #0645ad; | color: #0645ad !important; | ||
text-decoration: none; | text-decoration: none !important; | ||
margin: 0 | margin: 0 3px !important; | ||
} | } | ||
#menue a:hover { | #menue a:hover { | ||
text-decoration: underline; | text-decoration: underline !important; | ||
} | } | ||
/* Push content down */ | /* Push content down - verschiedene Selektoren für Kompatibilität */ | ||
body { | |||
padding-top: 90px !important; | |||
} | } | ||
#mw-head { | #content, .mw-body, #mw-content-text { | ||
margin-top: | margin-top: 20px !important; | ||
} | |||
#mw-head, #mw-navigation { | |||
margin-top: 90px !important; | |||
} | } | ||
/*</syntaxhighlight>*/ | /*</syntaxhighlight>*/ |
Version vom 20. August 2025, 15:40 Uhr
/* CSS für den globalen Header von genealogy.net siehe Vorlage:GlobalHeader
/*
Globaler Header für genealogy.net Navigation
Positioniert die Navigation als festen Header oben
*/
#menue {
position: fixed !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
width: 100% !important;
background: #f6f6f6 !important;
border-bottom: 1px solid #ccc !important;
z-index: 9999 !important;
padding: 5px 10px !important;
font-size: 0.9em !important;
box-sizing: border-box !important;
}
#menue-row, #menue-subrow-Datenbanken {
margin: 3px 0 !important;
line-height: 1.4 !important;
}
#menue a {
color: #0645ad !important;
text-decoration: none !important;
margin: 0 3px !important;
}
#menue a:hover {
text-decoration: underline !important;
}
/* Push content down - verschiedene Selektoren für Kompatibilität */
body {
padding-top: 90px !important;
}
#content, .mw-body, #mw-content-text {
margin-top: 20px !important;
}
#mw-head, #mw-navigation {
margin-top: 90px !important;
}
/*
*/