Jump to content
🚛
Streamline your cross-border operation. From ACE & ACI eManifests to PARS tracking and U.S. In-Bond filing, BorderConnect is the fastest way to cross.

MediaWiki:Common.css: Difference between revisions

From BorderConnect Wiki
No edit summary
No edit summary
Line 1: Line 1:
/* ============================================================
/* --- BORDERCONNECT MODERN WIKI THEME --- */
  BorderConnect Main Page Portal Styles
  Scoped to .bc-wrap so it won't impact other wiki pages.
  ============================================================ */


:root {
    --bc-blue: #005696;        /* Core Brand Color */
    --bc-blue-dark: #003d6b;  /* Hover State */
    --bc-accent: #eef6fc;      /* Light Blue Backgrounds */
    --bc-text: #2c3e50;        /* Main Text */
    --bc-text-muted: #607d8b;  /* Subtitles */
    --bc-border: #e0e6ed;      /* Subtle Borders */
    --bc-radius: 8px;          /* Soft Corners */
    --bc-shadow: 0 4px 6px rgba(0,0,0,0.05); /* Card Lift */
    --bc-shadow-hover: 0 8px 15px rgba(0,0,0,0.1);
}
/* Global Wrapper */
.bc-wrap {
.bc-wrap {
     max-width: 1200px;
     max-width: 1200px;
     margin: 0 auto;
     margin: 0 auto;
     font-size: 15px;
     font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
     line-height: 1.55;
     color: var(--bc-text);
}
     line-height: 1.6;
 
/* Ensure portal content inherits the same base sizing */
.bc-wrap .bc-card,
.bc-wrap .bc-cleanlist,
.bc-wrap .bc-cleanlist ul,
.bc-wrap .bc-cleanlist ol,
.bc-wrap .bc-cleanlist li {
    font-size: inherit;
     line-height: inherit;
}
}


/* ============================================================
/* --- HERO SECTION --- */
  HERO
  ============================================================ */
 
.bc-hero {
.bc-hero {
     background: linear-gradient(135deg, #226065 0%, #1f4b4f 60%, #17373a 100%);
     background: linear-gradient(135deg, var(--bc-blue) 0%, var(--bc-blue-dark) 100%);
     border-radius: 16px;
     color: white;
     padding: 28px 28px 22px 28px; /* more breathing room */
    padding: 60px 20px;
     color: #fff;
    text-align: center;
     box-shadow: 0 10px 30px rgba(0,0,0,.15);
     border-radius: var(--bc-radius);
     margin-bottom: 40px;
     box-shadow: var(--bc-shadow);
}
}


.bc-hero h1 {
.bc-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
     margin: 0 0 10px 0;
     margin: 0 0 10px 0;
     font-size: 34px;
     color: white;
     line-height: 1.12;
     border: none; /* Override default Wiki H1 border */
}
}


.bc-hero p {
.bc-hero p {
    margin: 0;
     font-size: 1.2rem;
    opacity: .92;
     opacity: 0.9;
     font-size: 16px;
     margin-bottom: 30px;
    line-height: 1.55;
     margin-top: 2px;
     margin-bottom: 14px;
}
}


.bc-hero .bc-meta {
/* Search Box Container */
     margin-top: 10px;
.bc-search-container {
     margin-bottom: 14px;
     max-width: 600px;
    font-size: 13px;
     margin: 0 auto 30px auto;
    opacity: .9;
}
}


.bc-hero .bc-kicker {
/* Wiki InputBox Override (If using Extension:InputBox) */
     font-size: 13px;
.bc-search-container input.mw-ui-input {
     letter-spacing: .06em;
     padding: 15px;
     text-transform: uppercase;
     border-radius: 30px;
     color: rgba(255,255,255,.85);
     border: none;
     margin-top: 10px;
     box-shadow: 0 4px 10px rgba(0,0,0,0.2);
     font-size: 1.1rem;
    width: 100%;
}
}


/* ============================================================
/* Stats Meta */
  HERO readability fixes (force high-contrast text + links)
