MediaWiki:Common.css

Aus DeepslateSMP Wiki
Version vom 18. Juli 2026, 07:00 Uhr von FeGmbH (Diskussion | Beiträge)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

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: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;
    color: #f8fafc;
    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;
    
    /* Hier ist die Anpassung für die Schriftart: */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.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);
}
.wiki-list-clean {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.wiki-list-clean li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.wiki-list-clean li::before {
    content: "•";
    position: absolute;
    left: 5px;
    color: #3b82f6;
    font-size: 1.3em;
    top: -2px;
}

.wiki-warning-box {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid #ef4444;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}