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
No edit summary
Line 1: Line 1:
/* =========================
  HARD RESET FOR TAB SYSTEM
  (kills Citizen card styling)
========================= */
.wt-tabs,
.wt-tabs * {
    all: unset;
    box-sizing: border-box;
}


/* =========================
/* =========================
   KILL CITIZEN LINK CARD STYLING
   TAB ROW
  ONLY inside subtabs
========================= */
========================= */
.mw-subtabs a {
.wt-tabs {
     background: transparent !important;
     display: flex !important;
     box-shadow: none !important;
     flex-direction: row;
     border: none !important;
     flex-wrap: wrap;
     padding: 0 !important;
     gap: 0.5rem;
    border-radius: 0 !important;


     display: inline !important;
     border-bottom: 1px solid #a2a9b1;
}
    margin-bottom: 1em;
    padding-bottom: 0.25em;


/* override ANY mw-parser-output link styling */
     align-items: center;
.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 {
  TABS
     background: rgba(54,108,204,0.08) !important;
========================= */
    border-radius: 4px;
.wt-tab {
}
     display: inline-flex !important;


    padding: 0.25em 0.6em;


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


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


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


/* THIS is now the ONLY styled element */
    background: transparent !important;
.mw-subtabs__link {
     border: none !important;
     text-decoration: none;
     box-shadow: none !important;
     color: inherit;
     border-radius: 0 !important;
     display: inline-block;
}
}


/* active */
/* hover only */
.mw-subtabs__item.is-active {
.wt-tab:hover {
     border-bottom: 2px solid #36c;
     background: rgba(54,108,204,0.08) !important;
     font-weight: 600;
     border-radius: 4px;
}
}

Revision as of 16:22, 21 April 2026

/* =========================
   HARD RESET FOR TAB SYSTEM
   (kills Citizen card styling)
========================= */
.wt-tabs,
.wt-tabs * {
    all: unset;
    box-sizing: border-box;
}

/* =========================
   TAB ROW
========================= */
.wt-tabs {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;

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

    align-items: center;
}

/* =========================
   TABS
========================= */
.wt-tab {
    display: inline-flex !important;

    padding: 0.25em 0.6em;

    white-space: nowrap;

    text-decoration: none !important;

    color: inherit !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

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