MediaWiki:Common.css

Aus SWPedia
Zur Navigation springen Zur Suche springen

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
/* =========================
   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; }
}