MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
Style aufgelockert: rundere Ecken, weiche Schatten statt harter Rahmen, Nunito-Schrift, lockerere Sidebar-Ueberschriften |
||
| (3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
/* ============================================================ | /* ============================================================ | ||
Gartenwerker-Wiki — Grün/Creme Theme | Gartenwerker-Wiki — Grün/Creme Theme (aufgelockert) | ||
Einzutragen unter MediaWiki:Common.css | Einzutragen unter MediaWiki:Common.css | ||
Farben analog zu gartenwerker.net: Grün #233E1F, Creme #FBEFD5 | Farben analog zu gartenwerker.net: Grün #233E1F, Creme #FBEFD5 | ||
============================================================ */ | ============================================================ */ | ||
/* --- | /* --- Schriftart: freundlich und rund statt Standard-Sans --- */ | ||
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap'); | |||
body, | |||
#content, .mw-body, .mw-body-content, | |||
.vector-menu-content, #mw-panel { | |||
font-family: 'Nunito', -apple-system, 'Segoe UI', sans-serif; | |||
} | |||
body { | body { | ||
background-color: #FBEFD5; | background-color: #FBEFD5; | ||
color: #2A2A22; | color: #2A2A22; | ||
line-height: 1.7; | |||
} | } | ||
| Zeile 18: | Zeile 27: | ||
color: #2A2A22; | color: #2A2A22; | ||
border-color: #E3D2A6; | border-color: #E3D2A6; | ||
border-radius: 12px; | |||
} | |||
.mw-body-content p { | |||
margin-bottom: 1em; | |||
} | } | ||
| Zeile 37: | Zeile 51: | ||
color: #233E1F; | color: #233E1F; | ||
border-bottom: 1px solid #E3D2A6; | border-bottom: 1px solid #E3D2A6; | ||
font-size: 0. | font-size: 0.9em; | ||
text-transform: | font-weight: 700; | ||
letter-spacing: | text-transform: none; | ||
letter-spacing: normal; | |||
} | } | ||
| Zeile 71: | Zeile 86: | ||
color: #2A2A22; | color: #2A2A22; | ||
border-bottom-color: #E3D2A6; | border-bottom-color: #E3D2A6; | ||
font-weight: 800; | |||
} | |||
h2 { | |||
border-bottom-width: 1px; | |||
padding-bottom: 0.3em; | |||
} | } | ||
| Zeile 76: | Zeile 97: | ||
.firstHeading { | .firstHeading { | ||
color: #233E1F; | color: #233E1F; | ||
border-bottom: | border-bottom: none; | ||
padding-bottom: 0.15em; | |||
position: relative; | |||
} | |||
h1.firstHeading::after, | |||
.firstHeading::after { | |||
content: ""; | |||
display: block; | |||
width: 64px; | |||
height: 4px; | |||
margin-top: 10px; | |||
border-radius: 4px; | |||
background-color: #7A9C5A; | |||
} | } | ||
| Zeile 84: | Zeile 118: | ||
border-color: #E3D2A6; | border-color: #E3D2A6; | ||
color: #2A2A22; | color: #2A2A22; | ||
border-radius: 10px; | |||
overflow: hidden; | |||
} | } | ||
| Zeile 90: | Zeile 126: | ||
color: #233E1F; | color: #233E1F; | ||
border-color: #E3D2A6; | border-color: #E3D2A6; | ||
font-weight: 700; | |||
} | } | ||
| Zeile 106: | Zeile 143: | ||
color: #2A2A22; | color: #2A2A22; | ||
border: 1px solid #E3D2A6; | border: 1px solid #E3D2A6; | ||
border-radius: | border-radius: 20px; | ||
padding-left: 14px; | |||
} | } | ||
| Zeile 113: | Zeile 151: | ||
border-color: #233E1F; | border-color: #233E1F; | ||
outline: none; | outline: none; | ||
box-shadow: 0 0 0 3px rgba(122, 156, 90, 0.25); | |||
} | } | ||
| Zeile 119: | Zeile 158: | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); | grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); | ||
gap: | gap: 18px; | ||
margin: 20px 0; | margin: 20px 0; | ||
} | } | ||
| Zeile 126: | Zeile 165: | ||
background-color: #F3E6C8; | background-color: #F3E6C8; | ||
border: 1px solid #E3D2A6; | border: 1px solid #E3D2A6; | ||
border-radius: | border-radius: 16px; | ||
padding: | padding: 22px; | ||
text-align: center; | text-align: center; | ||
transition: | box-shadow: 0 2px 6px rgba(35, 62, 31, 0.08); | ||
transition: box-shadow 0.2s ease, transform 0.2s ease; | |||
} | } | ||
.gw-kachel:hover { | .gw-kachel:hover { | ||
border-color: # | border-color: #E3D2A6; | ||
transform: translateY(- | box-shadow: 0 8px 18px rgba(35, 62, 31, 0.16); | ||
transform: translateY(-3px); | |||
} | } | ||
| Zeile 145: | Zeile 186: | ||
.gw-kachel-titel { | .gw-kachel-titel { | ||
font-size: 1.1em; | font-size: 1.1em; | ||
font-weight: | font-weight: 800; | ||
color: #233E1F; | color: #233E1F; | ||
display: block; | display: block; | ||
| Zeile 158: | Zeile 199: | ||
/* --- Hinweisbanner (Hauptseite: "im Aufbau") --- */ | /* --- Hinweisbanner (Hauptseite: "im Aufbau") --- */ | ||
.gw-hinweis { | .gw-hinweis { | ||
background-color: # | background-color: #F3E6C8; | ||
border: | border: none; | ||
border-left: 4px solid #233E1F; | border-left: 4px solid #233E1F; | ||
border-radius: | border-radius: 12px; | ||
padding: | padding: 12px 18px; | ||
margin-bottom: 20px; | margin-bottom: 20px; | ||
color: #2A2A22; | color: #2A2A22; | ||
box-shadow: 0 1px 3px rgba(35, 62, 31, 0.06); | |||
} | } | ||
| Zeile 170: | Zeile 212: | ||
.gw-stats { | .gw-stats { | ||
background-color: #F3E6C8; | background-color: #F3E6C8; | ||
border: | border: none; | ||
border-left: 4px solid #233E1F; | border-left: 4px solid #233E1F; | ||
border-radius: | border-radius: 12px; | ||
padding: | padding: 14px 22px; | ||
margin-bottom: 24px; | margin-bottom: 24px; | ||
color: #6B6355; | color: #6B6355; | ||
font-size: 0.9em; | font-size: 0.9em; | ||
box-shadow: 0 1px 3px rgba(35, 62, 31, 0.06); | |||
} | } | ||
| Zeile 185: | Zeile 228: | ||
/* --- Privatsphäre-Hinweis --- */ | /* --- Privatsphäre-Hinweis --- */ | ||
.gw-privatsphaere { | .gw-privatsphaere { | ||
background-color: # | background-color: #F3E6C8; | ||
border: | border: none; | ||
border-left: 4px solid #7A9C5A; | border-left: 4px solid #7A9C5A; | ||
border-radius: | border-radius: 12px; | ||
padding: | padding: 14px 22px; | ||
margin: 16px 0; | margin: 16px 0; | ||
color: #2A2A22; | color: #2A2A22; | ||
box-shadow: 0 1px 3px rgba(35, 62, 31, 0.06); | |||
} | } | ||
| Zeile 197: | Zeile 241: | ||
.infobox { | .infobox { | ||
background-color: #F3E6C8; | background-color: #F3E6C8; | ||
border: | border: none; | ||
border-radius: | border-radius: 14px; | ||
float: right; | float: right; | ||
margin: 0 0 16px 24px; | margin: 0 0 16px 24px; | ||
padding: | padding: 14px; | ||
min-width: 260px; | min-width: 260px; | ||
font-size: 0.9em; | font-size: 0.9em; | ||
box-shadow: 0 3px 10px rgba(35, 62, 31, 0.1); | |||
} | } | ||
| Zeile 209: | Zeile 254: | ||
background-color: #233E1F; | background-color: #233E1F; | ||
color: #FBEFD5; | color: #FBEFD5; | ||
font-weight: | font-weight: 700; | ||
text-align: center; | text-align: center; | ||
padding: | padding: 10px; | ||
margin: - | margin: -14px -14px 14px -14px; | ||
border-radius: | border-radius: 14px 14px 0 0; | ||
} | } | ||
| Zeile 230: | Zeile 275: | ||
.navleiste { | .navleiste { | ||
background-color: #F3E6C8; | background-color: #F3E6C8; | ||
border: | border: none; | ||
border-radius: | border-radius: 12px; | ||
padding: | padding: 10px 16px; | ||
font-size: 0.85em; | font-size: 0.85em; | ||
margin-top: 24px; | margin-top: 24px; | ||
clear: both; | clear: both; | ||
box-shadow: 0 1px 3px rgba(35, 62, 31, 0.06); | |||
} | } | ||
| Zeile 328: | Zeile 374: | ||
color: #233E1F !important; | color: #233E1F !important; | ||
border-bottom: 1px solid #E3D2A6 !important; | border-bottom: 1px solid #E3D2A6 !important; | ||
font-size: 0. | font-size: 0.85em; | ||
text-transform: | font-weight: 700; | ||
letter-spacing: | text-transform: none; | ||
letter-spacing: normal; | |||
} | } | ||
| Zeile 355: | Zeile 402: | ||
background-color: #FFFFFF !important; | background-color: #FFFFFF !important; | ||
border: 1px solid #E3D2A6 !important; | border: 1px solid #E3D2A6 !important; | ||
border-radius: 10px !important; | |||
} | } | ||
| Zeile 427: | Zeile 475: | ||
a.new:hover { | a.new:hover { | ||
color: #C06030; | color: #C06030; | ||
} | |||
/* --- Callout-Boxen (aus Obsidian-Steckbriefen konvertiert) --- */ | |||
.gw-callout-info, .gw-callout-tip, .gw-callout-warning, | |||
.gw-callout-danger, .gw-callout-example, .gw-callout-todo { | |||
border: none; | |||
border-left: 4px solid #233E1F; | |||
border-radius: 12px; | |||
background-color: #F3E6C8; | |||
padding: 12px 18px; | |||
margin: 14px 0; | |||
box-shadow: 0 1px 4px rgba(35, 62, 31, 0.08); | |||
} | |||
.gw-callout-info { border-left-color: #233E1F; } | |||
.gw-callout-tip { border-left-color: #7A9C5A; } | |||
.gw-callout-example { border-left-color: #5C7A52; } | |||
.gw-callout-todo { border-left-color: #999999; } | |||
.gw-callout-warning { border-left-color: #C08A2E; background-color: #FBEFD5; } | |||
.gw-callout-danger { border-left-color: #B33A3A; background-color: #FBEFD5; } | |||
/* --- Infobox-Tabelle (Bild + Kurzprofil) --- */ | |||
.infobox table { | |||
width: 100%; | |||
border-collapse: collapse; | |||
font-size: 0.9em; | |||
} | |||
.infobox th { | |||
text-align: left; | |||
padding: 4px 6px; | |||
color: #6B6355; | |||
font-weight: normal; | |||
vertical-align: top; | |||
width: 40%; | |||
} | |||
.infobox td { | |||
padding: 4px 6px; | |||
color: #2A2A22; | |||
} | |||
/* --- Footer-Places-Clearfix (Links waren abgeschnitten, da Container auf Hoehe 0 kollabierte) --- */ | |||
#footer-places, .mw-footer-places { | |||
overflow: hidden; | |||
padding-bottom: 6px; | |||
} | } | ||
Aktuelle Version vom 11. September 2026, 06:09 Uhr
/* ============================================================
Gartenwerker-Wiki — Grün/Creme Theme (aufgelockert)
Einzutragen unter MediaWiki:Common.css
Farben analog zu gartenwerker.net: Grün #233E1F, Creme #FBEFD5
============================================================ */
/* --- Schriftart: freundlich und rund statt Standard-Sans --- */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');
body,
#content, .mw-body, .mw-body-content,
.vector-menu-content, #mw-panel {
font-family: 'Nunito', -apple-system, 'Segoe UI', sans-serif;
}
body {
background-color: #FBEFD5;
color: #2A2A22;
line-height: 1.7;
}
/* --- Inhaltsbereich --- */
#content,
.mw-body,
.mw-body-content {
background-color: #FFFFFF;
color: #2A2A22;
border-color: #E3D2A6;
border-radius: 12px;
}
.mw-body-content p {
margin-bottom: 1em;
}
/* --- Header / Toolbar --- */
#mw-head,
#mw-head-base {
background-color: #233E1F;
border-bottom: 2px solid #233E1F;
}
/* --- Sidebar --- */
#mw-panel,
.vector-menu-portal {
background-color: #F3E6C8;
}
#mw-panel .portal h3,
.vector-menu-heading {
color: #233E1F;
border-bottom: 1px solid #E3D2A6;
font-size: 0.9em;
font-weight: 700;
text-transform: none;
letter-spacing: normal;
}
#mw-panel li a,
.vector-menu-content li a {
color: #233E1F;
}
#mw-panel li a:hover,
.vector-menu-content li a:hover {
color: #3B6B34;
text-decoration: underline;
}
/* --- Links --- */
a, a:link {
color: #2F6B27;
}
a:visited {
color: #5C7A52;
}
a:hover {
color: #3B6B34;
text-decoration: underline;
}
/* --- Überschriften --- */
h1, h2, h3, h4, h5, h6 {
color: #2A2A22;
border-bottom-color: #E3D2A6;
font-weight: 800;
}
h2 {
border-bottom-width: 1px;
padding-bottom: 0.3em;
}
h1.firstHeading,
.firstHeading {
color: #233E1F;
border-bottom: none;
padding-bottom: 0.15em;
position: relative;
}
h1.firstHeading::after,
.firstHeading::after {
content: "";
display: block;
width: 64px;
height: 4px;
margin-top: 10px;
border-radius: 4px;
background-color: #7A9C5A;
}
/* --- Tabellen --- */
table, .wikitable {
background-color: #FFFFFF;
border-color: #E3D2A6;
color: #2A2A22;
border-radius: 10px;
overflow: hidden;
}
.wikitable th {
background-color: #F3E6C8;
color: #233E1F;
border-color: #E3D2A6;
font-weight: 700;
}
.wikitable td {
border-color: #E3D2A6;
}
.wikitable tr:nth-child(even) {
background-color: #F8F0DD;
}
/* --- Suchfeld --- */
#searchInput,
.vector-search-box input {
background-color: #FFFFFF;
color: #2A2A22;
border: 1px solid #E3D2A6;
border-radius: 20px;
padding-left: 14px;
}
#searchInput:focus,
.vector-search-box input:focus {
border-color: #233E1F;
outline: none;
box-shadow: 0 0 0 3px rgba(122, 156, 90, 0.25);
}
/* --- Kachelboxen (Hauptseite: Bereiche) --- */
.gw-kachelbox {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 18px;
margin: 20px 0;
}
.gw-kachel {
background-color: #F3E6C8;
border: 1px solid #E3D2A6;
border-radius: 16px;
padding: 22px;
text-align: center;
box-shadow: 0 2px 6px rgba(35, 62, 31, 0.08);
transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.gw-kachel:hover {
border-color: #E3D2A6;
box-shadow: 0 8px 18px rgba(35, 62, 31, 0.16);
transform: translateY(-3px);
}
.gw-kachel-icon {
font-size: 2.5em;
margin-bottom: 10px;
display: block;
}
.gw-kachel-titel {
font-size: 1.1em;
font-weight: 800;
color: #233E1F;
display: block;
margin-bottom: 6px;
}
.gw-kachel-beschreibung {
font-size: 0.85em;
color: #6B6355;
}
/* --- Hinweisbanner (Hauptseite: "im Aufbau") --- */
.gw-hinweis {
background-color: #F3E6C8;
border: none;
border-left: 4px solid #233E1F;
border-radius: 12px;
padding: 12px 18px;
margin-bottom: 20px;
color: #2A2A22;
box-shadow: 0 1px 3px rgba(35, 62, 31, 0.06);
}
/* --- Statistik-/Info-Banner (Hauptseite) --- */
.gw-stats {
background-color: #F3E6C8;
border: none;
border-left: 4px solid #233E1F;
border-radius: 12px;
padding: 14px 22px;
margin-bottom: 24px;
color: #6B6355;
font-size: 0.9em;
box-shadow: 0 1px 3px rgba(35, 62, 31, 0.06);
}
.gw-stats strong {
color: #233E1F;
}
/* --- Privatsphäre-Hinweis --- */
.gw-privatsphaere {
background-color: #F3E6C8;
border: none;
border-left: 4px solid #7A9C5A;
border-radius: 12px;
padding: 14px 22px;
margin: 16px 0;
color: #2A2A22;
box-shadow: 0 1px 3px rgba(35, 62, 31, 0.06);
}
/* --- Infoboxen --- */
.infobox {
background-color: #F3E6C8;
border: none;
border-radius: 14px;
float: right;
margin: 0 0 16px 24px;
padding: 14px;
min-width: 260px;
font-size: 0.9em;
box-shadow: 0 3px 10px rgba(35, 62, 31, 0.1);
}
.infobox-titel {
background-color: #233E1F;
color: #FBEFD5;
font-weight: 700;
text-align: center;
padding: 10px;
margin: -14px -14px 14px -14px;
border-radius: 14px 14px 0 0;
}
.infobox th {
color: #6B6355;
font-weight: normal;
text-align: left;
padding-right: 8px;
}
.infobox td {
color: #2A2A22;
}
/* --- Navleisten --- */
.navleiste {
background-color: #F3E6C8;
border: none;
border-radius: 12px;
padding: 10px 16px;
font-size: 0.85em;
margin-top: 24px;
clear: both;
box-shadow: 0 1px 3px rgba(35, 62, 31, 0.06);
}
.navleiste-titel {
color: #233E1F;
font-weight: bold;
margin-right: 8px;
}
/* --- Footer --- */
#footer {
background-color: #233E1F;
border-top: 1px solid #233E1F;
color: #FBEFD5;
}
#footer a {
color: #FBEFD5;
text-decoration: underline;
}
/* --- Scrollbar (Webkit) --- */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #FBEFD5;
}
::-webkit-scrollbar-thumb {
background: #E3D2A6;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #233E1F;
}
/* ===== Vector 2022 Korrekturen (gezielte Selektoren) ===== */
.mw-page-container,
.mw-page-container-inner {
background-color: #FBEFD5 !important;
}
.vector-header,
.mw-header {
background-color: #233E1F !important;
border-bottom: 2px solid #233E1F !important;
}
.vector-header a,
.vector-header .vector-dropdown-label,
.mw-header a {
color: #FBEFD5 !important;
}
.vector-sticky-pinned-container {
background-color: #F3E6C8 !important;
border-bottom: 1px solid #E3D2A6 !important;
}
.vector-pinned-container,
.vector-unpinned-container {
background-color: #F3E6C8 !important;
}
.vector-column-start,
.vector-main-menu-container,
.vector-main-menu-landmark,
.vector-main-menu {
background-color: #F3E6C8 !important;
}
.vector-column-end,
.vector-page-tools-landmark,
.vector-page-tools {
background-color: #F3E6C8 !important;
}
.vector-menu,
.vector-menu-content,
.mw-portlet,
.mw-portlet-body {
background-color: #F3E6C8 !important;
color: #2A2A22 !important;
}
.vector-menu-heading,
.mw-portlet-label {
color: #233E1F !important;
border-bottom: 1px solid #E3D2A6 !important;
font-size: 0.85em;
font-weight: 700;
text-transform: none;
letter-spacing: normal;
}
.vector-page-toolbar,
.vector-page-toolbar-container,
.vector-body-before-content {
background-color: #FFFFFF !important;
border-bottom: 1px solid #E3D2A6 !important;
}
.vector-menu-tabs .mw-list-item a {
color: #6B6355 !important;
background-color: #FFFFFF !important;
border-color: #E3D2A6 !important;
}
.vector-menu-tabs .selected a {
color: #233E1F !important;
background-color: #F3E6C8 !important;
border-bottom-color: #F3E6C8 !important;
}
.vector-dropdown-content {
background-color: #FFFFFF !important;
border: 1px solid #E3D2A6 !important;
border-radius: 10px !important;
}
.vector-dropdown-content .mw-list-item a {
color: #233E1F !important;
}
.vector-dropdown-content .mw-list-item a:hover {
background-color: #F3E6C8 !important;
color: #3B6B34 !important;
}
.vector-appearance-landmark,
.vector-appearance {
background-color: #FFFFFF !important;
border: 1px solid #E3D2A6 !important;
}
.mw-footer-container,
.mw-footer {
background-color: #233E1F !important;
border-top: 1px solid #233E1F !important;
color: #FBEFD5 !important;
}
.mw-footer a {
color: #FBEFD5 !important;
}
/* Logo nicht verändern */
.mw-logo .vector-icon,
.mw-logo-icon {
filter: none !important;
}
/* --- Externe Links (überschreibt MediaWiki-Standardblau) --- */
.mw-body-content a.external,
a.external {
color: #2F6B27;
}
.mw-body-content a.external:visited,
a.external:visited {
color: #5C7A52;
}
.mw-body-content a.external:hover,
a.external:hover {
color: #3B6B34;
}
/* --- Footer-Fließtext (li-Elemente sonst zu dunkel/unlesbar auf Grün) --- */
#footer li,
.mw-footer li,
#footer-info li,
#footer-places li,
.mw-footer-info li,
.mw-footer-places li {
color: #FBEFD5 !important;
}
/* --- Rote Links (Seite existiert noch nicht) --- */
.mw-body-content a.new,
a.new {
color: #A0522D;
}
.mw-body-content a.new:hover,
a.new:hover {
color: #C06030;
}
/* --- Callout-Boxen (aus Obsidian-Steckbriefen konvertiert) --- */
.gw-callout-info, .gw-callout-tip, .gw-callout-warning,
.gw-callout-danger, .gw-callout-example, .gw-callout-todo {
border: none;
border-left: 4px solid #233E1F;
border-radius: 12px;
background-color: #F3E6C8;
padding: 12px 18px;
margin: 14px 0;
box-shadow: 0 1px 4px rgba(35, 62, 31, 0.08);
}
.gw-callout-info { border-left-color: #233E1F; }
.gw-callout-tip { border-left-color: #7A9C5A; }
.gw-callout-example { border-left-color: #5C7A52; }
.gw-callout-todo { border-left-color: #999999; }
.gw-callout-warning { border-left-color: #C08A2E; background-color: #FBEFD5; }
.gw-callout-danger { border-left-color: #B33A3A; background-color: #FBEFD5; }
/* --- Infobox-Tabelle (Bild + Kurzprofil) --- */
.infobox table {
width: 100%;
border-collapse: collapse;
font-size: 0.9em;
}
.infobox th {
text-align: left;
padding: 4px 6px;
color: #6B6355;
font-weight: normal;
vertical-align: top;
width: 40%;
}
.infobox td {
padding: 4px 6px;
color: #2A2A22;
}
/* --- Footer-Places-Clearfix (Links waren abgeschnitten, da Container auf Hoehe 0 kollabierte) --- */
#footer-places, .mw-footer-places {
overflow: hidden;
padding-bottom: 6px;
}