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 ISOLATION RESET
   HARD RESET (Citizen override neutralizer)
  (prevents Citizen "card UI")
========================= */
========================= */
.subtab-wrapper,
.subtab-wrapper,
.subtab-list,
.subtab-list,
.subtab-item {
.subtab-item {
     all: unset;
     background: transparent !important;
}
    box-shadow: none !important;
 
     border: none !important;
/* =========================
  CONTAINER
========================= */
.subtab-wrapper {
    display: block;
     border-bottom: 1px solid #a2a9b1;
    margin-bottom: 1em;
    padding-bottom: 0.25em;
}
}


/* =========================
/* =========================
   FLEX ROW
   FLEX CONTAINER
========================= */
========================= */
.subtab-list {
.subtab-list {
Line 34: Line 26:


/* =========================
/* =========================
   TABS (IMPORTANT FIX)
   TAB ITEMS
========================= */
========================= */
.subtab-item {
.subtab-item {
Line 43: Line 35:
     border-radius: 4px;
     border-radius: 4px;


     text-decoration: none !important;
     white-space: nowrap;
 
    background: transparent !important;  /* 🔴 KILLS BLUE BOX */
    border: none !important;


     color: inherit;
     color: inherit;
    white-space: nowrap;
}
}


/* links already are the item, so force neutrality */
/* LINKS INSIDE WIKITEXT */
.subtab-item:visited,
.subtab-item a {
.subtab-item:link {
    text-decoration: none;
     color: inherit;
     color: inherit;
}
}
Line 67: Line 55:


/* =========================
/* =========================
   HOVER (optional)
   HOVER
========================= */
========================= */
.subtab-item:hover {
.subtab-item:hover {
Line 74: Line 62:


/* =========================
/* =========================
   FINAL CITIZEN OVERRIDE SAFETY NET
   FINAL SAFETY NET
========================= */
========================= */
.subtab-list > * {
.subtab-list > * {
     background: transparent !important;
     background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}
}

Revision as of 16:14, 21 April 2026

/* =========================
   HARD RESET (Citizen override neutralizer)
========================= */
.subtab-wrapper,
.subtab-list,
.subtab-item {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* =========================
   FLEX CONTAINER
========================= */
.subtab-list {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.4rem;

    margin: 0;
    padding: 0;

    align-items: center;
}

/* =========================
   TAB ITEMS
========================= */
.subtab-item {
    display: inline-flex !important;

    padding: 0.25em 0.6em;

    border-radius: 4px;

    white-space: nowrap;

    color: inherit;
}

/* LINKS INSIDE WIKITEXT */
.subtab-item a {
    text-decoration: none;
    color: inherit;
}

/* =========================
   ACTIVE TAB
========================= */
.subtab-item.active {
    font-weight: 600;
    border-bottom: 2px solid #36c;
}

/* =========================
   HOVER
========================= */
.subtab-item:hover {
    background: rgba(54,108,204,0.08) !important;
}

/* =========================
   FINAL SAFETY NET
========================= */
.subtab-list > * {
    background: transparent !important;
}