MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus SWPedia
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(9 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* =================================
/* =========================
   CHARACTER PROFILE - "ROYAL FRAME" (SAFE MODE)
   DOSSIER / AKTE – Layout
   ================================= */
   ========================= */


.dossier {
.char-card {
  max-width: 980px;
    position: relative;
  margin: 1em 0;
    display: flex;
  border: 1px solid rgba(0,0,0,0.18);
    gap: 20px;
  border-radius: 12px;
    background-color: #fcfcfc;
  overflow: hidden;
    padding: 40px; /* Platz für die Ecken */
  background: rgba(255,255,255,0.55);
    border-radius: 4px;
}
    border: 1px solid #ccc;
    color: #333;
    max-width: 1100px;
    margin: 1em 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);


/* Header */
    /* --- HIER MALEN WIR DIE LINIEN (Als feste Blöcke) --- */
.dossier-header {
    background-image:
  display: grid;
        /* === OBEN LINKS === */
  grid-template-columns: 1fr auto;
        /* Dicke Linie (Horizontal & Vertikal) */
  gap: 1em;
        linear-gradient(#b8860b, #b8860b), linear-gradient(#b8860b, #b8860b),
  align-items: center;
        /* Feine Linie (Horizontal & Vertikal) */
  padding: 1em 1.1em;
        linear-gradient(#b8860b, #b8860b), linear-gradient(#b8860b, #b8860b),
  background: rgba(0,0,0,0.03);
  border-bottom: 1px solid rgba(0,0,0,0.12);
}


.dossier-kicker {
        /* === OBEN RECHTS === */
  font-size: 0.85em;
        linear-gradient(#b8860b, #b8860b), linear-gradient(#b8860b, #b8860b),
  font-weight: 800;
        linear-gradient(#b8860b, #b8860b), linear-gradient(#b8860b, #b8860b),
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 0.25em;
}


.dossier-name {
        /* === UNTEN LINKS === */
  font-size: 1.9em;
        linear-gradient(#b8860b, #b8860b), linear-gradient(#b8860b, #b8860b),
  font-weight: 900;
        linear-gradient(#b8860b, #b8860b), linear-gradient(#b8860b, #b8860b),
  line-height: 1.05;
}


/* Stempel (Status) */
        /* === UNTEN RECHTS === */
.dossier-stamp {
        linear-gradient(#b8860b, #b8860b), linear-gradient(#b8860b, #b8860b),
  padding: 0.45em 0.8em;
        linear-gradient(#b8860b, #b8860b), linear-gradient(#b8860b, #b8860b);
  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 */
    /* --- GRÖSSE DER LINIEN (Breite x Höhe) --- */
.dossier-body {
    background-size:
  display: grid;
        /* OL: Dick (50px lang, 3px breit) / Fein (35px lang, 1px breit) */
  grid-template-columns: 320px 1fr;
        50px 3px, 3px 50px,  35px 1px, 1px 35px,
  gap: 1em;
        /* OR: Dick / Fein */
  padding: 1em 1.1em;
        50px 3px, 3px 50px,  35px 1px, 1px 35px,
}
        /* UL: Dick / Fein */
        50px 3px, 3px 50px,  35px 1px, 1px 35px,
        /* UR: Dick / Fein */
        50px 3px, 3px 50px,  35px 1px, 1px 35px;


/* Linke Spalte (Bild & Tags) */
    /* --- POSITION DER LINIEN --- */
.dossier-photo img {
    background-position:
  width: 100%;
        /* OBEN LINKS: 0/0 ist die Ecke, 8px/8px ist der Abstand der feinen Linie */
  height: auto;
        0 0, 0 0,   8px 8px, 8px 8px,
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.12);
  display: block;
  background: rgba(0,0,0,0.02);
}


.dossier-tags {
        /* OBEN RECHTS: 100% 0 ist die Ecke */
  margin-top: 0.9em;
        100% 0, 100% 0,  calc(100% - 8px) 8px, calc(100% - 8px) 8px,
  display: flex;
  flex-wrap: wrap;
  gap: 0.45em;
}
 
/* Tag-Design */
.tag {
  display: inline-flex;
  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 {
        /* UNTEN LINKS: 0 100% ist die Ecke */
  color: inherit;
        0 100%, 0 100%,   8px calc(100% - 8px), 8px calc(100% - 8px),
   text-decoration: none;
}
.tag a:hover {
  text-decoration: underline;
}


/* Tag-Farben */
        /* UNTEN RECHTS: 100% 100% ist die Ecke */
.tag-guild  { background-color: rgba(70, 130, 180, 0.12); }
        100% 100%, 100% 100%, calc(100% - 8px) calc(100% - 8px), calc(100% - 8px) calc(100% - 8px);
.tag-class  { background-color: rgba(178, 34, 34, 0.12); }
.tag-species { background-color: rgba(46, 139, 87, 0.12); }
.tag-location { background-color: rgba(138, 43, 226, 0.10); }


/* Rechte Spalte (Boxen) */
    background-repeat: no-repeat;
.dossier-section {
  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 {
/* Schrift-Reset */
  font-weight: 900;
.char-card, .char-card * {
  opacity: 0.75;
    font-family: 'Segoe UI', Tahoma, sans-serif !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.7em;
}
}


/* Daten-Gitter */
/* --- LINKE SPALTE --- */
.dossier-grid {
.cc-left {
  display: grid;
    flex: 0 0 350px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
    display: flex;
  gap: 0.75em;
    flex-direction: column;
    gap: 15px;
}
}


.field {
.cc-image-box {
  border: 1px dashed rgba(0,0,0,0.18);
    border: none;
  border-radius: 10px;
    background: #eee;
  padding: 0.7em 0.8em;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  background: rgba(0,0,0,0.02);
    line-height: 0;
}
}
.cc-image-box img { width: 100%; height: auto; display: block; }


.field-label {
.cc-name-badge {
  font-size: 0.85em;
    background: #f4f4f4;
  font-weight: 800;
    border: 1px solid #ddd;
  opacity: 0.7;
    border-radius: 4px;
  margin-bottom: 0.25em;
    padding: 15px;
}
 
.field-value {
  font-size: 1.05em;
  font-weight: 800;
}
 
/* Notiz-Box */
.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;
     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 */
}
}
 
.cc-name {
/* Bild-Bereich links */
    font-size: 1.6em !important;
.pb-image {
    font-weight: 800 !important;
  flex: 0 0 220px; /* Feste Breite */
    color: #222;
  position: relative;
    text-transform: uppercase;
  background: #000;
    letter-spacing: 1px;
  min-height: 220px;
    margin-bottom: 5px;
    line-height: 1.1;
}
}
 
.cc-subtitle {
.pb-image img {
    font-size: 0.9em !important;
  width: 100%;
    color: #666;
  height: 100%;
    font-style: italic;
  object-fit: cover; /* Bild füllt Bereich, schneidet Ränder ab */
    border-top: 1px solid #ccc;
  display: block;
    padding-top: 8px;
  opacity: 0.9;
    margin-top: 8px;
}
}


/* Inhalt rechts */
/* --- RECHTE SPALTE --- */
.pb-content {
.cc-right {
  flex: 1;
    flex: 1;
  padding: 1.2em 1.5em;
    display: flex;
  display: flex;
    flex-direction: column;
  flex-direction: column;
    gap: 8px;
}
}


/* Kopfzeile: Name & Status */
.cc-data-row {
.pb-header {
    display: flex;
  display: flex;
    align-items: center;
  justify-content: space-between;
    background: #fff;
  align-items: center;
    border: 1px solid #ddd;
  border-bottom: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
  padding-bottom: 0.6em;
    overflow: hidden;
  margin-bottom: 0.8em;
    min-height: 38px;
}
}


.pb-name {
.cc-label {
  font-size: 2em;
    flex: 0 0 140px;
  font-weight: 800;
    background: #eef2f5;
  text-transform: uppercase;
    color: #555;
  letter-spacing: 0.05em;
    font-weight: 700 !important;
  line-height: 1;
    text-transform: uppercase;
    font-size: 0.8em !important;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    border-right: 1px solid #ddd;
    letter-spacing: 0.5px;
}
}


.pb-status {
.cc-value {
  background: rgba(255,255,255,0.15);
    padding: 8px 15px;
  padding: 0.3em 0.8em;
    font-weight: 600 !important;
  border-radius: 4px;
    color: #000;
  font-size: 0.8em;
    flex: 1;
  font-weight: bold;
    font-size: 0.95em !important;
  text-transform: uppercase;
  color: #fff;
}
}


/* Infos & Tags */
.cc-header {
.pb-details {
    margin-top: 25px;
  display: flex;
    margin-bottom: 10px;
  flex-wrap: wrap;
    font-size: 1.1em !important;
  gap: 0.8em;
    font-weight: 700 !important;
  margin-bottom: 1em;
    color: #b8860b;
    border-bottom: 1px dashed #bbb;
    padding-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
}


.pb-tag {
.cc-text {
  background: rgba(0,0,0,0.3);
    line-height: 1.6;
  padding: 0.4em 0.8em;
    color: #333;
  border-radius: 4px;
    background: #f9f9f9;
  font-size: 0.9em;
    padding: 15px;
  border: 1px solid rgba(255,255,255,0.1);
    border: 1px solid #eee;
    border-radius: 4px;
    text-align: justify;
    hyphens: auto;
}
}
.pb-tag a { color: #fff; font-weight: bold; }


/* Grid für Daten unten */
/* LINKS */
.pb-stats {
.char-card a, .char-card a:visited, .char-card a.mw-redirect {
  margin-top: auto; /* Drückt Bereich nach unten */
    color: #b8860b !important;
  display: grid;
    text-decoration: none;
  grid-template-columns: repeat(3, auto);
    font-weight: bold !important;
  gap: 1.5em;
    transition: color 0.2s;
  background: rgba(0,0,0,0.2);
  padding: 0.8em;
  border-radius: 6px;
}
}
 
.char-card a:hover {
.stat-box { display: flex; flex-direction: column; }
    color: #000000 !important;
.stat-label { font-size: 0.7em; text-transform: uppercase; opacity: 0.6; }
    text-decoration: underline;
.stat-value { font-size: 1.1em; font-weight: bold; }
    background-color: rgba(184, 134, 11, 0.1);
 
/* Zitat / Notiz */
.pb-quote {
  font-style: italic;
  opacity: 0.8;
  margin-bottom: 1em;
  font-family: serif;
}
}
.char-card a.new { color: #cc0000 !important; }


/* Mobile Ansicht */
/* MOBILE */
@media (max-width: 700px) {
@media (max-width: 800px) {
  .player-banner { flex-direction: column; }
    .char-card { flex-direction: column; padding: 30px 20px; }
  .pb-image { height: 250px; flex: auto; width: 100%; }
    .cc-left { flex: auto; width: 100%; }
  .pb-stats { grid-template-columns: 1fr; }
}
}

Aktuelle Version vom 5. Januar 2026, 14:39 Uhr

/* =================================
   CHARACTER PROFILE - "ROYAL FRAME" (SAFE MODE)
   ================================= */

.char-card {
    position: relative;
    display: flex;
    gap: 20px;
    background-color: #fcfcfc;
    padding: 40px; /* Platz für die Ecken */
    border-radius: 4px;
    border: 1px solid #ccc;
    color: #333;
    max-width: 1100px;
    margin: 1em 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);

    /* --- HIER MALEN WIR DIE LINIEN (Als feste Blöcke) --- */
    background-image:
        /* === OBEN LINKS === */
        /* Dicke Linie (Horizontal & Vertikal) */
        linear-gradient(#b8860b, #b8860b), linear-gradient(#b8860b, #b8860b),
        /* Feine Linie (Horizontal & Vertikal) */
        linear-gradient(#b8860b, #b8860b), linear-gradient(#b8860b, #b8860b),

        /* === OBEN RECHTS === */
        linear-gradient(#b8860b, #b8860b), linear-gradient(#b8860b, #b8860b),
        linear-gradient(#b8860b, #b8860b), linear-gradient(#b8860b, #b8860b),

        /* === UNTEN LINKS === */
        linear-gradient(#b8860b, #b8860b), linear-gradient(#b8860b, #b8860b),
        linear-gradient(#b8860b, #b8860b), linear-gradient(#b8860b, #b8860b),

        /* === UNTEN RECHTS === */
        linear-gradient(#b8860b, #b8860b), linear-gradient(#b8860b, #b8860b),
        linear-gradient(#b8860b, #b8860b), linear-gradient(#b8860b, #b8860b);

    /* --- GRÖSSE DER LINIEN (Breite x Höhe) --- */
    background-size:
        /* OL: Dick (50px lang, 3px breit) / Fein (35px lang, 1px breit) */
        50px 3px, 3px 50px,  35px 1px, 1px 35px,
        /* OR: Dick / Fein */
        50px 3px, 3px 50px,  35px 1px, 1px 35px,
        /* UL: Dick / Fein */
        50px 3px, 3px 50px,  35px 1px, 1px 35px,
        /* UR: Dick / Fein */
        50px 3px, 3px 50px,  35px 1px, 1px 35px;

    /* --- POSITION DER LINIEN --- */
    background-position:
        /* OBEN LINKS: 0/0 ist die Ecke, 8px/8px ist der Abstand der feinen Linie */
        0 0,  0 0,    8px 8px,  8px 8px,

        /* OBEN RECHTS: 100% 0 ist die Ecke */
        100% 0, 100% 0,   calc(100% - 8px) 8px, calc(100% - 8px) 8px,

        /* UNTEN LINKS: 0 100% ist die Ecke */
        0 100%, 0 100%,   8px calc(100% - 8px), 8px calc(100% - 8px),

        /* UNTEN RECHTS: 100% 100% ist die Ecke */
        100% 100%, 100% 100%, calc(100% - 8px) calc(100% - 8px), calc(100% - 8px) calc(100% - 8px);

    background-repeat: no-repeat;
}

/* Schrift-Reset */
.char-card, .char-card * {
    font-family: 'Segoe UI', Tahoma, sans-serif !important;
}

/* --- LINKE SPALTE --- */
.cc-left {
    flex: 0 0 350px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cc-image-box {
    border: none;
    background: #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    line-height: 0;
}
.cc-image-box img { width: 100%; height: auto; display: block; }

.cc-name-badge {
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    text-align: center;
}
.cc-name {
    font-size: 1.6em !important;
    font-weight: 800 !important;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    line-height: 1.1;
}
.cc-subtitle {
    font-size: 0.9em !important;
    color: #666;
    font-style: italic;
    border-top: 1px solid #ccc;
    padding-top: 8px;
    margin-top: 8px;
}

/* --- RECHTE SPALTE --- */
.cc-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cc-data-row {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    min-height: 38px;
}

.cc-label {
    flex: 0 0 140px;
    background: #eef2f5;
    color: #555;
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 0.8em !important;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    border-right: 1px solid #ddd;
    letter-spacing: 0.5px;
}

.cc-value {
    padding: 8px 15px;
    font-weight: 600 !important;
    color: #000;
    flex: 1;
    font-size: 0.95em !important;
}

.cc-header {
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.1em !important;
    font-weight: 700 !important;
    color: #b8860b;
    border-bottom: 1px dashed #bbb;
    padding-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cc-text {
    line-height: 1.6;
    color: #333;
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    text-align: justify;
    hyphens: auto;
}

/* LINKS */
.char-card a, .char-card a:visited, .char-card a.mw-redirect {
    color: #b8860b !important;
    text-decoration: none;
    font-weight: bold !important;
    transition: color 0.2s;
}
.char-card a:hover {
    color: #000000 !important;
    text-decoration: underline;
    background-color: rgba(184, 134, 11, 0.1);
}
.char-card a.new { color: #cc0000 !important; }

/* MOBILE */
@media (max-width: 800px) {
    .char-card { flex-direction: column; padding: 30px 20px; }
    .cc-left { flex: auto; width: 100%; }
}