Zum Inhalt springen

MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Pixopedia
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 36: Zeile 36:
/* „Umschalten zum bisherigen Aussehen“ im Hauptmenü ausblenden */
/* „Umschalten zum bisherigen Aussehen“ im Hauptmenü ausblenden */
.vector-main-menu-action-opt-out {
.vector-main-menu-action-opt-out {
  display: none !important;
}
/* Zeitunterschied-Block in den Einstellungen verstecken */
body.mw-special-Preferences #mw-prefsection-rendering-timeoffset {
  display: none !important;
}
/* Datumsformat-Block verstecken */
body.mw-special-Preferences #mw-prefsection-rendering-dateformat {
   display: none !important;
   display: none !important;
}
}

Version vom 12. Februar 2026, 04:39 Uhr

/* komplettes Hauptmenü links verstecken (Vector 2022) */
#mw-panel {
  display: none !important;
}

/* 2. Werkzeuge rechts ausblenden */
#p-tb,
#p-tools,
#p-cactions {        /* optional: Aktionen-Dropdown */
  display: none !important;
}

/* Erscheinungsbild-Menü in der Kopfzeile ausblenden (Vector 2022) */
#vector-appearance-dropdown,
#vector-appearance-dropdown-checkbox {
  display: none !important;
}

/* Beobachtungsliste-Eintrag im Benutzer-Menü ausblenden */
li#pt-watchlist-2,
#pt-watchlist-2 {
  display: none !important;
}
#pt-watchlist,
#pt-watchlist-2 {
  display: none !important;
}



/* 4. Suche nach rechts rücken */
#p-search {
  margin-left: auto;          /* nach rechts schieben */
  margin-right: 1.5rem;
}
/* „Umschalten zum bisherigen Aussehen“ im Hauptmenü ausblenden */
.vector-main-menu-action-opt-out {
  display: none !important;
}
/* Zeitunterschied-Block in den Einstellungen verstecken */
body.mw-special-Preferences #mw-prefsection-rendering-timeoffset {
  display: none !important;
}

/* Datumsformat-Block verstecken */
body.mw-special-Preferences #mw-prefsection-rendering-dateformat {
  display: none !important;
}


/* ========================================
   Pixo-Kacheln (Spiel-Grid)
   ======================================== */

/* Grid-Container für Start-Kacheln */
.pixo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}

/* BASIS-KARTE */
.pixo-card {
  display: block;
  width: 100%;
  margin: 0;
  border-radius: 15px;
  border: 2px solid #333;
  background: #101218;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
  overflow: hidden;
  font-family: inherit;
}



/* Normale Karte mit Hero-Bild */
.pixo-card-hero {
  position: relative;
  width: 100%;
  height: 140px;                 /* Höhe für Karten MIT Bild */
  overflow: hidden;
}

/* Bild im Hero-Bereich */
.pixo-card-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}

/* Karten OHNE Hero-Bild */
.pixo-card--nohero .pixo-card-hero {
  height: auto;                  /* keine feste Höhe */
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
}

/* Falls irgendwo Standard-Rand auf Bildern sitzt, hier nochmal hart entfernen */
.pixo-card-hero a,
.pixo-card-hero img {
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* TITEL zentriert oben, wie H2 */
.pixo-card-title-text {
  position: absolute;
  top: 10%;                 /* Abstand von oben */
  left: 50%;
  transform: translateX(-50%);   /* horizontal zentrieren */

  font-size: 1.5rem;        /* ähnlich h2 */
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 4px rgba(0,0,0,0.9);

  white-space: nowrap;      /* optional: in einer Zeile lassen */
  text-align: center;
}

/* RUNDES ICON RECHTS (OPTIONAL) */
.pixo-card-icon img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0,0,0,0.8);
  object-fit: cover;
}


/* nur auf der Startseite, falls gewünscht 
body.page-Start .pixo-card-hero,
body.page-Start .pixo-card-hero a,
body.page-Start .pixo-card-hero img {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
*/