MediaWiki:Common.css: Difference between revisions
From Taylor Wiki
No edit summary |
No edit summary |
||
| Line 10: | Line 10: | ||
min-height: 100%; | 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; | ||
| Line 21: | Line 20: | ||
flex-direction: column !important; | flex-direction: column !important; | ||
} | } | ||
#mw-content-container { | #mw-content-container { | ||
flex: 1 0 auto !important; | flex: 1 0 auto !important; | ||
| Line 33: | Line 31: | ||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important; | box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important; | ||
} | } | ||
#mw-header-container a, | #mw-header-container a, | ||
#mw-header-container button, | #mw-header-container button, | ||
| Line 63: | Line 60: | ||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important; | box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important; | ||
} | } | ||
#personal .dropdown h3, | #personal .dropdown h3, | ||
#personal .dropdown label { | #personal .dropdown label { | ||
| Line 69: | Line 65: | ||
border-bottom: 2px solid #2d3282 !important; | border-bottom: 2px solid #2d3282 !important; | ||
} | } | ||
#personal .dropdown a { | #personal .dropdown a { | ||
color: #1f2159 !important; | color: #1f2159 !important; | ||
| Line 77: | Line 72: | ||
border-radius: 4px !important; | border-radius: 4px !important; | ||
} | } | ||
#personal .dropdown a:hover { | #personal .dropdown a:hover { | ||
color: #ffffff !important; | color: #ffffff !important; | ||
| Line 108: | Line 102: | ||
font-weight: 600 !important; | font-weight: 600 !important; | ||
} | } | ||
a { | a { | ||
color: #1f2159; | color: #1f2159; | ||
| Line 124: | Line 117: | ||
font-size: 0.85rem !important; | font-size: 0.85rem !important; | ||
} | } | ||
.sidebar-chunk ul li a:hover { | .sidebar-chunk ul li a:hover { | ||
color: #444ced !important; | color: #444ced !important; | ||
| Line 144: | Line 136: | ||
padding: 0 !important; | padding: 0 !important; | ||
} | } | ||
#p-logo .mw-wiki-logo { | #p-logo .mw-wiki-logo { | ||
display: inline-flex !important; | display: inline-flex !important; | ||
| Line 157: | Line 148: | ||
transition: transform 0.2s ease, box-shadow 0.2s ease !important; | transition: transform 0.2s ease, box-shadow 0.2s ease !important; | ||
} | } | ||
#p-logo .mw-wiki-logo:hover { | #p-logo .mw-wiki-logo:hover { | ||
transform: scale(1.04) !important; | transform: scale(1.04) !important; | ||
box-shadow: 0 6px 16px rgba(68, 76, 237, 0.4) !important; | box-shadow: 0 6px 16px rgba(68, 76, 237, 0.4) !important; | ||
} | } | ||
#p-logo .mw-wiki-logo img { | #p-logo .mw-wiki-logo img { | ||
width: 108px !important; | width: 108px !important; | ||
| Line 181: | Line 170: | ||
color: #e0e0e0 !important; | color: #e0e0e0 !important; | ||
} | } | ||
#footer ul li, | #footer ul li, | ||
#footer a, | #footer a, | ||
| Line 187: | Line 175: | ||
color: #cbd5e1 !important; | color: #cbd5e1 !important; | ||
} | } | ||
#footer a:hover, | #footer a:hover, | ||
.mw-footer a:hover { | .mw-footer a:hover { | ||
| Line 201: | Line 188: | ||
/* ======================================================== | /* ======================================================== | ||
Hide Empty Sidebar Cards | Hide Empty Sidebar Cards & Discussion Tab | ||
======================================================== */ | ======================================================== */ | ||
.sidebar-chunk:not(:has(li)) { | .sidebar-chunk:not(:has(li)) { | ||
display: none !important; | display: none !important; | ||
} | } | ||
@media screen and (max-width: 850px) { | @media screen and (max-width: 850px) { | ||
#site-tools { | #site-tools { | ||
| Line 213: | Line 198: | ||
} | } | ||
} | } | ||
/* Dynamic Breadcrumb Bar | #ca-talk { | ||
display: none !important; | |||
} | |||
/* ======================================================== | |||
Dynamic Breadcrumb Bar | |||
======================================================== */ | |||
.mw-dynamic-breadcrumbs { | .mw-dynamic-breadcrumbs { | ||
font-size: 0.85rem; | font-size: 0.85rem; | ||
| Line 227: | Line 218: | ||
line-height: 1.5; | line-height: 1.5; | ||
} | } | ||
.mw-dynamic-breadcrumbs .crumb-sep { | .mw-dynamic-breadcrumbs .crumb-sep { | ||
color: #8fa0b3; | color: #8fa0b3; | ||
| Line 236: | Line 225: | ||
user-select: none; | user-select: none; | ||
} | } | ||
.mw-dynamic-breadcrumbs .crumb-link { | .mw-dynamic-breadcrumbs .crumb-link { | ||
color: #2b548a !important; | color: #2b548a !important; | ||
| Line 242: | Line 230: | ||
transition: color 0.15s ease; | transition: color 0.15s ease; | ||
} | } | ||
.mw-dynamic-breadcrumbs .crumb-link:hover { | .mw-dynamic-breadcrumbs .crumb-link:hover { | ||
color: #002244 !important; | color: #002244 !important; | ||
text-decoration: underline !important; | text-decoration: underline !important; | ||
} | } | ||
.mw-dynamic-breadcrumbs .crumb-current { | .mw-dynamic-breadcrumbs .crumb-current { | ||
color: #1a2a44; | color: #1a2a44; | ||
font-weight: 600; | font-weight: 600; | ||
} | } | ||
/* ========================================================== | /* ========================================================== | ||
Desktop / Tablet Only: GEWAME Universal Top Bar (min-width: 851px) | Desktop / Tablet Only: GEWAME Universal Top Bar (min-width: 851px) | ||
| Line 272: | Line 248: | ||
left: 0; | left: 0; | ||
right: 0; | right: 0; | ||
height: | height: 44px; | ||
background- | background: #14153a linear-gradient(180deg, #14153a 0%, #0d0f28 100%); | ||
border-bottom: | border-bottom: 2px solid #2d3282; | ||
box-shadow: 0 2px | box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); | ||
z-index: 1000; | z-index: 1000; | ||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
.gw-bar-inner { | .gw-bar-inner { | ||
max-width: 1400px; | max-width: 1400px; | ||
| Line 291: | Line 266: | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
/* Brand on Left */ | |||
.gw-brand { | .gw-brand { | ||
display: flex; | display: flex; | ||
| Line 300: | Line 275: | ||
line-height: 1; | line-height: 1; | ||
} | } | ||
.gw-brand-title { | .gw-brand-title { | ||
font-family: Georgia, "Times New Roman", serif; | font-family: Georgia, "Times New Roman", serif; | ||
| Line 308: | Line 282: | ||
color: #ffffff !important; | color: #ffffff !important; | ||
} | } | ||
.gw-brand-sep { | .gw-brand-sep { | ||
color: rgba(255, 255, 255, 0.4); | color: rgba(255, 255, 255, 0.4); | ||
font-size: 0.9rem; | font-size: 0.9rem; | ||
} | } | ||
.gw-brand-sub { | .gw-brand-sub { | ||
font-size: 0.85rem; | font-size: 0.85rem; | ||
| Line 320: | Line 292: | ||
text-transform: uppercase; | text-transform: uppercase; | ||
} | } | ||
/* Nav on Right */ | |||
.gw-nav { | .gw-nav { | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
gap: | gap: 6px; | ||
} | } | ||
.gw-nav-link { | .gw-nav-link { | ||
color: | color: #ffffff !important; | ||
text-decoration: none !important; | text-decoration: none !important; | ||
font-size: 0. | text-transform: uppercase; | ||
font-weight: | font-size: 0.8rem; | ||
letter-spacing: 0. | font-weight: 600; | ||
transition: | letter-spacing: 0.8px; | ||
padding: 6px 10px; | |||
transition: all 0.2s ease; | |||
box-sizing: border-box; | |||
} | } | ||
.gw-nav-link:hover { | .gw-nav-link:hover { | ||
color: # | color: #c5a059 !important; | ||
text-decoration: | text-decoration: none !important; | ||
} | } | ||
/* Active Tab: Gold Text + Underline */ | |||
.gw-nav-link.gw-active { | .gw-nav-link.gw-active { | ||
color: # | color: #c5a059 !important; | ||
border-bottom: 2px solid #c5a059; | |||
border- | border-radius: 4px 4px 0 0; | ||
} | |||
/* Boxed Action Buttons (REGISTER, LOG IN, LOG OUT) */ | |||
.gw-nav-link.gw-btn-auth { | |||
background: rgba(255, 255, 255, 0.08) !important; | |||
border: 1px solid rgba(255, 255, 255, 0.25) !important; | |||
border-radius: 4px; | |||
margin-left: 6px; | |||
padding: 5px 12px; | |||
} | |||
.gw-nav-link.gw-btn-auth:hover { | |||
background: #c5a059 !important; | |||
color: #0d1322 !important; | |||
border-color: #c5a059 !important; | |||
} | } | ||
/* Dock Timeless skin tools right below the 44px GEWAME bar */ | |||
/* Dock Timeless tools below the | |||
#mw-header-container { | #mw-header-container { | ||
top: | top: 44px !important; | ||
z-index: 990 !important; | z-index: 990 !important; | ||
background: #0b2545 !important; | background: #0b2545 !important; | ||
} | } | ||
body.skin-timeless { | body.skin-timeless { | ||
padding-top: | padding-top: 44px !important; | ||
} | } | ||
} | } | ||
| Line 371: | Line 354: | ||
/* ========================================================== | /* ========================================================== | ||
Global Cleanups (All Screen Sizes) | Global Cleanups (All Screen Sizes) | ||
========================================================= */ | |||
/* Remove Timeless's harsh red & green accent stripes */ | /* Remove Timeless's harsh red & green accent stripes */ | ||
#mw-header-hack, | #mw-header-hack, | ||
| Line 378: | Line 361: | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* Table Header Contrast Fix (Navy with Crisp White Text) */ | /* Table Header Contrast Fix (Navy with Crisp White Text) */ | ||
table.wikitable > tr > th, | table.wikitable > tr > th, | ||
table.wikitable > * > tr > th { | table.wikitable > * > tr > th { | ||
Revision as of 20:18, 1 October 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;
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;
}
/* 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;
}
#mw-header-container a,
#mw-header-container button,
#user-tools h2 span {
color: #ffffff !important;
}
/* Header hover states matching TNG */
#mw-header-container a:hover {
color: #ffffff !important;
background-color: #444ced !important;
border-radius: 4px !important;
}
/* 4. Header Icons (white on desktop AND mobile) */
#user-tools h2,
#user-tools h2::after,
#site-tools h2,
#site-navigation h2,
.sidebar-chunk h2::after {
filter: brightness(0) invert(1) !important;
opacity: 0.95 !important;
}
/* 5. User Popup Menu (fixes invisible white-on-white links) */
#personal .dropdown {
background-color: #ffffff !important;
border: 1px solid #c8ccd1 !important;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
}
#personal .dropdown h3,
#personal .dropdown label {
color: #14153a !important;
border-bottom: 2px solid #2d3282 !important;
}
#personal .dropdown a {
color: #1f2159 !important;
background-color: transparent !important;
display: block !important;
padding: 6px 12px !important;
border-radius: 4px !important;
}
#personal .dropdown a:hover {
color: #ffffff !important;
background-color: #1f2159 !important;
}
/* 6. Mobile Sidebar Menus (hamburger popups: dark text on white) */
@media screen and (max-width: 850px) {
.sidebar-inner a,
.dropdown a {
color: #1f2159 !important;
}
.sidebar-inner a:hover,
.dropdown a:hover {
color: #ffffff !important;
background-color: #1f2159 !important;
}
}
/* 7. Search Bar in Header */
#mw-header-container #searchInput {
border-radius: 4px !important;
border: 1px solid #2d3282 !important;
}
/* 8. 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;
}
/* 9. Sidebar Navigation (desktop) — default skin card look, headings only */
.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;
}
/* 10. Tabs across the top of articles */
.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 ul li,
#footer a,
.mw-footer a {
color: #cbd5e1 !important;
}
#footer a:hover,
.mw-footer a:hover {
color: #ffffff !important;
text-decoration: underline !important;
}
/* Remove Powered by MediaWiki badge / mobile icon */
#footer-icons,
#footer-poweredbyico {
display: none !important;
}
/* ========================================================
Hide Empty Sidebar Cards & Discussion Tab
======================================================== */
.sidebar-chunk:not(:has(li)) {
display: none !important;
}
@media screen and (max-width: 850px) {
#site-tools {
display: none !important;
}
}
#ca-talk {
display: none !important;
}
/* ========================================================
Dynamic Breadcrumb Bar
======================================================== */
.mw-dynamic-breadcrumbs {
font-size: 0.85rem;
color: #4b5563;
margin: 0 0 12px 0;
padding: 6px 12px;
background: rgba(26, 42, 68, 0.04);
border: 1px solid rgba(26, 42, 68, 0.1);
border-radius: 4px;
display: flex;
flex-wrap: wrap;
align-items: center;
line-height: 1.5;
}
.mw-dynamic-breadcrumbs .crumb-sep {
color: #8fa0b3;
font-size: 0.9rem;
font-weight: bold;
margin: 0 10px;
user-select: none;
}
.mw-dynamic-breadcrumbs .crumb-link {
color: #2b548a !important;
text-decoration: none !important;
transition: color 0.15s ease;
}
.mw-dynamic-breadcrumbs .crumb-link:hover {
color: #002244 !important;
text-decoration: underline !important;
}
.mw-dynamic-breadcrumbs .crumb-current {
color: #1a2a44;
font-weight: 600;
}
/* ==========================================================
Desktop / Tablet Only: GEWAME Universal Top Bar (min-width: 851px)
========================================================== */
@media (min-width: 851px) {
#gewame-universal-bar {
position: fixed;
top: 0;
left: 0;
right: 0;
height: 44px;
background: #14153a linear-gradient(180deg, #14153a 0%, #0d0f28 100%);
border-bottom: 2px solid #2d3282;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
z-index: 1000;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
box-sizing: border-box;
}
.gw-bar-inner {
max-width: 1400px;
height: 100%;
margin: 0 auto;
padding: 0 1.25rem;
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
}
/* Brand on Left */
.gw-brand {
display: flex;
align-items: center;
gap: 0.5rem;
text-decoration: none !important;
color: #ffffff !important;
line-height: 1;
}
.gw-brand-title {
font-family: Georgia, "Times New Roman", serif;
font-size: 1.15rem;
font-weight: 700;
letter-spacing: 0.08em;
color: #ffffff !important;
}
.gw-brand-sep {
color: rgba(255, 255, 255, 0.4);
font-size: 0.9rem;
}
.gw-brand-sub {
font-size: 0.85rem;
letter-spacing: 0.05em;
color: rgba(255, 255, 255, 0.85) !important;
text-transform: uppercase;
}
/* Nav on Right */
.gw-nav {
display: flex;
align-items: center;
gap: 6px;
}
.gw-nav-link {
color: #ffffff !important;
text-decoration: none !important;
text-transform: uppercase;
font-size: 0.8rem;
font-weight: 600;
letter-spacing: 0.8px;
padding: 6px 10px;
transition: all 0.2s ease;
box-sizing: border-box;
}
.gw-nav-link:hover {
color: #c5a059 !important;
text-decoration: none !important;
}
/* Active Tab: Gold Text + Underline */
.gw-nav-link.gw-active {
color: #c5a059 !important;
border-bottom: 2px solid #c5a059;
border-radius: 4px 4px 0 0;
}
/* Boxed Action Buttons (REGISTER, LOG IN, LOG OUT) */
.gw-nav-link.gw-btn-auth {
background: rgba(255, 255, 255, 0.08) !important;
border: 1px solid rgba(255, 255, 255, 0.25) !important;
border-radius: 4px;
margin-left: 6px;
padding: 5px 12px;
}
.gw-nav-link.gw-btn-auth:hover {
background: #c5a059 !important;
color: #0d1322 !important;
border-color: #c5a059 !important;
}
/* Dock Timeless skin tools right below the 44px GEWAME bar */
#mw-header-container {
top: 44px !important;
z-index: 990 !important;
background: #0b2545 !important;
}
body.skin-timeless {
padding-top: 44px !important;
}
}
/* ==========================================================
Mobile Only (max-width: 850px): Keep Timeless Native & Clean
========================================================== */
@media (max-width: 850px) {
#gewame-universal-bar {
display: none !important;
}
}
/* ==========================================================
Global Cleanups (All Screen Sizes)
========================================================= */
/* Remove Timeless's harsh red & green accent stripes */
#mw-header-hack,
#mw-header-nav-hack,
#mw-header-container::after {
display: none !important;
}
/* Table Header Contrast Fix (Navy with Crisp White Text) */
table.wikitable > tr > th,
table.wikitable > * > tr > th {
background-color: #0b2545 !important;
color: #ffffff !important;
font-weight: 600;
border-color: #001830 !important;
}