MediaWiki:Timeless.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* All CSS here will be loaded for users of the Timeless skin */ | /* All CSS here will be loaded for users of the Timeless skin */ | ||
/* ========================================================= | /* ========================================================= | ||
BHC – Strapline in header (CSS-only, Option 1) | |||
Adds text under the site title via ::after | |||
========================================================= */ | ========================================================= */ | ||
/* Ensure the title anchor can host a block-level ::after */ | |||
body.skin-timeless #p-logo-text #p-banner{ | |||
/* | |||
body.skin-timeless # | |||
position: relative; | position: relative; | ||
display: | display: inline-block; | ||
white-space: normal; /* allow wrap if needed */ | |||
} | } | ||
/* | /* Strapline */ | ||
body.skin-timeless #p-logo-text{ | body.skin-timeless #p-logo-text #p-banner::after{ | ||
content: "Explore the Heritage of the Northern Borders"; | |||
display: block; | |||
/* | /* Styling requested */ | ||
font-family: "Satisfy", cursive; | |||
font-size: 40px; | |||
line-height: 1.05; | |||
font-weight: 400; | |||
color: rgb(130,156,149); | |||
/* | /* Positioning: sits immediately below the title, | ||
indented to match the title text start (logo + gap). | |||
Adjust this ONE value if your logo/title padding changes. */ | |||
margin-top: 0.15rem; | |||
padding-left: 0; /* keep within the same indent as the title text */ | |||
} | } | ||
/* - | /* If your title line-height is tall (e.g., 96px), this helps keep it tight */ | ||
body.skin-timeless #p-logo-text #p-banner{ | body.skin-timeless #p-logo-text #p-banner{ | ||
line-height: 1.1; /* keeps title from forcing huge vertical gaps */ | |||
} | } | ||
@media (max-width: | /* Optional: on smaller screens, reduce strapline size to prevent wrapping weirdly */ | ||
body.skin-timeless #p-logo-text #p-banner{ | @media (max-width: 1024px){ | ||
body.skin-timeless #p-logo-text #p-banner::after{ | |||
font-size: 32px; | |||
} | } | ||
} | } | ||
@media (max-width: 720px){ | @media (max-width: 720px){ | ||
body.skin-timeless # | body.skin-timeless #p-logo-text #p-banner::after{ | ||
font-size: 26px; | |||
} | } | ||
} | } | ||
/* ========================================================= | |||
BHC – Footer palette (Timeless) | |||
Background burgundy, text white, links sand | |||
========================================================= */ | |||
body.skin-timeless # | body.skin-timeless #mw-footer-container{ | ||
background: rgb(93, 8, 58) !important; /* site burgundy */ | |||
border-top: 0 !important; /* remove any previous border */ | |||
background: | |||
} | } | ||
body.skin-timeless #mw-footer{ | |||
color: #fff !important; | |||
body.skin-timeless # | |||
color:# | |||
} | } | ||
body.skin-timeless # | /* Footer text + list items */ | ||
body.skin-timeless # | body.skin-timeless #mw-footer, | ||
body.skin-timeless #mw-footer *{ | |||
color: #fff; | |||
} | } | ||
/* | /* Links in footer */ | ||
body.skin-timeless #mw-footer a, | |||
body.skin-timeless #mw-footer a:visited{ | |||
color: rgb(228,186,123) !important; | |||
text-decoration: none; | |||
} | } | ||
body.skin-timeless #mw-footer a:hover{ | |||
text-decoration: underline; | |||
body.skin-timeless #mw-footer | |||
} | } | ||
body.skin-timeless | /* Optional: soften small-print a touch without changing colour */ | ||
body.skin-timeless | body.skin-timeless #mw-footer #footer-info, | ||
body.skin-timeless #mw-footer #footer-places{ | |||
opacity: 0.95; | |||
} | } | ||
Revision as of 19:46, 24 January 2026
/* All CSS here will be loaded for users of the Timeless skin */
/* =========================================================
BHC – Strapline in header (CSS-only, Option 1)
Adds text under the site title via ::after
========================================================= */
/* Ensure the title anchor can host a block-level ::after */
body.skin-timeless #p-logo-text #p-banner{
position: relative;
display: inline-block;
white-space: normal; /* allow wrap if needed */
}
/* Strapline */
body.skin-timeless #p-logo-text #p-banner::after{
content: "Explore the Heritage of the Northern Borders";
display: block;
/* Styling requested */
font-family: "Satisfy", cursive;
font-size: 40px;
line-height: 1.05;
font-weight: 400;
color: rgb(130,156,149);
/* Positioning: sits immediately below the title,
indented to match the title text start (logo + gap).
Adjust this ONE value if your logo/title padding changes. */
margin-top: 0.15rem;
padding-left: 0; /* keep within the same indent as the title text */
}
/* If your title line-height is tall (e.g., 96px), this helps keep it tight */
body.skin-timeless #p-logo-text #p-banner{
line-height: 1.1; /* keeps title from forcing huge vertical gaps */
}
/* Optional: on smaller screens, reduce strapline size to prevent wrapping weirdly */
@media (max-width: 1024px){
body.skin-timeless #p-logo-text #p-banner::after{
font-size: 32px;
}
}
@media (max-width: 720px){
body.skin-timeless #p-logo-text #p-banner::after{
font-size: 26px;
}
}
/* =========================================================
BHC – Footer palette (Timeless)
Background burgundy, text white, links sand
========================================================= */
body.skin-timeless #mw-footer-container{
background: rgb(93, 8, 58) !important; /* site burgundy */
border-top: 0 !important; /* remove any previous border */
}
body.skin-timeless #mw-footer{
color: #fff !important;
}
/* Footer text + list items */
body.skin-timeless #mw-footer,
body.skin-timeless #mw-footer *{
color: #fff;
}
/* Links in footer */
body.skin-timeless #mw-footer a,
body.skin-timeless #mw-footer a:visited{
color: rgb(228,186,123) !important;
text-decoration: none;
}
body.skin-timeless #mw-footer a:hover{
text-decoration: underline;
}
/* Optional: soften small-print a touch without changing colour */
body.skin-timeless #mw-footer #footer-info,
body.skin-timeless #mw-footer #footer-places{
opacity: 0.95;
}
