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: Difference between revisions

MediaWiki interface page
No edit summary
Blanked the page
Tags: Blanking Manual revert
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:


/* =========================
  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;
}

Latest revision as of 18:28, 21 April 2026