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
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* =========================
  SUBTABS WRAPPER
========================= */
.subtab-wrapper {
    border-bottom: 1px solid #a2a9b1;
    margin-bottom: 1em;
    padding-bottom: 0.25em;
}


/* =========================
  FLEX CONTAINER FIX
========================= */
.subtab-list {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap; /* change to nowrap if you want scroll tabs */
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
    /* prevents Citizen overrides */
    width: 100%;
}
/* =========================
  TAB ITEMS (CRITICAL FIX)
========================= */
.subtab-item {
    display: inline-flex !important;
    width: auto !important;
    padding: 0.25em 0.6em;
    border-radius: 4px;
    white-space: nowrap;
    text-decoration: none;
}
/* Make MediaWiki links inside spans behave properly */
.subtab-item a {
    text-decoration: none;
    color: inherit;
}
/* =========================
  ACTIVE TAB
========================= */
.subtab-item.active {
    font-weight: 600;
    border-bottom: 2px solid #36c;
}
/* =========================
  OPTIONAL: HOVER EFFECT
========================= */
.subtab-item:hover {
    background: rgba(54, 108, 204, 0.08);
}
/* =========================
  EMERGENCY OVERRIDE (Citizen safety net)
========================= */
.subtab-list > * {
    display: inline-flex !important;
    width: auto !important;
}

Latest revision as of 18:28, 21 April 2026