MediaWiki:Timeless.css: Difference between revisions
From The World of Haelora
Teganlleuad (talk | contribs) No edit summary |
Teganlleuad (talk | contribs) Streamlined CSS code |
||
| Line 1: | Line 1: | ||
/* ========================================== | /* ============================================== | ||
THE WORLD OF HAELORA | THE WORLD OF HAELORA | ||
Timeless Skin | MediaWiki Timeless Skin | ||
========================================== */ | Version 1.0 | ||
============================================== */ | |||
/* ============================================== | |||
1. GLOBAL COLORS & BACKGROUNDS | |||
============================================== */ | |||
body, | |||
#mw-content-container { | |||
background-color: #E9E0D1 !important; | |||
color: #292724; | |||
} | |||
/* Main article background */ | /* Main article background */ | ||
#mw-content, | |||
#mw-content .mw-parser-output, | |||
#mw-content .mw-body-content { | |||
background-color: #F3EBDD !important; | |||
color: #292724; | |||
} | |||
#mw-content { | #mw-content { | ||
border: 1px solid #B49A67 !important; | |||
border: 1px solid # | |||
} | } | ||
/* | /* Remove default container borders */ | ||
#mw-content-container { | #mw-content-container { | ||
border-top: none !important; | |||
border-bottom: none !important; | |||
} | } | ||
/* ============================================== | |||
2. TYPOGRAPHY & HEADINGS | |||
============================================== */ | |||
/* Main page title */ | /* Main page title */ | ||
#firstHeading { | #firstHeading { | ||
font-family: Georgia, "Times New Roman", serif; | font-family: Georgia, "Times New Roman", serif; | ||
color: #343743; | color: #343743; | ||
border-bottom: 2px solid #B49A67; | border-bottom: 2px solid #B49A67 !important; | ||
padding-bottom: 0.3em; | padding-bottom: 0.3em; | ||
} | } | ||
/* Article | #mw-content #firstHeading { | ||
background-color: #F3EBDD !important; | |||
} | |||
/* Article headings */ | |||
#mw-content h2, | #mw-content h2, | ||
#mw-content h3, | #mw-content h3, | ||
| Line 33: | Line 64: | ||
#mw-content h2 { | #mw-content h2 { | ||
border-bottom: 1px solid #D5CBB9; | border-bottom: 1px solid #D5CBB9 !important; | ||
padding-bottom: 0.2em; | padding-bottom: 0.2em; | ||
} | } | ||
/* | /* ============================================== | ||
3. LINKS | |||
============================================== */ | |||
#mw-content a { | #mw-content a { | ||
color: #405A83; | color: #405A83; | ||
| Line 55: | Line 83: | ||
#mw-content a:hover { | #mw-content a:hover { | ||
color: #8A6938; | color: #8A6938; | ||
text-decoration: underline; | |||
} | } | ||
/* ============================================== | |||
4. HEADER & FOOTER | |||
============================================== */ | |||
/* | /* Antique gold header */ | ||
#mw-header-container { | |||
border-bottom: 5px solid #B49A67 !important; | |||
#mw- | |||
} | } | ||
#mw-header { | |||
#mw- | border-bottom-color: #B49A67 !important; | ||
} | } | ||
/* | /* Replace Timeless's colored header stripes */ | ||
#mw-header-hack .color-left, | |||
# | #mw-header-hack .color-middle, | ||
#mw-header-hack .color-right { | |||
background: #B49A67 !important; | |||
#mw- | |||
#mw- | |||
background | |||
} | } | ||
/* | /* Antique gold footer */ | ||
#mw-footer-container { | #mw-footer-container { | ||
border-top: 4px solid #B49A67 !important; | border-top: 4px solid #B49A67 !important; | ||
} | } | ||
/* | /* Footer readability */ | ||
#mw-footer-container, | #mw-footer-container, | ||
#mw-footer-container *, | #mw-footer-container *, | ||
| Line 174: | Line 124: | ||
} | } | ||
/* | |||
/* ============================================== | |||
5. SIDEBAR NAVIGATION | |||
============================================== */ | |||
#mw-site-navigation .sidebar-inner, | #mw-site-navigation .sidebar-inner, | ||
#mw-site-navigation .sidebar-chunk, | #mw-site-navigation .sidebar-chunk, | ||
| Line 181: | Line 135: | ||
background-color: #EDE3D3 !important; | background-color: #EDE3D3 !important; | ||
border-color: #D5CBB9 !important; | border-color: #D5CBB9 !important; | ||
} | } | ||
#mw-site-navigation .sidebar-chunk, | |||
#mw- | #mw-related-navigation .sidebar-chunk { | ||
border | border: 1px solid #D5CBB9 !important; | ||
} | } | ||
/* | /* ============================================== | ||
6. TABLES & DIVIDERS | |||
============================================== */ | |||
#mw-content table.wikitable { | |||
#mw-content | background-color: #F3EBDD; | ||
background-color: #F3EBDD | border-color: #D5CBB9; | ||
} | } | ||
#mw-content table.wikitable th { | |||
#mw- | background-color: #EAE1D1; | ||
color: #343743; | |||
# | |||
color: # | |||
} | } | ||
#mw-content hr { | |||
border: 0; | |||
border-top: 1px solid #B49A67; | |||
#mw- | |||
border- | |||
} | } | ||
/* ========================================== | /* ============================================== | ||
7. HOMEPAGE - WELCOME SECTION | |||
========================================== */ | ============================================== */ | ||
.haelora-welcome { | .haelora-welcome { | ||
max-width: 850px; | max-width: 850px; | ||
margin: | margin: 0 auto 45px; | ||
padding: 25px | padding: 0 35px 25px; | ||
text-align: center; | text-align: center; | ||
color: #292724; | color: #292724; | ||
} | } | ||
/* Welcome heading */ | |||
.haelora-welcome-title { | .haelora-welcome-title { | ||
| Line 253: | Line 183: | ||
margin-bottom: 22px; | margin-bottom: 22px; | ||
} | } | ||
/* Introductory text */ | |||
.haelora-welcome-intro { | .haelora-welcome-intro { | ||
| Line 262: | Line 194: | ||
margin-bottom: 18px; | margin-bottom: 18px; | ||
} | } | ||
/* Author credit */ | |||
.haelora-welcome-credit { | .haelora-welcome-credit { | ||
| Line 271: | Line 205: | ||
} | } | ||
/* ============================================== | |||
8. HOMEPAGE - REALM NAVIGATION | |||
============================================== */ | |||
/* ========================================== | |||
. | |||
#mw-content .haelora-realms { | #mw-content .haelora-realms { | ||
| Line 371: | Line 214: | ||
margin: 35px auto 50px; | margin: 35px auto 50px; | ||
} | } | ||
/* Section heading */ | |||
#mw-content .haelora-realms-heading { | #mw-content .haelora-realms-heading { | ||
| Line 381: | Line 226: | ||
margin-bottom: 30px; | margin-bottom: 30px; | ||
} | } | ||
/* Two-column realm grid */ | |||
#mw-content .haelora-realm-grid { | #mw-content .haelora-realm-grid { | ||
| Line 387: | Line 234: | ||
gap: 22px; | gap: 22px; | ||
} | } | ||
/* Individual realm cards */ | |||
#mw-content .haelora-realm-card { | #mw-content .haelora-realm-card { | ||
| Line 394: | Line 243: | ||
text-align: center; | text-align: center; | ||
min-width: 0; | min-width: 0; | ||
transition: background-color 0.2s ease; | |||
} | |||
#mw-content .haelora-realm-card:hover { | |||
background-color: #E5D7C2 !important; | |||
} | } | ||
/* Realm names */ | |||
#mw-content .haelora-realm-name { | #mw-content .haelora-realm-name { | ||
| Line 411: | Line 267: | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
/* Realm descriptions */ | |||
#mw-content .haelora-realm-card p { | #mw-content .haelora-realm-card p { | ||
| Line 418: | Line 276: | ||
margin: 0; | margin: 0; | ||
} | } | ||
/* ============================================== | |||
9. HOMEPAGE - LOGO SPACING | |||
============================================== */ | |||
body.page-Main_Page .mw-parser-output > p:first-child { | |||
margin-bottom: 0 !important; | |||
} | |||
/* ============================================== | |||
10. RESPONSIVE MOBILE STYLES | |||
============================================== */ | |||
@media (max-width: 650px) { | @media (max-width: 650px) { | ||
/* Welcome section */ | |||
.haelora-welcome { | |||
padding: 0 12px 20px; | |||
margin: 0 auto 30px; | |||
} | |||
.haelora-welcome-intro { | |||
font-size: 1.1rem; | |||
} | |||
/* Stack realm cards vertically */ | |||
#mw-content .haelora-realm-grid { | #mw-content .haelora-realm-grid { | ||
grid-template-columns: 1fr; | grid-template-columns: 1fr; | ||
| Line 427: | Line 313: | ||
padding: 20px; | padding: 20px; | ||
} | } | ||
/* Adjust realm heading */ | |||
#mw-content .haelora-realms-heading { | |||
font-size: 1.7rem; | |||
} | |||
} | } | ||
Revision as of 21:09, 11 October 2026
/* ==============================================
THE WORLD OF HAELORA
MediaWiki Timeless Skin
Version 1.0
============================================== */
/* ==============================================
1. GLOBAL COLORS & BACKGROUNDS
============================================== */
body,
#mw-content-container {
background-color: #E9E0D1 !important;
color: #292724;
}
/* Main article background */
#mw-content,
#mw-content .mw-parser-output,
#mw-content .mw-body-content {
background-color: #F3EBDD !important;
color: #292724;
}
#mw-content {
border: 1px solid #B49A67 !important;
}
/* Remove default container borders */
#mw-content-container {
border-top: none !important;
border-bottom: none !important;
}
/* ==============================================
2. TYPOGRAPHY & HEADINGS
============================================== */
/* Main page title */
#firstHeading {
font-family: Georgia, "Times New Roman", serif;
color: #343743;
border-bottom: 2px solid #B49A67 !important;
padding-bottom: 0.3em;
}
#mw-content #firstHeading {
background-color: #F3EBDD !important;
}
/* Article headings */
#mw-content h2,
#mw-content h3,
#mw-content h4 {
font-family: Georgia, "Times New Roman", serif;
color: #343743;
}
#mw-content h2 {
border-bottom: 1px solid #D5CBB9 !important;
padding-bottom: 0.2em;
}
/* ==============================================
3. LINKS
============================================== */
#mw-content a {
color: #405A83;
}
#mw-content a:visited {
color: #68577B;
}
#mw-content a:hover {
color: #8A6938;
text-decoration: underline;
}
/* ==============================================
4. HEADER & FOOTER
============================================== */
/* Antique gold header */
#mw-header-container {
border-bottom: 5px solid #B49A67 !important;
}
#mw-header {
border-bottom-color: #B49A67 !important;
}
/* Replace Timeless's colored header stripes */
#mw-header-hack .color-left,
#mw-header-hack .color-middle,
#mw-header-hack .color-right {
background: #B49A67 !important;
}
/* Antique gold footer */
#mw-footer-container {
border-top: 4px solid #B49A67 !important;
}
/* Footer readability */
#mw-footer-container,
#mw-footer-container *,
#mw-footer,
#mw-footer a {
color: #514B43 !important;
}
/* ==============================================
5. SIDEBAR NAVIGATION
============================================== */
#mw-site-navigation .sidebar-inner,
#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-inner,
#mw-related-navigation .sidebar-chunk {
background-color: #EDE3D3 !important;
border-color: #D5CBB9 !important;
}
#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-chunk {
border: 1px solid #D5CBB9 !important;
}
/* ==============================================
6. TABLES & DIVIDERS
============================================== */
#mw-content table.wikitable {
background-color: #F3EBDD;
border-color: #D5CBB9;
}
#mw-content table.wikitable th {
background-color: #EAE1D1;
color: #343743;
}
#mw-content hr {
border: 0;
border-top: 1px solid #B49A67;
}
/* ==============================================
7. HOMEPAGE - WELCOME SECTION
============================================== */
.haelora-welcome {
max-width: 850px;
margin: 0 auto 45px;
padding: 0 35px 25px;
text-align: center;
color: #292724;
}
/* Welcome heading */
.haelora-welcome-title {
font-family: Georgia, "Times New Roman", serif;
font-size: clamp(1.8rem, 3vw, 2.6rem);
color: #343743;
margin-bottom: 22px;
}
/* Introductory text */
.haelora-welcome-intro {
font-family: Georgia, "Times New Roman", serif;
font-size: 1.25rem;
font-style: italic;
line-height: 1.7;
color: #514B43;
margin-bottom: 18px;
}
/* Author credit */
.haelora-welcome-credit {
font-size: 0.9rem;
color: #756B5D;
margin-top: 25px;
padding-top: 18px;
border-top: 1px solid #B49A67;
}
/* ==============================================
8. HOMEPAGE - REALM NAVIGATION
============================================== */
#mw-content .haelora-realms {
max-width: 1100px;
margin: 35px auto 50px;
}
/* Section heading */
#mw-content .haelora-realms-heading {
text-align: center;
font-family: Georgia, "Times New Roman", serif;
font-size: 2rem;
color: #343743;
border-bottom: 1px solid #B49A67;
padding-bottom: 15px;
margin-bottom: 30px;
}
/* Two-column realm grid */
#mw-content .haelora-realm-grid {
display: grid !important;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 22px;
}
/* Individual realm cards */
#mw-content .haelora-realm-card {
background-color: #EDE3D3 !important;
border: 1px solid #B49A67 !important;
padding: 25px;
text-align: center;
min-width: 0;
transition: background-color 0.2s ease;
}
#mw-content .haelora-realm-card:hover {
background-color: #E5D7C2 !important;
}
/* Realm names */
#mw-content .haelora-realm-name {
font-family: Georgia, "Times New Roman", serif;
font-size: 1.6rem;
margin-bottom: 12px;
}
#mw-content .haelora-realm-name a {
color: #343743 !important;
text-decoration: none;
}
#mw-content .haelora-realm-name a:hover {
color: #8A6938 !important;
text-decoration: underline;
}
/* Realm descriptions */
#mw-content .haelora-realm-card p {
font-size: 0.95rem;
line-height: 1.6;
color: #514B43;
margin: 0;
}
/* ==============================================
9. HOMEPAGE - LOGO SPACING
============================================== */
body.page-Main_Page .mw-parser-output > p:first-child {
margin-bottom: 0 !important;
}
/* ==============================================
10. RESPONSIVE MOBILE STYLES
============================================== */
@media (max-width: 650px) {
/* Welcome section */
.haelora-welcome {
padding: 0 12px 20px;
margin: 0 auto 30px;
}
.haelora-welcome-intro {
font-size: 1.1rem;
}
/* Stack realm cards vertically */
#mw-content .haelora-realm-grid {
grid-template-columns: 1fr;
}
#mw-content .haelora-realm-card {
padding: 20px;
}
/* Adjust realm heading */
#mw-content .haelora-realms-heading {
font-size: 1.7rem;
}
}
