Zum Inhalt springen

MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Pixopedia
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* Minimal-Startseite - Navigation ausblenden */
 
body.page-Start #mw-panel,
/* Startseite komplett minimieren */
body.page-Start #p-tb,
body.page-Start #mw-panel,  
body.page-Start #p-tb,  
body.page-Start #p-cactions,
body.page-Start #p-cactions,
body.page-Start #mw-head,
body.page-Start #mw-head-base,
body.page-Start #mw-panel,
body.page-Start .mw-indicators,
body.page-Start #footer,
body.page-Start #footer,
body.page-Start .mw-editsection,
body.page-Start .mw-editsection,
body.page-Start #mw-navigation {
body.page-Start .mw-indicators {
   display: none !important;
   display: none !important;
}
}


/* Nur Header + Content behalten */
body.page-Start #content { margin: 0; padding: 0; max-width: none; }
body.page-Start #content {
body.page-Start #mw-content-text { padding: 0; }
   margin: 0;
 
   padding: 0;
/* Header */
   max-width: none;
.minimal-header {
   background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: white;
   padding: 1.5em 2em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
   display: flex;
  align-items: center;
  justify-content: space-between;
}
}


body.page-Start #mw-content-text {
.header-logo img { border-radius: 8px; }
   padding: 1em;
.header-title h1 {  
   max-width: 1200px;
   margin: 0;  
   margin: 0 auto;
   font-size: 2.2em;  
   font-weight: 700;  
}
}


/* Suche und Login im Header behalten */
/* GAME KACHELN - 2x2 Grid */
body.page-Start #p-search,
.game-kacheln-grid {
body.page-Start #mw-panel .p-personal {
  display: grid;
   display: block !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5em;
  padding: 3em 2em;
  max-width: 1000px;
   margin: 0 auto;
}
}


/* Kacheln css */
.game-kachel {
.minimal-header {
  background: #111827;
  color: white;
  padding: 1em 2em;
   display: flex;
   display: flex;
   justify-content: space-between;
   flex-direction: column;
   align-items: center;
   align-items: center;
  padding: 2em 1.5em;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  height: 180px;
  justify-content: center;
}
}


.minimal-header h1 {
.game-kachel:hover {
   margin: 0 1em 0 0;
   background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
   font-size: 1.5em;
  border-color: #3b82f6;
  transform: translateY(-8px);
   box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
}


.kacheln-grid {
.game-kachel img {
   display: grid;
   border-radius: 12px;
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   margin-bottom: 1em;
  gap: 1em;
   box-shadow: 0 4px 12px rgba(0,0,0,0.15);
   padding: 2em;
  max-width: 1200px;
  margin: 0 auto;
}
}


.kachel {
.game-kachel-name {
   background: #f8fafc;
   font-size: 1.3em;
   border: 1px solid #e2e8f0;
   font-weight: 700;
   border-radius: 8px;
   color: #1e293b;
   padding: 1.5em;
   text-align: center;
   text-decoration: none;
   margin: 0;
}
}


.kachel:hover {
/* Mobile */
   background: #f1f5f9;
@media (max-width: 768px) {
  border-color: #cbd5e1;
   .game-kacheln-grid {
    grid-template-columns: 1fr;
    padding: 2em 1em;
  }
}
}

Version vom 11. Februar 2026, 17:22 Uhr

/* Minimal-Startseite - Navigation 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 {
  display: none !important;
}

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

/* Header */
.minimal-header {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: white;
  padding: 1.5em 2em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img { border-radius: 8px; }
.header-title h1 { 
  margin: 0; 
  font-size: 2.2em; 
  font-weight: 700; 
}

/* GAME KACHELN - 2x2 Grid */
.game-kacheln-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5em;
  padding: 3em 2em;
  max-width: 1000px;
  margin: 0 auto;
}

.game-kachel {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2em 1.5em;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  height: 180px;
  justify-content: center;
}

.game-kachel:hover {
  background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
  border-color: #3b82f6;
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.game-kachel img {
  border-radius: 12px;
  margin-bottom: 1em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.game-kachel-name {
  font-size: 1.3em;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
  margin: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .game-kacheln-grid {
    grid-template-columns: 1fr;
    padding: 2em 1em;
  }
}