.bc-meta {
  ============================================================ */
    font-size: 0.9rem;
 
    opacity: 0.7;
.bc-hero{ color: rgba(255,255,255,.92); }
    margin-top: 20px;
.bc-hero h1, .bc-hero h2, .bc-hero h3{ color:#fff; }
.bc-hero a{ color:rgba(255,255,255,.95) !important; }
 
.bc-hero h1,
.bc-hero h2,
.bc-hero h3 {
    color: #fff !important;
}
}


.bc-hero a,
/* --- GRID SYSTEM --- */
.bc-hero a:visited {
    color: rgba(255,255,255,.95) !important;
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,.35);
    text-underline-offset: 2px;
}
 
.bc-hero a:hover,
.bc-hero a:focus {
    color: #fff !important;
    text-decoration-color: rgba(255,255,255,.65);
}
 
.bc-hero .bc-meta,
.bc-hero .bc-kicker {
    color: rgba(255,255,255,.80) !important;
}
 
/* Remove MediaWiki heading underline inside hero */
.bc-hero h1,
.bc-hero h2,
.bc-hero .mw-heading1,
.bc-hero .mw-heading2 {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}
 
/* ============================================================
  Pills (UPDATED: bigger + more padding + guaranteed wrap)
  ============================================================ */
 
.bc-pillrow {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;          /* prevents overlap + adds breathing room */
    margin-top: 10px;
}
 
.bc-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
margin: 5px;
    padding: 8px 14px;      /* bigger click target */
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.14);
 
    font-size: 14px;        /* slightly larger */
    line-height: 1.1;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
 
    transition: background .15s ease, transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
 
/* Force pill link color across normal/visited/hover/focus */
.bc-pill a,
.bc-pill a:visited {
    color: #fff !important;
    text-decoration: none !important;
}
.bc-pill a:hover,
.bc-pill a:focus {
    color: #fff !important;
    text-decoration: none !important;
}
 
.bc-pill:hover {
    background: rgba(255,255,255,.22);
    border-color: rgba(255,255,255,.30);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,.18);
}
 
/* Slightly roomier on small screens (helps long labels) */
@media (max-width: 600px) {
    .bc-pill {
        padding: 9px 16px;
        font-size: 13px;
    }
}
 
/* ============================================================
  HERO – center alignment
  ============================================================ */
 
.bc-hero {
    text-align: center;
}
 
/* Center meta + kicker text */
.bc-hero .bc-meta,
.bc-hero .bc-kicker {
    text-align: center;
}
 
/* Center pill rows and wrapped pills */
.bc-hero .bc-pillrow {
    justify-content: center;  /* centers pills horizontally */
}
 
/* Optional: keep max-width content visually centered */
.bc-hero p {
    margin-left: auto;
    margin-right: auto;
}
 
/* ============================================================
  Layout / Cards
  ============================================================ */
 
.bc-grid {
.bc-grid {
     display: grid;
     display: grid;
     grid-template-columns: 1fr;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 14px;
     gap: 25px;
     margin-top: 14px;
     margin-bottom: 30px;
}
 
@media (min-width: 980px) {
    .bc-grid { grid-template-columns: 1fr 1fr; }
}
}


.bc-2col {
.bc-2col {
     display: grid;
     display: grid;
    gap: 12px;
     grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
     grid-template-columns: 1fr;
    gap: 25px;
     margin-top: 14px;
     margin-bottom: 30px;
}
}


@media (min-width: 980px) {
/* --- CARDS --- */
     .bc-2col { grid-template-columns: 1fr 1fr; }
.bc-card {
    background: white;
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius);
    padding: 25px;
     transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%; /* Equal height cards */
    box-sizing: border-box;
}
}


.bc-card {
.bc-card:hover {
     background: #fff;
     transform: translateY(-3px);
    border: 1px solid rgba(0,0,0,.08);
     box-shadow: var(--bc-shadow-hover);
    border-radius: 14px;
    padding: 16px 16px 14px 16px;
     box-shadow: 0 8px 20px rgba(0,0,0,.06);
}
}


