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
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:


/* =========================
  HARD RESET (Citizen override protection)
========================= */
.subtab-wrapper,
.subtab-list,
.subtab-item {
    all: unset;
}
/* =========================
  REBUILD LAYOUT SAFELY
========================= */
.subtab-wrapper {
    display: block;
    border-bottom: 1px solid #a2a9b1;
    margin-bottom: 1em;
    padding-bottom: 0.25em;
}
/* FLEX ROW (NO STACKING) */
.subtab-list {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
}
/* TAB ITEMS */
.subtab-item {
    display: inline-flex !important;
    width: auto !important;
    padding: 0.3em 0.65em;
    border-radius: 4px;
    white-space: nowrap;
    background: transparent; /* kills blue box effect */
    border: 0;
}
/* LINKS INSIDE TABS */
.subtab-item a {
    color: inherit;
    text-decoration: none;
}
/* ACTIVE TAB */
.subtab-item.active {
    font-weight: 600;
    border-bottom: 2px solid #36c;
}
/* HOVER */
.subtab-item:hover {
    background: rgba(54,108,204,0.08);
}
/* FINAL SAFETY NET AGAINST CITIZEN */
.subtab-list > * {
    display: inline-flex !important;
    background: transparent !important;
    width: auto !important;
}

Latest revision as of 18:28, 21 April 2026