MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
/* ================================= | /* ================================= | ||
CHARACTER PROFILE - STYLE " | CHARACTER PROFILE - STYLE "LIGHT / PAPER" | ||
================================= */ | ================================= */ | ||
| Zeile 6: | Zeile 6: | ||
display: flex; | display: flex; | ||
gap: 20px; | gap: 20px; | ||
background-color: # | background-color: #fcfcfc; /* Fast Weißes Papier */ | ||
padding: 20px; | padding: 20px; | ||
border-radius: 4px; | border-radius: 4px; | ||
border: 1px solid # | border: 1px solid #ccc; /* Zarter grauer Rahmen */ | ||
color: # | 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 | box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* Sehr weicher Schatten */ | ||
} | } | ||
| Zeile 25: | Zeile 25: | ||
} | } | ||
/* Bild-Container | /* Bild-Container */ | ||
.cc-image-box { | .cc-image-box { | ||
border: none; | border: none; | ||
border-radius: 0; | border-radius: 0; | ||
overflow: hidden; | overflow: hidden; | ||
line-height: 0; | line-height: 0; | ||
background: # | background: #eee; /* Platzhalter-Grau falls Bild lädt */ | ||
box-shadow: 0 | 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: # | background: #f0f0f0; /* Helles Grau */ | ||
border: 1px solid # | border: 1px solid #dcdcdc; | ||
border-radius: 4px; | border-radius: 4px; | ||
padding: 15px; | padding: 15px; | ||
text-align: center; | text-align: center; | ||
} | } | ||
| Zeile 54: | Zeile 53: | ||
font-size: 1.6em; | font-size: 1.6em; | ||
font-weight: 800; | font-weight: 800; | ||
color: # | 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: # | color: #666; /* Mittelgrau */ | ||
font-style: italic; | font-style: italic; | ||
border-top: 1px solid # | 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; | 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: # | background: #fff; /* Weißer Hintergrund */ | ||
border: 1px solid # | 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; | flex: 0 0 140px; | ||
background: # | background: #eef2f5; /* Sehr helles Blau-Grau für Labels */ | ||
color: # | 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 # | 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: # | 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: # | color: #b8860b; /* Dunkles Gold/Bronze (gut lesbar auf Weiß) */ | ||
border-bottom: 1px dashed # | border-bottom: 1px dashed #bbb; | ||
padding-bottom: 5px; | padding-bottom: 5px; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
| Zeile 124: | Zeile 123: | ||
} | } | ||
/* Text-Block ( | /* Text-Block (Papier-Stil) */ | ||
.cc-text { | .cc-text { | ||
line-height: 1.6; | line-height: 1.6; | ||
color: # | color: #333; | ||
background: | background: #f9f9f9; /* Minimal abgedunkeltes Weiß */ | ||
padding: 15px; | padding: 15px; | ||
border: 1px solid #eee; /* Zarter Rand */ | |||
border-radius: 4px; | border-radius: 4px; | ||
text-align: justify; | text-align: justify; | ||
hyphens: auto; | hyphens: auto; | ||
} | } | ||
/* --- LINK FARBEN ( | /* --- 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: # | color: #b8860b !important; /* Dark Goldenrod */ | ||
text-decoration: none; | text-decoration: none; | ||
font-weight: bold; | font-weight: bold; | ||
| Zeile 146: | Zeile 147: | ||
} | } | ||
/* Hover -> | /* Hover -> Dunkelgrau/Schwarz */ | ||
.char-card a:hover { | .char-card a:hover { | ||
color: # | 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) -> | /* Fehlende Seiten (Redlink) -> Standard Rot */ | ||
.char-card a.new, | .char-card a.new, | ||
.char-card a.new:visited { | .char-card a.new:visited { | ||
color: # | 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;
}
}