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
 
(41 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* ── Fürstinnenbibliotheken Startseite ── */
/* ============================================
.fb-hero-logo {
  Fürstinnenbibliotheken – MediaWiki:Common.css
  width: 80px;
  ============================================ */
  height: 80px;
  object-fit: contain;
  margin-bottom: 12px;
}


/* === Hero-Banner === */
/* === Hero === */
.fb-hero {
.fb-hero {
   background: #EEEDFE;
  position: relative;
   border: 1px solid #CECBF6;
  height: 260px;
   border-radius: 10px;
  overflow: hidden;
   padding: 24px 28px;
  border-radius: 8px;
   margin-bottom: 20px;
  margin-bottom: 16px;
   background: #012367;
}
 
.fb-hero-imgwrap {
  position: absolute;
  inset: 0;
   overflow: hidden;
}
 
.fb-hero-imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 23%;
  display: block;
}
 
.fb-hero-overlay {
  position: absolute;
  inset: 0;
   background: linear-gradient(to right, rgba(10,20,60,0.85) 40%, rgba(10,20,60,0.4) 100%);
}
 
.fb-hero-content {
  position: absolute;
  inset: 0;
   padding: 28px 32px;
   display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
}
.fb-hero-label {
.fb-hero-label {
   font-size: 11px;
   font-size: 11px;
  font-weight: bold;
   color: rgba(255,255,255,0.65);
   color: #534AB7;
   letter-spacing: 0.06em;
  text-transform: uppercase;
   margin-bottom: 5px;
   letter-spacing: 0.08em;
   margin-bottom: 6px;
}
}
.fb-hero-title {
.fb-hero-title {
   font-size: 20px;
   font-size: 20px;
   font-weight: bold;
   font-weight: bold;
   color: #3C3489;
   color: #ffffff;
   line-height: 1.3;
   line-height: 1.4;
   margin-bottom: 8px;
   margin-bottom: 10px;
}
}
.fb-hero-sub {
.fb-hero-sub {
   font-size: 13px;
   font-size: 13px;
   color: #534AB7;
   color: rgba(255,255,255,0.80);
   line-height: 1.6;
   line-height: 1.6;
   margin-bottom: 14px;
   margin-bottom: 12px;
   max-width: 600px;
   max-width: 580px;
}
}
.fb-hero-badges {
.fb-hero-badges {
   display: flex;
   display: flex;
  gap: 8px;
   flex-wrap: wrap;
   flex-wrap: wrap;
  gap: 8px;
}
}
.fb-badge {
.fb-badge {
   font-size: 11px;
   font-size: 11px;
   padding: 3px 10px;
   padding: 3px 10px;
   border-radius: 99px;
   border-radius: 99px;
   background: white;
   background: rgba(255,255,255,0.15);
   color: #534AB7;
   color: rgba(255,255,255,0.9);
   border: 1px solid #AFA9EC;
   border: 1px solid rgba(255,255,255,0.25);
  display: inline-block;
}
}


/* === Kacheln (3 Spalten) === */
.fb-intro {
.fb-kacheln {
   font-size: 13px;
   display: grid;
   line-height: 1.7;
   grid-template-columns: repeat(3, 1fr);
  color: #444;
   gap: 10px;
   max-width: 820px;
   margin-bottom: 20px;
   margin-bottom: 20px;
  padding: 14px 18px;
  border-left: 3px solid #AFA9EC;
  background: #FAFAFE;
  border-radius: 0 6px 6px 0;
}
}
.fb-kachel {
 
   background: white;
/* === Kacheln mit Bildern === */
.fb-tiles {
   display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px;
  margin-bottom: 16px;
  margin-top: 12px;
}
 
.fb-tile {
   border: 1px solid #e0e0e0;
   border: 1px solid #e0e0e0;
   border-radius: 10px;
   border-radius: 8px;
   padding: 14px 16px;
   padding: 14px 16px;
   text-decoration: none;
   background: white;
  display: block;
   vertical-align: top;
  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 === */
/* MediaWiki fügt oft <p>-Tags ein – neutralisieren */
.fb-two-col {
.fb-tile p {
   display: grid;
   margin: 0 !important;
  grid-template-columns: 1.4fr 1fr;
   padding: 0 !important;
   gap: 12px;
   display: inline;
   margin-bottom: 20px;
}
}


Zeile 107: Zeile 127:
   padding: 16px 18px;
   padding: 16px 18px;
}
}
.fb-card-label {
.fb-card-label {
   font-size: 10px;
   font-size: 10px;
Zeile 115: Zeile 136:
   margin-bottom: 12px;
   margin-bottom: 12px;
}
}
.fb-divider {
.fb-divider {
   border: none;
   border: none;
Zeile 127: Zeile 149:
   font-size: 12px;
   font-size: 12px;
}
}
.fb-info-table td {
.fb-info-table td {
   padding: 4px 0;
   padding: 4px 0;
Zeile 132: Zeile 155:
   border: none;
   border: none;
}
}
.fb-info-table td:first-child {
.fb-info-table td:first-child {
   color: #999;
   color: #999;
Zeile 138: Zeile 162:
   padding-top: 5px;
   padding-top: 5px;
}
}
.fb-info-table td:last-child {
.fb-info-table td:last-child {
   color: #222;
   color: #222;
Zeile 143: Zeile 168:
}
}


