MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
/* ========================= | /* ========================= | ||
SCHATTENWELT - PROFILE STYLE | |||
========================= */ | ========================= */ | ||
. | .char-profile-box { | ||
background-color: #222; /* var(--box-bg) */ | |||
border: 1px solid #444; /* var(--box-border) */ | |||
border-radius: 8px; | |||
color: #e0e0e0; /* var(--text-color) */ | |||
font-family: 'Segoe UI', Tahoma, sans-serif; | |||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); | |||
margin: 1em 0; | margin: 1em 0; | ||
display: flex; | |||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
/* | /* Linker Bereich: Bild */ | ||
. | .cp-image { | ||
flex: 0 0 200px; | |||
background: #000; | |||
border-right: 1px solid #444; | |||
position: relative; | |||
} | } | ||
. | .cp-image img { | ||
width: 100%; | width: 100%; | ||
height: | height: 100%; | ||
object-fit: cover; | |||
display: block; | display: block; | ||
opacity: 0.9; | |||
} | } | ||
. | /* Rechter Bereich: Daten */ | ||
.cp-content { | |||
flex: 1; | |||
padding: 20px; | |||
display: flex; | display: flex; | ||
flex- | flex-direction: column; | ||
} | } | ||
/* | /* Kopfzeile */ | ||
. | .cp-header { | ||
display: | border-bottom: 1px solid #444; | ||
padding-bottom: 10px; | |||
margin-bottom: 15px; | |||
display: flex; | |||
justify-content: space-between; | |||
align-items: center; | align-items: center; | ||
} | } | ||
. | .cp-name { | ||
color: | color: #d4a017; /* var(--accent) */ | ||
font-size: 1.5em; | |||
font-weight: bold; | |||
margin: 0; | |||
} | } | ||
.cp-status { | |||
. | background: rgba(212, 160, 23, 0.1); /* Gold transparent */ | ||
border: 1px solid #d4a017; | |||
color: #d4a017; | |||
padding: 2px 8px; | |||
font-size: 0.8em; | |||
/* | border-radius: 4px; | ||
text-transform: uppercase; | |||
border: 1px solid | |||
padding: 0. | |||
} | } | ||
. | /* Zitat */ | ||
font- | .cp-quote { | ||
font-style: italic; | |||
color: #aaa; /* dimmed */ | |||
margin-bottom: 20px; | |||
padding-left: 10px; | |||
border-left: 3px solid #444; | |||
} | } | ||
/* | /* Stats (Zeilen-Look wie Server Status) */ | ||
. | .cp-stats-grid { | ||
display: grid; | display: grid; | ||
grid-template-columns: | grid-template-columns: 1fr 1fr; /* Zwei Spalten */ | ||
gap: | gap: 20px; | ||
} | } | ||
.cp-stat-col { | |||
. | |||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
gap: 0; | |||
} | } | ||
.cp-row { | |||
padding: 8px; | |||
border-bottom: 1px solid #333; | |||
display: flex; | display: flex; | ||
justify-content: space-between; | justify-content: space-between; | ||
font-size: 0.95em; | |||
} | } | ||
. | .cp-label { | ||
font-weight: bold; | |||
font-weight: | color: #aaa; | ||
} | } | ||
. | .cp-val { | ||
color: #fff; | color: #fff; | ||
text-align: right; | |||
font-family: monospace; | |||
} | } | ||
.cp-val a { | |||
. | color: #d4a017; | ||
text-decoration: none; | |||
font-weight: bold; | |||
} | } | ||
.cp-val a:hover { text-decoration: underline; } | |||
/* Mobile | /* Mobile Anpassung */ | ||
@media (max-width: 700px) { | @media (max-width: 700px) { | ||
. | .char-profile-box { flex-direction: column; } | ||
. | .cp-image { height: 200px; border-right: none; border-bottom: 1px solid #444; } | ||
. | .cp-stats-grid { grid-template-columns: 1fr; gap: 0; } | ||
} | } | ||
Version vom 5. Januar 2026, 13:18 Uhr
/* =========================
SCHATTENWELT - PROFILE STYLE
========================= */
.char-profile-box {
background-color: #222; /* var(--box-bg) */
border: 1px solid #444; /* var(--box-border) */
border-radius: 8px;
color: #e0e0e0; /* var(--text-color) */
font-family: 'Segoe UI', Tahoma, sans-serif;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
margin: 1em 0;
display: flex;
overflow: hidden;
}
/* Linker Bereich: Bild */
.cp-image {
flex: 0 0 200px;
background: #000;
border-right: 1px solid #444;
position: relative;
}
.cp-image img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
opacity: 0.9;
}
/* Rechter Bereich: Daten */
.cp-content {
flex: 1;
padding: 20px;
display: flex;
flex-direction: column;
}
/* Kopfzeile */
.cp-header {
border-bottom: 1px solid #444;
padding-bottom: 10px;
margin-bottom: 15px;
display: flex;
justify-content: space-between;
align-items: center;
}
.cp-name {
color: #d4a017; /* var(--accent) */
font-size: 1.5em;
font-weight: bold;
margin: 0;
}
.cp-status {
background: rgba(212, 160, 23, 0.1); /* Gold transparent */
border: 1px solid #d4a017;
color: #d4a017;
padding: 2px 8px;
font-size: 0.8em;
border-radius: 4px;
text-transform: uppercase;
}
/* Zitat */
.cp-quote {
font-style: italic;
color: #aaa; /* dimmed */
margin-bottom: 20px;
padding-left: 10px;
border-left: 3px solid #444;
}
/* Stats (Zeilen-Look wie Server Status) */
.cp-stats-grid {
display: grid;
grid-template-columns: 1fr 1fr; /* Zwei Spalten */
gap: 20px;
}
.cp-stat-col {
display: flex;
flex-direction: column;
gap: 0;
}
.cp-row {
padding: 8px;
border-bottom: 1px solid #333;
display: flex;
justify-content: space-between;
font-size: 0.95em;
}
.cp-label {
font-weight: bold;
color: #aaa;
}
.cp-val {
color: #fff;
text-align: right;
font-family: monospace;
}
.cp-val a {
color: #d4a017;
text-decoration: none;
font-weight: bold;
}
.cp-val a:hover { text-decoration: underline; }
/* Mobile Anpassung */
@media (max-width: 700px) {
.char-profile-box { flex-direction: column; }
.cp-image { height: 200px; border-right: none; border-bottom: 1px solid #444; }
.cp-stats-grid { grid-template-columns: 1fr; gap: 0; }
}