MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus SWPedia
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
/* =================================
/* =================================
   CHARACTER PROFILE - STYLE "SHADOW"
   CHARACTER PROFILE - STYLE "LIGHT / PAPER"
   ================================= */
   ================================= */


Zeile 6: Zeile 6:
     display: flex;
     display: flex;
     gap: 20px;
     gap: 20px;
     background-color: #1e1e1e; /* Dunkler Hintergrund */
     background-color: #fcfcfc; /* Fast Weißes Papier */
     padding: 20px;
     padding: 20px;
     border-radius: 4px;
     border-radius: 4px;
     border: 1px solid #333;
     border: 1px solid #ccc;   /* Zarter grauer Rahmen */
     color: #ddd;
     color: #333;               /* Dunkle Schrift für gute Lesbarkeit */
     font-family: 'Segoe UI', Tahoma, sans-serif;
     font-family: 'Segoe UI', Tahoma, sans-serif;
     max-width: 1100px;
     max-width: 1100px;
     margin: 1em 0;
     margin: 1em 0;
     box-shadow: 0 4px 10px rgba(0,0,0,0.5);
     box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* Sehr weicher Schatten */
}
}


Zeile 25: Zeile 25:
}
}


/* Bild-Container (Rahmenlos) */
/* Bild-Container */
.cc-image-box {
.cc-image-box {
     border: none;
     border: none;
     border-radius: 0; /* Keine runden Ecken */
     border-radius: 0;
     overflow: hidden;
     overflow: hidden;
     line-height: 0;
     line-height: 0;
     background: #000;
     background: #eee; /* Platzhalter-Grau falls Bild lädt */
     box-shadow: 0 4px 8px rgba(0,0,0,0.4);
     box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}
}


Zeile 41: Zeile 41:
}
}


/* Namens-Schild */
/* Namens-Schild (Heller Kasten) */
.cc-name-badge {
.cc-name-badge {
     background: #252525;
     background: #f0f0f0; /* Helles Grau */
     border: 1px solid #3a3a3a;
     border: 1px solid #dcdcdc;
     border-radius: 4px;
     border-radius: 4px;
     padding: 15px;
     padding: 15px;
     text-align: center;
     text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
}


Zeile 54: Zeile 53:
     font-size: 1.6em;
     font-size: 1.6em;
     font-weight: 800;
     font-weight: 800;
     color: #fff;
     color: #222;         /* Fast Schwarz */
     text-transform: uppercase;
     text-transform: uppercase;
     letter-spacing: 1px;
     letter-spacing: 1px;
Zeile 63: Zeile 62:
.cc-subtitle {
.cc-subtitle {
     font-size: 0.9em;
     font-size: 0.9em;
     color: #888;
     color: #666;         /* Mittelgrau */
     font-style: italic;
     font-style: italic;
     border-top: 1px solid #3a3a3a;
     border-top: 1px solid #ccc;
     padding-top: 8px;
     padding-top: 8px;
     margin-top: 8px;
     margin-top: 8px;
Zeile 75: Zeile 74:
     display: flex;
     display: flex;
     flex-direction: column;
     flex-direction: column;
     gap: 8px; /* Abstand zwischen den Riegeln */
     gap: 8px;
}
}


/* Daten-Riegel */
/* Daten-Riegel (Helles Design) */
.cc-data-row {
.cc-data-row {
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
     background: #2a2a2a;
     background: #fff;     /* Weißer Hintergrund */
     border: 1px solid #3a3a3a;
     border: 1px solid #ddd;
     border-radius: 4px;
     border-radius: 4px;
     overflow: hidden;
     overflow: hidden;
Zeile 90: Zeile 89:


.cc-label {
.cc-label {
     flex: 0 0 140px; /* Breite der Beschriftung */
     flex: 0 0 140px;
     background: #333;
     background: #eef2f5; /* Sehr helles Blau-Grau für Labels */
     color: #aaa;
     color: #555;         /* Dunkelgraue Schrift */
     font-weight: 700;
     font-weight: 700;
     text-transform: uppercase;
     text-transform: uppercase;
Zeile 99: Zeile 98:
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
     border-right: 1px solid #3a3a3a;
     border-right: 1px solid #ddd;
     letter-spacing: 0.5px;
     letter-spacing: 0.5px;
}
}
Zeile 106: Zeile 105:
     padding: 8px 15px;
     padding: 8px 15px;
     font-weight: 600;
     font-weight: 600;
     color: #eee;
     color: #000;         /* Schwarz für den Wert */
     flex: 1;
     flex: 1;
     font-size: 0.95em;
     font-size: 0.95em;
Zeile 117: Zeile 116:
     font-size: 1.1em;
     font-size: 1.1em;
     font-weight: 700;
     font-weight: 700;
     color: #d4a017; /* Gold */
     color: #b8860b;       /* Dunkles Gold/Bronze (gut lesbar auf Weiß) */
     border-bottom: 1px dashed #444;
     border-bottom: 1px dashed #bbb;
     padding-bottom: 5px;
     padding-bottom: 5px;
     text-transform: uppercase;
     text-transform: uppercase;
Zeile 124: Zeile 123:
}
}


/* Text-Block (Blocksatz) */
/* Text-Block (Papier-Stil) */
.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; /* Minimal abgedunkeltes Weiß */
     padding: 15px;
     padding: 15px;
    border: 1px solid #eee; /* Zarter Rand */
     border-radius: 4px;
     border-radius: 4px;
     text-align: justify; /* Blocksatz */
     text-align: justify;
     hyphens: auto;
     hyphens: auto;
}
}


