Zum Inhalt springen

MediaWiki:Common.css

Aus Pixopedia

Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.

  • Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
  • Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
  • Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
/* ========================================
   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;
  }
}