MediaWiki:Common.css
MediaWiki interface page
More actions
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.
/* =========================
SHADYPEDIA MAIN PAGE
========================= */
.shady-mainpage {
max-width: 1500px;
margin: auto;
padding: 20px;
color: #d7dde5;
font-family: Inter, Arial, sans-serif;
}
/* HERO */
.shady-hero {
text-align: center;
padding: 50px 20px 35px;
}
.shady-logo {
font-size: 72px;
font-weight: 900;
color: #ffffff;
letter-spacing: 3px;
text-transform: uppercase;
line-height: 1;
}
.shady-tagline {
color: #9ba9bb;
margin-top: 14px;
font-size: 16px;
}
/* SEARCH */
.shady-search {
margin-top: 30px;
}
.shady-search input {
width: 650px;
max-width: 92%;
background: #0c1118;
border: 1px solid #263241;
border-radius: 14px;
padding: 16px 20px;
color: #ffffff;
font-size: 16px;
transition: all .2s ease;
}
.shady-search input:focus {
outline: none;
border-color: #ff3c3c;
box-shadow: 0 0 12px rgba(255,60,60,.3);
}
/* FEATURED */
.shady-featured {
position: relative;
overflow: hidden;
border-radius: 16px;
margin-bottom: 24px;
border: 1px solid #222d3a;
background: #0d121a;
box-shadow: 0 0 25px rgba(0,0,0,.35);
}
.shady-featured img {
width: 100%;
display: block;
object-fit: cover;
}
.shady-featured-overlay {
position: absolute;
bottom: 0;
width: 100%;
padding: 32px;
background: linear-gradient(
to top,
rgba(0,0,0,.95),
rgba(0,0,0,.0)
);
}
.shady-featured-title {
font-size: 13px;
text-transform: uppercase;
color: #ff3c3c;
margin-bottom: 8px;
letter-spacing: 1.5px;
font-weight: 700;
}
.shady-featured-text {
font-size: 28px;
font-weight: 800;
color: white;
max-width: 700px;
}
/* GRID */
.shady-grid {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 22px;
}
.shady-column {
display: flex;
flex-direction: column;
gap: 22px;
}
/* CARDS */
.shady-card {
background: linear-gradient(
180deg,
#10161f 0%,
#0b1017 100%
);
border: 1px solid #1f2b38;
border-radius: 16px;
padding: 22px;
box-shadow:
0 0 18px rgba(0,0,0,.35),
inset 0 1px 0 rgba(255,255,255,.03);
transition: transform .15s ease,
border-color .15s ease;
}
.shady-card:hover {
transform: translateY(-2px);
border-color: #324355;
}
.shady-card-title {
font-size: 18px;
font-weight: 700;
color: #ffffff;
margin-bottom: 18px;
border-bottom: 1px solid #1f2b38;
padding-bottom: 10px;
letter-spacing: .3px;
}
/* LINKS */
.shady-card a {
color: #8ab4ff;
text-decoration: none;
transition: color .15s ease;
}
.shady-card a:hover {
color: #ffffff;
}
/* LISTS */
.shady-card ul {
margin: 0;
padding-left: 18px;
}
.shady-card li {
margin-bottom: 8px;
}
/* STATS */
.shady-stats {
display: flex;
justify-content: space-between;
gap: 10px;
text-align: center;
}
.shady-stat-number {
font-size: 32px;
font-weight: 800;
color: #ff3c3c;
line-height: 1;
}
.shady-stat-label {
color: #98a7b9;
margin-top: 6px;
font-size: 14px;
}
/* IMAGES */
.shady-card img {
width: 100%;
border-radius: 12px;
margin-bottom: 16px;
}
/* RESPONSIVE */
@media (max-width: 1200px) {
.shady-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 700px) {
.shady-logo {
font-size: 46px;
}
.shady-featured-text {
font-size: 22px;
}
.shady-card {
padding: 18px;
}
}
/* DARKER WIKI BACKGROUND */
body {
background: #05070b;
}
/* REMOVE DEFAULT MAIN PAGE STYLING */
.page-Main_Page .mw-body {
background: transparent;
}