MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus SWPedia
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* =========================
/* =========================
   DOSSIER / AKTE – Layout
   SCHATTENWELT - PROFILE STYLE
   ========================= */
   ========================= */


.dossier {
.char-profile-box {
   max-width: 980px;
   background-color: #222;      /* var(--box-bg) */
  border: 1px solid #444;      /* var(--box-border) */
  border-radius: 8px;
  color: #e0e0e0;              /* var(--text-color) */
  font-family: 'Segoe UI', Tahoma, sans-serif;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
   margin: 1em 0;
   margin: 1em 0;
   border: 1px solid rgba(0,0,0,0.18);
   display: flex;
  border-radius: 12px;
   overflow: hidden;
   overflow: hidden;
  background: rgba(255,255,255,0.55);
}
}


/* Header */
/* Linker Bereich: Bild */
.dossier-header {
.cp-image {
   display: grid;
   flex: 0 0 200px;
   grid-template-columns: 1fr auto;
   background: #000;
   gap: 1em;
   border-right: 1px solid #444;
  align-items: center;
   position: relative;
   padding: 1em 1.1em;
  background: rgba(0,0,0,0.03);
  border-bottom: 1px solid rgba(0,0,0,0.12);
}
}


.dossier-kicker {
.cp-image img {
  font-size: 0.85em;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 0.25em;
}
 
.dossier-name {
  font-size: 1.9em;
  font-weight: 900;
  line-height: 1.05;
}
 
/* Stempel (Status) */
.dossier-stamp {
  padding: 0.45em 0.8em;
  border: 2px solid rgba(0,0,0,0.35);
  border-radius: 8px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
  transform: rotate(-3deg);
  background: rgba(255,255,255,0.35);
  white-space: nowrap;
}
 
/* Body Layout */
.dossier-body {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1em;
  padding: 1em 1.1em;
}
 
/* Linke Spalte (Bild & Tags) */
.dossier-photo img {
   width: 100%;
   width: 100%;
   height: auto;
   height: 100%;
   border-radius: 10px;
   object-fit: cover;
  border: 1px solid rgba(0,0,0,0.12);
   display: block;
   display: block;
   background: rgba(0,0,0,0.02);
   opacity: 0.9;
}
}


.dossier-tags {
/* Rechter Bereich: Daten */
   margin-top: 0.9em;
.cp-content {
   flex: 1;
  padding: 20px;
   display: flex;
   display: flex;
   flex-wrap: wrap;
   flex-direction: column;
  gap: 0.45em;
}
}


/* Tag-Design */
/* Kopfzeile */
.tag {
.cp-header {
   display: inline-flex;
  border-bottom: 1px solid #444;
  padding-bottom: 10px;
  margin-bottom: 15px;
   display: flex;
  justify-content: space-between;
   align-items: center;
   align-items: center;
  gap: 0.35em;
  padding: 0.28em 0.65em;
  border-radius: 999px;
  font-size: 0.92em;
  white-space: nowrap;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.12);
}
}


.tag a, .tag a:visited {
.cp-name {
   color: inherit;
   color: #d4a017; /* var(--accent) */
   text-decoration: none;
   font-size: 1.5em;
}
  font-weight: bold;
.tag a:hover {
   margin: 0;
   text-decoration: underline;
}
}


/* Tag-Farben */
.cp-status {
.tag-guild  { background-color: rgba(70, 130, 180, 0.12); }
   background: rgba(212, 160, 23, 0.1); /* Gold transparent */
.tag-class   { background-color: rgba(178, 34, 34, 0.12); }
   border: 1px solid #d4a017;
.tag-species { background-color: rgba(46, 139, 87, 0.12); }
   color: #d4a017;
.tag-location { background-color: rgba(138, 43, 226, 0.10); }
   padding: 2px 8px;
 
  font-size: 0.8em;
/* Rechte Spalte (Boxen) */
   border-radius: 4px;
.dossier-section {
   text-transform: uppercase;
   border: 1px solid rgba(0,0,0,0.12);
   border-radius: 12px;
   padding: 0.95em 1em;
   background: rgba(255,255,255,0.45);
   margin-bottom: 0.9em;
}
}


