Zum Inhalt springen

MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Pixopedia
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
/* ========================================
  PIXO.GG - Startseite
  ======================================== */
/* (Optional) Teile der Standard-UI auf der Startseite verstecken */
body.page-Start #mw-panel,
body.page-Start #p-tb,
body.page-Start #footer,
body.page-Start .mw-editsection,
body.page-Start #mw-navigation {
  display: none !important;
}
body.page-Start #content {
  margin: 0;
  padding: 0;
}
body.page-Start #mw-content-text {
  padding: 0;
}
/* ========================================
/* ========================================
   PIXO.GG - Startseite
   PIXO.GG - Startseite
Zeile 25: Zeile 47:
   ======================================== */
   ======================================== */


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


/* Bild oben: fixe Höhe, Bild füllt Breite */
/* HERO-BILD OBEN */
.pixo-card-img {
.pixo-card-hero {
  position: relative;
   width: 100%;
   width: 100%;
   height: 150px;
   height: 120px;             /* Bannerhöhe, bei Bedarf anpassen */
   overflow: hidden;
   overflow: hidden;
}
}


.pixo-card-img-inner {
.pixo-card-hero img {
   width: 100% !important;
   width: 100%;
   height: auto !important;
   height: 100%;
  object-fit: cover;
   display: block;
   display: block;
  margin: 0 !important;
}
/* Titel im h3-Stil, linksbündig */
.pixo-card-title h3 {
  margin: 4px 8px 0 8px;
  font-size: 1.0em;
  font-weight: bold;
  text-align: left;
}
}


/* Body & Liste */
/* TITEL LEICHT INS BILD GELEGT */
.pixo-card-body {
.pixo-card-titlebar {
   padding: 0 8px 8px 8px;
   position: absolute;
   font-size: 0.8em;
   left: 14px;
   text-align: left;
  bottom: 10px;
   box-sizing: border-box;
  right: 14px;
  display: flex;
  align-items: center;
   justify-content: space-between;
   pointer-events: none;       /* nur Bild klickbar */
}
}


.pixo-card-body ul {
.pixo-card-title-te
  margin: 2px 0 0 14px;
  padding: 0;
}

Version vom 12. Februar 2026, 01:44 Uhr

/* ========================================
   PIXO.GG - Startseite
   ======================================== */

/* (Optional) Teile der Standard-UI auf der Startseite verstecken */
body.page-Start #mw-panel,
body.page-Start #p-tb,
body.page-Start #footer,
body.page-Start .mw-editsection,
body.page-Start #mw-navigation {
  display: none !important;
}

body.page-Start #content {
  margin: 0;
  padding: 0;
}

body.page-Start #mw-content-text {
  padding: 0;
}

/* ========================================
   PIXO.GG - Startseite
   ======================================== */

/* (Optional) Teile der Standard-UI auf der Startseite verstecken */
body.page-Start #mw-panel,
body.page-Start #p-tb,
body.page-Start #footer,
body.page-Start .mw-editsection,
body.page-Start #mw-navigation {
  display: none !important;
}

body.page-Start #content {
  margin: 0;
  padding: 0;
}

body.page-Start #mw-content-text {
  padding: 0;
}

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

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

/* HERO-BILD OBEN */
.pixo-card-hero {
  position: relative;
  width: 100%;
  height: 120px;              /* Bannerhöhe, bei Bedarf anpassen */
  overflow: hidden;
}

.pixo-card-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* TITEL LEICHT INS BILD GELEGT */
.pixo-card-titlebar {
  position: absolute;
  left: 14px;
  bottom: 10px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;       /* nur Bild klickbar */
}

.pixo-card-title-te