MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus SWPedia
Zur Navigation springen Zur Suche springen
Die Seite wurde neu angelegt: „Das folgende CSS wird für alle Benutzeroberflächen geladen.: ========================= DOSSIER / AKTE – Layout =========================: .dossier { max-width: 980px; margin: 1em 0; border: 1px solid rgba(0,0,0,0.18); border-radius: 12px; overflow: hidden; background: rgba(255,255,255,0.55); } Header: .dossier-header { display: grid; grid-template-columns: 1fr auto; gap: 1em; align-items: center; padding: 1…“
 
Keine Bearbeitungszusammenfassung
 
(10 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);
 
    /* --- 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,


/* Header */
        /* OBEN RECHTS: 100% 0 ist die Ecke */
.dossier-header {
        100% 0, 100% 0,  calc(100% - 8px) 8px, calc(100% - 8px) 8px,
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1em;
  align-items: center;
  padding: 1em 1.1em;
  background: rgba(0,0,0,0.03);
   border-bottom: 1px solid rgba(0,0,0,0.12);
}


.dossier-kicker {
        /* UNTEN LINKS: 0 100% ist die Ecke */
  font-size: 0.85em;
        0 100%, 0 100%,   8px calc(100% - 8px), 8px calc(100% - 8px),
  font-weight: 800;
  letter-spacing: 0.08em;
   text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 0.25em;
}


.dossier-name {
        /* UNTEN RECHTS: 100% 100% ist die Ecke */
  font-size: 1.9em;
        100% 100%, 100% 100%, calc(100% - 8px) calc(100% - 8px), calc(100% - 8px) calc(100% - 8px);
  font-weight: 900;
  line-height: 1.05;
}


/* Stempel (Status) */
    background-repeat: no-repeat;
.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 */
/* Schrift-Reset */
.dossier-body {
.char-card, .char-card * {
  display: grid;
    font-family: 'Segoe UI', Tahoma, sans-serif !important;
  grid-template-columns: 320px 1fr;
  gap: 1em;
  padding: 1em 1.1em;
}
}


/* Linke Spalte (Bild & Tags) */
/* --- LINKE SPALTE --- */
.dossier-photo img {
.cc-left {
  width: 100%;
    flex: 0 0 350px;
  height: auto;
    display: flex;
  border-radius: 10px;
    flex-direction: column;
  border: 1px solid rgba(0,0,0,0.12);
    gap: 15px;
  display: block;
  background: rgba(0,0,0,0.02);
}
}


.dossier-tags {
.cc-image-box {
  margin-top: 0.9em;
    border: none;
  display: flex;
    background: #eee;
  flex-wrap: wrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  gap: 0.45em;
    line-height: 0;
}
}
.cc-image-box img { width: 100%; height: auto; display: block; }


/* Tag-Design */
.cc-name-badge {
.tag {
    background: #f4f4f4;
  display: inline-flex;
    border: 1px solid #ddd;
  align-items: center;
    border-radius: 4px;
  gap: 0.35em;
    padding: 15px;
  padding: 0.28em 0.65em;
    text-align: center;
  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);
}
}
 
.cc-name {
.tag a, .tag a:visited {
    font-size: 1.6em !important;
  color: inherit;
    font-weight: 800 !important;
  text-decoration: none;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    line-height: 1.1;
}
}
.tag a:hover {
.cc-subtitle {
  text-decoration: underline;
    font-size: 0.9em !important;
    color: #666;
    font-style: italic;
    border-top: 1px solid #ccc;
    padding-top: 8px;
    margin-top: 8px;
}
}


/* Tag-Farben */
/* --- RECHTE SPALTE --- */
.tag-guild  { background-color: rgba(70, 130, 180, 0.12); }
.cc-right {
.tag-class  { background-color: rgba(178, 34, 34, 0.12); }
    flex: 1;
.tag-species { background-color: rgba(46, 139, 87, 0.12); }
    display: flex;
.tag-location { background-color: rgba(138, 43, 226, 0.10); }
    flex-direction: column;
    gap: 8px;
}


/* Rechte Spalte (Boxen) */
.cc-data-row {
.dossier-section {
    display: flex;
  border: 1px solid rgba(0,0,0,0.12);
    align-items: center;
  border-radius: 12px;
    background: #fff;
  padding: 0.95em 1em;
    border: 1px solid #ddd;
  background: rgba(255,255,255,0.45);
    border-radius: 4px;
  margin-bottom: 0.9em;
    overflow: hidden;
    min-height: 38px;
}
}


.dossier-section-title {
.cc-label {
  font-weight: 900;
    flex: 0 0 140px;
  opacity: 0.75;
    background: #eef2f5;
  letter-spacing: 0.06em;
    color: #555;
  text-transform: uppercase;
    font-weight: 700 !important;
  margin-bottom: 0.7em;
    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;
}
}


/* Daten-Gitter */
.cc-value {
.dossier-grid {
    padding: 8px 15px;
  display: grid;
    font-weight: 600 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
    color: #000;
  gap: 0.75em;
    flex: 1;
    font-size: 0.95em !important;
}
}


.field {
.cc-header {
  border: 1px dashed rgba(0,0,0,0.18);
    margin-top: 25px;
  border-radius: 10px;
    margin-bottom: 10px;
  padding: 0.7em 0.8em;
    font-size: 1.1em !important;
  background: rgba(0,0,0,0.02);
    font-weight: 700 !important;
    color: #b8860b;
    border-bottom: 1px dashed #bbb;
    padding-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
}


.field-label {
.cc-text {
  font-size: 0.85em;
    line-height: 1.6;
  font-weight: 800;
    color: #333;
  opacity: 0.7;
    background: #f9f9f9;
  margin-bottom: 0.25em;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    text-align: justify;
    hyphens: auto;
}
}


.field-value {
/* LINKS */
  font-size: 1.05em;
.char-card a, .char-card a:visited, .char-card a.mw-redirect {
  font-weight: 800;
    color: #b8860b !important;
    text-decoration: none;
    font-weight: bold !important;
    transition: color 0.2s;
}
}
 
.char-card a:hover {
/* Notiz-Box */
    color: #000000 !important;
.dossier-note {
    text-decoration: underline;
  border-left: 4px solid rgba(0,0,0,0.18);
    background-color: rgba(184, 134, 11, 0.1);
  padding-left: 0.8em;
  line-height: 1.5;
  opacity: 0.95;
}
}
.char-card a.new { color: #cc0000 !important; }


/* Mobile Ansicht */
/* MOBILE */
@media (max-width: 760px) {
@media (max-width: 800px) {
  .dossier-body {
    .char-card { flex-direction: column; padding: 30px 20px; }
    grid-template-columns: 1fr;
     .cc-left { flex: auto; width: 100%; }
  }
  .dossier-name {
    text-align: center;
  }
  .dossier-stamp {
     justify-self: center;
  }
  .dossier-tags {
    justify-content: center;
  }
  .dossier-grid {
    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%; }
}