.dossier-section-title {
/* Zitat */
   font-weight: 900;
.cp-quote {
   opacity: 0.75;
   font-style: italic;
   letter-spacing: 0.06em;
   color: #aaa; /* dimmed */
   text-transform: uppercase;
   margin-bottom: 20px;
   margin-bottom: 0.7em;
   padding-left: 10px;
   border-left: 3px solid #444;
}
}


/* Daten-Gitter */
/* Stats (Zeilen-Look wie Server Status) */
.dossier-grid {
.cp-stats-grid {
   display: grid;
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   grid-template-columns: 1fr 1fr; /* Zwei Spalten */
   gap: 0.75em;
   gap: 20px;
}
 
.field {
  border: 1px dashed rgba(0,0,0,0.18);
  border-radius: 10px;
  padding: 0.7em 0.8em;
  background: rgba(0,0,0,0.02);
}
 
.field-label {
  font-size: 0.85em;
  font-weight: 800;
  opacity: 0.7;
  margin-bottom: 0.25em;
}
 
.field-value {
  font-size: 1.05em;
  font-weight: 800;
}
}


/* Notiz-Box */
.cp-stat-col {
.dossier-note {
  border-left: 4px solid rgba(0,0,0,0.18);
  padding-left: 0.8em;
  line-height: 1.5;
  opacity: 0.95;
}
 
/* Mobile Ansicht */
@media (max-width: 760px) {
  .dossier-body {
    grid-template-columns: 1fr;
  }
  .dossier-name {
    text-align: center;
  }
  .dossier-stamp {
    justify-self: center;
  }
  .dossier-tags {
    justify-content: center;
  }
  .dossier-grid {
    grid-template-columns: 1fr;
  }
}
 
/* =========================
  SPIELER-BANNER (Horizontal)
  ========================= */
 
.player-banner {
  display: flex;
  background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%); /* Dunkler Hintergrund */
  color: #ecf0f1; /* Helle Schrift */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  margin: 1em 0;
  border-left: 6px solid #c0392b; /* Roter Akzent-Streifen links */
}
 
/* Bild-Bereich links */
.pb-image {
  flex: 0 0 220px; /* Feste Breite */
  position: relative;
  background: #000;
  min-height: 220px;
}
 
.pb-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Bild füllt Bereich, schneidet Ränder ab */
  display: block;
  opacity: 0.9;
}
 
/* Inhalt rechts */
.pb-content {
  flex: 1;
  padding: 1.2em 1.5em;
   display: flex;
   display: flex;
   flex-direction: column;
   flex-direction: column;
  gap: 0;
}
}


/* Kopfzeile: Name & Status */
.cp-row {
.pb-header {
  padding: 8px;
  border-bottom: 1px solid #333;
   display: flex;
   display: flex;
   justify-content: space-between;
   justify-content: space-between;
   align-items: center;
   font-size: 0.95em;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 0.6em;
  margin-bottom: 0.8em;
}
}


.pb-name {
.cp-label {
  font-size: 2em;
   font-weight: bold;
   font-weight: 800;
   color: #aaa;
   text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}
}


.pb-status {
.cp-val {
  background: rgba(255,255,255,0.15);
  padding: 0.3em 0.8em;
  border-radius: 4px;
  font-size: 0.8em;
  font-weight: bold;
  text-transform: uppercase;
   color: #fff;
   color: #fff;
  text-align: right;
  font-family: monospace;
}
}


