MediaWiki:Common.css

Aus Fürstinnenbibliotheken

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
  • Internet Explorer/Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
  • Opera: Strg+F5
/* ── 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 === */
.fb-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 12px 0 16px;
}

.fb-tile {
  border: 1px solid #e3e3ea;
  border-radius: 12px;
  background: #fff;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.fb-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  border-color: #cfcfe6;
}

.fb-tile-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.fb-tile-img {
  height: 120px;
  background: linear-gradient(135deg, #f4f3ff 0%, #edf1ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-bottom: 1px solid #ececf4;
}

.fb-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: auto;
  display: block;
}

.fb-tile-body {
  padding: 14px 16px 16px;
}

.fb-tile-title {
  font-size: 16px;
  font-weight: 700;
  color: #1f2430;
  margin-bottom: 4px;
  line-height: 1.25;
}

.fb-tile-sub {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 10px;
}

.fb-tile-cta {
  font-size: 12px;
  font-weight: 600;
  color: #534ab7;
}

.fb-tile--purple .fb-tile-img { background: linear-gradient(135deg, #f4f3ff 0%, #ece9ff 100%); }
.fb-tile--teal .fb-tile-img { background: linear-gradient(135deg, #eefaf6 0%, #e4f4ef 100%); }
.fb-tile--coral .fb-tile-img { background: linear-gradient(135deg, #fff2ee 0%, #fde9e3 100%); }

@media (max-width: 720px) {
  .fb-tiles { grid-template-columns: 1fr; }
  .fb-tile-img { height: 110px; }
}
/* === 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 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;  /* margin-right weg */
  }

/* === 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; }
}