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 */
/* =========================================================
/* =========================================================
   BHC – Strapline in header (CSS-only, Option 1)
   Bellingham Heritage Centre – Timeless skin branding (CSS-only)
   Adds text under the site title via ::after
   Applies ONLY when the Timeless skin is in use.
   ========================================================= */
   ========================================================= */


/* Ensure the title anchor can host a block-level ::after */
@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{
  /* Palette */
  --bhc-teal: rgb(130,156,149);
  --bhc-olive: rgb(165,174,121);
  --bhc-sand: rgb(228,186,149);
 
  /* Heritage text colour (per your site) */
  --bhc-maroon: rgb(93, 8, 58);
 
  /* Bottom bar: sand -> maroon (match your description) */
  --bhc-bottombar-sand: rgb(228, 186, 123);
  --bhc-bottombar-maroon: rgb(95, 8, 58);
 
  --bhc-link: #005DB3;
  --bhc-text: #202020;
 
  /* Header background */
  --bhc-header-bg: #ffffff;
  --bhc-header-text: #202020;
 
  /* Fonts */
  --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;
 
  /* Readability */
  font-size: 18px;
  line-height: 1.65;
 
  overflow-x: hidden;
 
  /* Page chrome background (prevents the “black band” effect) */
  background: #eaecf0;
}
 
@media (max-width: 720px){
  body.skin-timeless{ font-size: 16.5px; }
}
 
/* ---------------------------------------------------------
  Global typography (content)
  --------------------------------------------------------- */
 
body.skin-timeless,
body.skin-timeless .mw-body,
body.skin-timeless .mw-parser-output{
  font-family: var(--bhc-body-font);
  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: var(--bhc-heading-font);
  letter-spacing: .02em;
  color: var(--bhc-maroon);
}
 
body.skin-timeless .mw-parser-output h1{
  font-size: 2.05rem;
  line-height: 1.15;
  margin: 0.25rem 0 0.75rem;
  font-weight: 700;
}
 
body.skin-timeless .mw-parser-output h2{
  font-size: 1.55rem;
  line-height: 1.2;
  margin: 1.6rem 0 0.6rem;
  border-bottom: 3px solid var(--bhc-sand);
  padding-bottom: .25rem;
}
 
body.skin-timeless .mw-parser-output h3{
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 1.2rem 0 0.45rem;
}
 
body.skin-timeless .mw-parser-output h4{
  font-size: 1.1rem;
  line-height: 1.3;
}
 
body.skin-timeless .mw-parser-output p{ margin: 0.75rem 0; }
body.skin-timeless .mw-parser-output ul,
body.skin-timeless .mw-parser-output ol{ margin: 0.6rem 0 0.9rem 1.25rem; }
body.skin-timeless .mw-parser-output li{ margin: 0.2rem 0; }
 
body.skin-timeless #toc,
body.skin-timeless .toc,
body.skin-timeless .mw-normal-catlinks,
body.skin-timeless .catlinks,
body.skin-timeless .mw-editsection,
body.skin-timeless .mw-editsection a,
body.skin-timeless .mw-changeslist,
body.skin-timeless .mw-footer{
  font-size: 0.95rem;
}
 
/* =========================================================
  HEADER: Timeless header full-width + WHITE background + BHC bars
  ========================================================= */
 
body.skin-timeless #mw-header-container{
  position: relative !important;
  background: var(--bhc-header-bg) !important;
  border: 0 !important;
  overflow: hidden; /* ensures pseudo bars clip cleanly */
}
 
/* Top 20px bar: olive (top) + teal (under) */
body.skin-timeless #mw-header-container::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 20px;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    var(--bhc-olive) 0 25%,
    var(--bhc-teal) 25% 100%
  );
}
 
/* Bottom 20px bar: sand + maroon */
body.skin-timeless #mw-header-container::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 20px;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    var(--bhc-bottombar-sand) 0 33%,
    var(--bhc-bottombar-maroon) 33% 100%
  );
}
 
/* Kill the fixed colour-bar that shows when scrolling */
body.skin-timeless #mw-header-hack,
body.skin-timeless #mw-header-nav-hack{
  display: none !important;
}
 
/* This overlay can cause “weird banding” and spacing issues */
body.skin-timeless #menus-cover{
  display: none !important;
}
 
/* Make all header text dark by default */
body.skin-timeless #mw-header,
body.skin-timeless #mw-header a{
  color: var(--bhc-header-text) !important;
}
 
