MediaWiki:Common.css
Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.
- Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
- Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
- Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
/* =================================
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;
}
}