MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus SWPedia
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(7 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
/* =================================
/* =================================
   CHARACTER PROFILE - STYLE "KAGEROU"
   CHARACTER PROFILE - "ROYAL FRAME" (SAFE MODE)
   ================================= */
   ================================= */


.char-card {
.char-card {
    position: relative;
     display: flex;
     display: flex;
     gap: 20px;
     gap: 20px;
     background-color: #1e1e1e; /* Dunkler Hintergrund Container */
     background-color: #fcfcfc;
     padding: 20px;
     padding: 40px; /* Platz für die Ecken */
     border-radius: 15px;
     border-radius: 4px;
     border: 1px solid #333;
     border: 1px solid #ccc;
     color: #ddd;
     color: #333;
    font-family: 'Segoe UI', sans-serif;
     max-width: 1100px;
     max-width: 1100px;
     margin: 1em 0;
     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 (Bild & Name) --- */
/* --- LINKE SPALTE --- */
.cc-left {
.cc-left {
     flex: 0 0 350px; /* Feste Breite für die linke Spalte */
     flex: 0 0 350px;
     display: flex;
     display: flex;
     flex-direction: column;
     flex-direction: column;
Zeile 25: Zeile 78:


.cc-image-box {
.cc-image-box {
     background: #111;
     border: none;
     border: 5px solid #2a2a2a; /* Dicker Rahmen wie im Bild */
     background: #eee;
     border-radius: 12px;
     box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    overflow: hidden;
     line-height: 0;
     line-height: 0;
}
}
.cc-image-box img { width: 100%; height: auto; display: block; }


.cc-image-box img {
    width: 100%;
    height: auto;
    display: block;
}
/* Der Namens-Kasten unter dem Bild */
.cc-name-badge {
.cc-name-badge {
     background: #2d2d2d;
     background: #f4f4f4;
     border: 1px solid #444;
     border: 1px solid #ddd;
     border-radius: 10px;
     border-radius: 4px;
     padding: 15px;
     padding: 15px;
     text-align: center;
     text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}
}
.cc-name {
.cc-name {
     font-size: 1.8em;
     font-size: 1.6em !important;
     font-weight: 800;
     font-weight: 800 !important;
     color: #fff;
     color: #222;
     text-transform: uppercase;
     text-transform: uppercase;
     letter-spacing: 1px;
     letter-spacing: 1px;
     margin-bottom: 5px;
     margin-bottom: 5px;
    line-height: 1.1;
}
}
.cc-subtitle {
.cc-subtitle {
     font-size: 0.9em;
     font-size: 0.9em !important;
     color: #aaa;
     color: #666;
     font-style: italic;
     font-style: italic;
     border-top: 1px solid #444;
     border-top: 1px solid #ccc;
     padding-top: 5px;
     padding-top: 8px;
     margin-top: 5px;
     margin-top: 8px;
}
}


/* --- RECHTE SPALTE (Daten & Text) --- */
/* --- RECHTE SPALTE --- */
.cc-right {
.cc-right {
     flex: 1;
     flex: 1;
     display: flex;
     display: flex;
     flex-direction: column;
     flex-direction: column;
     gap: 10px;
     gap: 8px;
}
}


/* Daten-Riegel (Zeilen) */
.cc-data-row {
.cc-data-row {
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
     background: #2a2a2a; /* Riegel Hintergrund */
     background: #fff;
     border: 1px solid #3d3d3d;
     border: 1px solid #ddd;
     border-radius: 8px;
     border-radius: 4px;
    padding: 0;
     overflow: hidden;
     overflow: hidden;
     min-height: 40px;
     min-height: 38px;
}
}


.cc-label {
.cc-label {
     flex: 0 0 140px; /* Breite der Beschriftung links */
     flex: 0 0 140px;
     background: #333;
     background: #eef2f5;
     color: #bbb;
     color: #555;
     font-weight: 800;
     font-weight: 700 !important;
     text-transform: uppercase;
     text-transform: uppercase;
     font-size: 0.85em;
     font-size: 0.8em !important;
     padding: 10px 15px;
     padding: 8px 15px;
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
     border-right: 1px solid #3d3d3d;
     border-right: 1px solid #ddd;
    letter-spacing: 0.5px;
}
}


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


/* Überschriften für Textbereiche */
.cc-header {
.cc-header {
     margin-top: 20px;
     margin-top: 25px;
     margin-bottom: 10px;
     margin-bottom: 10px;
     font-size: 1.2em;
     font-size: 1.1em !important;
     font-weight: 700;
     font-weight: 700 !important;
     color: #d4a017; /* Akzentfarbe (Gold) */
     color: #b8860b;
     border-bottom: 2px dashed #444;
     border-bottom: 1px dashed #bbb;
     padding-bottom: 5px;
     padding-bottom: 5px;
     text-transform: uppercase;
     text-transform: uppercase;
    letter-spacing: 1px;
}
}


.cc-text {
.cc-text {
     line-height: 1.6;
     line-height: 1.6;
     color: #ccc;
     color: #333;
     background: rgba(0,0,0,0.2);
     background: #f9f9f9;
     padding: 15px;
     padding: 15px;
     border-radius: 8px;
    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 Ansicht */
/* MOBILE */
@media (max-width: 800px) {
@media (max-width: 800px) {
     .char-card { flex-direction: column; }
     .char-card { flex-direction: column; padding: 30px 20px; }
     .cc-left { flex: auto; width: 100%; }
     .cc-left { flex: auto; width: 100%; }
    .cc-label { flex: 0 0 110px; font-size: 0.8em; }
}
}

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%; }
}