MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Fürstinnenbibliotheken
Die Seite wurde neu angelegt: „→‎Das folgende CSS wird für alle Benutzeroberflächen geladen.: →‎============================================ Fürstinnenbibliotheken – MediaWiki:Common.css ============================================: →‎=== Hero-Banner ===: .fb-hero { background: #EEEDFE; border: 1px solid #CECBF6; border-radius: 10px; padding: 24px 28px; margin-bottom: 20px; } .fb-hero-label { font-size: 11px; font-weight: bold; color: #534AB7; tex…“
 
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
<!-- Hero-Banner -->
/* ============================================
<div class="fb-hero">
  Fürstinnenbibliotheken – MediaWiki:Common.css
<img class="fb-hero-img"
  ============================================ */
    src="/wiki/images/hero_banner.png"
    alt="Porträtgalerie">
<div class="fb-hero-overlay"></div>
<div class="fb-hero-content">
<div class="fb-hero-label">DFG-Langfristvorhaben · 10/2024–10/2027</div>
<div class="fb-hero-title">
  Fürstinnenbibliotheken &amp; Wissenspraktiken<br>
  im deutschsprachigen Raum · 18. Jh.
</div>
<div class="fb-hero-badges">
<span class="fb-badge">100 Bibliotheken</span>
<span class="fb-badge">Finanzierung: DFG</span>
<span class="fb-badge">HAB × TCDH Trier</span>
</div>
</div>
</div>


/* === Hero-Banner === */
<!-- Kacheln -->
.fb-hero {
<div class="fb-tiles">
  background: #EEEDFE;
  border: 1px solid #CECBF6;
  border-radius: 10px;
  padding: 24px 28px;
  margin-bottom: 20px;
}
.fb-hero-label {
  font-size: 11px;
  font-weight: bold;
  color: #534AB7;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.fb-hero-title {
  font-size: 20px;
  font-weight: bold;
  color: #3C3489;
  line-height: 1.3;
  margin-bottom: 8px;
}
.fb-hero-sub {
  font-size: 13px;
  color: #534AB7;
  line-height: 1.6;
  margin-bottom: 14px;
  max-width: 600px;
}
.fb-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fb-badge {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 99px;
  background: white;
  color: #534AB7;
  border: 1px solid #AFA9EC;
  display: inline-block;
}


/* === Kacheln (3 Spalten) === */
<div class="fb-tile">
.fb-kacheln {
[[Datei:icon-fuerstinnen.png|40px]]
  display: grid;
</p>'''[[Fürstinnen|Fürstinnen]]'''<br>
  grid-template-columns: repeat(3, 1fr);
Personen &amp; Biografien<br>
  gap: 10px;
[[Fürstinnen|Alle ansehen →]]
  margin-bottom: 20px;
</div>
}
.fb-kachel {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 14px 16px;
  text-decoration: none;
  display: block;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.fb-kachel:hover {
  border-color: #AFA9EC;
  box-shadow: 0 2px 8px rgba(83,74,183,0.08);
  text-decoration: none;
}
.fb-kachel-icon {
  font-size: 22px;
  margin-bottom: 8px;
}
.fb-kachel-title {
  font-size: 13px;
  font-weight: bold;
  color: #222;
  margin-bottom: 3px;
}
.fb-kachel-desc {
  font-size: 11px;
  color: #666;
  line-height: 1.4;
}
.fb-kachel-link {
  font-size: 11px;
  color: #534AB7;
  margin-top: 8px;
  display: block;
}


/* === Zweispaltiges Layout === */
<div class="fb-tile">
.fb-two-col {
[[Datei:icon-bibliotheken.png|40px]]
  display: grid;
'''[[Bibliotheken|Bibliotheken]]'''<br>
  grid-template-columns: 1.4fr 1fr;
Rekonstruierte Bestände<br>
  gap: 12px;
[[Bibliotheken|Alle ansehen →]]
  margin-bottom: 20px;
</div>
}


/* === Karten === */
<div class="fb-tile">
.fb-card {
[[Datei:icon-quellen.png|40px]]
  background: white;
'''[[Quellen|Quellen &amp; Dokumente]]'''<br>
  border: 1px solid #e0e0e0;
Inventare, Briefe, Akten<br>
  border-radius: 10px;
[[Quellen|Alle ansehen →]]
  padding: 16px 18px;
</div>
}
.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 === */
</div>
.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 Media 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;
  transition: border-color 0.15s;
}
.fb-social-btn:hover {
  border-color: #AFA9EC;
  color: #534AB7;
  text-decoration: none;
}
 
/* === Team-Liste === */
.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-Logos === */
.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 (Mobile) === */
@media (max-width: 720px) {
  .fb-kacheln { grid-template-columns: 1fr; }
  .fb-two-col { grid-template-columns: 1fr; }
  .fb-hero { padding: 16px; }
}

Version vom 4. Mai 2026, 11:00 Uhr

<!-- Hero-Banner -->
<div class="fb-hero">
<img class="fb-hero-img"
     src="/wiki/images/hero_banner.png"
     alt="Porträtgalerie">
<div class="fb-hero-overlay"></div>
<div class="fb-hero-content">
<div class="fb-hero-label">DFG-Langfristvorhaben · 10/2024–10/2027</div>
<div class="fb-hero-title">
  Fürstinnenbibliotheken &amp; Wissenspraktiken<br>
  im deutschsprachigen Raum · 18. Jh.
</div>
<div class="fb-hero-badges">
<span class="fb-badge">100 Bibliotheken</span>
<span class="fb-badge">Finanzierung: DFG</span>
<span class="fb-badge">HAB × TCDH Trier</span>
</div>
</div>
</div>

<!-- Kacheln -->
<div class="fb-tiles">

<div class="fb-tile">
[[Datei:icon-fuerstinnen.png|40px]]
</p>'''[[Fürstinnen|Fürstinnen]]'''<br>
Personen &amp; Biografien<br>
[[Fürstinnen|Alle ansehen →]]
</div>

<div class="fb-tile">
[[Datei:icon-bibliotheken.png|40px]]
'''[[Bibliotheken|Bibliotheken]]'''<br>
Rekonstruierte Bestände<br>
[[Bibliotheken|Alle ansehen →]]
</div>

<div class="fb-tile">
[[Datei:icon-quellen.png|40px]]
'''[[Quellen|Quellen &amp; Dokumente]]'''<br>
Inventare, Briefe, Akten<br>
[[Quellen|Alle ansehen →]]
</div>

</div>