MediaWiki:Common.css: Unterschied zwischen den Versionen
Erscheinungsbild
Seitentitel links und Sprachumschalter rechts ausrichten |
Sprachumschalter rechts in der Titelzeile positionieren |
||
| Zeile 50: | Zeile 50: | ||
/* Seitentitel links, Sprachumschalter rechts */ | /* Seitentitel links, Sprachumschalter rechts */ | ||
.mw-body-header.vector-page-titlebar | .mw-body-header.vector-page-titlebar { | ||
position: relative; | |||
} | } | ||
.mw-body-header.vector-page-titlebar #iw-lang-switch { | .mw-body-header.vector-page-titlebar #iw-lang-switch { | ||
position: absolute; | |||
margin- | right: 0; | ||
top: 50%; | |||
transform: translateY(-50%); | |||
margin: 0; | |||
z-index: 2; | |||
} | |||
.mw-body-header.vector-page-titlebar #firstHeading { | |||
margin-right: 7.5rem; | |||
} | } | ||
Version vom 11. September 2026, 17:29 Uhr
/* Klassisches MediaWiki – keine projektspezifischen Layoutregeln */
/* BEGIN INFORMATIK.WIKI DGB1 LANGSWITCH */
#iw-lang-switch {
float: right;
margin: 0 0 0.6rem 1rem;
padding: 0.25rem 0.55rem;
border: 1px solid #a2a9b1;
border-radius: 3px;
background: #f8f9fa;
font-size: 0.875rem;
line-height: 1.5;
white-space: nowrap;
}
#iw-lang-switch a,
#iw-lang-switch span {
display: inline-block;
}
#iw-lang-switch .iw-lang-separator {
margin: 0 0.4rem;
color: #72777d;
}
#iw-lang-switch .iw-lang-active {
font-weight: 700;
text-decoration: none;
color: inherit;
}
#iw-lang-switch .iw-lang-unavailable {
color: #72777d;
cursor: default;
}
@media ( max-width: 720px ) {
#iw-lang-switch {
float: none;
display: inline-block;
margin: 0 0 0.75rem 0;
}
}
/* END INFORMATIK.WIKI DGB1 LANGSWITCH */
/* Doppelten alten Sprachumschalter vor dem Seitentitel ausblenden */
#iw-lang-switch-header {
display: none;
}
/* Seitentitel links, Sprachumschalter rechts */
.mw-body-header.vector-page-titlebar {
position: relative;
}
.mw-body-header.vector-page-titlebar #iw-lang-switch {
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
margin: 0;
z-index: 2;
}
.mw-body-header.vector-page-titlebar #firstHeading {
margin-right: 7.5rem;
}