/* Make header a single flex row */
body.skin-timeless #mw-header{
  position: relative;
  z-index: 6; /* above the bars */
  display: flex;
  align-items: center;
  gap: 16px;
 
  /* Space inside header so content doesn’t sit under bars */
  padding-top: calc(14px + 20px);
  padding-bottom: calc(16px + 20px);
}
 
/* ---------------------------------------------------------
  Layout widths: give title more room, search less
  --------------------------------------------------------- */
 
body.skin-timeless #mw-header #p-logo-text{
  flex: 1 1 auto;
  min-width: 760px;
}
 
body.skin-timeless #mw-header #p-search{
  flex: 0 0 340px;
  width: 340px;
  max-width: 34vw;
  margin-left: auto;
}
 
body.skin-timeless #mw-header #user-tools{
  flex: 0 0 auto;
}
 
@media (max-width: 1024px){
  body.skin-timeless #mw-header{
    flex-wrap: wrap;
    align-items: flex-start;
  }
 
  body.skin-timeless #mw-header #p-logo-text{
    min-width: 0;
    flex: 1 1 100%;
  }
 
  body.skin-timeless #mw-header #p-search{
    flex: 1 1 320px;
    width: auto;
    max-width: 420px;
    margin-left: auto;
  }
}
 
/* ---------------------------------------------------------
  SITE TITLE + LOGO at left
  Timeless uses: #p-logo-text a#p-banner
  --------------------------------------------------------- */
 
body.skin-timeless #p-logo-text{
  position: relative;
}
 
body.skin-timeless #p-logo-text #p-banner{
body.skin-timeless #p-logo-text #p-banner{
  position: relative;
   display: inline-block;
   display: inline-block;
   white-space: normal; /* allow wrap if needed */
  text-decoration: none;
 
  font-family: var(--bhc-heading-font) !important;
  font-weight: 700;
  font-size: 40px;              /* per site */
  letter-spacing: .01em;
  color: var(--bhc-maroon) !important;
 
  /* Logo (bigger) */
  background-image: url(/resources/assets/BHClogo.jpg);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 96px 96px;
 
  padding-left: 118px;          /* aligns text after logo */
  min-height: 96px;
  line-height: 1.05;
 
   white-space: normal;           /* allow wrap if it must */
}
 
/* Hide Timeless sidebar logo so we don’t double-brand */
body.skin-timeless #mw-site-navigation #p-logo{
  display: none !important;
}
}


/* Strapline */
/* =========================================================
  STRAPLINE (Option 1): CSS-only via ::after on the site title
  ========================================================= */
 
body.skin-timeless #p-logo-text #p-banner::after{
body.skin-timeless #p-logo-text #p-banner::after{
   content: "Explore the Heritage of the Northern Borders";
   content: "Explore the Heritage of the Northern Borders";
   display: block;
   display: block;


  /* Styling requested */
   font-family: "Satisfy", cursive;
   font-family: "Satisfy", cursive;
   font-size: 40px;
   font-size: 40px;
Line 24: Line 273:
   color: rgb(130,156,149);
   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;
   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 */
/* Tidy strapline on smaller screens */
body.skin-timeless #p-logo-text #p-banner{
@media (max-width: 1024px){
   line-height: 1.1; /* keeps title from forcing huge vertical gaps */
  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; }
}
 
/* =========================================================
  SEARCH: icon OUTSIDE the input (to the right)
  ========================================================= */
 
body.skin-timeless #p-search #simpleSearch{
  position: relative;
}
 
/* Input */
body.skin-timeless #p-search input[type="search"],
body.skin-timeless #p-search #searchInput{
  width: 100%;
  box-sizing: border-box;
 
  padding: .45rem .8rem;
  padding-right: 3.1rem !important; /* room for icon button */
  border-radius: 10px;
 
  background: #fff !important;
  color: #202020 !important;
  caret-color: #202020 !important;
 
  border: 1px solid rgba(0,0,0,.18) !important;
  box-shadow: none !important;
 
  -webkit-appearance: none;
  appearance: none;
}
 
/* Placeholder */
body.skin-timeless #p-search input[type="search"]::placeholder,
body.skin-timeless #p-search #searchInput::placeholder{
   color: rgba(0,0,0,.55) !important;
}
 
/* Hide built-in WebKit search decorations */
body.skin-timeless #p-search input[type="search"]::-webkit-search-decoration,
body.skin-timeless #p-search input[type="search"]::-webkit-search-cancel-button,
body.skin-timeless #p-search input[type="search"]::-webkit-search-results-button,
body.skin-timeless #p-search input[type="search"]::-webkit-search-results-decoration{
  -webkit-appearance: none;
  display: none;
}
}


