MediaWiki:Common.css: Unterschied zwischen den Versionen
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
/* ── Fürstinnenbibliotheken Startseite ── */ | |||
/* === Hero === */ | |||
.fb-hero { | |||
position: relative; | |||
height: 200px; | |||
overflow: hidden; | |||
border-radius: 8px; | |||
margin-bottom: 16px; | |||
background: #EEEDFE; | |||
} | |||
.fb-hero-img { | |||
width: 100%; height: 100%; | |||
object-fit: cover; object-position: center top; | |||
display: block; | |||
} | |||
.fb-hero-overlay { | |||
position: absolute; inset: 0; | |||
background: rgba(10, 28, 70, 0.70); | |||
} | |||
.fb-hero-content { | |||
position: absolute; inset: 0; | |||
padding: 18px 24px; | |||
display: flex; flex-direction: column; justify-content: flex-end; | |||
} | |||
.fb-hero-label { | |||
font-size: 11px; color: rgba(255,255,255,0.65); | |||
letter-spacing: 0.06em; margin-bottom: 5px; | |||
} | |||
.fb-hero-title { | |||
font-size: 20px; font-weight: bold; | |||
color: #ffffff; line-height: 1.3; margin-bottom: 10px; | |||
} | |||
.fb-hero-badges { display: flex; gap: 8px; flex-wrap: wrap; } | |||
.fb-badge { | |||
font-size: 11px; padding: 3px 10px; border-radius: 99px; | |||
background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); | |||
border: 1px solid rgba(255,255,255,0.25); | |||
} | |||
/* === Kacheln === */ | |||
.fb-tiles { | |||
display: grid; grid-template-columns: repeat(3, 1fr); | |||
gap: 12px; margin-bottom: 16px; | |||
} | |||
.fb-tile { | |||
border: 1px solid #e0e0e0; border-radius: 8px; | |||
padding: 14px 16px; text-align: left; | |||
} | |||
.fb-tile img { | |||
width: 40px; height: 40px; | |||
object-fit: contain; margin-bottom: 8px; display: block; | |||
} | |||
/* === Zwei-Spalten-Layout === */ | |||
.fb-two-col { | |||
display: grid; grid-template-columns: 1.4fr 1fr; | |||
gap: 12px; margin-bottom: 20px; | |||
} | |||
/* === Karten === */ | |||
.fb-card { | |||
background: white; border: 1px solid #e0e0e0; | |||
border-radius: 10px; padding: 16px 18px; | |||
} | |||
.fb-card-label { | |||
font-size: 10px; font-weight: bold; color: #999; | |||
text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; | |||
} | |||
.fb-divider { | |||
border: none; border-top: 1px solid #eee; margin: 12px 0; | |||
} | |||
/* === Projektinfo-Tabelle === */ | |||
.fb-info-table { width: 100%; border-collapse: collapse; font-size: 12px; } | |||
.fb-info-table td { padding: 4px 0; vertical-align: top; border: none; } | |||
.fb-info-table td:first-child { color: #999; width: 90px; font-size: 11px; padding-top: 5px; } | |||
.fb-info-table td:last-child { color: #222; line-height: 1.5; } | |||
/* === Social Buttons === */ | |||
.fb-social-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; } | |||
.fb-social-btn { | |||
font-size: 11px; padding: 5px 12px; | |||
border: 1px solid #ddd; border-radius: 6px; | |||
color: #444; background: #f7f7f7; | |||
text-decoration: none; display: inline-block; | |||
} | |||
.fb-social-btn:hover { border-color: #AFA9EC; color: #534AB7; text-decoration: none; } | |||
/* === Team === */ | |||
.fb-team-list { display: flex; flex-direction: column; gap: 10px; } | |||
.fb-person { display: flex; align-items: center; gap: 10px; } | |||
.fb-avatar { | |||
width: 34px; height: 34px; border-radius: 50%; | |||
background: #EEEDFE; color: #534AB7; | |||
font-size: 11px; font-weight: bold; | |||
display: flex; align-items: center; justify-content: center; | |||
flex-shrink: 0; | |||
} | |||
.fb-avatar.teal { background: #E1F5EE; color: #0F6E56; } | |||
.fb-avatar.coral { background: #FAECE7; color: #993C1D; } | |||
.fb-person-name { font-size: 12px; font-weight: bold; color: #222; } | |||
.fb-person-role { font-size: 11px; color: #666; } | |||
.fb-role-badge { | |||
font-size: 10px; padding: 1px 7px; border-radius: 99px; | |||
background: #f0f0f0; color: #666; border: 1px solid #ddd; | |||
margin-left: 6px; font-weight: normal; | |||
} | |||
/* === Partner === */ | |||
.fb-partner-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; } | |||
.fb-partner-pill { | |||
font-size: 11px; padding: 4px 12px; | |||
border: 1px solid #ddd; border-radius: 99px; | |||
color: #555; background: #f7f7f7; | |||
} | |||
/* === Abschnittsüberschrift === */ | |||
.fb-section-label { | |||
font-size: 11px; font-weight: bold; color: #999; | |||
text-transform: uppercase; letter-spacing: 0.08em; | |||
margin-bottom: 10px; margin-top: 20px; | |||
} | |||
/* === Responsive === */ | |||
@media (max-width: 720px) { | |||
.fb-tiles { grid-template-columns: 1fr; } | |||
.fb-two-col { grid-template-columns: 1fr; } | |||
.fb-hero { padding: 16px; } | |||
} | |||
Version vom 4. Mai 2026, 11:04 Uhr
/* ── Fürstinnenbibliotheken Startseite ── */
/* === Hero === */
.fb-hero {
position: relative;
height: 200px;
overflow: hidden;
border-radius: 8px;
margin-bottom: 16px;
background: #EEEDFE;
}
.fb-hero-img {
width: 100%; height: 100%;
object-fit: cover; object-position: center top;
display: block;
}
.fb-hero-overlay {
position: absolute; inset: 0;
background: rgba(10, 28, 70, 0.70);
}
.fb-hero-content {
position: absolute; inset: 0;
padding: 18px 24px;
display: flex; flex-direction: column; justify-content: flex-end;
}
.fb-hero-label {
font-size: 11px; color: rgba(255,255,255,0.65);
letter-spacing: 0.06em; margin-bottom: 5px;
}
.fb-hero-title {
font-size: 20px; font-weight: bold;
color: #ffffff; line-height: 1.3; margin-bottom: 10px;
}
.fb-hero-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.fb-badge {
font-size: 11px; padding: 3px 10px; border-radius: 99px;
background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9);
border: 1px solid rgba(255,255,255,0.25);
}
/* === Kacheln === */
.fb-tiles {
display: grid; grid-template-columns: repeat(3, 1fr);
gap: 12px; margin-bottom: 16px;
}
.fb-tile {
border: 1px solid #e0e0e0; border-radius: 8px;
padding: 14px 16px; text-align: left;
}
.fb-tile img {
width: 40px; height: 40px;
object-fit: contain; margin-bottom: 8px; display: block;
}
/* === Zwei-Spalten-Layout === */
.fb-two-col {
display: grid; grid-template-columns: 1.4fr 1fr;
gap: 12px; margin-bottom: 20px;
}
/* === Karten === */
.fb-card {
background: white; border: 1px solid #e0e0e0;
border-radius: 10px; padding: 16px 18px;
}
.fb-card-label {
font-size: 10px; font-weight: bold; color: #999;
text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px;
}
.fb-divider {
border: none; border-top: 1px solid #eee; margin: 12px 0;
}
/* === Projektinfo-Tabelle === */
.fb-info-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.fb-info-table td { padding: 4px 0; vertical-align: top; border: none; }
.fb-info-table td:first-child { color: #999; width: 90px; font-size: 11px; padding-top: 5px; }
.fb-info-table td:last-child { color: #222; line-height: 1.5; }
/* === Social Buttons === */
.fb-social-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fb-social-btn {
font-size: 11px; padding: 5px 12px;
border: 1px solid #ddd; border-radius: 6px;
color: #444; background: #f7f7f7;
text-decoration: none; display: inline-block;
}
.fb-social-btn:hover { border-color: #AFA9EC; color: #534AB7; text-decoration: none; }
/* === Team === */
.fb-team-list { display: flex; flex-direction: column; gap: 10px; }
.fb-person { display: flex; align-items: center; gap: 10px; }
.fb-avatar {
width: 34px; height: 34px; border-radius: 50%;
background: #EEEDFE; color: #534AB7;
font-size: 11px; font-weight: bold;
display: flex; align-items: center; justify-content: center;
flex-shrink: 0;
}
.fb-avatar.teal { background: #E1F5EE; color: #0F6E56; }
.fb-avatar.coral { background: #FAECE7; color: #993C1D; }
.fb-person-name { font-size: 12px; font-weight: bold; color: #222; }
.fb-person-role { font-size: 11px; color: #666; }
.fb-role-badge {
font-size: 10px; padding: 1px 7px; border-radius: 99px;
background: #f0f0f0; color: #666; border: 1px solid #ddd;
margin-left: 6px; font-weight: normal;
}
/* === Partner === */
.fb-partner-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.fb-partner-pill {
font-size: 11px; padding: 4px 12px;
border: 1px solid #ddd; border-radius: 99px;
color: #555; background: #f7f7f7;
}
/* === Abschnittsüberschrift === */
.fb-section-label {
font-size: 11px; font-weight: bold; color: #999;
text-transform: uppercase; letter-spacing: 0.08em;
margin-bottom: 10px; margin-top: 20px;
}
/* === Responsive === */
@media (max-width: 720px) {
.fb-tiles { grid-template-columns: 1fr; }
.fb-two-col { grid-template-columns: 1fr; }
.fb-hero { padding: 16px; }
}