Want to contribute? Join the Discord and ask for the editor role.
MediaWiki:Citizen.css
MediaWiki interface page
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
:root {
--background-color-overlay: rgba(255,255,255,0.92)
}
:root.skin-citizen-dark {
--background-color-dp-00: #171a1d;
--background-color-dp-01: #222629;
--background-color-dp-03: #292d31;
--background-color-dp-04: #25282b;
--background-color-dp-06: #292c2e;
--background-color-dp-08: #25282b;
--background-color-dp-12: #35393c;
--background-color-dp-16: #393c3f;
--background-color-dp-24: #25282b;
--background-color-overlay: rgba(9, 10, 12, 0.94);
--background-color-overlay--lighter: rgba(9, 10, 12, 0.6);
--background-color-framed--active: #171a1d;
--background-color-framed--hover: #292d31;
--background-color-framed: #222629;
--background-color-primary--hover: #2a4b8d;
--background-color-primary--active: #26437f;
--color-link: #5b8ad6;
--color-primary: #3366cc;
--color-primary--hover: #5b84d6;
--color-primary--active: #2a4b8d;
--color-destructive: #dd3333;
--color-destructive--hover: #e35b5b;
--color-destructive--active: #b32424;
--color-surface-0: var(--background-color-overlay);
--color-surface-1: var(--background-color-dp-08);
--color-surface-2: var(--background-color-framed);
--color-surface-2--hover: var(--background-color-framed--hover);
--color-surface-2--active: var(--background-color-framed--active);
}
html {
background: linear-gradient(0, var(--background-color-overlay), var(--background-color-overlay)), url(https://rtgame.co.uk/assets/images/bg.jpg);
background-position: center;
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
}
body {
background: none;
}
.skin-citizen-dark a {
--color-link: #5b8ad6;
--color-link--hover: #eaf3ff;
--color-link--active: #2a4b8d;
}
/* Footer colours */
.last-modified-bar {
background: #1f2428;
}
.mw-footer {
background-color: #171a1d;
}
#footer-bottom {
background-color: #111416;
}
#footer-info ul {
flex-direction: column;
}
#footer-info li {
margin: 5px 0;
}
/* Preferences page */
.mw-prefs-tabs-wrapper.oo-ui-panelLayout-framed, .mw-prefs-tabs > .oo-ui-menuLayout-content > .oo-ui-indexLayout-stackLayout > .oo-ui-tabPanelLayout {
background-color: var(--background-color-framed--active);
}
/* Fix popup background */
.mwe-popups .mwe-popups-container {
background-color: transparent;
}
/* Fix multimedia viewer attribution warning */
.mw-mmv-download-dialog .mw-mmv-dialog-warning {
padding: 20px 20px 10px;
}
.mw-mmv-dialog .mw-mmv-dialog-warning {
background-color: transparent;
color: var(--color-warning);
}
/* Fix white recent changes filter dropdown footer */
.mw-rcfilters-ui-menuSelectWidget-footer {
background-color: var(--background-color-dp-16);
border-top: none;
}
/* Notifications dropdown */
.skin-citizen-dark .mw-echo-ui-notificationItemWidget:hover {
background-color: var(--background-color-dp-12);
}
.skin-citizen-dark .mw-echo-ui-notificationItemWidget {
background-color: var(--background-color-dp-24);
}
/* Universal Language Selector */
#languagesettings-settings-panel {
color: var(--color-base);
}
.uls-menu {
background-color: var(--background-color-dp-08);
}
#languagesettings-settings-panel {
background-color: var(--background-color-dp-24);
}
.uls-language-settings-close-block {
background-color: transparent;
}
.language-settings-buttons {
border-color: var(--border-color-base);
}
.languagesettings-menu h1,
#languagesettings-settings-panel h3,
#languagesettings-settings-panel h4 {
color: var(--color-base--emphasized);
}
.uls-ui-languages p, .checkbox {
color: var(--color-base);
}
.languagesettings-menu .menu-section {
color: inherit;
}
.languagesettings-menu .menu-section .settings-text {
color: var(--color-base);
}
.languagesettings-menu .menu-section.active {
color: var(--color-base--emphasized);
background-color: var(--background-color-primary--active);
}
.languagesettings-menu .menu-section {
color: var(--color-base--emphasized);
}
.languagesettings-menu .menu-section:hover {
color: var(--color-base--emphasized);
background-color: var(--background-color-primary--hover);
}
.languagesettings-menu .menu-section:hover .settings-text {
color: var(--color-base);
}
.ext-uls-sub-panel {
border-color: var(--border-color-base);
}
.checkbox strong {
color: var(--color-base--emphasized);
}
.uls-input-settings .uls-input-settings-inputmethods-list {
background: var(--background-color-dp-00);
}
.skin-citizen-dark #uls-settings-block {
filter: none;
}
.uls-input-settings-disable-info, .uls-input-settings-no-inputmethods {
color: var(--color-base--subtle);
}
.skin-citizen-dark .mw-echo-ui-placeholderItemWidget {
background-color: var(--background-color-dp-24);
}
.uls-font-label {
color: var(--color-base);
}
.uls-font-label strong {
color: var(--color-base--emphasized);
}
.uls-font-item {
border-bottom: none;
background: none;
}
#p-lang .uls-settings-trigger {
margin-top: 15px;
margin-right: 10px;
}
.skin-citizen-dark .uls-icon-close,
.skin-citizen-dark #uls-settings-block > button,
.skin-citizen-dark .languagesettings-menu .menu-section,
.skin-citizen-dark .languagesettings-menu .menu-section .settings-title,
.skin-citizen-dark .languagesettings-menu .menu-section .settings-text {
filter: invert(1);
}
/* Restyle hacky personal tools uls button.
Remove if citizen ever fixes the uls button never appearing in personal menu */
#pt-uls2 .uls-trigger {
flex-direction: row-reverse;
padding-top: 10px !important;
}
#pt-uls2 .uls-trigger:before {
position: relative;
width: 18px;
height: 18px;
flex-shrink: 0;
align-self: center;
background-position: center;
background-repeat: no-repeat;
content: '';
display: block;
padding: 0;
margin-left: 15px;
background-size: contain;
opacity: var(--opacity-icon-base);
transition: opacity 200ms ease;
background-image: linear-gradient(transparent,transparent),url(/extensions/UniversalLanguageSelector/lib/jquery.uls/images/language.svg?80b0b);
}
#pt-uls2 .uls-trigger:after {
content: none !important
}
.skin-citizen-dark #pt-uls2 a.uls-trigger:before {
filter: invert(1);
}
.uls-trigger {
background-image: none;
}
/* Fix uls font selection */
html, body {
font-family: 'Roboto', sans-serif;
}
/* Buttons */
.mw-ui-button.mw-ui-progressive:disabled,
.mw-ui-button.mw-ui-progressive:disabled:hover,
.mw-ui-button.mw-ui-progressive:disabled:active {
background-color: var(--background-color-framed--active);
color: var(--color-base--subtle);
cursor: not-allowed;
border: var(--border-color-input);
}
/* Visual editor fixes */
.ve-ce-linkAnnotation.ve-ce-annotation-active {
color: var(--color-link--active) !important;
}
.ve-ui-mwParameterResultWidget.oo-ui-optionWidget-highlighted,
.ve-ui-mwMoreParametersResultWidget.oo-ui-optionWidget-highlighted {
background-color: var(--background-color-quiet--hover);
color: var(--color-base--emphasized);
}
.ve-ui-mwParameterResultWidget.oo-ui-optionWidget-highlighted .ve-ui-mwParameterResultWidget-label {
color: var(--color-base--emphasized);
}
.ve-ui-mwParameterResultWidget.oo-ui-optionWidget-highlighted .ve-ui-mwParameterResultWidget-description {
color: var(--color-base);
}
#siteNotice {
max-width: var(--width-layout);
margin-left: auto;
margin-right: auto;
}