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
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* =========================
  HARD ISOLATION RESET
  (prevents Citizen "card UI")
========================= */
.subtab-wrapper,
.subtab-list,
.subtab-item {
    all: unset;
}


/* =========================
  CONTAINER
========================= */
.subtab-wrapper {
    display: block;
    border-bottom: 1px solid #a2a9b1;
    margin-bottom: 1em;
    padding-bottom: 0.25em;
}
/* =========================
  FLEX ROW
========================= */
.subtab-list {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    align-items: center;
}
/* =========================
  TABS (IMPORTANT FIX)
========================= */
.subtab-item {
    display: inline-flex !important;
    padding: 0.25em 0.6em;
    border-radius: 4px;
    text-decoration: none !important;
    background: transparent !important;  /* 🔴 KILLS BLUE BOX */
    border: none !important;
    color: inherit;
    white-space: nowrap;
}
/* links already are the item, so force neutrality */
.subtab-item:visited,
.subtab-item:link {
    color: inherit;
}
/* =========================
  ACTIVE TAB
========================= */
.subtab-item.active {
    font-weight: 600;
    border-bottom: 2px solid #36c;
}
/* =========================
  HOVER (optional)
========================= */
.subtab-item:hover {
    background: rgba(54,108,204,0.08) !important;
}
/* =========================
  FINAL CITIZEN OVERRIDE SAFETY NET
========================= */
.subtab-list > * {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

Latest revision as of 18:28, 21 April 2026