/* Infos & Tags */
.cp-val a {
.pb-details {
   color: #d4a017;
   display: flex;
   text-decoration: none;
  flex-wrap: wrap;
   font-weight: bold;
  gap: 0.8em;
  margin-bottom: 1em;
}
 
.pb-tag {
  background: rgba(0,0,0,0.3);
  padding: 0.4em 0.8em;
  border-radius: 4px;
  font-size: 0.9em;
  border: 1px solid rgba(255,255,255,0.1);
}
.pb-tag a { color: #fff; font-weight: bold; }
 
/* Grid für Daten unten */
.pb-stats {
   margin-top: auto; /* Drückt Bereich nach unten */
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 1.5em;
   background: rgba(0,0,0,0.2);
  padding: 0.8em;
  border-radius: 6px;
}
 
.stat-box { display: flex; flex-direction: column; }
.stat-label { font-size: 0.7em; text-transform: uppercase; opacity: 0.6; }
.stat-value { font-size: 1.1em; font-weight: bold; }
 
/* Zitat / Notiz */
.pb-quote {
  font-style: italic;
  opacity: 0.8;
  margin-bottom: 1em;
  font-family: serif;
}
}
.cp-val a:hover { text-decoration: underline; }


/* Mobile Ansicht */
/* Mobile Anpassung */
@media (max-width: 700px) {
@media (max-width: 700px) {
   .player-banner { flex-direction: column; }
   .char-profile-box { flex-direction: column; }
   .pb-image { height: 250px; flex: auto; width: 100%; }
   .cp-image { height: 200px; border-right: none; border-bottom: 1px solid #444; }
   .pb-stats { grid-template-columns: 1fr; }
   .cp-stats-grid { grid-template-columns: 1fr; gap: 0; }
}
}

Version vom 5. Januar 2026, 13:18 Uhr

/* =========================
   SCHATTENWELT - PROFILE STYLE
   ========================= */

.char-profile-box {
  background-color: #222;       /* var(--box-bg) */
  border: 1px solid #444;       /* var(--box-border) */
  border-radius: 8px;
  color: #e0e0e0;               /* var(--text-color) */
  font-family: 'Segoe UI', Tahoma, sans-serif;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  margin: 1em 0;
  display: flex;
  overflow: hidden;
}

/* Linker Bereich: Bild */
.cp-image {
  flex: 0 0 200px;
  background: #000;
  border-right: 1px solid #444;
  position: relative;
}

.cp-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.9;
}

/* Rechter Bereich: Daten */
.cp-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

/* Kopfzeile */
.cp-header {
  border-bottom: 1px solid #444;
  padding-bottom: 10px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cp-name {
  color: #d4a017; /* var(--accent) */
  font-size: 1.5em;
  font-weight: bold;
  margin: 0;
}

.cp-status {
  background: rgba(212, 160, 23, 0.1); /* Gold transparent */
  border: 1px solid #d4a017;
  color: #d4a017;
  padding: 2px 8px;
  font-size: 0.8em;
  border-radius: 4px;
  text-transform: uppercase;
}

/* Zitat */
.cp-quote {
  font-style: italic;
  color: #aaa; /* dimmed */
  margin-bottom: 20px;
  padding-left: 10px;
  border-left: 3px solid #444;
}

/* Stats (Zeilen-Look wie Server Status) */
.cp-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Zwei Spalten */
  gap: 20px;
}

.cp-stat-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cp-row {
  padding: 8px;
  border-bottom: 1px solid #333;
  display: flex;
  justify-content: space-between;
  font-size: 0.95em;
}

.cp-label {
  font-weight: bold;
  color: #aaa;
}

.cp-val {
  color: #fff;
  text-align: right;
  font-family: monospace;
}

.cp-val a {
  color: #d4a017;
  text-decoration: none;
  font-weight: bold;
}
.cp-val a:hover { text-decoration: underline; }

/* Mobile Anpassung */
@media (max-width: 700px) {
  .char-profile-box { flex-direction: column; }
  .cp-image { height: 200px; border-right: none; border-bottom: 1px solid #444; }
  .cp-stats-grid { grid-template-columns: 1fr; gap: 0; }
}