MediaWiki:Common.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.
/* ============================================================
BorderConnect Main Page Portal Styles
Scoped to .bc-wrap so it won't impact other wiki pages.
============================================================ */
.bc-wrap {
max-width: 1200px;
margin: 0 auto;
font-size: 15px;
line-height: 1.55;
}
/* 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
============================================================ */
.bc-hero {
background: linear-gradient(135deg, #226065 0%, #1f4b4f 60%, #17373a 100%);
border-radius: 16px;
padding: 22px 22px 18px 22px;
color: #fff;
box-shadow: 0 10px 30px rgba(0,0,0,.15);
}
.bc-hero h1 {
margin: 0 0 6px 0;
font-size: 28px;
line-height: 1.15;
}
.bc-hero p {
margin: 0;
opacity: .92;
max-width: 900px;
}
.bc-hero .bc-meta {
margin-top: 10px;
font-size: 13px;
opacity: .9;
}
.bc-hero .bc-kicker {
font-size: 13px;
letter-spacing: .06em;
text-transform: uppercase;
color: rgba(255,255,255,.85);
margin-top: 10px;
}
/* ============================================================
HERO polish: spacing + hierarchy
============================================================ */
.bc-hero {
padding: 28px 28px 22px 28px; /* more breathing room */
}
.bc-hero h1 {
font-size: 34px;
line-height: 1.12;
margin-bottom: 10px;
}
.bc-hero p {
font-size: 16px;
line-height: 1.55;
margin-top: 2px;
margin-bottom: 14px;
max-width: 920px;
}
.bc-hero .bc-meta {
margin-top: 10px;
margin-bottom: 14px;
}
/* ============================================================
HERO readability fixes (force high-contrast text + links)
============================================================ */
.bc-hero,
.bc-hero * {
color: rgba(255,255,255,.92) !important;
}
.bc-hero h1,
.bc-hero h2,
.bc-hero h3 {
color: #fff !important;
}
.bc-hero a,
.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;
}
/* ============================================================
HERO: integrated search bar
============================================================ */
.bc-hero-search {
margin-top: 10px;
margin-bottom: 14px;
max-width: 900px;
}
.bc-hero-search form {
display: grid;
grid-template-columns: 1fr auto;
gap: 10px;
align-items: center;
}
.bc-hero-search-input {
width: 100%;
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-input::placeholder {
color: rgba(255,255,255,.70);
}
.bc-hero-search-input:focus {
border-color: rgba(255,255,255,.45);
background: rgba(255,255,255,.14);
}
.bc-hero-search-btn {
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-btn:hover {
background: rgba(255,255,255,.22);
border-color: rgba(255,255,255,.30);
}
/* Slightly tighter secondary pill row */
.bc-pillrow-secondary .bc-pill {
background: rgba(255,255,255,.09);
border-color: rgba(255,255,255,.16);
}
.bc-pillrow-secondary .bc-pill:hover {
background: rgba(255,255,255,.15);
border-color: rgba(255,255,255,.24);
}
/* Mobile: stack button under input */
@media (max-width: 640px) {
.bc-hero-search form {
grid-template-columns: 1fr;
}
.bc-hero-search-btn {
width: 100%;
}
}
/* ============================================================
Pills
============================================================ */
.bc-pillrow {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 10px;
}
.bc-pill {
padding: 7px 12px;
border-radius: 999px;
border: 1px solid rgba(255,255,255,.18);
background: rgba(255,255,255,.12);
font-size: 13px;
white-space: nowrap;
box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
}
.bc-pill a {
color: #fff !important;
text-decoration: none;
}
.bc-pill:hover {
background: rgba(255,255,255,.18);
border-color: rgba(255,255,255,.26);
}
/* ============================================================
Layout / Cards
============================================================ */
.bc-grid {
display: grid;
grid-template-columns: 1fr;
gap: 14px;
margin-top: 14px;
}
@media (min-width: 980px) {
.bc-grid { grid-template-columns: 1fr 1fr; }
}
.bc-2col {
display: grid;
gap: 12px;
grid-template-columns: 1fr;
margin-top: 14px;
}
@media (min-width: 980px) {
.bc-2col { grid-template-columns: 1fr 1fr; }
}
.bc-card {
background: #fff;
border: 1px solid rgba(0,0,0,.08);
border-radius: 14px;
padding: 16px 16px 14px 16px;
box-shadow: 0 8px 20px rgba(0,0,0,.06);
}
.bc-card h2 {
margin: 0 0 10px 0;
font-size: 18px;
}
.bc-card h3 {
margin: 14px 0 8px 0;
font-size: 15px;
}
.bc-subtle {
color: #555;
font-size: 13px;
}
.bc-mini {
font-size: 12px;
color: #666;
}
/* ============================================================
Buttons
============================================================ */
.bc-btngrid {
display: grid;
grid-template-columns: 1fr;
gap: 10px;
margin-top: 10px;
}
@media (min-width: 980px) {
.bc-btngrid { grid-template-columns: 1fr 1fr; }
}
.bc-btn {
display: block;
padding: 10px 12px;
border-radius: 12px;
border: 1px solid rgba(0,0,0,.10);
background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(0,0,0,.02) 100%);
box-shadow: 0 6px 14px rgba(0,0,0,.06);
text-decoration: none !important;
}
.bc-btn:hover {
transform: translateY(-1px);
box-shadow: 0 10px 18px rgba(0,0,0,.08);
}
.bc-btn strong {
display: block;
font-size: 14px;
}
.bc-btn span {
font-size: 12px;
color: #555;
}
/* ============================================================
Section color accents (subtle, modern)
============================================================ */
.bc-card[class*="bc-accent-"] {
background-clip: padding-box;
}
.bc-accent-aci {
border-left: 6px solid #2563eb;
background: linear-gradient(90deg, rgba(37,99,235,.04), rgba(255,255,255,0) 35%);
}
.bc-accent-ace {
border-left: 6px solid #dc2626;
background: linear-gradient(90deg, rgba(220,38,38,.04), rgba(255,255,255,0) 35%);
}
.bc-accent-ib {
border-left: 6px solid #7c3aed;
background: linear-gradient(90deg, rgba(124,58,237,.04), rgba(255,255,255,0) 35%);
}
.bc-accent-onboard {
border-left: 6px solid #f59e0b;
background: linear-gradient(90deg, rgba(245,158,11,.05), rgba(255,255,255,0) 35%);
}
.bc-accent-ref {
border-left: 6px solid #334155;
background: linear-gradient(90deg, rgba(51,65,85,.035), rgba(255,255,255,0) 35%);
}
.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, BODY-ALIGNED
============================================================ */
.mw-logo-wordmark,
.mw-logo-tagline {
display: none !important;
}
.mw-logo a,
.mw-logo a * {
pointer-events: none !important;
cursor: default !important;
}
.vector-header {
background: #fff;
padding-left: var(--padding-inline-page-container, 16px) !important;
padding-right: var(--padding-inline-page-container, 16px) !important;
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;
box-sizing: border-box !important;
}
.mw-header {
height: 90px;
padding-top: 0 !important;
padding-bottom: 0 !important;
overflow: visible !important;
}
.mw-header,
.vector-header,
.vector-header-container {
min-height: unset !important;
}
.mw-logo {
display: flex;
align-items: center;
height: 100%;
}
.mw-logo img {
height: 135px !important;
width: auto;
max-height: none;
}
#p-logo img {
height: 135px !important;
width: auto;
}
/* ============================================================
Night mode
============================================================ */
@media screen {
html.skin-theme-clientpref-night .bc-card {
background-color: #171a1d;
border-color: #3a3a3a;
}
html.skin-theme-clientpref-night .bc-card[class*="bc-accent-"] {
background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(0,0,0,0) 35%);
}
html.skin-theme-clientpref-night .bc-subtle,
html.skin-theme-clientpref-night .bc-mini,
html.skin-theme-clientpref-night .bc-btn span {
color: #cfcfcf;
}
}
/* ============================================================
Remove empty paragraphs before hero on main page
============================================================ */
.mw-parser-output > p:empty,
.mw-parser-output > p > br:only-child {
display: none;
}
.mw-parser-output > .bc-hero:first-child {
margin-top: 0 !important;
}