/* Optional: on smaller screens, reduce strapline size to prevent wrapping weirdly */
/* Only keep ONE submit button as the icon */
@media (max-width: 1024px){
body.skin-timeless #p-search input#mw-searchButton,
  body.skin-timeless #p-logo-text #p-banner::after{
body.skin-timeless #p-search input#searchButton{
    font-size: 32px;
  position: absolute;
   }
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
 
  width: 38px;
  height: 38px;
 
  padding: 0;
  margin: 0;
 
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.18);
  background: #fff;
 
  cursor: pointer;
 
  text-indent: -9999px;
  overflow: hidden;
 
  background-image: 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");
  background-repeat: no-repeat;
   background-position: center;
}
}
@media (max-width: 720px){
 
  body.skin-timeless #p-logo-text #p-banner::after{
/* If BOTH exist, hide “Go” and keep “Search” */
    font-size: 26px;
body.skin-timeless #p-search input#searchButton{
  }
  display: none !important;
}
}


/* Label styling */
body.skin-timeless #p-search label{
  color: rgba(32,32,32,.75) !important;
}


/* =========================================================
/* =========================================================
   BHC – Footer palette (Timeless)
   Personal dropdown: ensure text is black
  Background burgundy, text white, links sand
   ========================================================= */
   ========================================================= */


body.skin-timeless #mw-footer-container{
body.skin-timeless #personal,
   background: rgb(93, 8, 58) !important; /* site burgundy */
body.skin-timeless #personal a,
   border-top: 0 !important;             /* remove any previous border */
body.skin-timeless #personal h2,
body.skin-timeless #personal h3,
body.skin-timeless #personal .mw-portlet,
body.skin-timeless #personal .mw-portlet *{
   color: #202020 !important;
}
 
body.skin-timeless #personal .dropdown,
body.skin-timeless #personal .mw-portlet-body{
   background: #fff !important;
}
}


body.skin-timeless #mw-footer{
/* =========================================================
   color: #fff !important;
  FOOTER: burgundy background, white text, sand links
  ========================================================= */
 
body.skin-timeless #mw-footer-container{
   background: rgb(93, 8, 58) !important;
  border-top: 0 !important;
}
}


/* Footer text + list items */
body.skin-timeless #mw-footer,
body.skin-timeless #mw-footer,
body.skin-timeless #mw-footer *{
body.skin-timeless #mw-footer *{
   color: #fff;
   color: #fff !important;
  font-family: var(--bhc-body-font);
}
}


/* Links in footer */
body.skin-timeless #mw-footer a,
body.skin-timeless #mw-footer a,
body.skin-timeless #mw-footer a:visited{
body.skin-timeless #mw-footer a:visited{
Line 79: Line 408:
}
}


/* Optional: soften small-print a touch without changing colour */
/* =========================================================
body.skin-timeless #mw-footer #footer-info,
  Spacing: keep content comfortably below header bars
body.skin-timeless #mw-footer #footer-places{
  ========================================================= */
   opacity: 0.95;
 
/* Override Timeless’ default desktop margin-top on #mw-content-container */
@media screen and (min-width: 851px){
  body.skin-timeless #mw-content-container{
    margin-top: 1rem !important;  /* the “perfect” gap you tested */
    padding-bottom: 1em;
  }
}
 
/* For all sizes, avoid huge extra padding */
body.skin-timeless #mw-content-container{
   padding-top: 0 !important;
}
}

Revision as of 19:53, 24 January 2026

/* =========================================================
   Bellingham Heritage Centre – Timeless skin branding (CSS-only)
   Applies ONLY when the Timeless skin is in use.
   ========================================================= */

@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{
  /* Palette */
  --bhc-teal: rgb(130,156,149);
  --bhc-olive: rgb(165,174,121);
  --bhc-sand: rgb(228,186,149);

  /* Heritage text colour (per your site) */
  --bhc-maroon: rgb(93, 8, 58);

  /* Bottom bar: sand -> maroon (match your description) */
  --bhc-bottombar-sand: rgb(228, 186, 123);
  --bhc-bottombar-maroon: rgb(95, 8, 58);

  --bhc-link: #005DB3;
  --bhc-text: #202020;

  /* Header background */
  --bhc-header-bg: #ffffff;
  --bhc-header-text: #202020;

  /* Fonts */
  --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;

  /* Readability */
  font-size: 18px;
  line-height: 1.65;

  overflow-x: hidden;

  /* Page chrome background (prevents the “black band” effect) */
  background: #eaecf0;
}

@media (max-width: 720px){
  body.skin-timeless{ font-size: 16.5px; }
}

