MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| (4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
/* ================================= | /* ================================= | ||
CHARACTER PROFILE - "ROYAL FRAME" (SAFE MODE) | |||
CHARACTER PROFILE - | |||
================================= */ | ================================= */ | ||
.char-card { | .char-card { | ||
position: relative; | |||
display: flex; | display: flex; | ||
gap: 20px; | gap: 20px; | ||
background-color: # | background-color: #fcfcfc; | ||
padding: | padding: 40px; /* Platz für die Ecken */ | ||
border-radius: | border-radius: 4px; | ||
border: 1px solid # | border: 1px solid #ccc; | ||
color: # | color: #333; | ||
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; | |||
} | } | ||
/* --- LINKE SPALTE | /* Schrift-Reset */ | ||
.char-card, .char-card * { | |||
font-family: 'Segoe UI', Tahoma, sans-serif !important; | |||
} | |||
/* --- LINKE SPALTE --- */ | |||
.cc-left { | .cc-left { | ||
flex: 0 0 350px; | flex: 0 0 350px; | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
| Zeile 29: | Zeile 78: | ||
.cc-image-box { | .cc-image-box { | ||
border: none; | |||
background: #eee; | |||
box-shadow: 0 2px 5px rgba(0,0,0,0.15); | |||
line-height: 0; | line-height: 0; | ||
} | } | ||
.cc-image-box img { width: 100%; height: auto; display: block; } | |||
.cc-name-badge { | .cc-name-badge { | ||
background: # | background: #f4f4f4; | ||
border: 1px solid # | border: 1px solid #ddd; | ||
border-radius: | border-radius: 4px; | ||
padding: 15px; | padding: 15px; | ||
text-align: center; | text-align: center; | ||
} | } | ||
.cc-name { | .cc-name { | ||
font-size: 1. | font-size: 1.6em !important; | ||
font-weight: 800; | font-weight: 800 !important; | ||
color: # | 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: # | color: #666; | ||
font-style: italic; | font-style: italic; | ||
border-top: 1px solid # | border-top: 1px solid #ccc; | ||
padding-top: | padding-top: 8px; | ||
margin-top: | margin-top: 8px; | ||
} | } | ||
/* --- RECHTE SPALTE | /* --- RECHTE SPALTE --- */ | ||
.cc-right { | .cc-right { | ||
flex: 1; | flex: 1; | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
gap: | gap: 8px; | ||
} | } | ||
.cc-data-row { | .cc-data-row { | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
background: # | background: #fff; | ||
border: 1px solid # | border: 1px solid #ddd; | ||
border-radius: | border-radius: 4px; | ||
overflow: hidden; | overflow: hidden; | ||
min-height: | min-height: 38px; | ||
} | } | ||
.cc-label { | .cc-label { | ||
flex: 0 0 140px; | flex: 0 0 140px; | ||
background: # | background: #eef2f5; | ||
color: # | color: #555; | ||
font-weight: | font-weight: 700 !important; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
font-size: 0. | font-size: 0.8em !important; | ||
padding: | padding: 8px 15px; | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
border-right: 1px solid # | 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: # | color: #000; | ||
flex: 1; | flex: 1; | ||
font-size: 0.95em !important; | |||
} | } | ||
.cc-header { | .cc-header { | ||
margin-top: | margin-top: 25px; | ||
margin-bottom: 10px; | margin-bottom: 10px; | ||
font-size: 1. | font-size: 1.1em !important; | ||
font-weight: 700; | font-weight: 700 !important; | ||
color: # | color: #b8860b; | ||
border-bottom: | 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: # | color: #333; | ||
background: | background: #f9f9f9; | ||
padding: 15px; | padding: 15px; | ||
border-radius: | 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; | |||
.char-card a, | |||
.char-card a | |||
color: # | |||
text-decoration: none; | text-decoration: none; | ||
font-weight: bold; | font-weight: bold !important; | ||
transition: color 0.2s; | transition: color 0.2s; | ||
} | } | ||
.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); | |||
} | } | ||
.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%; } | |||
.char-card | |||
} | |||
. | |||
} | |||
} | } | ||
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%; }
}