MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| (16 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
/* | /* Google Font einbinden */ | ||
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap'); | @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap'); | ||
/* | /* ================== BASIS-TYPO ================== */ | ||
/* Poppins für UI und Content, aber NICHT für Code/Pre */ | |||
body, | body, | ||
body.skin-vector, | body.skin-vector, | ||
body.skin-minerva, | body.skin-minerva, | ||
#content, | #content, | ||
.mw-body, | .mw-body, | ||
.mw-body-content, | .mw-body-content, | ||
.mw-parser-output, | .mw-parser-output, | ||
p, | p, li, a, table, td, th, | ||
li, | .navbox, .toc, | ||
a, | #p-navigation, .vector-menu, .minerva-navigation-drawer, | ||
table, | #footer, #catlinks, #mw-panel, | ||
td, | div, span, ul, ol, | ||
th, | input, textarea, select, button, label, caption { | ||
.navbox, | |||
.toc, | |||
#p-navigation, | |||
.vector-menu, | |||
.minerva-navigation-drawer, | |||
#footer, | |||
#catlinks, | |||
#mw-panel, | |||
div, | |||
span, | |||
ul, | |||
ol, | |||
input, | |||
textarea, | |||
select, | |||
button, | |||
label, | |||
caption { | |||
font-family: 'Poppins', sans-serif !important; | font-family: 'Poppins', sans-serif !important; | ||
} | } | ||
/* | /* Monospace für Code beibehalten */ | ||
pre, code, kbd, samp, .mw-code, .mw-highlight { | |||
font-family: monospace !important; | |||
} | |||
/* Überschriften */ | |||
h1, h2, h3, h4, h5, h6, | h1, h2, h3, h4, h5, h6, | ||
.mw-headline, | .mw-headline, .firstHeading, .page-title { | ||
.firstHeading, | |||
.page-title { | |||
font-family: 'Poppins', sans-serif !important; | font-family: 'Poppins', sans-serif !important; | ||
font-weight: 600 !important; | font-weight: 600 !important; | ||
} | } | ||
/* | /* Fließtext leichter, Tabellen lesbarer */ | ||
p, li | p, li { font-weight: 300 !important; } | ||
td, th { font-weight: 400 !important; } | |||
} | |||
/* Inhaltsverzeichnis */ | /* Inhaltsverzeichnis */ | ||
| Zeile 58: | Zeile 41: | ||
} | } | ||
h1.firstHeading { | /* ================== SEITENTITEL ================== */ | ||
/* Nur im Hauptnamensraum ausblenden */ | |||
.ns-0 h1.firstHeading { | |||
display: none; | |||
} | } | ||
/* | /* ================== BILDER ================== */ | ||
img { | /* Nur Inhaltsbilder im Artikelbereich einfärben */ | ||
background-color: rgb( | .mw-parser-output img { | ||
background-color: rgb(220, 220, 220) !important; | |||
padding: 2px; | padding: 2px; | ||
border-radius: 4px; | border-radius: 4px; | ||
} | } | ||
/* | /* Galerie/Thumbs */ | ||
.gallerybox .thumb, | .mw-parser-output .gallerybox .thumb, | ||
.gallerybox .thumb img, | .mw-parser-output .gallerybox .thumb img, | ||
.thumbinner, | .mw-parser-output .thumbinner, | ||
.thumbinner img { | .mw-parser-output .thumbinner img { | ||
background-color: rgb( | background-color: rgb(220, 220, 220) !important; | ||
} | |||
/* ================== SPRACHLEISTE ================== */ | |||
#custom-langbar { | |||
background: none; | |||
padding: 0; | |||
text-align: center; | |||
border-bottom: none; | |||
margin: .25rem 0; | |||
} | |||
#custom-langbar a { | |||
margin: 0 10px; | |||
text-decoration: none; | |||
color: #0645ad; | |||
} | |||
#custom-langbar a:hover, | |||
#custom-langbar a.active-lang { | |||
text-decoration: underline; | |||
font-weight: 600; | |||
} | |||
/* ================== ANON-UI AUSBLENDEN ================== */ | |||
.bv-anon .minerva-user-notifications, /* oben rechts */ | |||
.bv-anon .page-actions-menu, /* Minerva Aktionsleiste */ | |||
.bv-anon .minerva__subtitle, | |||
.bv-anon .pre-content .page-actions, | |||
.bv-anon .mw-pt-translate-header, | |||
.bv-anon .mw-pt-translate-header-languages, | |||
.bv-anon .mw-pt-languages, | |||
.bv-anon .ext-translate-language-bar, | |||
.bv-anon .ext-translate-tag-page { | |||
display: none !important; | |||
} | } | ||
Aktuelle Version vom 8. August 2025, 13:52 Uhr
/* Google Font einbinden */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
/* ================== BASIS-TYPO ================== */
/* Poppins für UI und Content, aber NICHT für Code/Pre */
body,
body.skin-vector,
body.skin-minerva,
#content,
.mw-body,
.mw-body-content,
.mw-parser-output,
p, li, a, table, td, th,
.navbox, .toc,
#p-navigation, .vector-menu, .minerva-navigation-drawer,
#footer, #catlinks, #mw-panel,
div, span, ul, ol,
input, textarea, select, button, label, caption {
font-family: 'Poppins', sans-serif !important;
}
/* Monospace für Code beibehalten */
pre, code, kbd, samp, .mw-code, .mw-highlight {
font-family: monospace !important;
}
/* Überschriften */
h1, h2, h3, h4, h5, h6,
.mw-headline, .firstHeading, .page-title {
font-family: 'Poppins', sans-serif !important;
font-weight: 600 !important;
}
/* Fließtext leichter, Tabellen lesbarer */
p, li { font-weight: 300 !important; }
td, th { font-weight: 400 !important; }
/* Inhaltsverzeichnis */
.toc, .tocnumber, .toctext {
font-family: 'Poppins', sans-serif !important;
}
/* ================== SEITENTITEL ================== */
/* Nur im Hauptnamensraum ausblenden */
.ns-0 h1.firstHeading {
display: none;
}
/* ================== BILDER ================== */
/* Nur Inhaltsbilder im Artikelbereich einfärben */
.mw-parser-output img {
background-color: rgb(220, 220, 220) !important;
padding: 2px;
border-radius: 4px;
}
/* Galerie/Thumbs */
.mw-parser-output .gallerybox .thumb,
.mw-parser-output .gallerybox .thumb img,
.mw-parser-output .thumbinner,
.mw-parser-output .thumbinner img {
background-color: rgb(220, 220, 220) !important;
}
/* ================== SPRACHLEISTE ================== */
#custom-langbar {
background: none;
padding: 0;
text-align: center;
border-bottom: none;
margin: .25rem 0;
}
#custom-langbar a {
margin: 0 10px;
text-decoration: none;
color: #0645ad;
}
#custom-langbar a:hover,
#custom-langbar a.active-lang {
text-decoration: underline;
font-weight: 600;
}
/* ================== ANON-UI AUSBLENDEN ================== */
.bv-anon .minerva-user-notifications, /* oben rechts */
.bv-anon .page-actions-menu, /* Minerva Aktionsleiste */
.bv-anon .minerva__subtitle,
.bv-anon .pre-content .page-actions,
.bv-anon .mw-pt-translate-header,
.bv-anon .mw-pt-translate-header-languages,
.bv-anon .mw-pt-languages,
.bv-anon .ext-translate-language-bar,
.bv-anon .ext-translate-tag-page {
display: none !important;
}