/* ---------------------------------------------------------
   Global typography (content)
   --------------------------------------------------------- */

body.skin-timeless,
body.skin-timeless .mw-body,
body.skin-timeless .mw-parser-output{
  font-family: var(--bhc-body-font);
  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: var(--bhc-heading-font);
  letter-spacing: .02em;
  color: var(--bhc-maroon);
}

body.skin-timeless .mw-parser-output h1{
  font-size: 2.05rem;
  line-height: 1.15;
  margin: 0.25rem 0 0.75rem;
  font-weight: 700;
}

body.skin-timeless .mw-parser-output h2{
  font-size: 1.55rem;
  line-height: 1.2;
  margin: 1.6rem 0 0.6rem;
  border-bottom: 3px solid var(--bhc-sand);
  padding-bottom: .25rem;
}

body.skin-timeless .mw-parser-output h3{
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 1.2rem 0 0.45rem;
}

body.skin-timeless .mw-parser-output h4{
  font-size: 1.1rem;
  line-height: 1.3;
}

body.skin-timeless .mw-parser-output p{ margin: 0.75rem 0; }
body.skin-timeless .mw-parser-output ul,
body.skin-timeless .mw-parser-output ol{ margin: 0.6rem 0 0.9rem 1.25rem; }
body.skin-timeless .mw-parser-output li{ margin: 0.2rem 0; }

body.skin-timeless #toc,
body.skin-timeless .toc,
body.skin-timeless .mw-normal-catlinks,
body.skin-timeless .catlinks,
body.skin-timeless .mw-editsection,
body.skin-timeless .mw-editsection a,
body.skin-timeless .mw-changeslist,
body.skin-timeless .mw-footer{
  font-size: 0.95rem;
}

/* =========================================================
   HEADER: Timeless header full-width + WHITE background + BHC bars
   ========================================================= */

body.skin-timeless #mw-header-container{
  position: relative !important;
  background: var(--bhc-header-bg) !important;
  border: 0 !important;
  overflow: hidden; /* ensures pseudo bars clip cleanly */
}

/* Top 20px bar: olive (top) + teal (under) */
body.skin-timeless #mw-header-container::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 20px;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    var(--bhc-olive) 0 25%,
    var(--bhc-teal) 25% 100%
  );
}

/* Bottom 20px bar: sand + maroon */
body.skin-timeless #mw-header-container::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 20px;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    var(--bhc-bottombar-sand) 0 33%,
    var(--bhc-bottombar-maroon) 33% 100%
  );
}

/* Kill the fixed colour-bar that shows when scrolling */
body.skin-timeless #mw-header-hack,
body.skin-timeless #mw-header-nav-hack{
  display: none !important;
}

/* This overlay can cause “weird banding” and spacing issues */
body.skin-timeless #menus-cover{
  display: none !important;
}

/* Make all header text dark by default */
body.skin-timeless #mw-header,
body.skin-timeless #mw-header a{
  color: var(--bhc-header-text) !important;
}

/* Make header a single flex row */
body.skin-timeless #mw-header{
  position: relative;
  z-index: 6; /* above the bars */
  display: flex;
  align-items: center;
  gap: 16px;

  /* Space inside header so content doesn’t sit under bars */
  padding-top: calc(14px + 20px);
  padding-bottom: calc(16px + 20px);
}

/* ---------------------------------------------------------
   Layout widths: give title more room, search less
   --------------------------------------------------------- */

body.skin-timeless #mw-header #p-logo-text{
  flex: 1 1 auto;
  min-width: 760px;
}

body.skin-timeless #mw-header #p-search{
  flex: 0 0 340px;
  width: 340px;
  max-width: 34vw;
  margin-left: auto;
}

body.skin-timeless #mw-header #user-tools{
  flex: 0 0 auto;
}

@media (max-width: 1024px){
  body.skin-timeless #mw-header{
    flex-wrap: wrap;
    align-items: flex-start;
  }

  body.skin-timeless #mw-header #p-logo-text{
    min-width: 0;
    flex: 1 1 100%;
  }

  body.skin-timeless #mw-header #p-search{
    flex: 1 1 320px;
    width: auto;
    max-width: 420px;
    margin-left: auto;
  }
}

/* ---------------------------------------------------------
   SITE TITLE + LOGO at left
   Timeless uses: #p-logo-text a#p-banner
   --------------------------------------------------------- */

body.skin-timeless #p-logo-text{
  position: relative;
}

