Zum Inhalt springen

MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Pixopedia
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
/* ========================================
/* ========================================
   PIXO.GG - LIQUIPEDIA-STIL 3x3 GRID
   PIXO.GG - Startseite
   ======================================== */
   ======================================== */


/* Startseite komplett umbauen */
/* (Optional) Teile der Standard-UI auf der Startseite verstecken */
body.page-Start #mw-panel,
body.page-Start #mw-panel,
body.page-Start #p-tb,  
body.page-Start #p-tb,
body.page-Start #footer,
body.page-Start #footer,
body.page-Start .mw-editsection,
body.page-Start .mw-editsection,
Zeile 12: Zeile 12:
}
}


body.page-Start #content { margin: 0; padding: 0; }
body.page-Start #content {
body.page-Start #mw-content-text { padding: 0; }
  margin: 0;
 
   padding: 0;
/* HEADER - Dunkel mit Falke */
.lp-header {
  background: #0f1419;
   padding: 1rem 2rem;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
  border-bottom: 3px solid #1f4e79;
}
}


.lp-logo-main img {
body.page-Start #mw-content-text {
   border-radius: 4px;
   padding: 0;
}
}


.lp-title-main {
/* ========================================
  font-size: 1.6rem;
  Pixo-Kacheln (Spiel-Grid)
  font-weight: 700;
  ======================================== */
  color: #fff;
  margin-left: 1rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}


.lp-subtitle-main {
.pixo-card {
  margin-left: 1rem;
   display: block;
  color: #b0b7c0;
   width: 100%;
  font-size: 0.85rem;
   margin: 0;
  font-weight: 500;
}
 
/* 3x3 GRID */
.lp-grid-3x3 {
   display: grid;
  grid-template-columns: repeat(3, 1fr);
   gap: 1rem;
  max-width: 1400px;
   margin: 1.5rem auto;
  padding: 0 1rem;
}
 
/* EINZEL-KACHEL - Liquipedia Style */
.lp-kachel {
  background: #1a1f27;
  border: 1px solid #2a3442;
   border-radius: 8px;
   border-radius: 8px;
   padding: 1rem;
   border: 1px solid #444;
   height: 140px;
   background: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
   color: #fff;
   color: #fff;
   text-decoration: none;
   box-shadow: 0 4px 8px rgba(0,0,0,0.4);
  transition: all 0.2s ease;
  position: relative;
   overflow: hidden;
   overflow: hidden;
}
}


.lp-kachel::before {
/* Bild oben: fixe Höhe, Bild füllt Breite */
  content: '';
.pixo-card-img {
  position: absolute;
  top: 0;
  left: -100%;
   width: 100%;
   width: 100%;
   height: 100%;
   height: 150px;
   background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
   overflow: hidden;
  transition: left 0.5s;
}
}


.lp-kachel:hover {
.pixo-card-img-inner {
   background: #212735;
   width: 100% !important;
   border-color: #3b82f6;
   height: auto !important;
   transform: translateY(-2px);
   display: block;
   box-shadow: 0 8px 25px rgba(59,130,246,0.3);
   margin: 0 !important;
}
}


.lp-kachel:hover::before {
/* Titel im h3-Stil, linksbündig */
  left: 100%;
.pixo-card-title h3 {
}
   margin: 4px 8px 0 8px;
 
   font-size: 1.0em;
.lp-logo {
   font-weight: bold;
   margin-bottom: 0.5rem;
   text-align: left;
}
 
.lp-logo img {
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
 
.lp-titel {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
  text-align: center;
}
 
.lp-subtitle {
   font-size: 0.8rem;
  color: #90a0b0;
   font-weight: 600;
  margin: 0 0 0.25rem 0;
   text-align: center;
}
 
.lp-text {
  font-size: 0.75rem;
  color: #708090;
  text-align: center;
  margin: 0;
}
}


/* MOBILE */
/* Body & Liste */
@media (max-width: 1200px) {
.pixo-card-body {
   .lp-grid-3x3 {
  padding: 0 8px 8px 8px;
    grid-template-columns: repeat(2, 1fr);
   font-size: 0.8em;
   }
  text-align: left;
   box-sizing: border-box;
}
}


@media (max-width: 768px) {
.pixo-card-body ul {
  .lp-grid-3x3 {
  margin: 2px 0 0 14px;
    grid-template-columns: 1fr;
   padding: 0;
    gap: 0.75rem;
   }
 
  .lp-header {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
 
  .lp-title-main {
    margin: 0.5rem 0 0 0;
  }
}
}

Version vom 12. Februar 2026, 01:26 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-Kacheln (Spiel-Grid)
   ======================================== */

.pixo-card {
  display: block;
  width: 100%;
  margin: 0;
  border-radius: 8px;
  border: 1px solid #444;
  background: #111;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
  overflow: hidden;
}

/* Bild oben: fixe Höhe, Bild füllt Breite */
.pixo-card-img {
  width: 100%;
  height: 150px;
  overflow: hidden;
}

.pixo-card-img-inner {
  width: 100% !important;
  height: auto !important;
  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 */
.pixo-card-body {
  padding: 0 8px 8px 8px;
  font-size: 0.8em;
  text-align: left;
  box-sizing: border-box;
}

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