MediaWiki:Timeless.css: Difference between revisions
From The Radical Buddhism Project
No edit summary |
No edit summary |
||
| Line 80: | Line 80: | ||
margin-bottom: 5px !important; | margin-bottom: 5px !important; | ||
padding-left: 10px !important; | padding-left: 10px !important; | ||
color: # | color: #767676 !important; | ||
font-family: sans-serif !important; | font-family: sans-serif !important; | ||
} | } | ||
#mw-navigation a, | #mw-navigation a, | ||
#mw-navigation a:link, | #mw-navigation a:link, | ||
#mw-navigation a:visited, | #mw-navigation a:visited, | ||
.sidebar-chunk a { | .sidebar-chunk a { | ||
color: # | color: #767676 !important; | ||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
#mw-navigation a:hover, | #mw-navigation a:hover, | ||
.sidebar-chunk a:hover { | .sidebar-chunk a:hover { | ||
| Line 114: | Line 111: | ||
} | } | ||
.mw-footer-container, | .mw-footer-container, | ||
.mw-footer-container ul, | .mw-footer-container ul, | ||
| Line 127: | Line 123: | ||
} | } | ||
.mw-footer-container a, | .mw-footer-container a, | ||
.mw-footer-container a:link, | .mw-footer-container a:link, | ||
| Line 142: | Line 137: | ||
SURGICAL TEXT CLIPS: Wipes active title and action tab lines | SURGICAL TEXT CLIPS: Wipes active title and action tab lines | ||
===================================================================== */ | ===================================================================== */ | ||
.firstHeading, | .firstHeading, | ||
#firstHeading { | #firstHeading { | ||
| Line 150: | Line 143: | ||
} | } | ||
.mw-portlet-namespaces, | .mw-portlet-namespaces, | ||
.mw-portlet-views, | .mw-portlet-views, | ||
| Line 168: | Line 160: | ||
/* ===================================================================== | /* ===================================================================== | ||
HOMEPAGE LAYOUT CLEANUP & DECLUTTER | |||
===================================================================== */ | ===================================================================== */ | ||
/* | /* Hides the sidebar logo box exclusively on the main landing root page */ | ||
.rootpage-Main_Page #p-logo, | .rootpage-Main_Page #p-logo, | ||
.page-Main_Page #p-logo { | .page-Main_Page #p-logo { | ||
| Line 181: | Line 173: | ||
} | } | ||
/* | /* Suppresses the site name text branding from the header on the homepage */ | ||
.rootpage-Main_Page #mw-wiki-title, | .rootpage-Main_Page #mw-wiki-title, | ||
.page-Main_Page #mw-wiki-title, | .page-Main_Page #mw-wiki-title, | ||
| Line 192: | Line 184: | ||
} | } | ||
/* | /* Suppresses Main Page, Discussion, Edit, and History tabs on the homepage */ | ||
.rootpage-Main_Page #p-namespaces, | .rootpage-Main_Page #p-namespaces, | ||
.page-Main_Page #p-namespaces, | .page-Main_Page #p-namespaces, | ||
| Line 206: | Line 198: | ||
} | } | ||
/* | /* Collapses the empty whitespace block to move page content up tightly */ | ||
.rootpage-Main_Page #mw-content-header, | .rootpage-Main_Page #mw-content-header, | ||
.page-Main_Page #mw-content-header { | .page-Main_Page #mw-content-header { | ||
| Line 217: | Line 209: | ||
/* ===================================================================== | /* ===================================================================== | ||
PRECISION SEARCH COLUMN MARGIN SYNC | |||
===================================================================== */ | ===================================================================== */ | ||
#mw-header, | #mw-header, | ||
.ts-header-inner, | .ts-header-inner, | ||
| Line 230: | Line 220: | ||
} | } | ||
#p-search, | #p-search, | ||
.mw-portlet-search, | .mw-portlet-search, | ||
#searchform { | #searchform { | ||
max-width: 77.8em !important; /* | max-width: 77.8em !important; /* Your verified perfect width alignment value */ | ||
width: 100% !important; | width: 100% !important; | ||
margin-left: auto !important; | margin-left: auto !important; | ||
| Line 241: | Line 230: | ||
} | } | ||
#simpleSearch, | #simpleSearch, | ||
#searchInput, | #searchInput, | ||
| Line 251: | Line 239: | ||
/* ===================================================================== | /* ===================================================================== | ||
VISUAL OVERLAY: FLATTEN NAVIGATION DIRECTORY HEADER ONLY | A. VISUAL OVERLAY: FLATTEN NAVIGATION DIRECTORY HEADER ONLY | ||
===================================================================== */ | ===================================================================== */ | ||
#p-navigation h3, | #p-navigation h3, | ||
| Line 262: | Line 250: | ||
margin: 0 !important; | margin: 0 !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
} | |||
/* ===================================================================== | |||
B. THE ORIGINAL PRE-FLATTENING WORKSPACE MATRIX QUEUE | |||
===================================================================== */ | |||
/* 1. COMPLETELY HIDE BOTH DESK LINKS FROM ANONYMOUS PUBLIC GUESTS */ | |||
#n-Editorial-Desk, | |||
#n-Managing-Desk { | |||
display: none !important; | |||
visibility: hidden !important; | |||
} | |||
/* 2. RE-ACTIVATE EDITORIAL DESK FOR EVERY LOGGED-IN STAFF ACCOUNT */ | |||
.user-group-bureaucrat #n-Editorial-Desk, | |||
.user-group-sysop #n-Editorial-Desk, | |||
.user-group-user #n-Editorial-Desk, | |||
.mw-user #n-Editorial-Desk, | |||
.user-logged-in #n-Editorial-Desk { | |||
display: inline-block !important; | |||
visibility: visible !important; | |||
} | |||
/* 3. SHOW THE MANAGING DESK EXCLUSIVELY TO REGISTERED BUREAUCRATS */ | |||
.user-group-bureaucrat #n-Managing-Desk { | |||
display: inline-block !important; | |||
visibility: visible !important; | |||
} | } | ||
Revision as of 06:15, 22 July 2026
/* =====================================================================
THE RADICAL BUDDHIST PROJECT - TIMELESS CENTRAL DESIGN ARCHITECTURE
===================================================================== */
/* 1. VIEWPORT BASE: Colors the absolute bottom canvas region gray */
html,
body,
#mw-wrapper {
background-color: #f0f2f4 !important;
background: #f0f2f4 !important;
}
/* 2. HEADER CHROME SWEEP: Forces the top navigation row to your exact gray */
#mw-header-container,
.mw-header-container,
#mw-header,
.ts-header,
.main-header-div,
#main-header-div,
.header-separator,
.ts-header-divider {
background-color: #f0f2f4 !important;
background: #f0f2f4 !important;
border: none !important;
border-bottom: none !important;
box-shadow: none !important;
background-image: none !important;
}
/* Ensure individual system text links inside the new gray header remain dark charcoal */
#mw-header a,
#mw-header span,
.mw-userpage-link,
#pt-anonuserpage,
.personal-menu-item a {
color: #222222 !important;
text-shadow: none !important;
}
/* 3. READING CANVAS: Protects main article content blocks and sidebars in pure white */
#mw-content-container,
#mw-content-block,
#mw-content,
#content,
.mw-body,
#mw-navigation,
.ts-inner {
background-color: #ffffff !important;
background: #ffffff !important;
border: none !important;
box-shadow: none !important;
background-image: none !important;
}
/* --- PRECISION ERASURE: Removes the tricolor lines below header --- */
.color-bar,
.color-lines,
#mw-header-container::after,
#mw-header-container::before {
display: none !important;
visibility: hidden !important;
height: 0 !important;
border: none !important;
}
/* 4. SIDEBAR ALIGNMENT & TYPOGRAPHY: Flattens menu items and tints text soft gray */
.sidebar-chunk,
.sidebar-chunk ul,
.sidebar-chunk li,
#mw-site-navigation .sidebar-chunk,
#mw-user-interfaces .sidebar-chunk,
.sidebar-chunk h2,
.sidebar-chunk h3,
.sidebar-chunk hr,
#p-logo {
background-color: #ffffff !important;
background: #ffffff !important;
border: none !important;
box-shadow: none !important;
margin-bottom: 5px !important;
padding-left: 10px !important;
color: #767676 !important;
font-family: sans-serif !important;
}
#mw-navigation a,
#mw-navigation a:link,
#mw-navigation a:visited,
.sidebar-chunk a {
color: #767676 !important;
text-decoration: none !important;
}
#mw-navigation a:hover,
.sidebar-chunk a:hover {
color: #222222 !important;
text-decoration: underline !important;
}
/* 5. TOTAL FOOTER UNIFICATION: Surgically forces the base blocks to your gray */
footer,
.ts-footer,
.mw-footer-container,
#mw-footer-container,
#mw-footer,
.mw-footer {
background-color: #f0f2f4 !important;
background: #f0f2f4 !important;
background-image: none !important;
border: none !important;
box-shadow: none !important;
}
.mw-footer-container,
.mw-footer-container ul,
.mw-footer-container li,
.mw-footer-container p,
#footer-info-lastmod,
#footer-info-copyright,
#mw-footer li,
#mw-footer a {
color: #222222 !important;
font-family: sans-serif !important;
}
.mw-footer-container a,
.mw-footer-container a:link,
.mw-footer-container a:visited {
color: #222222 !important;
text-decoration: none !important;
}
.mw-footer-container a:hover {
color: #000000 !important;
text-decoration: underline !important;
}
/* =====================================================================
SURGICAL TEXT CLIPS: Wipes active title and action tab lines
===================================================================== */
.firstHeading,
#firstHeading {
border-bottom: none !important;
padding-bottom: 5px !important;
}
.mw-portlet-namespaces,
.mw-portlet-views,
#p-namespaces,
#p-views,
.ts-inner .mw-portlet,
.mw-portlet ul,
.mw-portlet li {
border-bottom: none !important;
box-shadow: none !important;
background-image: none !important;
}
.mw-portlet li a {
border-bottom: none !important;
box-shadow: none !important;
}
/* =====================================================================
HOMEPAGE LAYOUT CLEANUP & DECLUTTER
===================================================================== */
/* Hides the sidebar logo box exclusively on the main landing root page */
.rootpage-Main_Page #p-logo,
.page-Main_Page #p-logo {
display: none !important;
visibility: hidden !important;
height: 0 !important;
margin: 0 !important;
padding: 0 !important;
}
/* Suppresses the site name text branding from the header on the homepage */
.rootpage-Main_Page #mw-wiki-title,
.page-Main_Page #mw-wiki-title,
.rootpage-Main_Page .mw-wiki-title {
display: none !important;
visibility: hidden !important;
height: 0 !important;
margin: 0 !important;
padding: 0 !important;
}
/* Suppresses Main Page, Discussion, Edit, and History tabs on the homepage */
.rootpage-Main_Page #p-namespaces,
.page-Main_Page #p-namespaces,
.rootpage-Main_Page #p-views,
.page-Main_Page #p-views,
.rootpage-Main_Page #mw-page-header-links,
.page-Main_Page #mw-page-header-links {
display: none !important;
visibility: hidden !important;
height: 0 !important;
margin: 0 !important;
padding: 0 !important;
}
/* Collapses the empty whitespace block to move page content up tightly */
.rootpage-Main_Page #mw-content-header,
.page-Main_Page #mw-content-header {
margin-top: 0 !important;
margin-bottom: 0 !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
height: 0 !important;
}
/* =====================================================================
PRECISION SEARCH COLUMN MARGIN SYNC
===================================================================== */
#mw-header,
.ts-header-inner,
.header-container {
max-width: none !important;
width: auto !important;
margin-left: 0 !important;
margin-right: 0 !important;
}
#p-search,
.mw-portlet-search,
#searchform {
max-width: 77.8em !important; /* Your verified perfect width alignment value */
width: 100% !important;
margin-left: auto !important;
margin-right: auto !important;
box-sizing: border-box !important;
}
#simpleSearch,
#searchInput,
.mw-search-box {
width: 100% !important;
max-width: 100% !important;
box-sizing: border-box !important;
}
/* =====================================================================
A. VISUAL OVERLAY: FLATTEN NAVIGATION DIRECTORY HEADER ONLY
===================================================================== */
#p-navigation h3,
.sidebar-chunk:first-child h3,
#p-navigation .sidebar-chunk-header,
.sidebar-chunk:first-child .sidebar-chunk-header {
display: none !important;
visibility: hidden !important;
height: 0 !important;
margin: 0 !important;
padding: 0 !important;
}
/* =====================================================================
B. THE ORIGINAL PRE-FLATTENING WORKSPACE MATRIX QUEUE
===================================================================== */
/* 1. COMPLETELY HIDE BOTH DESK LINKS FROM ANONYMOUS PUBLIC GUESTS */
#n-Editorial-Desk,
#n-Managing-Desk {
display: none !important;
visibility: hidden !important;
}
/* 2. RE-ACTIVATE EDITORIAL DESK FOR EVERY LOGGED-IN STAFF ACCOUNT */
.user-group-bureaucrat #n-Editorial-Desk,
.user-group-sysop #n-Editorial-Desk,
.user-group-user #n-Editorial-Desk,
.mw-user #n-Editorial-Desk,
.user-logged-in #n-Editorial-Desk {
display: inline-block !important;
visibility: visible !important;
}
/* 3. SHOW THE MANAGING DESK EXCLUSIVELY TO REGISTERED BUREAUCRATS */
.user-group-bureaucrat #n-Managing-Desk {
display: inline-block !important;
visibility: visible !important;
}
