Zum Inhalt springen

MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Pixopedia
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
/* Startseite komplett umgestalten */
/* ========================================
  PIXO.GG ESPORTS WIKI - KOMPLETTES CSS
  ======================================== */
 
/* 1. STARTSEITE - Navigation komplett ausblenden */
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 {
   display: none !important;
   display: none !important;
}
}
Zeile 9: Zeile 17:
body.page-Start #content {  
body.page-Start #content {  
   margin: 0 !important;  
   margin: 0 !important;  
  padding: 0 !important;
  max-width: none !important;
}
body.page-Start #mw-content-text {
   padding: 0 !important;  
   padding: 0 !important;  
}
}


/* Header */
/* 2. HEADER-STYLING */
.wiki-header {
.wiki-header {
   background: #1e3a8a;
   background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
   color: white;
   color: white;
   padding: 2em;
   padding: 2em;
Zeile 24: Zeile 37:
   margin: 0.5em 0 0 0;
   margin: 0.5em 0 0 0;
   font-size: 2.5em;
   font-size: 2.5em;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
}


/* Games-Tabelle */
/* 3. GAME-KACHELN-TABELLE */
.wiki-games-table {
.wiki-games-table {
   width: 100%;
   width: 100%;
Zeile 61: Zeile 76:
   margin-left: auto;
   margin-left: auto;
   margin-right: auto;
   margin-right: auto;
}
/* 4. MOBILE OPTIMIERUNG */
@media (max-width: 768px) {
  .wiki-games-table {
    border-spacing: 1em;
  }
 
  .wiki-games-table td {
    width: 100%;
    display: block;
  }
}
/* 5. ALLGEMEINE WIKI-VERBESSERUNGEN */
.infobox {
  float: right;
  width: 280px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  margin: 0 0 1em 1em;
}
.infobox-title {
  background: #111827;
  color: white;
  padding: 0.75em;
  text-align: center;
  font-weight: bold;
}
/* 6. TABS FÜR TURNierSEITEN */
.turnier-tabs {
  display: flex;
  background: #f3f4f6;
  border-radius: 8px;
  padding: 0.25em;
  margin: 1em 0;
}
.tab-link {
  padding: 0.75em 1.5em;
  background: white;
  border-radius: 6px;
  text-decoration: none;
  margin: 0 0.25em;
  transition: all 0.2s;
}
.tab-link:hover {
  background: #e5e7eb;
}
/* 7. BREACHRUMBS */
.breadcrumbs {
  background: #f8fafc;
  padding: 0.75em 1em;
  border-radius: 6px;
  font-size: 0.9em;
  margin: 1em 0;
}
/* 8. LIQUIPEDIA-ÄHNLICHE INF OBOX */
table.infobox-table {
  width: 100%;
  border-collapse: collapse;
}
.infobox-table th {
  background: #e5e7eb;
  padding: 0.5em;
  text-align: left;
  width: 35%;
}
.infobox-table td {
  padding: 0.5em;
}
/* 9. DARK MODE SUPPORT */
@media (prefers-color-scheme: dark) {
  .wiki-games-table td {
    background: linear-gradient(145deg, #1e293b, #334155);
    color: white;
  }
}
}

Version vom 11. Februar 2026, 17:54 Uhr

/* ========================================
   PIXO.GG ESPORTS WIKI - KOMPLETTES CSS
   ======================================== */

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

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

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

/* 2. HEADER-STYLING */
.wiki-header {
  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 {
  margin: 0.5em 0 0 0;
  font-size: 2.5em;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* 3. GAME-KACHELN-TABELLE */
.wiki-games-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 1.5em;
  margin: 2em auto;
  max-width: 1000px;
}

.wiki-games-table td {
  width: 50%;
  padding: 1.5em;
  background: linear-gradient(145deg, #f8fafc, #e2e8f0);
  border-radius: 16px;
  text-align: center;
  vertical-align: middle;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  height: 160px;
}

.wiki-games-table td:hover {
  background: linear-gradient(145deg, #e2e8f0, #cbd5e1);
  border-color: #3b82f6;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.wiki-games-table img {
  border-radius: 12px;
  margin-bottom: 0.5em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* 4. MOBILE OPTIMIERUNG */
@media (max-width: 768px) {
  .wiki-games-table {
    border-spacing: 1em;
  }
  
  .wiki-games-table td {
    width: 100%;
    display: block;
  }
}

/* 5. ALLGEMEINE WIKI-VERBESSERUNGEN */
.infobox {
  float: right;
  width: 280px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  margin: 0 0 1em 1em;
}

.infobox-title {
  background: #111827;
  color: white;
  padding: 0.75em;
  text-align: center;
  font-weight: bold;
}

/* 6. TABS FÜR TURNierSEITEN */
.turnier-tabs {
  display: flex;
  background: #f3f4f6;
  border-radius: 8px;
  padding: 0.25em;
  margin: 1em 0;
}

.tab-link {
  padding: 0.75em 1.5em;
  background: white;
  border-radius: 6px;
  text-decoration: none;
  margin: 0 0.25em;
  transition: all 0.2s;
}

.tab-link:hover {
  background: #e5e7eb;
}

/* 7. BREACHRUMBS */
.breadcrumbs {
  background: #f8fafc;
  padding: 0.75em 1em;
  border-radius: 6px;
  font-size: 0.9em;
  margin: 1em 0;
}

/* 8. LIQUIPEDIA-ÄHNLICHE INF OBOX */
table.infobox-table {
  width: 100%;
  border-collapse: collapse;
}

.infobox-table th {
  background: #e5e7eb;
  padding: 0.5em;
  text-align: left;
  width: 35%;
}

.infobox-table td {
  padding: 0.5em;
}

/* 9. DARK MODE SUPPORT */
@media (prefers-color-scheme: dark) {
  .wiki-games-table td {
    background: linear-gradient(145deg, #1e293b, #334155);
    color: white;
  }
}