Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Citizen.css

MediaWiki interface page
Revision as of 16:23, 21 April 2026 by Khalid (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.
/* container */
.wt-tabs {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.5rem;

    border-bottom: 1px solid #a2a9b1;
    margin-bottom: 1em;
    padding-bottom: 0.25em;
}

/* THIS is the real fix for "blue boxes" */
.wt-tabs a {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;

    padding: 0 !important;
    margin: 0 !important;

    text-decoration: none !important;

    color: inherit !important;
}

/* optional hover */
.wt-tabs a:hover {
    background: rgba(54,108,204,0.08) !important;
    border-radius: 4px;
}


/* =========================
   FORCE FLEX ROW (Citizen-proof)
========================= */
.mw-parser-output .wt-tabs {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;

    gap: 0.5rem !important;

    align-items: center !important;

    margin-bottom: 1em;
    padding-bottom: 0.25em;

    border-bottom: 1px solid #a2a9b1;
}

/* =========================
   FORCE INLINE LINKS (CRITICAL)
========================= */
.mw-parser-output .wt-tabs a {
    display: inline-block !important;

    padding: 0.25em 0.6em !important;

    text-decoration: none !important;

    background: transparent !important;
    box-shadow: none !important;
    border: none !important;

    white-space: nowrap !important;

    color: inherit !important;
}

/* hover */
.mw-parser-output .wt-tabs a:hover {
    background: rgba(54,108,204,0.08) !important;
    border-radius: 4px;
}