MediaWiki:Common.css

Aus Lost Dreams Of Tomorrow Wiki

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
/*-----------------------------------------  Design START  --------------------------------------*/
/* ===============================
   SHADCN / MODERN CLEAN THEME
   =============================== */
.wiki-card {
    background-color: #f8f9fa; /* sehr helles Grau */
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 1em;
    margin: 1em 0;
    border: 1px solid #e0e0e0;
    font-family: "Inter", "Segoe UI", sans-serif;
}

.wiki-card h3 {
    margin-top: 0;
    font-weight: 600;
    font-size: 1.1em;
}

.wiki-banner {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin: 1em 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.wiki-banner img {
    width: 100%;
    display: block;
}

.wiki-tabs {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    margin: 1em 0;
}

.wiki-tab {
    padding: 0.5em 1em;
    cursor: pointer;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: border-color 0.2s;
}

.wiki-tab.active {
    border-color: #444; /* dunkler Ton für aktiven Tab */
}

.wiki-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1em;
    margin: 1em 0;
}

.wiki-button {
    display: inline-block;
    background-color: #444;
    color: #fff;
    padding: 0.5em 1em;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}

.wiki-button:hover {
    background-color: #666;
}

.wiki-box {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75em;
    margin: 0.5em 0;
    background-color: #fff;
}

/*-----------------------------------------  Container ENDE  --------------------------------------*/
/*-----------------------------------------  Container START  --------------------------------------*/
/*-----------------------------------------  Container ENDE  --------------------------------------*/
/*----------------------------------------- Grid Container START  --------------------------------------*/
.grid-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2em;
  justify-content: center;
  margin: 1em 0;
}

/* Einzelne Box */
.gridbox {
  width: 220px;
  background-color: #1e1e1e;
  border: 1px solid #444;
  border-radius: 10px;
  padding: 1em;
  text-align: center;
  color: #eee;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover Effekt */
.gridbox:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.6);
}

/* Titel */
.gridbox-title {
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 0.6em;
}

/* Beschreibung */
.gridbox-desc {
  font-size: 0.9em;
  color: #bbb;
  margin-top: 0.4em;
}

/*----------------------------------------- Grid Container END  --------------------------------------*/