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:21, 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.
/* =========================
   KILL CITIZEN LINK CARD STYLING
   ONLY inside subtabs
========================= */
.mw-subtabs a {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;

    display: inline !important;
}

/* override ANY mw-parser-output link styling */
.mw-parser-output .mw-subtabs a {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* safety: stop "link as pill button" behavior */
.mw-subtabs a:hover {
    background: rgba(54,108,204,0.08) !important;
    border-radius: 4px;
}


.mw-subtabs,
.mw-subtabs * {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.mw-subtabs__list {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mw-subtabs__item {
    display: inline-flex !important;
    padding: 0.3em 0.6em;
    white-space: nowrap;
}

/* THIS is now the ONLY styled element */
.mw-subtabs__link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

/* active */
.mw-subtabs__item.is-active {
    border-bottom: 2px solid #36c;
    font-weight: 600;
}