MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus Lost Dreams Of Tomorrow Wiki
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
/*----------------------------------------- Design START --------------------------------------*/ | /*----------------------------------------- Card Design START --------------------------------------*/ | ||
/* =============================== | /* =============================== | ||
SHADCN / MODERN CLEAN THEME | SHADCN / MODERN CLEAN THEME | ||
=============================== */ | |||
/* =============================== | |||
Dark / Elegant Card Style | |||
=============================== */ | =============================== */ | ||
.wiki-card { | .wiki-card { | ||
background-color: #1f1f1f; /* dunkles Grau-Schwarz */ | |||
border-radius: 12px; | |||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* tiefer Schatten */ | |||
padding: 1.2em 1em; | |||
margin: 1em 0; | |||
border: 1px solid #333; /* dezente Umrandung */ | |||
font-family: "Inter", "Segoe UI", sans-serif; | |||
color: #eee; /* heller Text */ | |||
transition: transform 0.2s, box-shadow 0.2s; | |||
} | } | ||
.wiki- | .wiki-card:hover { | ||
transform: translateY(-3px); | |||
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6); | |||
} | } | ||
.wiki- | /* Titel */ | ||
.wiki-card h3 { | |||
margin-top: 0; | |||
font-size: 1.25em; | |||
font-weight: 600; | |||
color: #ffd966; /* dezenter goldener Akzent für Titel */ | |||
} | } | ||
.wiki- | /* Beschreibung */ | ||
.wiki-card p { | |||
margin: 0.5em 0 1em 0; | |||
color: #ccc; | |||
font-size: 0.95em; | |||
} | } | ||
.wiki- | /* Content (Liste etc.) */ | ||
.wiki-card div { | |||
color: #ddd; | |||
font-size: 0.9em; | |||
} | } | ||
.wiki- | /* Optional: Links in Card */ | ||
.wiki-card a { | |||
color: #ffd966; | |||
text-decoration: none; | |||
transition: color 0.2s; | |||
} | } | ||
.wiki- | .wiki-card a:hover { | ||
color: #ffcc00; | |||
text-decoration: underline; | |||
} | } | ||
/*----------------------------------------- Container ENDE --------------------------------------*/ | /*----------------------------------------- Container ENDE --------------------------------------*/ | ||
Version vom 11. Januar 2026, 16:55 Uhr
/*----------------------------------------- Card Design START --------------------------------------*/
/* ===============================
SHADCN / MODERN CLEAN THEME
=============================== */
/* ===============================
Dark / Elegant Card Style
=============================== */
.wiki-card {
background-color: #1f1f1f; /* dunkles Grau-Schwarz */
border-radius: 12px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* tiefer Schatten */
padding: 1.2em 1em;
margin: 1em 0;
border: 1px solid #333; /* dezente Umrandung */
font-family: "Inter", "Segoe UI", sans-serif;
color: #eee; /* heller Text */
transition: transform 0.2s, box-shadow 0.2s;
}
.wiki-card:hover {
transform: translateY(-3px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
}
/* Titel */
.wiki-card h3 {
margin-top: 0;
font-size: 1.25em;
font-weight: 600;
color: #ffd966; /* dezenter goldener Akzent für Titel */
}
/* Beschreibung */
.wiki-card p {
margin: 0.5em 0 1em 0;
color: #ccc;
font-size: 0.95em;
}
/* Content (Liste etc.) */
.wiki-card div {
color: #ddd;
font-size: 0.9em;
}
/* Optional: Links in Card */
.wiki-card a {
color: #ffd966;
text-decoration: none;
transition: color 0.2s;
}
.wiki-card a:hover {
color: #ffcc00;
text-decoration: underline;
}
/*----------------------------------------- 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 --------------------------------------*/