.bc-card h2 {
.bc-card h2 {
     margin: 0 0 10px 0;
     margin-top: 0;
     font-size: 18px;
     font-size: 1.5rem;
}
    color: var(--bc-blue);
 
    border-bottom: 2px solid var(--bc-accent);
.bc-card h3 {
     padding-bottom: 10px;
     margin: 14px 0 8px 0;
     margin-bottom: 15px;
     font-size: 15px;
}
}


.bc-subtle {
.bc-subtle {
     color: #555;
     color: var(--bc-text-muted);
    font-size: 13px;
     font-size: 0.95rem;
}
     margin-bottom: 15px;
 
.bc-mini {
     font-size: 12px;
     color: #666;
}
}


/* ============================================================
/* --- BUTTONS / PILLS --- */
  Buttons
  ============================================================ */
 
.bc-btngrid {
.bc-btngrid {
     display: grid;
     display: grid;
     grid-template-columns: 1fr;
     grid-template-columns: 1fr;
     gap: 10px;
     gap: 10px;
    margin-top: 10px;
}
@media (min-width: 980px) {
    .bc-btngrid { grid-template-columns: 1fr 1fr; }
}
}


.bc-btn {
.bc-btn {
     display: block;
     display: block;
     padding: 10px 12px;
    background: var(--bc-accent);
     border-radius: 12px;
     padding: 12px 15px;
     border: 1px solid rgba(0,0,0,.10);
     border-radius: 6px;
     background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(0,0,0,.02) 100%);
     text-decoration: none;
     box-shadow: 0 6px 14px rgba(0,0,0,.06);
     color: var(--bc-blue);
     text-decoration: none !important;
     font-weight: 600;
    transition: background 0.2s;
     border-left: 4px solid var(--bc-blue);
}
}


.bc-btn:hover {
.bc-btn:hover {
     transform: translateY(-1px);
     background: #dbeafe;
     box-shadow: 0 10px 18px rgba(0,0,0,.08);
     text-decoration: none;
}
}


.bc-btn strong {
.bc-btn strong {
     display: block;
     display: block;
     font-size: 14px;
    color: var(--bc-text);
     font-size: 0.9rem;
    margin-bottom: 2px;
}
}


.bc-btn span {
.bc-btn span {
     font-size: 13px;
     font-size: 1rem;
    color: #555;
}
}


/* ============================================================
/* --- ALERTS & CALLOUTS --- */
  Section color accents (subtle, modern)
/* "Did You Know" boxes */
  ============================================================ */
.bc-did-you-know {
 
     background: #fff8e1; /* Pale Yellow */
.bc-card[class*="bc-accent-"] {
    border-left: 4px solid #ffc107;
     background-clip: padding-box;
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
    font-size: 0.95rem;
}
}


