MediaWiki:Common.css: Unterschied zwischen den Versionen
Erscheinungsbild
Sprachumschalter rechts in der Titelzeile positionieren |
Titel links und Sprachumschalter rechts ausrichten |
||
| Zeile 65: | Zeile 65: | ||
.mw-body-header.vector-page-titlebar #firstHeading { | .mw-body-header.vector-page-titlebar #firstHeading { | ||
margin-right: 7.5rem; | margin-right: 7.5rem; | ||
} | |||
/* FINAL: Seitentitel links, Sprachbox ganz rechts */ | |||
.vector-page-titlebar #firstHeading { | |||
order: initial !important; | |||
margin-right: 0 !important; | |||
} | |||
.vector-page-titlebar #iw-lang-switch { | |||
position: static !important; | |||
inset: auto !important; | |||
top: auto !important; | |||
right: auto !important; | |||
bottom: auto !important; | |||
left: auto !important; | |||
transform: none !important; | |||
order: initial !important; | |||
flex: 0 0 auto !important; | |||
margin-left: auto !important; | |||
margin-right: 0 !important; | |||
} | } | ||
Version vom 11. September 2026, 17:32 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;
}
/* FINAL: Seitentitel links, Sprachbox ganz rechts */
.vector-page-titlebar #firstHeading {
order: initial !important;
margin-right: 0 !important;
}
.vector-page-titlebar #iw-lang-switch {
position: static !important;
inset: auto !important;
top: auto !important;
right: auto !important;
bottom: auto !important;
left: auto !important;
transform: none !important;
order: initial !important;
flex: 0 0 auto !important;
margin-left: auto !important;
margin-right: 0 !important;
}