MediaWiki:Common.css

Revision as of 14:45, 30 January 2026 by Admin (talk | contribs)

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 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);
}