MediaWiki:Common.css
MediaWiki-Schnittstellenseite
Weitere Optionen
Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.
- Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
- Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
- Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* =========================
Kochbuch Hauptseite
========================= */
#catlinks,
.catlinks {
display: none !important;
}
/* Gesamter Bereich */
.kochbuch-home {
max-width: 1250px;
margin: 0 auto;
padding: 1rem 0 2rem 0;
color: #4a3425;
}
/* Hero */
.kochbuch-hero {
display: grid;
grid-template-columns: 1.4fr 0.9fr;
gap: 1.5rem;
align-items: stretch;
margin-bottom: 2rem;
}
.kochbuch-hero-text,
.kochbuch-neues-rezept-box {
background: linear-gradient(180deg, #fffdf8 0%, #fff8ef 100%);
border: 1px solid #eadfce;
border-radius: 22px;
box-shadow: 0 10px 24px rgba(0,0,0,0.06);
padding: 1.6rem 1.8rem;
}
.kochbuch-eyebrow {
display: inline-block;
background: #f7efe4;
color: #6b4d35;
border: 1px solid #eadfce;
border-radius: 999px;
padding: 0.35rem 0.8rem;
font-size: 0.88rem;
font-weight: 600;
letter-spacing: 0.02em;
margin-bottom: 0.9rem;
}
.kochbuch-title {
margin: 0 0 0.75rem 0;
font-size: 2.4rem;
line-height: 1.15;
color: #4b2f1c;
}
.kochbuch-subtitle {
margin: 0;
font-size: 1.08rem;
line-height: 1.65;
color: #6a5242;
max-width: 46rem;
}
/* CTA Box */
.kochbuch-neues-rezept-title {
font-size: 1.25rem;
font-weight: 700;
color: #5b3b24;
margin-bottom: 0.4rem;
}
.kochbuch-neues-rezept-text {
font-size: 0.97rem;
line-height: 1.55;
color: #6b5547;
margin-bottom: 1rem;
}
/* PageForms Eingabe schöner machen */
.kochbuch-neues-rezept-box input[type="text"],
.kochbuch-neues-rezept-box input[type="search"] {
width: 100%;
box-sizing: border-box;
border: 1px solid #ddcfbb;
background: #fff;
border-radius: 12px;
padding: 0.75rem 0.95rem;
font-size: 1rem;
margin-bottom: 0.75rem;
box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
}
.kochbuch-neues-rezept-box input[type="text"]:focus,
.kochbuch-neues-rezept-box input[type="search"]:focus {
outline: none;
border-color: #c79d69;
box-shadow: 0 0 0 3px rgba(199, 157, 105, 0.16);
}
/* Button */
.kochbuch-neues-rezept-box input[type="submit"],
.kochbuch-neues-rezept-box button,
.kochbuch-neues-rezept-box .mw-htmlform-submit {
display: inline-block;
background: linear-gradient(180deg, #c98142 0%, #b96d2d 100%);
color: #fff !important;
border: none;
border-radius: 12px;
padding: 0.78rem 1.05rem;
font-size: 0.98rem;
font-weight: 700;
cursor: pointer;
box-shadow: 0 8px 18px rgba(185, 109, 45, 0.24);
transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.kochbuch-neues-rezept-box input[type="submit"]:hover,
.kochbuch-neues-rezept-box button:hover,
.kochbuch-neues-rezept-box .mw-htmlform-submit:hover {
transform: translateY(-1px);
filter: brightness(1.03);
box-shadow: 0 10px 22px rgba(185, 109, 45, 0.28);
}
/* Bereichsblöcke */
.kochbuch-bereich {
margin: 2rem 0 2.2rem 0;
}
.kochbuch-bereich-title {
margin: 0 0 1rem 0;
font-size: 1.7rem;
color: #5a3b25;
padding-bottom: 0.35rem;
border-bottom: 2px solid #f1e5d8;
}
/* Grid für Kategorien */
.kochbuch-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1rem;
}
.kochbuch-grid-4 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
/* Kategorie-Karten */
.kochbuch-kategorie-card {
background: #fffdf9;
border: 1px solid #eadfce;
border-radius: 18px;
padding: 1rem 1.1rem 1.1rem 1.1rem;
box-shadow: 0 6px 16px rgba(0,0,0,0.05);
transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.kochbuch-kategorie-card:hover {
transform: translateY(-2px);
box-shadow: 0 10px 22px rgba(0,0,0,0.07);
}
.kochbuch-kategorie-card h3 {
margin: 0 0 0.8rem 0;
font-size: 1.1rem;
color: #6a4b34;
border-bottom: 1px solid #f1e5d8;
padding-bottom: 0.45rem;
}
/* Listen in den Karten */
.kochbuch-kategorie-card ul {
margin: 0.3rem 0 0 1.15rem;
padding: 0;
}
.kochbuch-kategorie-card li {
margin: 0.35rem 0;
line-height: 1.45;
}
.kochbuch-kategorie-card a {
color: #6a3f1d;
text-decoration: none;
font-weight: 500;
}
.kochbuch-kategorie-card a:hover {
color: #b96d2d;
text-decoration: underline;
}
/* Footer-Link */
.kochbuch-footer-tools {
text-align: right;
font-size: 0.85rem;
color: #7b6a5d;
margin-top: 1.5rem;
}
.kochbuch-footer-tools a {
color: #7b6a5d;
text-decoration: none;
}
.kochbuch-footer-tools a:hover {
text-decoration: underline;
}
/* Responsive */
@media (max-width: 980px) {
.kochbuch-hero {
grid-template-columns: 1fr;
}
}
@media (max-width: 700px) {
.kochbuch-grid,
.kochbuch-grid-4 {
grid-template-columns: 1fr;
}
.kochbuch-title {
font-size: 1.95rem;
}
.kochbuch-hero-text,
.kochbuch-neues-rezept-box,
.kochbuch-kategorie-card {
padding: 1rem;
}
}
/* =========================
Rezept-Design
========================= */
#catlinks,
.catlinks {
display: none !important;
}
.rezept-card {
background: #fffdf8;
border: 1px solid #eadfce;
border-radius: 18px;
padding: 1.5rem;
margin: 1rem 0 2rem 0;
box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.rezept-hero {
margin-bottom: 1.25rem;
}
.rezept-bild img {
width: 100%;
max-width: 100%;
border-radius: 14px;
display: block;
box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.rezept-kopf {
margin-bottom: 1rem;
}
.rezept-chips {
display: flex;
flex-wrap: wrap;
gap: .55rem;
margin-bottom: .5rem;
}
.rezept-chip {
display: inline-block;
background: #f7efe4;
color: #5b4636;
border: 1px solid #eadfce;
border-radius: 999px;
padding: .35rem .8rem;
font-size: .92rem;
line-height: 1.2;
}
.rezept-chip-schwierigkeit {
background: #ffe8c8;
border-color: #f4d19a;
font-weight: 600;
}
.rezept-grid {
display: grid;
grid-template-columns: 1fr 1.4fr;
gap: 1.5rem;
margin-top: 1.25rem;
}
.rezept-box {
background: #ffffff;
border: 1px solid #eee2d4;
border-radius: 14px;
padding: 1rem 1.1rem;
}
.rezept-zutaten ul,
.rezept-zubereitung ol,
.rezept-hinweise ul {
margin-top: .5rem;
}
.rezept-zubereitung ol li,
.rezept-zutaten ul li {
margin-bottom: .45rem;
}
.rezept-hinweise {
margin-top: 1.5rem;
}
.rezept-card h2 {
margin-top: 0;
margin-bottom: .6rem;
font-size: 1.25rem;
color: #6a4b34;
border-bottom: 2px solid #f1e5d8;
padding-bottom: .3rem;
}
/* Formularhilfe */
.rezept-form-hilfe {
background: #fff8e8;
border: 1px solid #f1d89d;
border-radius: 12px;
padding: 1rem 1.1rem;
margin-bottom: 1.25rem;
}
.rezept-formtable {
width: 100%;
border-collapse: collapse;
}
.rezept-formtable th {
text-align: left;
vertical-align: top;
width: 220px;
padding: .45rem .7rem .45rem 0;
color: #5d4b3d;
}
.rezept-formtable td {
padding: .35rem 0;
}
.rezept-titel {
font-size: 2.4rem;
margin: 0 0 1rem 0;
color: #4b2f1c;
text-align: center;
font-weight: 700;
}
.rezept-approved {
margin: 12px 0;
padding: 10px 14px;
border-radius: 12px;
font-weight: 600;
font-size: 1.1em;
display: inline-block;
}
.rezept-approved-container {
width: 100%;
display: flex;
justify-content: flex-end;
margin-top: 0.3em;
margin-bottom: 0.6em;
}
.rezept-approved-einzel {
background: #f1f8ff;
border: 2px solid #90caf9;
color: #0d47a1;
}
.rezept-approved-beide {
background: #e8f5e9;
border: 2px solid #66bb6a;
color: #1b5e20;
}
.rezept-chip-approved {
background: #e3f2fd;
border: 2px solid #64b5f6;
color: #0d47a1;
font-weight: 600;
display: inline-flex;
align-items: center;
gap: 0.35em;
}
.rezept-chip-approved.gemeinsam {
background: #e8f5e9;
border-color: #66bb6a;
color: #1b5e20;
}
@media (max-width: 900px) {
.rezept-grid {
grid-template-columns: 1fr;
}
}