MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Lost Dreams Of Tomorrow Wiki
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(42 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
/*-----------------------------------------  Card Design START  --------------------------------------*/
/* ===============================
  SHADCN / MODERN CLEAN THEME
  =============================== */
/* ===============================
  Dark / Elegant Card Style
  =============================== */
.wiki-card {
  background-color: #1f1f1f; /* dunkles Grau-Schwarz */
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* tiefer Schatten */
  padding: 1.2em 1em;
  margin: 1em 0;
  border: 1px solid #333; /* dezente Umrandung */
  font-family: "Inter", "Segoe UI", sans-serif;
  color: #eee; /* heller Text */
  transition: transform 0.2s, box-shadow 0.2s;
}


.wiki-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
}


/* Titel */
.wiki-card h3 {
  margin-top: 0;
  font-size: 1.25em;
  font-weight: 600;
  color: #ffd966; /* dezenter goldener Akzent für Titel */
}


/* Beschreibung */
.wiki-card p {
  margin: 0.5em 0 1em 0;
  color: #ccc;
  font-size: 0.95em;
}


/* Content (Liste etc.) */
.wiki-card div {
  color: #ddd;
  font-size: 0.9em;
}


/* Optional: Links in Card */
.wiki-card a {
  color: #ffd966;
  text-decoration: none;
  transition: color 0.2s;
}


.wiki-card a:hover {
  color: #ffcc00;
  text-decoration: underline;
}




/*-----------------------------------------  Container ENDE  --------------------------------------*/
/*-----------------------------------------  Container START  --------------------------------------*/
/*-----------------------------------------  Container ENDE  --------------------------------------*/
/*----------------------------------------- Grid Container START  --------------------------------------*/


.grid-container {
/*----------------------------------------- MediaWiki Base Change  --------------------------------------*/
  display: flex;
/* Aggressiveres Override für alle Container */
  flex-wrap: wrap;
.mw-parser-output,
  gap: 1.2em;
.mw-body,
  justify-content: center;
.mw-body-content,
   margin: 1em 0;
#bodyContent {
   background-color: #0a0a0a !important;
}
}


/* Einzelne Box */
/* Entferne alle weißen Hintergründe */
.gridbox {
.mainpage-container * {
  width: 220px;
   background-color: transparent;
   background-color: #1e1e1e; /* Box-Hintergrund */
  border: 1px solid #444;    /* Box-Rand */
  border-radius: 10px;
  padding: 1em;
  text-align: center;
  color: #eee;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
}


/* Hover Effekt */
/* Entferne alle Borders von Container-Elementen */
.gridbox:hover {
.mainpage-container,
  transform: translateY(-4px);
.mainpage-content,
  box-shadow: 0 6px 16px rgba(0,0,0,0.6);
.mainpage-sidebar,
}
.content-section {
 
/* Alle MediaWiki-Thumbnails innerhalb von GridBox „clean“ */
.gridbox .thumb {
  background: none !important;
   border: none !important;
   border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  width: auto !important; /* damit die Box nicht den Hintergrund zieht */
}
}


.gridbox .thumbinner {
.sidebar-panel,
  background: none !important;
.landing-container,
  border: none !important;
.npc-grid-container {
  padding: 0 !important;
   background-color: #0a0a0a;
  box-shadow: none !important;
   border: none !important; /* Keine Borders mehr */
}
   padding: 1em;
 
.gridbox img {
  display: block;
  margin: 0 auto 0.5em auto;
  width: 120px;
  height: auto;
   background: none !important;
   border: none !important;
   box-shadow: none !important;
}
}
/* Titel */
.gridbox-title {
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 0.6em;
}
/* Beschreibung */
.gridbox-desc {
  font-size: 0.9em;
  color: #bbb;
  margin-top: 0.4em;
}
/*----------------------------------------- Grid Container END  --------------------------------------*/

Aktuelle Version vom 12. Januar 2026, 01:16 Uhr









/*----------------------------------------- MediaWiki Base Change  --------------------------------------*/
/* Aggressiveres Override für alle Container */
.mw-parser-output,
.mw-body,
.mw-body-content,
#bodyContent {
  background-color: #0a0a0a !important;
}

/* Entferne alle weißen Hintergründe */
.mainpage-container * {
  background-color: transparent;
}

/* Entferne alle Borders von Container-Elementen */
.mainpage-container,
.mainpage-content,
.mainpage-sidebar,
.content-section {
  border: none !important;
}

.sidebar-panel,
.landing-container,
.npc-grid-container {
  background-color: #0a0a0a;
  border: none !important; /* Keine Borders mehr */
  padding: 1em;
}