/* --- LINK FARBEN (Überschreiben Wiki-Standard) --- */
/* --- LINK FARBEN (Angepasst für hellen Hintergrund) --- */
/* Normale Links -> Gold */
 
/* Normale Links -> Dunkles Gold/Bronze */
.char-card a,
.char-card a,
.char-card a:visited,
.char-card a:visited,
.char-card a.mw-redirect {
.char-card a.mw-redirect {
     color: #d4a017 !important;
     color: #b8860b !important; /* Dark Goldenrod */
     text-decoration: none;
     text-decoration: none;
     font-weight: bold;
     font-weight: bold;
Zeile 146: Zeile 147:
}
}


/* Hover -> Weiß */
/* Hover -> Dunkelgrau/Schwarz */
.char-card a:hover {
.char-card a:hover {
     color: #ffffff !important;
     color: #000000 !important;
     text-decoration: underline;
     text-decoration: underline;
    background-color: rgba(184, 134, 11, 0.1); /* Zarter Gold-Hintergrund bei Hover */
}
}


/* Fehlende Seiten (Redlink) -> Helles Rot */
/* Fehlende Seiten (Redlink) -> Standard Rot */
.char-card a.new,
.char-card a.new,
.char-card a.new:visited {
.char-card a.new:visited {
     color: #ff6b6b !important;
     color: #cc0000 !important;
}
}



Version vom 5. Januar 2026, 14:19 Uhr

/* =================================
   CHARACTER PROFILE - STYLE "LIGHT / PAPER"
   ================================= */

.char-card {
    display: flex;
    gap: 20px;
    background-color: #fcfcfc; /* Fast Weißes Papier */
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #ccc;    /* Zarter grauer Rahmen */
    color: #333;               /* Dunkle Schrift für gute Lesbarkeit */
    font-family: 'Segoe UI', Tahoma, sans-serif;
    max-width: 1100px;
    margin: 1em 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* Sehr weicher Schatten */
}

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

/* Bild-Container */
.cc-image-box {
    border: none;
    border-radius: 0;
    overflow: hidden;
    line-height: 0;
    background: #eee; /* Platzhalter-Grau falls Bild lädt */
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.cc-image-box img {
    width: 100%;
    height: auto;
    display: block;
}

/* Namens-Schild (Heller Kasten) */
.cc-name-badge {
    background: #f0f0f0;  /* Helles Grau */
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    padding: 15px;
    text-align: center;
}

.cc-name {
    font-size: 1.6em;
    font-weight: 800;
    color: #222;          /* Fast Schwarz */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    line-height: 1.1;
}

.cc-subtitle {
    font-size: 0.9em;
    color: #666;          /* Mittelgrau */
    font-style: italic;
    border-top: 1px solid #ccc;
    padding-top: 8px;
    margin-top: 8px;
}

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

/* Daten-Riegel (Helles Design) */
.cc-data-row {
    display: flex;
    align-items: center;
    background: #fff;     /* Weißer Hintergrund */
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    min-height: 38px;
}

.cc-label {
    flex: 0 0 140px;
    background: #eef2f5;  /* Sehr helles Blau-Grau für Labels */
    color: #555;          /* Dunkelgraue Schrift */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8em;
    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;
    color: #000;          /* Schwarz für den Wert */
    flex: 1;
    font-size: 0.95em;
}

/* Überschriften */
.cc-header {
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.1em;
    font-weight: 700;
    color: #b8860b;       /* Dunkles Gold/Bronze (gut lesbar auf Weiß) */
    border-bottom: 1px dashed #bbb;
    padding-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Text-Block (Papier-Stil) */
.cc-text {
    line-height: 1.6;
    color: #333;
    background: #f9f9f9;  /* Minimal abgedunkeltes Weiß */
    padding: 15px;
    border: 1px solid #eee; /* Zarter Rand */
    border-radius: 4px;
    text-align: justify;
    hyphens: auto;
}

/* --- LINK FARBEN (Angepasst für hellen Hintergrund) --- */

/* Normale Links -> Dunkles Gold/Bronze */
.char-card a,
.char-card a:visited,
.char-card a.mw-redirect {
    color: #b8860b !important; /* Dark Goldenrod */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

/* Hover -> Dunkelgrau/Schwarz */
.char-card a:hover {
    color: #000000 !important;
    text-decoration: underline;
    background-color: rgba(184, 134, 11, 0.1); /* Zarter Gold-Hintergrund bei Hover */
}

/* Fehlende Seiten (Redlink) -> Standard Rot */
.char-card a.new,
.char-card a.new:visited {
    color: #cc0000 !important;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 800px) {
    .char-card {
        flex-direction: column;
        padding: 15px;
    }
    .cc-left {
        flex: auto;
        width: 100%;
    }
    .cc-label {
        flex: 0 0 110px;
        font-size: 0.75em;
        padding: 8px 10px;
    }
}