MediaWiki:Common.css: Difference between revisions
From The World of Haelora
Teganlleuad (talk | contribs) No edit summary |
Teganlleuad (talk | contribs) No edit summary |
||
| (19 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
THE WORLD OF HAELORA | THE WORLD OF HAELORA | ||
Global Wiki Stylesheet | Global Wiki Stylesheet | ||
MediaWiki Timeless Skin | |||
========================================== */ | |||
/* ========================================== | |||
1. MAIN PAGE AND CONTENT BACKGROUNDS | |||
========================================== */ | ========================================== */ | ||
body { | body { | ||
background-color: #F4EFE4; | background-color: #F4EFE4; | ||
| Line 10: | Line 15: | ||
} | } | ||
#mw-content-container { | #mw-content-container { | ||
background-color: #F4EFE4; | background-color: #F4EFE4; | ||
| Line 20: | Line 24: | ||
} | } | ||
/* | |||
/* ========================================== | |||
2. TYPOGRAPHY AND HEADINGS | |||
========================================== */ | |||
.mw-body h1, | .mw-body h1, | ||
.mw-body h2, | .mw-body h2, | ||
| Line 40: | Line 48: | ||
} | } | ||
/* | |||
/* ========================================== | |||
3. LINKS | |||
========================================== */ | |||
.mw-body a { | .mw-body a { | ||
color: #405A83; | color: #405A83; | ||
| Line 54: | Line 66: | ||
} | } | ||
/* | |||
/* ========================================== | |||
4. BORDERS AND TABLES | |||
========================================== */ | |||
.mw-body, | .mw-body, | ||
.mw-parser-output table { | .mw-parser-output table { | ||
| Line 60: | Line 76: | ||
} | } | ||
.mw-parser-output table.wikitable { | .mw-parser-output table.wikitable { | ||
background-color: #FFFDF8; | background-color: #FFFDF8; | ||
| Line 71: | Line 86: | ||
} | } | ||
/* | |||
/* ========================================== | |||
5. BLOCKQUOTES | |||
========================================== */ | |||
.mw-parser-output blockquote { | .mw-parser-output blockquote { | ||
border-left: 3px solid #B49A67; | border-left: 3px solid #B49A67; | ||
| Line 79: | Line 98: | ||
} | } | ||
/* | |||
/* ========================================== | |||
6. IMAGES AND THUMBNAILS | |||
========================================== */ | |||
.mw-parser-output .thumbinner { | .mw-parser-output .thumbinner { | ||
background-color: #F8F3E9; | background-color: #F8F3E9; | ||
| Line 86: | Line 109: | ||
} | } | ||
/* | |||
/* ========================================== | |||
7. HORIZONTAL RULES | |||
========================================== */ | |||
.mw-parser-output hr { | .mw-parser-output hr { | ||
border: 0; | border: 0; | ||
| Line 92: | Line 119: | ||
} | } | ||
/* ========================================= | |||
/* ========================================== | |||
8. UNIFIED PAGE NAVIGATION | |||
Timeless Skin | Timeless Skin | ||
========================================= */ | ========================================== */ | ||
/* | /* | ||
# | The flow-root declaration contains Timeless's | ||
floated navigation groups, allowing the border | |||
to surround the entire navigation bar. | |||
*/ | |||
background: #E6D9C3 !important; | |||
#mw-page-header-links { | |||
display: flow-root !important; | |||
background-color: #E6D9C3 !important; | |||
border: 1px solid #B49A67 !important; | border: 1px solid #B49A67 !important; | ||
border-radius: 3px; | border-radius: 3px; | ||
box-sizing: border-box; | |||
padding: 6px 10px !important; | |||
margin: 12px 0; | |||
box-shadow: none !important; | box-shadow: none !important; | ||
} | } | ||
/* Remove | |||
# | /* Remove separate backgrounds and borders */ | ||
# | |||
#mw-page-header-links .mw-portlet, | |||
#mw-page-header-links .mw-portlet-body, | |||
#mw-page-header-links ul { | |||
# | |||
background: transparent !important; | background: transparent !important; | ||
border: none !important; | |||
box-shadow: none !important; | |||
} | } | ||
/* Navigation | |||
/* Navigation links */ | |||
# | |||
#mw-page-header-links a { | |||
color: #514056 !important; | color: #514056 !important; | ||
background: transparent !important; | |||
text-decoration: none; | |||
} | } | ||
/* | |||
# | /* Active navigation tab */ | ||
#mw-page-header-links .selected a { | |||
background: #D6C3A5 !important; | background-color: #D6C3A5 !important; | ||
border-bottom: 2px solid #514056 !important; | |||
} | } | ||
/* Hover effect */ | /* Hover effect */ | ||
# | #mw-page-header-links a:hover { | ||
background-color: #D6C3A5 !important; | |||
background: #D6C3A5 !important; | |||
color: #352A39 !important; | color: #352A39 !important; | ||
} | |||
/* ========================================== | |||
HAELORA - REMOVE NAVIGATION WHITE STRIP | |||
========================================== */ | |||
/* Match the surrounding navigation area to parchment */ | |||
#mw-page-header-links { | |||
margin-bottom: 0 !important; | |||
} | |||
/* Remove the white background beneath the tabs */ | |||
#bodyContentOuter, | |||
#mw-content, | |||
#bodyContent { | |||
background-color: transparent !important; | |||
} | |||
/* ========================================== | |||
HAELORA - PAGE HEADER PARCHMENT FIX | |||
========================================== */ | |||
/* Remove remaining white behind the navigation */ | |||
#mw-page-header-links, | |||
#mw-page-header-links::before, | |||
#mw-page-header-links::after, | |||
#bodyContentOuter, | |||
#mw-content { | |||
background-color: transparent !important; | |||
} | |||
/* Restore parchment inside the navigation bar */ | |||
#mw-page-header-links { | |||
background-color: #E6D9C3 !important; | |||
} | |||
} | |||
/* ========================================== | |||
HAELORA - PAGE TITLE SPACING FIX | |||
========================================== */ | |||
#mw-content #firstHeading, | |||
#mw-content .mw-first-heading, | |||
h1#firstHeading { | |||
margin-bottom: 0 !important; | |||
} | |||
/* ========================================== | |||
HAELORA RESPONSIVE CATEGORY BANNERS | |||
========================================== */ | |||
.haelora-banner { | |||
display: block; | |||
width: 100%; | |||
max-width: 100%; | |||
margin: 0 0 12px 0; | |||
padding: 0; | |||
overflow: hidden; | |||
line-height: 0; | |||
} | |||
/* MediaWiki's image wrapper */ | |||
.haelora-banner .mw-halign-none, | |||
.haelora-banner .mw-file-description, | |||
.haelora-banner .mw-default-size { | |||
display: block; | |||
width: 100%; | |||
max-width: 100%; | |||
} | |||
/* Responsive image with transparent fade */ | |||
.haelora-banner img { | |||
display: block; | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
height: auto !important; | |||
-webkit-mask-image: linear-gradient( | |||
to bottom, | |||
#000 0%, | |||
#000 60%, | |||
transparent 100% | |||
); | |||
mask-image: linear-gradient( | |||
to bottom, | |||
#000 0%, | |||
#000 60%, | |||
transparent 100% | |||
); | |||
} | |||
/* Subcategory banners */ | |||
.haelora-banner-subcategory img { | |||
-webkit-mask-image: linear-gradient( | |||
to bottom, | |||
#000 0%, | |||
#000 65%, | |||
transparent 100% | |||
); | |||
mask-image: linear-gradient( | |||
to bottom, | |||
#000 0%, | |||
#000 65%, | |||
transparent 100% | |||
); | |||
} | |||
/* Mobile */ | |||
@media screen and (max-width: 600px) { | |||
.haelora-banner { | |||
margin-bottom: 8px; | |||
} | |||
} | |||
/* Reduce spacing beneath Haelora category banners */ | |||
.haelora-banner { | |||
margin-bottom: -20px; | |||
} | |||
.haelora-banner + p { | |||
margin-top: 0; | |||
} | } | ||
Latest revision as of 21:45, 16 October 2026
/* ==========================================
THE WORLD OF HAELORA
Global Wiki Stylesheet
MediaWiki Timeless Skin
========================================== */
/* ==========================================
1. MAIN PAGE AND CONTENT BACKGROUNDS
========================================== */
body {
background-color: #F4EFE4;
color: #292724;
}
#mw-content-container {
background-color: #F4EFE4;
}
.mw-body {
background-color: #FFFDF8;
color: #292724;
}
/* ==========================================
2. TYPOGRAPHY AND HEADINGS
========================================== */
.mw-body h1,
.mw-body h2,
.mw-body h3,
.mw-body h4 {
font-family: Georgia, "Times New Roman", serif;
color: #343743;
}
.mw-body h1 {
font-size: 2.1em;
border-bottom: 2px solid #B49A67;
padding-bottom: 0.3em;
}
.mw-body h2 {
border-bottom: 1px solid #D5CBB9;
padding-bottom: 0.2em;
}
/* ==========================================
3. LINKS
========================================== */
.mw-body a {
color: #405A83;
}
.mw-body a:visited {
color: #68577B;
}
.mw-body a:hover {
color: #8A6938;
text-decoration: underline;
}
/* ==========================================
4. BORDERS AND TABLES
========================================== */
.mw-body,
.mw-parser-output table {
border-color: #D5CBB9;
}
.mw-parser-output table.wikitable {
background-color: #FFFDF8;
border: 1px solid #D5CBB9;
}
.mw-parser-output table.wikitable th {
background-color: #EAE1D1;
color: #343743;
}
/* ==========================================
5. BLOCKQUOTES
========================================== */
.mw-parser-output blockquote {
border-left: 3px solid #B49A67;
background-color: #F8F3E9;
padding: 0.8em 1.2em;
font-style: italic;
}
/* ==========================================
6. IMAGES AND THUMBNAILS
========================================== */
.mw-parser-output .thumbinner {
background-color: #F8F3E9;
border: 1px solid #D5CBB9;
padding: 5px;
}
/* ==========================================
7. HORIZONTAL RULES
========================================== */
.mw-parser-output hr {
border: 0;
border-top: 1px solid #B49A67;
}
/* ==========================================
8. UNIFIED PAGE NAVIGATION
Timeless Skin
========================================== */
/*
The flow-root declaration contains Timeless's
floated navigation groups, allowing the border
to surround the entire navigation bar.
*/
#mw-page-header-links {
display: flow-root !important;
background-color: #E6D9C3 !important;
border: 1px solid #B49A67 !important;
border-radius: 3px;
box-sizing: border-box;
padding: 6px 10px !important;
margin: 12px 0;
box-shadow: none !important;
}
/* Remove separate backgrounds and borders */
#mw-page-header-links .mw-portlet,
#mw-page-header-links .mw-portlet-body,
#mw-page-header-links ul {
background: transparent !important;
border: none !important;
box-shadow: none !important;
}
/* Navigation links */
#mw-page-header-links a {
color: #514056 !important;
background: transparent !important;
text-decoration: none;
}
/* Active navigation tab */
#mw-page-header-links .selected a {
background-color: #D6C3A5 !important;
border-bottom: 2px solid #514056 !important;
}
/* Hover effect */
#mw-page-header-links a:hover {
background-color: #D6C3A5 !important;
color: #352A39 !important;
}
/* ==========================================
HAELORA - REMOVE NAVIGATION WHITE STRIP
========================================== */
/* Match the surrounding navigation area to parchment */
#mw-page-header-links {
margin-bottom: 0 !important;
}
/* Remove the white background beneath the tabs */
#bodyContentOuter,
#mw-content,
#bodyContent {
background-color: transparent !important;
}
/* ==========================================
HAELORA - PAGE HEADER PARCHMENT FIX
========================================== */
/* Remove remaining white behind the navigation */
#mw-page-header-links,
#mw-page-header-links::before,
#mw-page-header-links::after,
#bodyContentOuter,
#mw-content {
background-color: transparent !important;
}
/* Restore parchment inside the navigation bar */
#mw-page-header-links {
background-color: #E6D9C3 !important;
}
}
/* ==========================================
HAELORA - PAGE TITLE SPACING FIX
========================================== */
#mw-content #firstHeading,
#mw-content .mw-first-heading,
h1#firstHeading {
margin-bottom: 0 !important;
}
/* ==========================================
HAELORA RESPONSIVE CATEGORY BANNERS
========================================== */
.haelora-banner {
display: block;
width: 100%;
max-width: 100%;
margin: 0 0 12px 0;
padding: 0;
overflow: hidden;
line-height: 0;
}
/* MediaWiki's image wrapper */
.haelora-banner .mw-halign-none,
.haelora-banner .mw-file-description,
.haelora-banner .mw-default-size {
display: block;
width: 100%;
max-width: 100%;
}
/* Responsive image with transparent fade */
.haelora-banner img {
display: block;
width: 100% !important;
max-width: 100% !important;
height: auto !important;
-webkit-mask-image: linear-gradient(
to bottom,
#000 0%,
#000 60%,
transparent 100%
);
mask-image: linear-gradient(
to bottom,
#000 0%,
#000 60%,
transparent 100%
);
}
/* Subcategory banners */
.haelora-banner-subcategory img {
-webkit-mask-image: linear-gradient(
to bottom,
#000 0%,
#000 65%,
transparent 100%
);
mask-image: linear-gradient(
to bottom,
#000 0%,
#000 65%,
transparent 100%
);
}
/* Mobile */
@media screen and (max-width: 600px) {
.haelora-banner {
margin-bottom: 8px;
}
}
/* Reduce spacing beneath Haelora category banners */
.haelora-banner {
margin-bottom: -20px;
}
.haelora-banner + p {
margin-top: 0;
}