.bc-accent-aci {
.bc-did-you-know h3 {
     border-left: 6px solid #2563eb;
     margin-top: 0;
     background: linear-gradient(90deg, rgba(37,99,235,.04), rgba(255,255,255,0) 35%);
    color: #b78a02;
     font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
}


.bc-accent-ace {
/* Clean Lists (Remove bullets) */
     border-left: 6px solid #dc2626;
.bc-cleanlist ul {
     background: linear-gradient(90deg, rgba(220,38,38,.04), rgba(255,255,255,0) 35%);
     list-style: none;
     margin: 0;
    padding: 0;
}
}


.bc-accent-ib {
.bc-cleanlist li {
     border-left: 6px solid #7c3aed;
     padding: 6px 0;
     background: linear-gradient(90deg, rgba(124,58,237,.04), rgba(255,255,255,0) 35%);
     border-bottom: 1px solid #f0f0f0;
}
}


.bc-accent-onboard {
.bc-cleanlist li:last-child {
     border-left: 6px solid #f59e0b;
     border-bottom: none;
    background: linear-gradient(90deg, rgba(245,158,11,.05), rgba(255,255,255,0) 35%);
}
}


.bc-accent-ref {
/* --- LINK GRID (FOOTER) --- */
    border-left: 6px solid #334155;
.bc-linkgrid {
    background: linear-gradient(90deg, rgba(51,65,85,.035), rgba(255,255,255,0) 35%);
     display: grid;
}
     grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
 
     gap: 15px;
.bc-accent-soft {
    border-left: 6px solid #0f766e;
    background: linear-gradient(90deg, rgba(15,118,110,.04), rgba(255,255,255,0) 35%);
}
 
/* ============================================================
  HEADER — LARGE LOGO, TIGHT HEIGHT, PERFECTLY BODY-ALIGNED
  ============================================================ */
 
/* Hide default Vector wordmark/tagline */
.mw-logo-wordmark,
.mw-logo-tagline {
     display: none !important;
}
 
/* Disable logo link */
.mw-logo a,
.mw-logo a * {
    pointer-events: none !important;
    cursor: default !important;
}
 
/* Use Vector’s own layout width so header & body match exactly */
.vector-header {
    background: #fff;
     box-sizing: border-box !important;
}
 
.vector-header-container {
    max-width: var(--width-layout) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    padding-left: var(--padding-inline-page-container, 16px) !important;
    padding-right: var(--padding-inline-page-container, 16px) !important;
     box-sizing: border-box !important;
}
 
/* Header height control */
.mw-header {
    height: 90px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
}
 
/* Prevent Vector forcing tall minimums */
.mw-header,
.vector-header,
.vector-header-container {
    min-height: unset !important;
}
}


/* Left cluster flush */
.bc-linktile a {
.vector-header-start {
    margin-left: 0 !important;
    padding-left: 0 !important;
}
 
/* Hamburger safety */
#mw-panel-button,
.vector-main-menu-dropdown {
    margin-left: 0 !important;
}
 
/* Logo sizing */
.mw-logo {
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
     height: 100%;
     padding: 15px;
    background: #f8f9fa;
    border-radius: var(--bc-radius);
    text-decoration: none;
    color: var(--bc-text);
    transition: background 0.2s;
}
}


.mw-logo img,
.bc-linktile a:hover {
#p-logo img {
     background: var(--bc-accent);
     height: 135px !important;
    width: auto;
    max-height: none;
}
}


 
.bc-linkicon {
/* ============================================================
    font-size: 24px;
  Remove empty paragraphs before hero on main page
     margin-right: 15px;
  ============================================================ */
 
.mw-parser-output > p:empty,
.mw-parser-output > p > br:only-child {
     display: none;
}
}


.mw-parser-output > .bc-hero:first-child {
.bc-linktext {
    margin-top: 0 !important;
     display: flex;
}
     flex-direction: column;
 
/* Make InputBox search match hero styling */
.bc-hero-search .mw-inputbox-input {
    width: 100% !important;
    height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.10);
    color: #fff;
    padding: 0 14px;
    outline: none;
}
 
.bc-hero-search .mw-inputbox-input::placeholder {
    color: rgba(255,255,255,.70);
}
 
.bc-hero-search .mw-inputbox-button {
    height: 46px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.16);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
 
.bc-hero-search .mw-inputbox-button:hover {
     background: rgba(255,255,255,.22);
     border-color: rgba(255,255,255,.30);
}
}


/* ============================================================
.bc-linktitle {
  Internet link grid
    font-weight: bold;
  ============================================================ */
    color: var(--bc-blue);
 
.bc-linkgrid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:10px;
}
@media (max-width: 900px){ .bc-linkgrid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 560px){ .bc-linkgrid{ grid-template-columns:1fr; } }
 
/* Tile wrapper */
.bc-linktile{}
 
/* The <a> that MediaWiki generates inside each tile */
.bc-linktile > a{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:12px;
  border-radius:14px;
  background:rgba(255,255,255,.85);
  border:1px solid rgba(0,0,0,.08);
  text-decoration:none !important;
  color:inherit !important;
  transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  min-height:84px;
}
 
