MediaWiki:Common.css: Unterschied zwischen den Versionen
(Titel kleiner und einzeilig) |
(Titel auf volle Größe, einzeilig) |
||
| Zeile 135: | Zeile 135: | ||
position: absolute; | position: absolute; | ||
left: 0; | left: 0; | ||
font-size: | font-size: 1em; | ||
white-space: nowrap; | white-space: nowrap; | ||
} | } | ||
Version vom 16. Juni 2026, 11:20 Uhr
/* Lokale Fonts (DSGVO-konform, kein Google-Server) */
@font-face {
font-family: 'Merriweather';
src: url('/zz_fonts/Merriweather-VariableFont_opsz,wdth,wght.ttf') format('truetype');
font-weight: 100 900;
font-style: normal;
}
@font-face {
font-family: 'Merriweather';
src: url('/zz_fonts/Merriweather-Italic-VariableFont_opsz,wdth,wght.ttf') format('truetype');
font-weight: 100 900;
font-style: italic;
}
/* Hellgrauer Hintergrund */
body,
.mw-page-container,
.mw-page-container-inner,
.vector-column-start,
.vector-column-end,
#mw-content-text {
background-color: #d1d1d1 !important;
}
h2 {
color: #002e01;
}
/* Schriftart */
body,
#mw-content-text,
.mw-body-content {
font-family: 'Merriweather', Georgia, serif !important;
}
/* Linkfarben */
a,
a:link {
color: #141414 !important;
font-family: 'Merriweather', Georgia, serif !important;
}
a:visited {
color: #360202 !important;
}
/* Weiße Balken entfernen */
#content,
.mw-body,
.mw-body-content {
background-color: #d1d1d1 !important;
}
/* Tabs / Reiter oben */
li.mw-list-item,
#ca-edit,
#ca-history,
#ca-unwatch,
#ca-watch,
.mw-portlet-namespaces li,
.mw-portlet-views li {
background-color: #d1d1d1 !important;
border-color: #aaa !important;
}
/* Inhaltsverzeichnis */
.toc {
background-color: #d1d1d1 !important;
border-color: #aaa !important;
}
/* Footer */
#footer,
.mw-footer {
background-color: #d1d1d1 !important;
}
/* Suchfeld-Box */
.pBody {
background-color: #d1d1d1 !important;
}
/* Linke Sidebar (Navigation) */
#mw-panel,
.mw-sidebar,
nav#mw-panel {
background-color: #d1d1d1 !important;
}
/* Kategorie-Präfix in Seitentiteln ausblenden */
.page-Kategorie_Ich_habe_keinen_Bock_heute h1.firstHeading .mw-page-title-namespace,
.page-Kategorie_Ich_habe_keinen_Bock_heute h1.firstHeading .mw-page-title-separator {
display: none;
}
/* Zurück- und Oben Buttons */
#btn-back, #btn-top {
position: fixed;
right: 20px;
padding: 10px 14px;
background-color: #002e01;
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
font-size: 18px;
box-shadow: 0 2px 6px rgba(0,0,0,0.4);
z-index: 9999;
transition: opacity 0.3s, background-color 0.2s;
}
#btn-back { bottom: 70px; }
#btn-top { bottom: 15px; opacity: 0; pointer-events: none; }
#btn-back:hover, #btn-top:hover { background-color: #004d02; }
/* Kategorie-Box unter Rezepten ausblenden */
.mw-normal-catlinks,
#catlinks {
display: none !important;
}
/* Seitentitel der R & L Seite ersetzen */
.page-R_L .mw-page-title-main {
visibility: hidden;
position: relative;
}
.page-R_L .mw-page-title-main::after {
content: "… by @n0n1mu5 ;-)";
visibility: visible;
position: absolute;
left: 0;
font-size: 1em;
white-space: nowrap;
}