MediaWiki:Timeless.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ========================================================= | /* ========================================================= | ||
Bellingham Heritage Centre – Timeless skin branding (CSS-only) | Bellingham Heritage Centre – Timeless skin branding (CSS-only) | ||
========================================================= */ | ========================================================= */ | ||
| Line 7: | Line 6: | ||
body.skin-timeless{ | body.skin-timeless{ | ||
--bhc-teal: rgb(130,156,149); | --bhc-teal: rgb(130,156,149); | ||
--bhc-olive: rgb(165,174,121); | --bhc-olive: rgb(165,174,121); | ||
--bhc-sand: rgb(228,186,149); | --bhc-sand: rgb(228,186,149); | ||
--bhc-maroon: rgb(93, 8, 58); | --bhc-maroon: rgb(93, 8, 58); | ||
--bhc-bottombar-sand: rgb(228, 186, 123); | --bhc-bottombar-sand: rgb(228, 186, 123); | ||
--bhc-bottombar-maroon: rgb(95, 8, 58); | --bhc-bottombar-maroon: rgb(95, 8, 58); | ||
| Line 22: | Line 17: | ||
--bhc-text: #202020; | --bhc-text: #202020; | ||
--bhc-header-bg: #ffffff; | --bhc-header-bg: #ffffff; | ||
--bhc-header-text: #202020; | --bhc-header-text: #202020; | ||
--bhc-body-font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; | --bhc-body-font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; | ||
--bhc-heading-font: "Roboto Condensed", "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; | --bhc-heading-font: "Roboto Condensed", "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; | ||
font-size: 18px; | font-size: 18px; | ||
line-height: 1.65; | line-height: 1.65; | ||
background: #eaecf0; | |||
overflow-x: hidden; | overflow-x: hidden; | ||
} | } | ||
@media (max-width: 720px){ | @media (max-width: 720px){ | ||
body.skin-timeless{ font-size: 16.5px; } | body.skin-timeless{ font-size: 16.5px; } | ||
} | } | ||
/* ========================================================= | /* ========================================================= | ||
HEADER | HEADER BARS (unchanged – working) | ||
========================================================= */ | ========================================================= */ | ||
| Line 116: | Line 41: | ||
background: var(--bhc-header-bg) !important; | background: var(--bhc-header-bg) !important; | ||
border: 0 !important; | border: 0 !important; | ||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
body.skin-timeless #mw-header-container::before{ | body.skin-timeless #mw-header-container::before{ | ||
content: ""; | content: ""; | ||
position: absolute; | position: absolute; | ||
left: 0; | left: 0; top: 0; | ||
width: 100%; height: 20px; | |||
width: 100%; | |||
background: linear-gradient( | background: linear-gradient( | ||
to bottom, | to bottom, | ||
| Line 134: | Line 54: | ||
var(--bhc-teal) 25% 100% | var(--bhc-teal) 25% 100% | ||
); | ); | ||
z-index: 5; | |||
} | } | ||
body.skin-timeless #mw-header-container::after{ | body.skin-timeless #mw-header-container::after{ | ||
content: ""; | content: ""; | ||
position: absolute; | position: absolute; | ||
left: 0; | left: 0; bottom: 0; | ||
width: 100%; height: 20px; | |||
width: 100%; | |||
background: linear-gradient( | background: linear-gradient( | ||
to bottom, | to bottom, | ||
| Line 151: | Line 67: | ||
var(--bhc-bottombar-maroon) 33% 100% | var(--bhc-bottombar-maroon) 33% 100% | ||
); | ); | ||
z-index: 5; | |||
} | } | ||
body.skin-timeless #mw-header-hack, | body.skin-timeless #mw-header-hack, | ||
body.skin-timeless #mw-header-nav-hack | body.skin-timeless #mw-header-nav-hack, | ||
body.skin-timeless #menus-cover{ | body.skin-timeless #menus-cover{ | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* ========================================================= | /* ========================================================= | ||
CONTENT CONTAINER – remove unwanted green border | |||
========================================================= */ | ========================================================= */ | ||
body.skin-timeless # | body.skin-timeless #mw-content-container{ | ||
background: #eaecf0; | |||
border-bottom: 0 !important; /* remove #00af89 */ | |||
} | } | ||
/* | /* Preserve Timeless decorative background (cat.svg) */ | ||
body.skin-timeless #mw-content-container{ | |||
background-image: url(/skins/Timeless/resources/images/cat.svg?558fd); | |||
body.skin-timeless | |||
background-image: url( | |||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-position: center; | background-position: center 10em; | ||
} | } | ||
/* | /* Desktop spacing (your tested value) */ | ||
@media screen and (min-width: 851px){ | |||
body.skin-timeless #mw-content-container{ | |||
margin-top: 1rem !important; | |||
padding-bottom: 1em; | |||
} | |||
body.skin-timeless # | |||
} | } | ||
/* ========================================================= | /* ========================================================= | ||
FOOTER | FOOTER – final heritage styling | ||
========================================================= */ | ========================================================= */ | ||
body.skin-timeless #mw-footer-container{ | body.skin-timeless #mw-footer-container{ | ||
background: rgb(93, 8, 58) !important; | background: rgb(93, 8, 58) !important; | ||
border-top: | border-top: 10px solid rgb(93, 8, 58) !important; /* NEW */ | ||
} | } | ||
body.skin-timeless #mw-footer, | body.skin-timeless #mw-footer, | ||
body.skin-timeless #mw-footer *{ | body.skin-timeless #mw-footer *{ | ||
color: # | color: #ffffff !important; | ||
font-family: var(--bhc-body-font); | font-family: var(--bhc-body-font); | ||
} | } | ||
| Line 402: | Line 118: | ||
body.skin-timeless #mw-footer a:visited{ | body.skin-timeless #mw-footer a:visited{ | ||
color: rgb(228,186,123) !important; | color: rgb(228,186,123) !important; | ||
} | } | ||
body.skin-timeless #mw-footer a:hover{ | body.skin-timeless #mw-footer a:hover{ | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
Revision as of 20:01, 24 January 2026
/* =========================================================
Bellingham Heritage Centre – Timeless skin branding (CSS-only)
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Roboto+Condensed:wght@400;700&family=Satisfy&display=swap');
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-bottombar-sand: rgb(228, 186, 123);
--bhc-bottombar-maroon: rgb(95, 8, 58);
--bhc-link: #005DB3;
--bhc-text: #202020;
--bhc-header-bg: #ffffff;
--bhc-header-text: #202020;
--bhc-body-font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
--bhc-heading-font: "Roboto Condensed", "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
font-size: 18px;
line-height: 1.65;
background: #eaecf0;
overflow-x: hidden;
}
@media (max-width: 720px){
body.skin-timeless{ font-size: 16.5px; }
}
/* =========================================================
HEADER BARS (unchanged – working)
========================================================= */
body.skin-timeless #mw-header-container{
position: relative !important;
background: var(--bhc-header-bg) !important;
border: 0 !important;
overflow: hidden;
}
body.skin-timeless #mw-header-container::before{
content: "";
position: absolute;
left: 0; top: 0;
width: 100%; height: 20px;
background: linear-gradient(
to bottom,
var(--bhc-olive) 0 25%,
var(--bhc-teal) 25% 100%
);
z-index: 5;
}
body.skin-timeless #mw-header-container::after{
content: "";
position: absolute;
left: 0; bottom: 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;
}
body.skin-timeless #mw-header-hack,
body.skin-timeless #mw-header-nav-hack,
body.skin-timeless #menus-cover{
display: none !important;
}
/* =========================================================
CONTENT CONTAINER – remove unwanted green border
========================================================= */
body.skin-timeless #mw-content-container{
background: #eaecf0;
border-bottom: 0 !important; /* remove #00af89 */
}
/* Preserve Timeless decorative background (cat.svg) */
body.skin-timeless #mw-content-container{
background-image: url(/skins/Timeless/resources/images/cat.svg?558fd);
background-repeat: no-repeat;
background-position: center 10em;
}
/* Desktop spacing (your tested value) */
@media screen and (min-width: 851px){
body.skin-timeless #mw-content-container{
margin-top: 1rem !important;
padding-bottom: 1em;
}
}
/* =========================================================
FOOTER – final heritage styling
========================================================= */
body.skin-timeless #mw-footer-container{
background: rgb(93, 8, 58) !important;
border-top: 10px solid rgb(93, 8, 58) !important; /* NEW */
}
body.skin-timeless #mw-footer,
body.skin-timeless #mw-footer *{
color: #ffffff !important;
font-family: var(--bhc-body-font);
}
body.skin-timeless #mw-footer a,
body.skin-timeless #mw-footer a:visited{
color: rgb(228,186,123) !important;
}
body.skin-timeless #mw-footer a:hover{
text-decoration: underline;
}