/* Remove MediaWiki external-link icon and any default background */
.bc-linktile > a.external{
  background-image:none !important;
  padding-right:12px; /* prevents MW from reserving space */
}
.bc-linktile > a.external::after{ display:none !important; }
 
.bc-linktile > a:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(0,0,0,.10);
  border-color:rgba(34,96,101,.28);
}
 
.bc-linkicon{
  width:38px;
  height:38px;
  min-width:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:rgba(34,96,101,.10);
  font-size:18px;
  line-height:1;
}
 
.bc-linktext{ display:block; }
.bc-linktitle{
  display:block;
  font-weight:700;
  font-size:15px;
  line-height:1.15;
}
.bc-linkdesc{
  display:block;
  margin-top:4px;
  font-size:13px;
  line-height:1.35;
  opacity:.85;
}
 
/* ============================================================
  Wikipedia-style infobox
  (restores float-right + wrap + smaller type)
  ============================================================ */
 
.mw-parser-output .infobox {
  float: right;
  clear: right;
  width: 22em;
  margin: 0 0 1em 1em;
  font-size: 88%;
  line-height: 1.35;
  border: 1px solid var(--border-color-base, #a2a9b1);
  background: var(--background-color-base, #f8f9fa);
  color: inherit;
  border-spacing: 3px;
}
 
.mw-parser-output .infobox caption,
.mw-parser-output .infobox > caption {
  font-size: 125%;
  font-weight: 700;
  text-align: center;
  padding: .2em;
}
 
.mw-parser-output .infobox th,
.mw-parser-output .infobox td {
  padding: .25em .4em;
  vertical-align: top;
}
 
.mw-parser-output .infobox th {
  text-align: left;
  font-weight: 700;
  white-space: nowrap;
}
 
.mw-parser-output .infobox td {
  text-align: left;
}
 
.mw-parser-output .infobox .infobox-image,
.mw-parser-output .infobox .infobox-above,
.mw-parser-output .infobox .infobox-header,
.mw-parser-output .infobox .infobox-subheader {
  text-align: center;
}
 
.mw-parser-output .infobox a.image img {
  height: auto;
  max-width: 100%;
}
 
/* ============================================================
  Improved Dark Mode (Vector 2022 clientpref-night)
  ============================================================ */
 
@media screen {
 
html.skin-theme-clientpref-night .bc-wrap{
  color:#e6e6e6;
}
 
/* Core card surfaces */
html.skin-theme-clientpref-night .bc-card{
  background:#15181b;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 10px 22px rgba(0,0,0,.35);
  backdrop-filter: blur(2px);
}
 
html.skin-theme-clientpref-night .bc-card h2,
html.skin-theme-clientpref-night .bc-card h3{
  color:#f0f0f0;
}
 
/* Muted text */
html.skin-theme-clientpref-night .bc-subtle{
  color:rgba(230,230,230,.78);
}
html.skin-theme-clientpref-night .bc-mini{
  color:rgba(230,230,230,.70);
}
 
/* Links inside cards */
html.skin-theme-clientpref-night .bc-card a,
html.skin-theme-clientpref-night .bc-card a:visited{
  color:#9ad7ff;
  text-decoration-color:rgba(154,215,255,.35);
  text-underline-offset:2px;
}
html.skin-theme-clientpref-night .bc-card a:hover,
html.skin-theme-clientpref-night .bc-card a:focus{
  color:#c7ebff;
  text-decoration-color:rgba(199,235,255,.60);
}
 
/* Buttons */
html.skin-theme-clientpref-night .bc-btn{
  background:linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(0,0,0,0) 100%);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 10px 22px rgba(0,0,0,.35);
}
html.skin-theme-clientpref-night .bc-btn strong{
  color:#f0f0f0;
}
html.skin-theme-clientpref-night .bc-btn span{
  color:rgba(230,230,230,.78);
}
html.skin-theme-clientpref-night .bc-btn:hover{
  box-shadow:0 14px 28px rgba(0,0,0,.45);
  border-color:rgba(255,255,255,.16);
}
 
/* Accent cards */
html.skin-theme-clientpref-night .bc-accent-aci{
  border-left-color:#3b82f6;
  background:linear-gradient(90deg, rgba(59,130,246,.14), rgba(0,0,0,0) 45%), #15181b;
}
html.skin-theme-clientpref-night .bc-accent-ace{
  border-left-color:#ef4444;
  background:linear-gradient(90deg, rgba(239,68,68,.14), rgba(0,0,0,0) 45%), #15181b;
}
html.skin-theme-clientpref-night .bc-accent-ib{
  border-left-color:#a78bfa;
  background:linear-gradient(90deg, rgba(167,139,250,.14), rgba(0,0,0,0) 45%), #15181b;
}
html.skin-theme-clientpref-night .bc-accent-onboard{
  border-left-color:#f59e0b;
  background:linear-gradient(90deg, rgba(245,158,11,.16), rgba(0,0,0,0) 45%), #15181b;
}
html.skin-theme-clientpref-night .bc-accent-ref{
  border-left-color:#94a3b8;
  background:linear-gradient(90deg, rgba(148,163,184,.10), rgba(0,0,0,0) 45%), #15181b;
}
html.skin-theme-clientpref-night .bc-accent-soft{
  border-left-color:#14b8a6;
  background:linear-gradient(90deg, rgba(20,184,166,.14), rgba(0,0,0,0) 45%), #15181b;
}
 
/* Hero */
html.skin-theme-clientpref-night .bc-hero{
  box-shadow:0 16px 36px rgba(0,0,0,.45);
}
 
/* Hero search controls */
html.skin-theme-clientpref-night .bc-hero-search .mw-inputbox-input{
  border-color:rgba(255,255,255,.22);
  background:rgba(0,0,0,.18);
  color:#fff;
}
html.skin-theme-clientpref-night .bc-hero-search .mw-inputbox-input::placeholder{
  color:rgba(255,255,255,.70);
}
html.skin-theme-clientpref-night .bc-hero-search .mw-inputbox-button{
  border-color:rgba(255,255,255,.22);
  background:rgba(255,255,255,.16);
}
html.skin-theme-clientpref-night .bc-hero-search .mw-inputbox-button:hover{
  background:rgba(255,255,255,.22);
  border-color:rgba(255,255,255,.30);
}
 
/* Pills */
html.skin-theme-clientpref-night .bc-pill{
  border-color:rgba(255,255,255,.20);
  background:rgba(0,0,0,.14);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
html.skin-theme-clientpref-night .bc-pill:hover{
  background:rgba(0,0,0,.22);
  border-color:rgba(255,255,255,.28);
}
 
/* Link tiles */
html.skin-theme-clientpref-night .bc-linktile > a{
  background:#15181b;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 10px 22px rgba(0,0,0,.35);
}
html.skin-theme-clientpref-night .bc-linktile > a:hover{
  border-color:rgba(154,215,255,.22);
  box-shadow:0 14px 28px rgba(0,0,0,.45);
}
html.skin-theme-clientpref-night .bc-linkicon{
  background:rgba(34,96,101,.22);
}
html.skin-theme-clientpref-night .bc-linktitle{
  color:#f0f0f0;
}
html.skin-theme-clientpref-night .bc-linkdesc{
  color:rgba(230,230,230,.78);
  opacity:1;
}
 
/* Infobox */
html.skin-theme-clientpref-night .mw-parser-output .infobox{
  background:#15181b;
  border-color:rgba(255,255,255,.14);
}
html.skin-theme-clientpref-night .mw-parser-output .infobox caption{
  color:#f0f0f0;
}
html.skin-theme-clientpref-night .mw-parser-output .infobox th{
  color:rgba(240,240,240,.92);
}
html.skin-theme-clientpref-night .mw-parser-output .infobox td{
  color:rgba(230,230,230,.86);
}
 
/* Vector header in dark mode */
html.skin-theme-clientpref-night .vector-header{
  background:#0f1113;
  border-bottom:1px solid rgba(255,255,255,.08);
}
 
html.skin-theme-clientpref-night .vector-header a{
  color:#e6e6e6;
}
html.skin-theme-clientpref-night .vector-header a:hover{
  color:#ffffff;
}
}


.bc-linkdesc {
    font-size: 0.8rem;
    color: var(--bc-text-muted);
}
}

Revision as of 14:45, 30 January 2026

/* --- BORDERCONNECT MODERN WIKI THEME --- */

:root {
    --bc-blue: #005696;        /* Core Brand Color */
    --bc-blue-dark: #003d6b;   /* Hover State */
    --bc-accent: #eef6fc;      /* Light Blue Backgrounds */
    --bc-text: #2c3e50;        /* Main Text */
    --bc-text-muted: #607d8b;  /* Subtitles */
    --bc-border: #e0e6ed;      /* Subtle Borders */
    --bc-radius: 8px;          /* Soft Corners */
    --bc-shadow: 0 4px 6px rgba(0,0,0,0.05); /* Card Lift */
    --bc-shadow-hover: 0 8px 15px rgba(0,0,0,0.1);
}

/* Global Wrapper */
.bc-wrap {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: var(--bc-text);
    line-height: 1.6;
}

/* --- HERO SECTION --- */
.bc-hero {
    background: linear-gradient(135deg, var(--bc-blue) 0%, var(--bc-blue-dark) 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: var(--bc-radius);
    margin-bottom: 40px;
    box-shadow: var(--bc-shadow);
}

.bc-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: white;
    border: none; /* Override default Wiki H1 border */
}

.bc-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* Search Box Container */
.bc-search-container {
    max-width: 600px;
    margin: 0 auto 30px auto;
}

/* Wiki InputBox Override (If using Extension:InputBox) */
.bc-search-container input.mw-ui-input {
    padding: 15px;
    border-radius: 30px;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    font-size: 1.1rem;
    width: 100%;
}

/* Stats Meta */
.bc-meta {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 20px;
}

/* --- GRID SYSTEM --- */
.bc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.bc-2col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

/* --- CARDS --- */
.bc-card {
    background: white;
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius);
    padding: 25px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%; /* Equal height cards */
    box-sizing: border-box;
}

