MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Phoenix-Larp Wiki

testwiki>Admin
Darstellung der Piktogramme in Portalkacheln ergänzt
Warnbox-Styling unter dem Quelltextfeld + Icon-Styling für VisualEditor-Symbol
 
(30 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
/* Gestaltung der Phoenix-Wiki-Portale */
/* Die Phoenix-spezifischen Anpassungen (.phoenix-hero, Portal-Kacheln, Religions-Karten, Länderkarten-Marker, Infoboxen, mobiles Burger-Menü, Chip-Navigation, TOC-Tiefe, Chip-Design für Benutzer-/Aktionsmenü usw.) wurden in den PhoenixSkin-Fork übernommen (resources/phoenix-custom.less) und hier entfernt, da PhoenixSkin seit 2026-09-08 der Standard-Skin des Wikis ist. */
.phoenix-hero {
  padding: 2.2rem;
  margin: 0 0 1.5rem;
  color: #f8f0dc;
  background: linear-gradient(135deg, #182433, #394b58);
  border: 1px solid #9b8356;
  border-radius: 4px;
}
.phoenix-kicker {
  color: #d2bb83;
  font-size: .85rem;
  letter-spacing: .16em;
}
.phoenix-title {
  margin: .25rem 0;
  font-family: Georgia, serif;
  font-size: 2.4rem;
}
.phoenix-lead {
  max-width: 52rem;
  font-size: 1.05rem;
}
.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: #f7f2e7;
  border: 1px solid #c8b98f;
  border-left: 5px solid #735c32;
  border-radius: 3px;
}
.phoenix-portal-card h3 {
  margin-top: 0;
  font-family: Georgia, serif;
}
.phoenix-portal-card .mw-editsection {
  display: none;
}
@media (max-width: 720px) {
  .phoenix-title { font-size: 1.8rem; }
}
 


/* Vollflächig klickbare Kacheln */
/* Hinweis-Box (Quelltext-Editor) und Symbol (VisualEditor) für den
.phoenix-click-card {
  Redaktionsleitfaden im Bearbeiten-Modus (Inhalt wird per Common.js
  position: relative;
  eingefuegt). Bewusst hier in Common.css statt im Skin hinterlegt,
  cursor: pointer;
  damit Farbe/Text direkt im Wiki angepasst werden koennen, ohne den
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  Skin anzufassen. */
#phoenix-editnotice-leitfaden {
display: flex;
align-items: flex-start;
gap: 0.5em;
margin: 0.8em 0 0;
padding: 0.7em 1em;
background: #fdf2d9;
border: 2px solid #b8860b;
border-left: 6px solid #b8860b;
border-radius: 2px;
color: #443a2a;
font-size: 0.95em;
}
}
.phoenix-click-card:hover,
#phoenix-editnotice-leitfaden .phoenix-editnotice-icon {
.phoenix-click-card:focus-within {
flex: 0 0 auto;
  background: #efe6d5;
font-size: 1.4em;
  border-color: #a58e60;
line-height: 1.2;
  box-shadow: 0 3px 10px rgba(61, 48, 30, .16);
color: #b8860b;
  transform: translateY(-1px);
}
}
.phoenix-portal-card h3 a::after,
#phoenix-editnotice-leitfaden .phoenix-editnotice-text {
.phoenix-religion-card .phoenix-card-link a::after {
flex: 1 1 auto;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}
}
.phoenix-portal-card h3 a:focus-visible,
#phoenix-editnotice-leitfaden a {
.phoenix-religion-card .phoenix-card-link a:focus-visible {
font-weight: bold;
  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-ve-editnotice-icon {
.phoenix-map-marker {
display: inline-flex;
  color: #d01818 !important;
align-items: center;
  -webkit-text-stroke: 2px #000;
justify-content: center;
  paint-order: stroke fill;
align-self: center;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 0 5px #fff;
width: 2.86em;
  transition: color .15s ease;
height: 2.86em;
}
margin: 0 0.2em;
a:hover .phoenix-map-marker,
color: #b8860b;
a:focus .phoenix-map-marker {
font-size: 1.1em;
  color: #000 !important;
text-decoration: none;
}
cursor: pointer;
a:has(> .phoenix-map-marker) {
  text-decoration: none !important;
}
}
 
#phoenix-ve-editnotice-icon:hover {
 
color: #8a6508;
/* 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;
}
}

Aktuelle Version vom 9. September 2026, 05:33 Uhr

/* Die Phoenix-spezifischen Anpassungen (.phoenix-hero, Portal-Kacheln, Religions-Karten, Länderkarten-Marker, Infoboxen, mobiles Burger-Menü, Chip-Navigation, TOC-Tiefe, Chip-Design für Benutzer-/Aktionsmenü usw.) wurden in den PhoenixSkin-Fork übernommen (resources/phoenix-custom.less) und hier entfernt, da PhoenixSkin seit 2026-09-08 der Standard-Skin des Wikis ist. */

/* Hinweis-Box (Quelltext-Editor) und Symbol (VisualEditor) für den
   Redaktionsleitfaden im Bearbeiten-Modus (Inhalt wird per Common.js
   eingefuegt). Bewusst hier in Common.css statt im Skin hinterlegt,
   damit Farbe/Text direkt im Wiki angepasst werden koennen, ohne den
   Skin anzufassen. */
#phoenix-editnotice-leitfaden {
	display: flex;
	align-items: flex-start;
	gap: 0.5em;
	margin: 0.8em 0 0;
	padding: 0.7em 1em;
	background: #fdf2d9;
	border: 2px solid #b8860b;
	border-left: 6px solid #b8860b;
	border-radius: 2px;
	color: #443a2a;
	font-size: 0.95em;
}
#phoenix-editnotice-leitfaden .phoenix-editnotice-icon {
	flex: 0 0 auto;
	font-size: 1.4em;
	line-height: 1.2;
	color: #b8860b;
}
#phoenix-editnotice-leitfaden .phoenix-editnotice-text {
	flex: 1 1 auto;
}
#phoenix-editnotice-leitfaden a {
	font-weight: bold;
}

#phoenix-ve-editnotice-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	width: 2.86em;
	height: 2.86em;
	margin: 0 0.2em;
	color: #b8860b;
	font-size: 1.1em;
	text-decoration: none;
	cursor: pointer;
}
#phoenix-ve-editnotice-icon:hover {
	color: #8a6508;
}