MediaWiki:Common.css: Unterschied zwischen den Versionen
MediaWiki-Schnittstellenseite
Weitere Optionen
2-bit (Diskussion | Beiträge) KKeine Bearbeitungszusammenfassung |
2-bit (Diskussion | Beiträge) KKeine Bearbeitungszusammenfassung |
||
| Zeile 135: | Zeile 135: | ||
.rezept-approved-container { | .rezept-approved-container { | ||
width: 100%; | |||
display: flex; | display: flex; | ||
justify-content: flex-end; | justify-content: flex-end; | ||
Version vom 14. April 2026, 13:13 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* =========================
Rezept-Design
========================= */
.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;
}
}