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.
.mw-body {
position: relative;
min-height: 100vh; /* full viewport height */
background-image:
linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)),
url('/wiki/assets/bg.jpeg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
body.page-Main_Page #firstHeading {
display: none;
}
/* ===== MAIN PAGE ONLY STYLES ===== */
.mainpage-header {
background: linear-gradient(to bottom, rgba(39, 42, 53, 0.95), rgba(39, 42, 53, 0.7));
border-bottom: 3px solid rgba(91, 155, 213, 0.3);
padding: 2rem 1rem;
margin: 0 0 2rem 0;
text-align: center;
}
.mainpage-logo {
margin: 0 0 1rem 0;
}
.mainpage-title {
font-size: 3rem;
margin: 0;
color: #ffffff;
font-weight: bold;
letter-spacing: 2px;
}
.mainpage-subtitle {
font-size: 1.3rem;
color: #a8b3cf;
margin: 0.5rem 0 0 0;
font-style: italic;
font-weight: 300;
}
.mainpage-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1rem;
margin: 2rem 0;
}
.mainpage-card {
background: rgba(39, 42, 53, 0.6);
border: 1px solid rgba(91, 155, 213, 0.2);
border-radius: 8px;
padding: 1.5rem;
text-align: center;
transition: all 0.3s ease;
cursor: pointer;
min-height: 120px;
display: flex;
align-items: center;
justify-content: center;
}
.mainpage-card:hover {
background: rgba(45, 60, 85, 0.8);
border-color: rgba(91, 155, 213, 0.6);
box-shadow: 0 0 25px rgba(91, 155, 213, 0.3);
transform: translateY(-3px);
}
.mainpage-card h3 {
margin: 0 0 0.5rem 0 !important;
color: #5b9bd5;
font-size: 1.4rem;
border: none !important;
}
.mainpage-card p {
color: #b8bdc4;
font-size: 0.9rem;
margin: 0;
line-height: 1.5;
}
.mainpage-card a {
text-decoration: none;
color: inherit;
display: block;
}
.mainpage-welcome-text {
background: rgba(39, 42, 53, 0.4);
border-left: 4px solid rgba(91, 155, 213, 0.6);
padding: 1.5rem;
margin: 0 0 2rem 0;
color: #b8bdc4;
font-size: 1rem;
line-height: 1.7;
}
.mainpage-footer {
background: rgba(39, 42, 53, 0.4);
border-top: 1px solid rgba(91, 155, 213, 0.15);
padding: 1rem;
margin: 3rem 0 1rem 0;
text-align: center;
color: #888;
font-size: 0.85rem;
}