MediaWiki:Timeless.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* All CSS here will be loaded for users of the Timeless skin */
/* =========================================================
Bellingham Heritage Centre – Timeless skin branding (CSS-only)
Stable baseline
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Roboto+Condensed:wght@400;700&display=swap');
/* ---------------------------------------------------------
Variables & base
--------------------------------------------------------- */
body.skin-timeless{
--bhc-teal: rgb(130,156,149);
--bhc-olive: rgb(165,174,121);
--bhc-sand: rgb(228,186,149);
--bhc-maroon: rgb(93, 8, 58);
--bhc-topbar-olive: rgb(165,174,121);
--bhc-topbar-teal: rgb(130,156,149);
--bhc-bottombar-sand: rgb(228,186,123);
--bhc-bottombar-maroon: rgb(95,8,58);
--bhc-header-bg: #ffffff;
--bhc-text: #202020;
--bhc-link: #005DB3;
font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
font-size: 18px;
line-height: 1.65;
background: #eaecf0; /* IMPORTANT: prevents black bleed */
overflow-x: hidden;
}
@media (max-width: 720px){
body.skin-timeless{ font-size: 16.5px; }
}
/* ---------------------------------------------------------
Typography
--------------------------------------------------------- */
body.skin-timeless,
body.skin-timeless .mw-body,
body.skin-timeless .mw-parser-output{
color: var(--bhc-text);
}
body.skin-timeless a{ color: var(--bhc-link); }
body.skin-timeless a:hover{ text-decoration: underline; }
body.skin-timeless .mw-parser-output h1,
body.skin-timeless .mw-parser-output h2,
body.skin-timeless .mw-parser-output h3{
font-family: "Roboto Condensed", "Roboto", system-ui, sans-serif;
letter-spacing: .02em;
color: var(--bhc-maroon);
}
/* ---------------------------------------------------------
HEADER CONTAINER + BARS
--------------------------------------------------------- */
body.skin-timeless #mw-header-container{
position: relative !important;
background: var(--bhc-header-bg) !important;
border: 0 !important;
}
/* Top bar */
body.skin-timeless #mw-header-container::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:20px;
background: linear-gradient(
to bottom,
var(--bhc-topbar-olive) 0 25%,
var(--bhc-topbar-teal) 25% 100%
);
z-index:5;
}
/* Bottom bar */
body.skin-timeless #mw-header-container::after{
content:"";
position:absolute;
bottom:0;
left:0;
width:100%;
height:20px;
background: linear-gradient(
to bottom,
var(--bhc-bottombar-sand) 0 33%,
var(--bhc-bottombar-maroon) 33% 100%
);
z-index:5;
}
/* ---------------------------------------------------------
HEADER LAYOUT
--------------------------------------------------------- */
body.skin-timeless #mw-header{
position: relative;
display: flex;
align-items: flex-start;
gap: 1.25rem;
padding-top: calc(14px + 20px);
padding-bottom: calc(24px + 20px);
color: #202020;
}
body.skin-timeless #mw-header a{
color: inherit !important;
}
/* Logo / title block */
body.skin-timeless #p-logo-text{
flex: 1 1 auto;
min-width: 720px;
}
/* Search block */
body.skin-timeless #p-search{
flex: 0 0 340px;
max-width: 340px;
margin-left: auto;
}
/* Hide sidebar logo */
body.skin-timeless #mw-site-navigation #p-logo{
display:none !important;
}
/* ---------------------------------------------------------
SITE TITLE + LOGO
--------------------------------------------------------- */
body.skin-timeless #p-logo-text #p-banner{
display:inline-block;
font-family: "Roboto Condensed", "Roboto", sans-serif;
font-size:40px;
font-weight:700;
color:var(--bhc-maroon) !important;
background:url(/resources/assets/BHClogo.jpg) no-repeat left center;
background-size:96px 96px;
padding-left:118px;
min-height:96px;
line-height:96px;
text-decoration:none;
white-space:nowrap;
}
@media (max-width:720px){
body.skin-timeless #p-logo-text #p-banner{
white-space:normal;
line-height:1.1;
}
}
/* ---------------------------------------------------------
SEARCH (clean + external icon)
--------------------------------------------------------- */
body.skin-timeless #p-search #simpleSearch{
position:relative;
}
body.skin-timeless #p-search input[type="search"]{
width:100%;
padding:.45rem .8rem;
padding-right:3.1rem;
border-radius:10px;
background:#fff !important;
border:1px solid rgba(0,0,0,.18);
color:#202020;
}
body.skin-timeless #p-search input#mw-searchButton{
position:absolute;
right:6px;
top:50%;
transform:translateY(-50%);
width:38px;
height:38px;
border-radius:10px;
border:1px solid rgba(0,0,0,.18);
background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M10 18a8 8 0 1 1 5.293-14.293A8 8 0 0 1 10 18m0-2a6 6 0 1 0-6-6a6 6 0 0 0 6 6m9.707 6.293l-5.1-5.1l1.414-1.414l5.1 5.1z'/%3E%3C/svg%3E") no-repeat center;
text-indent:-9999px;
}
/* ---------------------------------------------------------
PERSONAL MENU
--------------------------------------------------------- */
body.skin-timeless #personal,
body.skin-timeless #personal *{
color:#202020 !important;
}
body.skin-timeless #personal .dropdown,
body.skin-timeless #personal .mw-portlet-body{
background:#fff !important;
}
/* ---------------------------------------------------------
CONTENT SPACING (FINAL FIX)
--------------------------------------------------------- */
/* Override Timeless desktop gap */
@media screen and (min-width: 851px){
body.skin-timeless #mw-content-container{
margin-top: 0;
padding-top: 1rem; /* ✔ final value */
padding-bottom: 1em;
}
}
/* ---------------------------------------------------------
FOOTER
--------------------------------------------------------- */
body.skin-timeless #mw-footer-container{
background:#f6f6f6;
border-top:6px solid var(--bhc-sand);
}
body.skin-timeless .mw-footer-container a,
body.skin-timeless .mw-footer-container a:visited{
color:#37a;
}
