MediaWiki:Common.css: Unterschied zwischen den Versionen
Erscheinungsbild
Umstellung auf klassisches MediaWiki-Layout |
Sprachumschalter endgültig rechts ausrichten |
||
| (5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
/* Klassisches MediaWiki – keine projektspezifischen Layoutregeln */ | /* 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; | |||
} | |||
/* FINAL V2: Seitentitel links, Sprachumschalter ganz rechts */ | |||
.mw-body-header.vector-page-titlebar { | |||
display: flex !important; | |||
align-items: center !important; | |||
} | |||
.mw-body-header.vector-page-titlebar .vector-toc-landmark { | |||
order: 0 !important; | |||
flex: 0 0 auto !important; | |||
} | |||
.mw-body-header.vector-page-titlebar #firstHeading { | |||
order: 1 !important; | |||
flex: 1 1 auto !important; | |||
min-width: 0 !important; | |||
margin-right: 0 !important; | |||
} | |||
.mw-body-header.vector-page-titlebar .mw-indicators { | |||
order: 2 !important; | |||
} | |||
.mw-body-header.vector-page-titlebar #iw-lang-switch { | |||
order: 99 !important; | |||
position: static !important; | |||
inset: auto !important; | |||
transform: none !important; | |||
flex: 0 0 auto !important; | |||
margin-left: 1rem !important; | |||
margin-right: 0 !important; | |||
} | |||
Aktuelle Version vom 11. September 2026, 17:33 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;
}
/* FINAL V2: Seitentitel links, Sprachumschalter ganz rechts */
.mw-body-header.vector-page-titlebar {
display: flex !important;
align-items: center !important;
}
.mw-body-header.vector-page-titlebar .vector-toc-landmark {
order: 0 !important;
flex: 0 0 auto !important;
}
.mw-body-header.vector-page-titlebar #firstHeading {
order: 1 !important;
flex: 1 1 auto !important;
min-width: 0 !important;
margin-right: 0 !important;
}
.mw-body-header.vector-page-titlebar .mw-indicators {
order: 2 !important;
}
.mw-body-header.vector-page-titlebar #iw-lang-switch {
order: 99 !important;
position: static !important;
inset: auto !important;
transform: none !important;
flex: 0 0 auto !important;
margin-left: 1rem !important;
margin-right: 0 !important;
}