MediaWiki:Common.css

Aus DeepslateSMP 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
.wiki-hero-section {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    padding: 60px 20px;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 30px;
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.wiki-hero-title {
    font-size: 2.8em;
    font-weight: 800;
    margin-bottom: 10px;
}

.wiki-hero-subtitle {
    font-size: 1.2em;
    opacity: 0.85;
    margin-bottom: 25px;
}

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

.wiki-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    
}

.wiki-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.wiki-card h3 {
    margin-top: 0;
    font-size: 1.4em;
    border-bottom: none;
}
.wiki-card {
    background: #1e293b; /* Ein dunkleres, satteres Blaugrau */
    color: #f8fafc; /* Helle Schrift für perfekten Kontrast */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wiki-team-avatar {
    border-radius: 8px;
    margin-bottom: 15px;
    width: 100px;
    height: 100px;
    image-rendering: pixelated;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}

.wiki-role {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-builder { background: #3b82f6; color: white; }
.role-admin { background: #ef4444; color: white; }
.role-mod { background: #10b981; color: white; }
.role-owner { background: #8b5cf6; color: white; }
.role-sysop { background: #f59e0b; color: white; }

.wiki-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #3b82f6;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    margin: 5px;
    transition: background 0.2s ease;
}

.wiki-btn:hover {
    background: #2563eb;
    text-decoration: none;
}

.wiki-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wiki-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}
/* Kompletter Seitenhintergrund & Container im Dark Mode */
body, #mw-page-base, #mw-head-base {
    background-color: #0f172a !important;
}

/* Die Haupt-Inhaltsbox einfärben */
#content {
    background-color: #1e293b !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}

/* Überschriften-Linien anpassen */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff !important;
    border-bottom-color: #334155 !important;
}

/* Standard-Links im Text lesbar machen */
#content a:not(.wiki-btn) {
    color: #3b82f6 !important;
}
#content a:not(.wiki-btn):visited {
    color: #60a5fa !important;
}

/* Navigations-Menüs (Seitenleisten) */
.mw-sidebar-action, .vector-menu-portal, .vector-menu-heading, #mw-panel .portal h3 {
    color: #94a3b8 !important;
}
.vector-menu-content-list li a {
    color: #cbd5e1 !important;
}
.vector-menu-content-list li a:hover {
    color: #3b82f6 !important;
}

/* Obere Menüleiste (Tabs wie 'Hauptseite', 'Diskussion', 'Bearbeiten') */
.vector-menu-tabs li {
    background-image: linear-gradient(to top, #1e293b 0%, #0f172a 100%) !important;
    border-color: #334155 !important;
}
.vector-menu-tabs li a {
    color: #cbd5e1 !important;
}
.vector-menu-tabs .selected {
    background: #1e293b !important;
}
.vector-menu-tabs .selected a {
    color: #ffffff !important;
}