MediaWiki:Common.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* --- ELDRASIL WIKI MAIN PAGE THEME --- */
:root {
--eld-bg: #0a0b10;
--eld-card-bg: #13151f;
--eld-border: rgba(255, 255, 255, 0.1);
--eld-gold: #f6ce68;
--eld-purple: #9056c6;
--eld-text: #f3f0f7;
--eld-text-muted: #d8c4f8;
}
/* Hide the default "Main Page" title and site tagline */
.page-Main_Page #firstHeading,
.page-Main_Page #siteSub,
.page-Main_Page #contentSub {
display: none !important;
}
/* Main Container */
.eld-main-container {
font-family: 'Inter', sans-serif;
color: var(--eld-text);
max-width: 1200px;
margin: 0 auto;
}
/* Hero Section */
.eld-hero {
text-align: center;
padding: 4rem 2rem;
background: radial-gradient(circle at center, rgba(144, 86, 198, 0.15) 0%, rgba(10, 11, 16, 0) 70%);
border-bottom: 1px solid var(--eld-border);
margin-bottom: 2rem;
}
.eld-hero h1 {
font-family: 'Cinzel', serif; /* Fallback if not loaded, standard serif */
font-size: 3rem;
font-weight: 900;
margin-bottom: 0.5rem;
background: linear-gradient(to bottom, #ffffff, #9ca3af);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
border: none; /* Remove default MW h1 border */
}
.eld-hero p {
color: var(--eld-gold);
text-transform: uppercase;
letter-spacing: 0.3em;
font-size: 0.9rem;
font-weight: bold;
}
/* Grid Layout */
.eld-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1.5rem;
margin-bottom: 3rem;
}
/* Card Styling */
.eld-card {
background-color: var(--eld-card-bg);
border: 1px solid var(--eld-border);
border-radius: 12px;
padding: 1.5rem;
transition: all 0.3s ease;
text-decoration: none; /* For links */
display: block;
position: relative;
overflow: hidden;
}
.eld-card:hover {
transform: translateY(-5px);
border-color: var(--eld-gold);
box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.5);
text-decoration: none;
}
.eld-card h2 {
font-family: serif;
color: var(--eld-gold);
font-size: 1.5rem;
border-bottom: none;
margin-top: 0;
}
.eld-card p {
color: var(--eld-text-muted);
font-size: 0.9rem;
line-height: 1.5;
}
/* Feature Icons in Cards */
.eld-icon-box {
width: 40px;
height: 40px;
background: rgba(255,255,255,0.05);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1rem;
font-size: 1.5rem;
}
/* Quick Links Section (Row of buttons) */
.eld-links {
display: flex;
justify-content: center;
gap: 1rem;
flex-wrap: wrap;
margin-top: 2rem;
}
.eld-btn {
background: rgba(255,255,255,0.05);
border: 1px solid var(--eld-border);
padding: 0.75rem 1.5rem;
border-radius: 50px;
color: var(--eld-text);
font-weight: bold;
text-transform: uppercase;
font-size: 0.8rem;
letter-spacing: 0.1em;
transition: all 0.2s;
text-decoration: none;
}
.eld-btn:hover {
background: var(--eld-gold);
color: #000;
text-decoration: none;
}
/* Mobile Adjustments */
@media (max-width: 768px) {
.eld-hero h1 { font-size: 2rem; }
.eld-grid { grid-template-columns: 1fr; }
}