More actions
Import Citizen.css from wiki-dev.nyartcc.org |
Parity fix: match source wiki Citizen.css exactly |
||
| Line 2: | Line 2: | ||
/* - - - - - - - - - - - | /* - - - - - - - - - - - | ||
// General | |||
*/ | */ | ||
| Line 21: | Line 21: | ||
/* - - - - - - - - - - - | /* - - - - - - - - - - - | ||
// General - Flow Elements | |||
*/ | */ | ||
| Line 40: | Line 40: | ||
/* - - - - - - - - - - - | /* - - - - - - - - - - - | ||
// General - Component Styles | |||
*/ | */ | ||
| Line 49: | Line 49: | ||
/* - - - - - - - - - - - | /* - - - - - - - - - - - | ||
// General - Text Styles | |||
*/ | */ | ||
| Line 67: | Line 67: | ||
/* - - - - - - - - - - - | /* - - - - - - - - - - - | ||
// General - Tables | |||
*/ | */ | ||
| Line 98: | Line 98: | ||
/* - - - - - - - - - - - | /* - - - - - - - - - - - | ||
// SOP - Tables | |||
*/ | */ | ||
| Line 131: | Line 131: | ||
/* - - - - - - - - - - - | /* - - - - - - - - - - - | ||
// MBI - Mandatory Briefing Items | |||
*/ | */ | ||
| Line 145: | Line 145: | ||
/* - - - - - - - - - - - | /* - - - - - - - - - - - | ||
// Content Editors | |||
*/ | */ | ||
Latest revision as of 01:34, 27 March 2026
/* All CSS here will be loaded for users of the Citizen skin */
/* - - - - - - - - - - -
// General
*/
[rel="discussion"] { display: none!important; }
.changed {
border-left: 0.25em solid green;
padding-left: 1em;
}
:root {
--nyartcc-background-color-table-header: hsl(220deg 98.19% 85.07%);
}
:root.skin-citizen-dark {
--nyartcc-background-color-table-header: hsl(220deg 47.11% 27.96%);
}
/* - - - - - - - - - - -
// General - Flow Elements
*/
div.clearfix {
height: 1em;
clear: both;
}
.flex {
display: flex;
}
.flex > * {
margin: 1em;
flex-grow: 1;
flex-shrink: 1;
}
/* - - - - - - - - - - -
// General - Component Styles
*/
.tabber {
border-bottom: 1px solid var(--border-color-base--darker);
padding-bottom: 1em;
}
/* - - - - - - - - - - -
// General - Text Styles
*/
.h-text {
margin: 0;
margin-bottom: 0.25em;
margin-top: 2em;
font-weight: var(--font-weight-semibold);
line-height: var(--line-height-xs);
color: var(--color-base--emphasized);
}
h2.citizen-section-heading {
border-bottom: 2px solid;
border-color: var(--border-color-base--darker);
}
/* - - - - - - - - - - -
// General - Tables
*/
th {
text-align: left;
}
table td:not(:last-child) {
padding-right: 1em;
}
table.borders-full td {
border: 1px solid var(--border-color-base--darker);
}
table.borders-full th,
table.borders-full td {
padding-left: 0.5em
}
.table-condensed th {
line-height: 1.5em;
font-size: 0.8em;
}
.table-condensed td {
font-size: 0.9em;
line-height: 1.5em;
}
/* - - - - - - - - - - -
// SOP - Tables
*/
table.table-sop {
width: 100%;
margin: 1em 0 3em;
border-collapse: collapse;
line-height: 2.5em;
}
th {
padding-right: 3em;
background-color: var(--color-surface-2);
}
table.table-sop tbody tr:first-child th {
border-bottom: 2px solid var(--border-color-base--darker);
}
table.table-sop tbody td {
border-bottom: 1px solid var(--border-color-base);
}
table.table-sop-compact {
line-height: 1.6em;
}
.table-sop-sep {
background-color: var(--color-surface-3);
color: var(--color-base--subtle);
}
/* - - - - - - - - - - -
// MBI - Mandatory Briefing Items
*/
.mbi-header {
margin-bottom: 20px;
background-color: var(--color-surface-2);
border: 1px solid var(--color-surface-1);
border-radius: var(--border-radius--large);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
width: 100%;
padding: 0.25em 1em;
}
/* - - - - - - - - - - -
// Content Editors
*/
.skin-citizen .mw-editform #wpTextbox1 {
background-color: var(--color-surface-3);
padding: 0.25em;
border-radius: 1em;
}