Toggle menu
7
505
3
1.1K
New York ARTCC
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
Fix ShowHide to render inline like source wiki
Show Main Page heading — Citizen 2.40.2 hides it, wiki-dev (2.8.5) shows it
 
(7 intermediate revisions by 2 users not shown)
Line 84: Line 84:
     display: inline;
     display: inline;
     padding: 0;
     padding: 0;
}
.showhide-toggle pre {
    display: inline;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    white-space: normal;
}
}
.showhide-content {
.showhide-content {
     display: none;
     display: none;
}
/* Hide section edit links — match source wiki (Citizen 2.8.5 hides these) */
.mw-editsection { display: none !important; }
/* NYARTCC Logo - auto-invert for dark/light mode */
.skin-theme-clientpref-night .mw-logo-icon,
.skin-theme-clientpref-night .mw-logo-wordmark {
    filter: invert(1);
}
.skin-theme-clientpref-os .mw-logo-icon,
.skin-theme-clientpref-os .mw-logo-wordmark {
    filter: none;
}
@media (prefers-color-scheme: dark) {
    .skin-theme-clientpref-os .mw-logo-icon,
    .skin-theme-clientpref-os .mw-logo-wordmark {
        filter: invert(1);
    }
}
/* Show Main Page heading — Citizen 2.40.2 hides it by default, source wiki (2.8.5) shows it */
.page-Main_Page .citizen-page-heading {
    display: block !important;
}
}

Latest revision as of 07:02, 27 March 2026

/* CSS placed here will be applied to all skins */

[data-event-name="tabs.talk"] { display:none!important; }
.mw-usertoollinks-talk { display:none!important; }
.button.talk { display:none!important; }
li#language-selector { display: none; }

/* - - - - - - - - -
| NYARTCC Customizations
|
| */

.phraseology-wrapper {
    margin: 5px 0;
}

.phraseology,
.phraseology_syntax,
.phraseology_example {
    color: #468847;
}

.ny-pull-left { float: left; }
.ny-pull-right { float: right; }

.ny-flex { display: flex; flex-wrap: wrap; }
.ny-flex div { flex-grow: 1; margin: 1em; }

.ny-badge {
    padding: 0.2em 0.6em 0.3em;
    font-size: 85%;
    font-weight: bold;
    border-radius: 0.25em;
}

.ny-warning {
    background-color: #e99002;
    color: #ffffff;
}

small {
    font-style: oblique;
}

/* - - - - - - - - -
| List Numbering Styles
|
| */

@counter-style para-lower-alpha {
    system: extends lower-alpha;
    prefix: '(';
    suffix: ') ';
}

@counter-style para-lower-roman {
    system: extends lower-roman;
    prefix: '(';
    suffix: ') ';
}

ol { list-style-type: lower-alpha; }
ol li > ol { list-style-type: decimal; }
ol li > ol li > ol { list-style-type: para-lower-alpha; }
ol li > ol li > ol li > ol { list-style-type: para-lower-roman; }

/* Legacy Citizen CSS variables (needed for SOPHeader template) */
:root {
    --font-size-h1: 2rem;
    --font-size-h2: 1.5rem;
    --font-size-h3: 1.25rem;
}

/* SOPHeader heading text class */
.h-text {
    font-weight: 600;
}

/* ShowHide inline fix — match source wiki rendering */
.showhide-container {
    display: inline;
}
.showhide-toggle {
    display: inline;
    padding: 0;
}
.showhide-toggle pre {
    display: inline;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    white-space: normal;
}
.showhide-content {
    display: none;
}

/* Hide section edit links — match source wiki (Citizen 2.8.5 hides these) */
.mw-editsection { display: none !important; }


/* NYARTCC Logo - auto-invert for dark/light mode */
.skin-theme-clientpref-night .mw-logo-icon,
.skin-theme-clientpref-night .mw-logo-wordmark {
    filter: invert(1);
}
.skin-theme-clientpref-os .mw-logo-icon,
.skin-theme-clientpref-os .mw-logo-wordmark {
    filter: none;
}
@media (prefers-color-scheme: dark) {
    .skin-theme-clientpref-os .mw-logo-icon,
    .skin-theme-clientpref-os .mw-logo-wordmark {
        filter: invert(1);
    }
}

/* Show Main Page heading — Citizen 2.40.2 hides it by default, source wiki (2.8.5) shows it */
.page-Main_Page .citizen-page-heading {
    display: block !important;
}