body.skin-timeless #p-logo-text #p-banner{
  display: inline-block;
  text-decoration: none;

  font-family: var(--bhc-heading-font) !important;
  font-weight: 700;
  font-size: 40px;               /* per site */
  letter-spacing: .01em;
  color: var(--bhc-maroon) !important;

  /* Logo (bigger) */
  background-image: url(/resources/assets/BHClogo.jpg);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 96px 96px;

  padding-left: 118px;           /* aligns text after logo */
  min-height: 96px;
  line-height: 1.05;

  white-space: normal;           /* allow wrap if it must */
}

/* Hide Timeless sidebar logo so we don’t double-brand */
body.skin-timeless #mw-site-navigation #p-logo{
  display: none !important;
}

/* =========================================================
   STRAPLINE (Option 1): CSS-only via ::after on the site title
   ========================================================= */

body.skin-timeless #p-logo-text #p-banner::after{
  content: "Explore the Heritage of the Northern Borders";
  display: block;

  font-family: "Satisfy", cursive;
  font-size: 40px;
  line-height: 1.05;
  font-weight: 400;
  color: rgb(130,156,149);

  margin-top: 0.15rem;
}

/* Tidy strapline on smaller screens */
@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; }
}

/* =========================================================
   SEARCH: icon OUTSIDE the input (to the right)
   ========================================================= */

body.skin-timeless #p-search #simpleSearch{
  position: relative;
}

/* Input */
body.skin-timeless #p-search input[type="search"],
body.skin-timeless #p-search #searchInput{
  width: 100%;
  box-sizing: border-box;

  padding: .45rem .8rem;
  padding-right: 3.1rem !important; /* room for icon button */
  border-radius: 10px;

  background: #fff !important;
  color: #202020 !important;
  caret-color: #202020 !important;

  border: 1px solid rgba(0,0,0,.18) !important;
  box-shadow: none !important;

  -webkit-appearance: none;
  appearance: none;
}

/* Placeholder */
body.skin-timeless #p-search input[type="search"]::placeholder,
body.skin-timeless #p-search #searchInput::placeholder{
  color: rgba(0,0,0,.55) !important;
}

/* Hide built-in WebKit search decorations */
body.skin-timeless #p-search input[type="search"]::-webkit-search-decoration,
body.skin-timeless #p-search input[type="search"]::-webkit-search-cancel-button,
body.skin-timeless #p-search input[type="search"]::-webkit-search-results-button,
body.skin-timeless #p-search input[type="search"]::-webkit-search-results-decoration{
  -webkit-appearance: none;
  display: none;
}

/* Only keep ONE submit button as the icon */
body.skin-timeless #p-search input#mw-searchButton,
body.skin-timeless #p-search input#searchButton{
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);

  width: 38px;
  height: 38px;

  padding: 0;
  margin: 0;

  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.18);
  background: #fff;

  cursor: pointer;

  text-indent: -9999px;
  overflow: hidden;

  background-image: 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");
  background-repeat: no-repeat;
  background-position: center;
}

/* If BOTH exist, hide “Go” and keep “Search” */
body.skin-timeless #p-search input#searchButton{
  display: none !important;
}

/* Label styling */
body.skin-timeless #p-search label{
  color: rgba(32,32,32,.75) !important;
}

/* =========================================================
   Personal dropdown: ensure text is black
   ========================================================= */

body.skin-timeless #personal,
body.skin-timeless #personal a,
body.skin-timeless #personal h2,
body.skin-timeless #personal h3,
body.skin-timeless #personal .mw-portlet,
body.skin-timeless #personal .mw-portlet *{
  color: #202020 !important;
}

body.skin-timeless #personal .dropdown,
body.skin-timeless #personal .mw-portlet-body{
  background: #fff !important;
}

/* =========================================================
   FOOTER: burgundy background, white text, sand links
   ========================================================= */

body.skin-timeless #mw-footer-container{
  background: rgb(93, 8, 58) !important;
  border-top: 0 !important;
}

body.skin-timeless #mw-footer,
body.skin-timeless #mw-footer *{
  color: #fff !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;
  text-decoration: none;
}
body.skin-timeless #mw-footer a:hover{
  text-decoration: underline;
}

/* =========================================================
   Spacing: keep content comfortably below header bars
   ========================================================= */

/* Override Timeless’ default desktop margin-top on #mw-content-container */
@media screen and (min-width: 851px){
  body.skin-timeless #mw-content-container{
    margin-top: 1rem !important;   /* the “perfect” gap you tested */
    padding-bottom: 1em;
  }
}

/* For all sizes, avoid huge extra padding */
body.skin-timeless #mw-content-container{
  padding-top: 0 !important;
}