.bc-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--bc-shadow-hover);
}

.bc-card h2 {
    margin-top: 0;
    font-size: 1.5rem;
    color: var(--bc-blue);
    border-bottom: 2px solid var(--bc-accent);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.bc-subtle {
    color: var(--bc-text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

/* --- BUTTONS / PILLS --- */
.bc-btngrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.bc-btn {
    display: block;
    background: var(--bc-accent);
    padding: 12px 15px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--bc-blue);
    font-weight: 600;
    transition: background 0.2s;
    border-left: 4px solid var(--bc-blue);
}

.bc-btn:hover {
    background: #dbeafe;
    text-decoration: none;
}

.bc-btn strong {
    display: block;
    color: var(--bc-text);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.bc-btn span {
    font-size: 1rem;
}

/* --- ALERTS & CALLOUTS --- */
/* "Did You Know" boxes */
.bc-did-you-know {
    background: #fff8e1; /* Pale Yellow */
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
    font-size: 0.95rem;
}

.bc-did-you-know h3 {
    margin-top: 0;
    color: #b78a02;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Clean Lists (Remove bullets) */
.bc-cleanlist ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bc-cleanlist li {
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
}

.bc-cleanlist li:last-child {
    border-bottom: none;
}

/* --- LINK GRID (FOOTER) --- */
.bc-linkgrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.bc-linktile a {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: var(--bc-radius);
    text-decoration: none;
    color: var(--bc-text);
    transition: background 0.2s;
}

.bc-linktile a:hover {
    background: var(--bc-accent);
}

.bc-linkicon {
    font-size: 24px;
    margin-right: 15px;
}

.bc-linktext {
    display: flex;
    flex-direction: column;
}

.bc-linktitle {
    font-weight: bold;
    color: var(--bc-blue);
}

.bc-linkdesc {
    font-size: 0.8rem;
    color: var(--bc-text-muted);
}