/* === Social Media Buttons === */
/* === Social Buttons === */
.fb-social-row {
.fb-social-row img {
   display: flex;
   filter: invert(30%) sepia(80%) saturate(500%) hue-rotate(210deg);
  flex-wrap: wrap;
   opacity: 0.75;
   gap: 6px;
   transition: opacity 0.2s, filter 0.2s;
   margin-top: 10px;
}
}
.fb-social-btn {
 
  font-size: 11px;
.fb-social-row img:hover {
  padding: 5px 12px;
   opacity: 1;
  border: 1px solid #ddd;
   filter: invert(30%) sepia(80%) saturate(700%) hue-rotate(210deg);
  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 === */
/* === Team === */
.fb-team-list {
.fb-team-list {
   display: flex;
   display: flex;
Zeile 173: Zeile 186:
   gap: 10px;
   gap: 10px;
}
}
.fb-person {
.fb-person {
   display: flex;
   display: flex;
Zeile 178: Zeile 192:
   gap: 10px;
   gap: 10px;
}
}
.fb-avatar {
.fb-avatar {
   width: 34px;
   width: 34px;
Zeile 191: Zeile 206:
   flex-shrink: 0;
   flex-shrink: 0;
}
}
.fb-avatar.teal { background: #E1F5EE; color: #0F6E56; }
 
.fb-avatar.coral { background: #FAECE7; color: #993C1D; }
.fb-avatar.teal {
  background: #E1F5EE;
  color: #0F6E56;
}
 
.fb-avatar.coral {
  background: #FAECE7;
  color: #993C1D;
}
 
.fb-person-name {
.fb-person-name {
   font-size: 12px;
   font-size: 12px;
Zeile 198: Zeile 222:
   color: #222;
   color: #222;
}
}
.fb-person-role {
.fb-person-role {
   font-size: 11px;
   font-size: 11px;
   color: #666;
   color: #666;
}
}
.fb-role-badge {
.fb-role-badge {
   font-size: 10px;
   font-size: 10px;
Zeile 213: Zeile 239:
}
}


/* === Partner-Logos === */
/* === Partner === */
.fb-partner-row {
.fb-partner-row {
   display: flex;
   display: flex;
  align-items: center;
   flex-wrap: wrap;
   flex-wrap: wrap;
   gap: 8px;
   gap: 20px;
   margin-top: 4px;
   margin-top: 12px;
}
}
.fb-partner-pill {
 
   font-size: 11px;
.fb-partner-row img {
   padding: 4px 12px;
   height: 60px;
   border: 1px solid #ddd;
   width: auto;
   border-radius: 99px;
   max-width: 100px;
   color: #555;
   object-fit: contain;
  background: #f7f7f7;
   vertical-align: middle;
}
}


Zeile 240: Zeile 267:
}
}


/* === Responsive (Mobile) === */
/* === Responsive === */
.fb-two-col {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px;
  margin-bottom: 20px;
  align-items: flex-start;
}
 
.fb-two-col > .fb-card {
  flex: 1;
  min-width: 0;
}
 
.fb-two-col > .fb-card:first-child {
  flex: 1.4;
}
 
@media (max-width: 720px) {
@media (max-width: 720px) {
   .fb-kacheln { grid-template-columns: 1fr; }
   .fb-tiles {
   .fb-two-col { grid-template-columns: 1fr; }
    grid-template-columns: 1fr;
   .fb-hero { padding: 16px; }
  }
   .fb-two-col {
    flex-direction: column !important;
  }
   .fb-hero {
    padding: 16px;
  }
}
}

Aktuelle Version vom 2. Juni 2026, 11:51 Uhr

/* ── Fürstinnenbibliotheken Startseite ── */
.fb-hero-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 12px;
}

/* === Hero === */
.fb-hero {
  position: relative;
  height: 260px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 16px;
  background: #012367;
}

.fb-hero-imgwrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.fb-hero-imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 23%;
  display: block;
}

.fb-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,20,60,0.85) 40%, rgba(10,20,60,0.4) 100%);
}

.fb-hero-content {
  position: absolute;
  inset: 0;
  padding: 28px 32px;
  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.4;
  margin-bottom: 10px;
}

.fb-hero-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.80);
  line-height: 1.6;
  margin-bottom: 12px;
  max-width: 580px;
}

.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);
}

.fb-intro {
  font-size: 13px;
  line-height: 1.7;
  color: #444;
  max-width: 820px;
  margin-bottom: 20px;
  padding: 14px 18px;
  border-left: 3px solid #AFA9EC;
  background: #FAFAFE;
  border-radius: 0 6px 6px 0;
}

/* === Kacheln mit Bildern === */
.fb-tiles {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px;
  margin-bottom: 16px;
  margin-top: 12px;
}

.fb-tile {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 14px 16px;
  background: white;
  vertical-align: top;
}

/* MediaWiki fügt oft <p>-Tags ein – neutralisieren */
.fb-tile p {
  margin: 0 !important;
  padding: 0 !important;
  display: inline;
}

/* === 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 img {
  filter: invert(30%) sepia(80%) saturate(500%) hue-rotate(210deg);
  opacity: 0.75;
  transition: opacity 0.2s, filter 0.2s;
}

.fb-social-row img:hover {
  opacity: 1;
  filter: invert(30%) sepia(80%) saturate(700%) hue-rotate(210deg);
}

/* === 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;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
}

.fb-partner-row img {
  height: 60px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  vertical-align: middle;
}

/* === 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 === */
.fb-two-col {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.fb-two-col > .fb-card {
  flex: 1;
  min-width: 0;
}

.fb-two-col > .fb-card:first-child {
  flex: 1.4;
}

@media (max-width: 720px) {
  .fb-tiles {
    grid-template-columns: 1fr;
  }
  .fb-two-col {
    flex-direction: column !important;
  }
  .fb-hero {
    padding: 16px;
  }
}