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:


/* =========================
/* container */
  HARD RESET (Citizen override neutralizer)
.subtab-wrapper {
========================= */
     border-bottom: 1px solid #a2a9b1;
.subtab-wrapper,
     margin-bottom: 1em;
.subtab-list,
     padding-bottom: 0.25em;
.subtab-item {
     background: transparent !important;
     box-shadow: none !important;
     border: none !important;
}
}


/* =========================
/* flex row */
  FLEX CONTAINER
========================= */
.subtab-list {
.subtab-list {
     display: flex !important;
     display: flex !important;
    flex-direction: row;
     flex-wrap: wrap;
     flex-wrap: wrap;
     gap: 0.4rem;
     gap: 0.4rem;
Line 25: Line 20:
}
}


/* =========================
/* IMPORTANT: spans must NOT behave like blocks */
  TAB ITEMS
========================= */
.subtab-item {
.subtab-item {
     display: inline-flex !important;
     display: inline-flex !important;
    width: auto !important;


     padding: 0.25em 0.6em;
     padding: 0.25em 0.6em;
    border-radius: 4px;


     white-space: nowrap;
     white-space: nowrap;


     color: inherit;
     background: transparent !important;
    border: none !important;
}
}


/* LINKS INSIDE WIKITEXT */
/* link styling */
.subtab-item a {
.subtab-item a {
     text-decoration: none;
     text-decoration: none;
Line 46: Line 39:
}
}


/* =========================
/* active tab */
  ACTIVE TAB
========================= */
.subtab-item.active {
.subtab-item.active {
     font-weight: 600;
     font-weight: 600;
Line 54: Line 45:
}
}


/* =========================
/* safety override against Citizen cards */
  HOVER
========================= */
.subtab-item:hover {
    background: rgba(54,108,204,0.08) !important;
}
 
/* =========================
  FINAL SAFETY NET
========================= */
.subtab-list > * {
.subtab-list > * {
     background: transparent !important;
     background: transparent !important;
    box-shadow: none !important;
}
}

Revision as of 16:16, 21 April 2026

/* container */
.subtab-wrapper {
    border-bottom: 1px solid #a2a9b1;
    margin-bottom: 1em;
    padding-bottom: 0.25em;
}

/* flex row */
.subtab-list {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.4rem;

    margin: 0;
    padding: 0;

    align-items: center;
}

/* IMPORTANT: spans must NOT behave like blocks */
.subtab-item {
    display: inline-flex !important;
    width: auto !important;

    padding: 0.25em 0.6em;

    white-space: nowrap;

    background: transparent !important;
    border: none !important;
}

/* link styling */
.subtab-item a {
    text-decoration: none;
    color: inherit;
}

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

/* safety override against Citizen cards */
.subtab-list > * {
    background: transparent !important;
    box-shadow: none !important;
}