MediaWiki:Citizen.css

MediaWiki interface page
Revision as of 15:05, 1 April 2023 by Shiburizu (talk | contribs) (undo some changes as an experiment.)

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.
/* All CSS here will be loaded for users of the Citizen skin */
:root.skin-citizen-dark {
--color-surface-0: #2a2a2a !important;
--color-surface-1: #353535 !important;
--color-surface-3: #3A3A3A !important;
--color-surface-4: #3D3D3D !important;
--background-color-dp-00: #2a2a2a;
--background-color-dp-01: #353535;
--background-color-dp-02: #3A3A3A;
--background-color-dp-03: #3D3D3D;
--background-color-dp-04: #3F3F3F;
--background-color-dp-06: #444444;
--background-color-dp-08: #474747;
--background-color-dp-12: #4C4C4C;
--background-color-dp-16: #4F4F4F;
--background-color-dp-24: #515151;
--background-color-overlay: rgba(18,18,18,0.98);
--background-color-overlay--lighter: rgba(18,18,18,0.6);
--background-color-primary--hover: var(--background-color-dp-01);
--background-color-primary--active: #1D81AF;
--color-base: #c1c1c1;
--color-base--subtle: #c1c1c1;
--color-link: #1ea8e8;
--color-link--hover: #1ea8e8;
--color-link--active: #1ea8e8;
--color-primary: #1D81AF;
--color-primary--hover: #1D81AF;
--color-primary--active: #1D81AF;
--background-color-framed: #121212;
--background-color-framed--hover: var(--background-color-dp-00);
--background-color-framed--active: var(--background-color-dp-01);
--background-color-input: black;
}
#citizen-pref {
display: none !important;
}
/* header menu */
.srk-navbtn {
        margin-left: 10px;
        font-size: 0.9em;
        color: #c1c1c1;
}
.header-srk {
        height: 0.9em;
        line-height: 0.9em;
        display: flex;
        flex-wrap: wrap;
        overflow: hidden;
}
.inputError {
	background: #2a2a2a;
}
.multipleTemplateInstance {
	background-color: #353535;
	border: 0px;
}
.multipleTemplateInstance.sortable-chosen {
	background-color: #353535;
	border: 0px;
}
.mw-body-content h1, .mw-body-content h2 {
	margin-top: 1rem;
}
.mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content h6 {
	margin-top: 0.2em;
}
.mw-body-content p + p {
        margin-top: 0.5em;
}
.mw-body-content ul, .mw-body-content ol, .mw-body-content dl, .mw-body-content p {
	margin-top: 0.3em
}
/* Fix KOF sprite sizes */
div.center > div.floatnone > a.image > img {
  max-width: none;
}
.mw-body, .parsoid-body {
	padding: 0 10px;
}
.page-heading {
	margin-bottom: 0px;
}
#footer-bottom {
	margin-top: 0px;
}
.mw-body-header {
	margin-bottom: 0.5em;
}
.mw-body-content {
	font-size: 0.875em;
	line-height: 1.6;
}
/* Tables */
table.wikitable {
	background: var(--background-color-dp-01); /* #23272f; */
	border: 1px solid var(--border-color-base);
}
table.wikitable tr th {
	padding: 0.2em 0.4em;
	text-align: center;
	vertical-align: middle;
        background-color: var(--background-color-dp-02);
}
table.wikitable tr td {
	padding: 0.2em 0.4em;
	vertical-align: middle;
}
table.wikitable tr th, table.wikitable tr td {
	border: 1px solid var(--border-color-base);
}
.center {
	width: 100%;
	text-align: center;
}
.mw-footer {
	background: #121212;
}
#footer-bottom {
	background: #121212;
}
.mw-footer a, .mw-footer a.external {
	color: var(--color-link);
}
.mw-footer a:hover, .mw-footer a.external:hover, .mw-footer a:active, .mw-footer a.external:active, .mw-footer a:focus, .mw-footer a.external:focus {
	color: var(--color-link--hover);
}
.mw-body-content a.image {
	background-color: transparent;
}
#siteSub {
        visibility: hidden;
        height: 0px;
        width: 0px;
}
.mw-body-content a.image {
	display: initial;
}
table.wikitable tr:hover {
	background-color: transparent;
}
.moveimg {
        max-width: none !important;
}
hr {
	display: block !important;
        border-bottom: 1px grey !important;
        color: gray;
}
.mw-body-content h5 {
	margin-top: 0;
}