Zum Inhalt springen

MediaWiki:Common.css: Unterschied zwischen den Versionen

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


/* 1. STARTSEITE - Navigation komplett ausblenden */
/* Startseite komplett umbauen */
body.page-Start #mw-panel,
body.page-Start #mw-panel,
body.page-Start #p-tb,
body.page-Start #p-tb,  
body.page-Start #p-cactions,
body.page-Start #mw-head-base,
body.page-Start #footer,
body.page-Start #footer,
body.page-Start .mw-editsection,
body.page-Start .mw-editsection,
body.page-Start .mw-indicators,
body.page-Start #mw-navigation {
body.page-Start #mw-navigation {
   display: none !important;
   display: none !important;
}
}


body.page-Start #content {  
body.page-Start #content { margin: 0; padding: 0; }
  margin: 0 !important;  
body.page-Start #mw-content-text { padding: 0; }
  padding: 0 !important;  
  max-width: none !important;
}


body.page-Start #mw-content-text {
/* HEADER - Dunkel mit Falke */
   padding: 0 !important;  
.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;
}
}


/* 2. HEADER-STYLING */
.lp-logo-main img {
.wiki-header {
   border-radius: 4px;
   background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: white;
  padding: 2em;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
}


.wiki-header h1 {
.lp-title-main {
  margin: 0.5em 0 0 0;
   font-size: 1.6rem;
   font-size: 2.5em;
   font-weight: 700;
   font-weight: 700;
   text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  color: #fff;
  margin-left: 1rem;
   text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
}


/* 3. GAME-KACHELN-TABELLE */
.lp-subtitle-main {
.wiki-games-table {
   margin-left: 1rem;
   width: 100%;
   color: #b0b7c0;
   border-collapse: separate;
   font-size: 0.85rem;
   border-spacing: 1.5em;
   font-weight: 500;
  margin: 2em auto;
   max-width: 1000px;
}
}


.wiki-games-table td {
/* 3x3 GRID */
   width: 50%;
.lp-grid-3x3 {
   padding: 1.5em;
   display: grid;
  background: linear-gradient(145deg, #f8fafc, #e2e8f0);
   grid-template-columns: repeat(3, 1fr);
   border-radius: 16px;
   gap: 1rem;
  text-align: center;
   max-width: 1400px;
   vertical-align: middle;
   margin: 1.5rem auto;
   transition: all 0.3s ease;
   padding: 0 1rem;
   border: 2px solid transparent;
  height: 160px;
}
}


.wiki-games-table td:hover {
/* EINZEL-KACHEL - Liquipedia Style */
   background: linear-gradient(145deg, #e2e8f0, #cbd5e1);
.lp-kachel {
   border-color: #3b82f6;
   background: #1a1f27;
   transform: translateY(-5px);
  border: 1px solid #2a3442;
   box-shadow: 0 10px 25px rgba(0,0,0,0.15);
   border-radius: 8px;
  padding: 1rem;
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
   text-decoration: none;
   transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
}


.wiki-games-table img {
.lp-kachel::before {
   border-radius: 12px;
   content: '';
   margin-bottom: 0.5em;
  position: absolute;
   box-shadow: 0 4px 12px rgba(0,0,0,0.2);
   top: 0;
   display: block;
   left: -100%;
  margin-left: auto;
  width: 100%;
  margin-right: auto;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
   transition: left 0.5s;
}
}


/* 4. MOBILE OPTIMIERUNG */
.lp-kachel:hover {
@media (max-width: 768px) {
   background: #212735;
   .wiki-games-table {
  border-color: #3b82f6;
    border-spacing: 1em;
   transform: translateY(-2px);
   }
   box-shadow: 0 8px 25px rgba(59,130,246,0.3);
    
  .wiki-games-table td {
    width: 100%;
    display: block;
  }
}
}


/* 5. INFOBOX-STYLING */
.lp-kachel:hover::before {
.infobox {
   left: 100%;
  float: right;
  width: 280px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
   margin: 0 0 1em 1em;
}
}


.infobox-title {
.lp-logo {
   background: #111827;
   margin-bottom: 0.5rem;
  color: white;
  padding: 0.75em;
  text-align: center;
  font-weight: bold;
}
}


/* 6. TAB-SYSTEM */
.lp-logo img {
.game-tabs {
   border-radius: 4px;
  display: flex;
   box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  background: #f3f4f6;
   border-radius: 8px;
   padding: 0.25em;
  margin: 1em 0;
}
}


.tab-link {
.lp-titel {
   padding: 0.75em 1.5em;
   font-size: 1rem;
  background: white;
   font-weight: 700;
  border-radius: 6px;
   margin: 0 0 0.25rem 0;
   text-decoration: none;
   text-align: center;
   margin: 0 0.25em;
   transition: all 0.2s;
}
}


.tab-link:hover {
.lp-subtitle {
   background: #e5e7eb;
  font-size: 0.8rem;
   color: #90a0b0;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  text-align: center;
}
}


/* 7. BROWSER-PFAD */
.lp-text {
.navigation-path {
   font-size: 0.75rem;
   background: #f8fafc;
   color: #708090;
  padding: 0.75em 1em;
   text-align: center;
   border-radius: 6px;
   margin: 0;
   font-size: 0.9em;
   margin: 1em 0;
}
}


/* 8. TABELLEN-INFOBOX */
/* MOBILE */
table.infobox-table {
@media (max-width: 1200px) {
  width: 100%;
  .lp-grid-3x3 {
   border-collapse: collapse;
    grid-template-columns: repeat(2, 1fr);
   }
}
}


.infobox-table th {
@media (max-width: 768px) {
  background: #e5e7eb;
   .lp-grid-3x3 {
  padding: 0.5em;
     grid-template-columns: 1fr;
  text-align: left;
     gap: 0.75rem;
  width: 35%;
}
 
.infobox-table td {
  padding: 0.5em;
}
 
/* 9. DUNKLER MODUS */
@media (prefers-color-scheme: dark) {
   .wiki-games-table td {
     background: linear-gradient(145deg, #1e293b, #334155);
     color: white;
   }
   }
    
    
   .infobox {
   .lp-header {
     background: #1e293b;
     flex-direction: column;
     border-color: #334155;
     text-align: center;
    padding: 1rem;
   }
   }
    
    
   .infobox-title {
   .lp-title-main {
     background: #0f172a;
     margin: 0.5rem 0 0 0;
   }
   }
}
}

Version vom 11. Februar 2026, 18:16 Uhr

/* ========================================
   PIXO.GG - LIQUIPEDIA-STIL 3x3 GRID
   ======================================== */

/* Startseite komplett umbauen */
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; }

/* 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 {
  border-radius: 4px;
}

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

.lp-subtitle-main {
  margin-left: 1rem;
  color: #b0b7c0;
  font-size: 0.85rem;
  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;
  padding: 1rem;
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.lp-kachel::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s;
}

.lp-kachel:hover {
  background: #212735;
  border-color: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59,130,246,0.3);
}

.lp-kachel:hover::before {
  left: 100%;
}

.lp-logo {
  margin-bottom: 0.5rem;
}

.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 */
@media (max-width: 1200px) {
  .lp-grid-3x3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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