MediaWiki:Common.css: Difference between revisions
From Taylor Wiki
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
======================================================== */ | ======================================================== */ | ||
/* 1. Global Typography */ | /* 1. Global Typography & Base Background */ | ||
html, body { | |||
font-family: "Open Sans", Arial, Helvetica, sans-serif !important; | |||
background-color: #14153a !important; /* Replaces default #72777d grey */ | |||
min-height: 100%; | |||
} | |||
body, #content, .mw-body { | body, #content, .mw-body { | ||
font-family: "Open Sans", Arial, Helvetica, sans-serif !important; | font-family: "Open Sans", Arial, Helvetica, sans-serif !important; | ||
} | } | ||
/* 2. Top Header Bar (Desktop & Mobile) */ | /* 2. Sticky Footer Layout (No gap below footer on short pages) */ | ||
#mw-wrapper { | |||
min-height: 100vh !important; | |||
display: flex !important; | |||
flex-direction: column !important; | |||
} | |||
#mw-content-container { | |||
flex: 1 0 auto !important; | |||
border-bottom: 2px solid #2d3282 !important; /* Replaces Timeless teal line */ | |||
} | |||
/* 3. Top Header Bar (Desktop & Mobile) */ | |||
#mw-header-container { | #mw-header-container { | ||
background: #14153a linear-gradient(180deg, #14153a 0%, #1f2159 50%, #14153a 100%) !important; | background: #14153a linear-gradient(180deg, #14153a 0%, #1f2159 50%, #14153a 100%) !important; | ||
| Line 32: | Line 50: | ||
} | } | ||
/* | /* 4. Mobile Header Icons (Turn dark grey SVGs into crisp white) */ | ||
@media screen and (max-width: 850px) { | |||
#site-navigation h2, | |||
#site-tools h2, | |||
#user-tools h2, | |||
#user-tools h2::after, | |||
.sidebar-chunk h2::after { | |||
filter: brightness(0) invert(1) !important; | |||
opacity: 0.95 !important; | |||
} | |||
} | |||
/* 5. Search Bar in Header */ | |||
#mw-header-container #searchInput { | #mw-header-container #searchInput { | ||
border-radius: 4px !important; | border-radius: 4px !important; | ||
| Line 38: | Line 68: | ||
} | } | ||
/* | /* 6. Content Headings and Primary Links */ | ||
h1#firstHeading { | h1#firstHeading { | ||
color: #14153a !important; | color: #14153a !important; | ||
| Line 52: | Line 82: | ||
} | } | ||
/* | /* 7. Sidebar Navigation Titles & Active Accents */ | ||
.sidebar-chunk h2 { | .sidebar-chunk h2 { | ||
color: #14153a !important; | color: #14153a !important; | ||
| Line 65: | Line 95: | ||
} | } | ||
/* | /* 8. Tabs across the top of articles (Read, Edit, View history) */ | ||
.page-tools .mw-portlet-views li.selected a { | .page-tools .mw-portlet-views li.selected a { | ||
border-bottom: 3px solid #444ced !important; | border-bottom: 3px solid #444ced !important; | ||
| Line 73: | Line 103: | ||
/* ======================================================== | /* ======================================================== | ||
GEWAME Seal Medallion in Sidebar | GEWAME Seal Medallion in Sidebar | ||
======================================================== */ | ======================================================== */ | ||
#p-logo { | #p-logo { | ||
| Line 112: | Line 142: | ||
======================================================== */ | ======================================================== */ | ||
#mw-footer-container { | #mw-footer-container { | ||
flex-shrink: 0 !important; | |||
background: #14153a linear-gradient(180deg, #1f2159 0%, #14153a 100%) !important; | background: #14153a linear-gradient(180deg, #1f2159 0%, #14153a 100%) !important; | ||
border-top: 2px solid #2d3282 !important; | border-top: 2px solid #2d3282 !important; | ||
| Line 119: | Line 150: | ||
/* Footer text & links */ | /* Footer text & links */ | ||
#footer ul li, | #footer ul li, | ||
#footer a { | #footer a, | ||
.mw-footer a { | |||
color: #cbd5e1 !important; | color: #cbd5e1 !important; | ||
} | } | ||
#footer a:hover { | #footer a:hover, | ||
.mw-footer a:hover { | |||
color: #ffffff !important; | color: #ffffff !important; | ||
text-decoration: underline !important; | text-decoration: underline !important; | ||
} | } | ||
Revision as of 23:00, 17 September 2026
/* CSS placed here will be applied to all skins */
/* ========================================================
Taylor Archive / GEWAME - Timeless Skin Theme
======================================================== */
/* 1. Global Typography & Base Background */
html, body {
font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
background-color: #14153a !important; /* Replaces default #72777d grey */
min-height: 100%;
}
body, #content, .mw-body {
font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
}
/* 2. Sticky Footer Layout (No gap below footer on short pages) */
#mw-wrapper {
min-height: 100vh !important;
display: flex !important;
flex-direction: column !important;
}
#mw-content-container {
flex: 1 0 auto !important;
border-bottom: 2px solid #2d3282 !important; /* Replaces Timeless teal line */
}
/* 3. Top Header Bar (Desktop & Mobile) */
#mw-header-container {
background: #14153a linear-gradient(180deg, #14153a 0%, #1f2159 50%, #14153a 100%) !important;
border-bottom: 2px solid #2d3282 !important;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}
/* Top bar text, dropdown triggers, and buttons */
#mw-header-container a,
#mw-header-container button,
#mw-header-container .dropdown h2 span,
#user-tools h2 span {
color: #ffffff !important;
}
/* Header hover states matching TNG */
#mw-header-container a:hover,
#user-tools li a:hover {
color: #ffffff !important;
background-color: #444ced !important;
border-radius: 4px !important;
}
/* 4. Mobile Header Icons (Turn dark grey SVGs into crisp white) */
@media screen and (max-width: 850px) {
#site-navigation h2,
#site-tools h2,
#user-tools h2,
#user-tools h2::after,
.sidebar-chunk h2::after {
filter: brightness(0) invert(1) !important;
opacity: 0.95 !important;
}
}
/* 5. Search Bar in Header */
#mw-header-container #searchInput {
border-radius: 4px !important;
border: 1px solid #2d3282 !important;
}
/* 6. Content Headings and Primary Links */
h1#firstHeading {
color: #14153a !important;
border-bottom: 2px solid #444ced !important;
font-weight: 600 !important;
}
a {
color: #1f2159;
}
a:hover {
color: #444ced;
}
/* 7. Sidebar Navigation Titles & Active Accents */
.sidebar-chunk h2 {
color: #14153a !important;
font-weight: 700 !important;
text-transform: uppercase !important;
letter-spacing: 0.5px !important;
font-size: 0.85rem !important;
}
.sidebar-chunk ul li a:hover {
color: #444ced !important;
}
/* 8. Tabs across the top of articles (Read, Edit, View history) */
.page-tools .mw-portlet-views li.selected a {
border-bottom: 3px solid #444ced !important;
color: #14153a !important;
font-weight: bold !important;
}
/* ========================================================
GEWAME Seal Medallion in Sidebar
======================================================== */
#p-logo {
text-align: center !important;
margin: 20px auto 16px auto !important;
padding: 0 !important;
}
#p-logo .mw-wiki-logo {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
background: #14153a linear-gradient(180deg, #14153a 0%, #1f2159 50%, #14153a 100%) !important;
border: 3px solid #2d3282 !important;
border-radius: 50% !important;
width: 124px !important;
height: 124px !important;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
#p-logo .mw-wiki-logo:hover {
transform: scale(1.04) !important;
box-shadow: 0 6px 16px rgba(68, 76, 237, 0.4) !important;
}
#p-logo .mw-wiki-logo img {
width: 108px !important;
height: 108px !important;
max-width: 108px !important;
max-height: 108px !important;
object-fit: contain !important;
display: block !important;
}
/* ========================================================
Footer - Match TNG / Header Navy
======================================================== */
#mw-footer-container {
flex-shrink: 0 !important;
background: #14153a linear-gradient(180deg, #1f2159 0%, #14153a 100%) !important;
border-top: 2px solid #2d3282 !important;
color: #e0e0e0 !important;
}
/* Footer text & links */
#footer ul li,
#footer a,
.mw-footer a {
color: #cbd5e1 !important;
}
#footer a:hover,
.mw-footer a:hover {
color: #ffffff !important;
text-decoration: underline !important;
}