Vorlage:MainMenuNpc/styles.css

Aus Lost Dreams Of Tomorrow Wiki
Version vom 12. Januar 2026, 01:00 Uhr von NeroReaver (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „ -------------------------------- NPC Grid Template --------------------------------: ========================================== TEIL 1: CSS - MediaWiki:Common.css ==========================================: .npc-grid-container { max-width: 1200px; margin: 0 auto; background-color: #0a0a0a; padding: 1em; border: none; } .npc-category { font-size: 1.3em; font-weight: bold; margin: 1.5em 0 1em 0; color: #ffd966; backgroun…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
/*-------------------------------- NPC Grid Template --------------------------------*/
/* ==========================================
   TEIL 1: CSS - MediaWiki:Common.css
   ========================================== */

.npc-grid-container {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #0a0a0a;
  padding: 1em;
  border: none;
}

.npc-category {
  font-size: 1.3em;
  font-weight: bold;
  margin: 1.5em 0 1em 0;
  color: #ffd966;
  background-color: #000000;
  border: 1px solid #222;
  padding: 0.5em;
  text-align: center;
}

.npc-category:first-child {
  margin-top: 0;
}

.npc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 1em;
  margin-bottom: 1em;
}

.npc-box {
  display: block;
  text-align: center;
}

.npc-image {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.4em auto;
  overflow: hidden;
}

.npc-image img {
  max-width: 100%;
  max-height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  border: none !important;
}

.npc-image .mw-file-description {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.npc-image:hover {
  opacity: 0.7;
}

.npc-name {
  font-size: 0.85em;
  text-align: center;
  line-height: 1.3;
  color: #eee;
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.npc-name a {
  color: #eee;
  text-decoration: none;
}

.npc-name a:hover {
  color: #ffd966;
}