MediaWiki:Common.css

Aus Phoenix-Larp Wiki

Version vom 6. September 2026, 21:04 Uhr von Becko (Diskussion | Beiträge) (Design der Hauptseiten-Kacheln (Hero + Portal-Karten) an das aktuelle helle Wiki-Design angepasst (Parchment/Braun statt dunklem Verlauf/Gold))

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
  • Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
/* Gestaltung der Phoenix-Wiki-Portale */
.phoenix-hero {
  padding: 2rem 2.2rem;
  margin: 0 0 1.5rem;
  color: #3f3322;
  background: #faf7ef;
  border: 1px solid #c8b98f;
  border-top: 4px solid #735c32;
  border-radius: 4px;
}
.phoenix-kicker {
  color: #735c32;
  font-size: .85rem;
  font-weight: bold;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.phoenix-title {
  margin: .25rem 0;
  font-family: Georgia, serif;
  font-size: 2.4rem;
  color: #223355;
}
.phoenix-lead {
  max-width: 52rem;
  font-size: 1.05rem;
  color: #443a2a;
}
.phoenix-portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}
.phoenix-portal-card {
  padding: 1rem 1.1rem;
  background: #faf7ef;
  border: 1px solid #c8b98f;
  border-left: 5px solid #735c32;
  border-radius: 4px;
}
.phoenix-portal-card h3 {
  margin-top: 0;
  font-family: Georgia, serif;
  color: #223355;
}
.phoenix-portal-card .mw-editsection {
  display: none;
}
@media (max-width: 720px) {
  .phoenix-title { font-size: 1.8rem; }
}


/* Vollflächig klickbare Kacheln */
.phoenix-click-card {
  position: relative;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.phoenix-click-card:hover,
.phoenix-click-card:focus-within {
  background: #efe6d5;
  border-color: #a58e60;
  box-shadow: 0 3px 10px rgba(61, 48, 30, .16);
  transform: translateY(-1px);
}
.phoenix-portal-card h3 a::after,
.phoenix-religion-card .phoenix-card-link a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}
.phoenix-portal-card h3 a:focus-visible,
.phoenix-religion-card .phoenix-card-link a:focus-visible {
  outline: 2px solid #735c32;
  outline-offset: 3px;
}
.phoenix-religion-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  align-items: stretch;
}
.phoenix-religion-card {
  display: flex;
  align-items: center;
  gap: .9em;
  box-sizing: border-box;
  flex: 1 1 360px;
  min-height: 118px;
  padding: .9em;
  border: 1px solid #c8ccd1;
  border-radius: 6px;
  background: #fff;
}
.phoenix-religion-symbol {
  flex: 0 0 88px;
  text-align: center;
}
.phoenix-religion-content {
  flex: 1 1 auto;
}
@media (prefers-reduced-motion: reduce) {
  .phoenix-click-card {
    transition: none;
  }
  .phoenix-click-card:hover,
  .phoenix-click-card:focus-within {
    transform: none;
  }
}

/* Interaktive Markierungen der Länderkarte */
.phoenix-map-marker {
  color: #d01818 !important;
  -webkit-text-stroke: 2px #000;
  paint-order: stroke fill;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 0 5px #fff;
  transition: color .15s ease;
}
a:hover .phoenix-map-marker,
a:focus .phoenix-map-marker {
  color: #000 !important;
}
a:has(> .phoenix-map-marker) {
  text-decoration: none !important;
}


/* Einheitliche Navigation und Infoboxen */
.phoenix-backlink {
  margin: .2rem 0 1rem;
  padding: .45rem .7rem;
  background: #f7f2e7;
  border-left: 4px solid #735c32;
  color: #443a2a;
}
.phoenix-infobox {
  float: right;
  clear: right;
  width: 300px;
  margin: 0 0 1rem 1.25rem;
  background: #faf7ef;
}
.phoenix-infobox th {
  width: 38%;
  background: #eee5d3;
  color: #3f3322;
}
.phoenix-infobox tr:first-child th {
  width: auto;
  background: #735c32;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1.1rem;
  text-align: center;
}
.phoenix-infobox-image {
  text-align: center;
}
.phoenix-infobox-image img {
  max-width: 260px;
  height: auto;
}
.phoenix-infobox tr:has(> .phoenix-infobox-value:empty) {
  display: none;
}
@media (max-width: 720px) {
  .phoenix-infobox {
    float: none;
    width: 100%;
    margin: 0 0 1rem;
  }
}


/* Piktogramme in Portalkacheln */
.phoenix-icon-card {
  text-align: center;
}

.phoenix-icon-card .phoenix-portal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  margin-bottom: .6rem;
}

.phoenix-icon-card .phoenix-portal-icon img {
  display: block;
  width: 112px;
  height: 112px;
  object-fit: contain;
}

.phoenix-icon-card h3 {
  margin-bottom: .15rem;
}