MediaWiki:Citizen.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 263: Line 263:
table.rounded-table td, table.rounded-table th {
table.rounded-table td, table.rounded-table th {
   padding: 0.2rem;
   padding: 0.2rem;
}
.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {
    color: var(--color-base);
}
table.dataTable.stripe tbody tr.odd, table.dataTable.display tbody tr.odd {
    background-color: var(--color-surface-2);
}
table.dataTable tbody tr {
    background-color: var(--color-surface-1);
}
table.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {
    background-color: var(--color-surface-3);
}
}

Revision as of 21:16, 26 May 2023

/* All CSS here will be loaded for users of the Citizen skin */

/* Global Overrides */
:root.skin-citizen-dark {
    --width-layout: 1440px;
    --color-surface-0: #121212 !important;
    --color-surface-1: #2C2C2C !important;
    --color-surface-2: #363636 !important;
    --color-surface-3: #474747 !important;
    --color-surface-4: #595959 !important;
    --color-primary__h: 200 !important;
    --color-primary__s: 99% !important;
    --color-primary__l: 45% !important;
    --background-color-framed: var(--color-surface-1) !important;
    --background-color-framed--hover: var(--color-surface-2) !important;
    --background-color-framed--active: var(--color-surface-0) !important;
    --background-color-overlay: var(--color-surface-1) !important;
    --background-color-overlay--lighter: var(--color-surface-2) !important;
    --box-shadow-card: rgba(0, 0, 0, 0.5) 0px 1px 3px 0px, rgba(27, 31, 35, 0.5) 0px 0px 0px 1px !important;
    --box-shadow-dialog: rgba(0, 0, 0, 0.5) 0px 1px 3px 0px, rgba(27, 31, 35, 0.5) 0px 0px 0px 1px !important;
    --color-base: #D1D5DB !important;
}
#citizen-pref {
     display: none !important;
}
.mw-body {
    font-size: 0.875rem;
}
.citizen-header {
    background: var(--color-surface-0) !important;
    border-bottom: 1px solid #039BE5 !important;
}
.citizen-header:before {
    background: none !important;
}
@media screen and (hover: hover) {
    ::-webkit-scrollbar-track:hover {
        background: none !important;
    }
}
/* Custom Widgets */
.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;
}

/* Mediawiki Widgets */
.mw-body-header {
    padding-top: 2rem !important;
}
.citizen-typeahead {
    margin-top: 1rem !important;
    padding-top: 0px !important;
}
.ui-widget-overlay {
    background: var(--background-color-overlay--lighter);
    opacity: 0.75 !important;
}
.wikiEditor-toolbar-dialog .ui-dialog-buttonpane {
    border-top: 1px solid var(--border-color-base) !important;
}
.inputError {
	background: #2C2C2C;
}
.multipleTemplateInstance {
	background-color: #2C2C2C;
	border: 0px;
}
.multipleTemplateInstance.sortable-chosen {
	background-color: #2C2C2C;
	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;
    margin-bottom: 0.3em;
}
ul.tabbernav li.tabberactive a:hover {
	color: #c1c1c1;
	background: #3A3A3A;
	border-bottom: 1px solid #121212;
}
ul.tabbernav li a:link {
	color: #1ea8e8;
}
ul.tabbernav li.tabberactive a {
	background-color: #121212;
	border-bottom: 1px solid #121212;
}
ul.tabbernav li a {
	background: none;
        border: 1px solid #121212;
}
ul.tabbernav li a:hover {
	color: #c1c1c1;
	background: none;
	border-color: #121212;
}
.tabber .tabbertab {
	padding: 5px 0 0 0;
	border: 0px;
}
ul.tabbernav {
        padding-top: 3px;
	border-bottom: 1px solid #121212;
	font: bold 12px 'Verdana',sans-serif;
}
/* Fix KOF sprite sizes */
div.center > div.floatnone > a.image > img {
  max-width: none;
}

/* MW Body Changes */
.citizen-drawer__logo .mw-logo-icon {
    filter: invert(1) hue-rotate(180deg);
}
#footer-sitetitle img.mw-logo-wordmark {
	width: 50px;
	height: 50px;
	filter: invert(1) hue-rotate(180deg);
}
/* Tables */
table.wikitable {
	background: var(--color-surface-0);
	border: 1px solid var(--color-surface-2);
}
table.wikitable tr th {
	padding: 0.2em 0.4em;
	text-align: center;
	vertical-align: middle;
    background: var(--color-surface-0);
    color: var(--color-base) !important;
}
table.wikitable tr td {
	padding: 0.2em 0.4em;
	vertical-align: middle;
}

table.wikitable tr th, table.wikitable tr td {
	border: 1px solid var(--color-surface-2);
}
.center {
	width: 100%;
	text-align: center;
}
.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;
}
.movedatacargoimage {
    width: 240px !important;
}

.movedatacargoimage-img {
    max-width: 240px !important;
}

/* footer stuff */
#footer-bottom {
	margin-top: 0px;
}
.mw-header-siteinfo .mw-wiki-title img.mw-logo-wordmark {
	width: 56px;
	height: 56px;
	padding-top: 2px;
}
#mw-drawer-logo img.mw-logo-wordmark {
	width: auto;
	height: 80px;
}
#mw-drawer-logo .mw-logo-icon {
	width: auto;
	height: 0px;
        visibility: hidden;
    filter: invert(1) hue-rotate(180deg);
}
#footer-sitetitle img.mw-logo-wordmark {
	width: 50px;
	height: 50px;
	filter: invert(1) hue-rotate(180deg);
}
#footer-sitetitle {
	margin: 0px;
}
#footer-desc {
	margin: 0px;
}
.mw-footer {
	background: var(--color-surface-0);
}
#footer-bottom {
	background: var(--color-surface-0);
}
.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);
}
.last-modified-bar {
    background-color: var(--color-surface-0) !important;
    border-top: 1px solid #039BE5;
}

table.rounded-table {
 border-spacing: 0;
 border-collapse: separate;
 border-radius: 8px;
 border: 1px solid var(--color-surface-2);
}

/* Apply a border to the right of all but the last column */
table.rounded-table th:not(:last-child),
table.rounded-table td:not(:last-child) {
 border-right: 1px solid var(--color-surface-2);
}

/* Apply a border to the bottom of all but the last row */
table.rounded-table>thead>tr:not(:last-child)>th,
table.rounded-table>thead>tr:not(:last-child)>td,
table.rounded-table>tbody>tr:not(:last-child)>th,
table.rounded-table>tbody>tr:not(:last-child)>td,
table.rounded-table>tfoot>tr:not(:last-child)>th,
table.rounded-table>tfoot>tr:not(:last-child)>td,
table.rounded-table>tr:not(:last-child)>td,
table.rounded-table>tr:not(:last-child)>th,
table.rounded-table>thead:not(:last-child),
table.rounded-table>tbody:not(:last-child),
table.rounded-table>tfoot:not(:last-child) {
 border-bottom: 1px solid var(--color-surface-2);
}

table.rounded-table td, table.rounded-table th {
  padding: 0.2rem;
}

.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {
    color: var(--color-base);
}

table.dataTable.stripe tbody tr.odd, table.dataTable.display tbody tr.odd {
    background-color: var(--color-surface-2);
}

table.dataTable tbody tr {
    background-color: var(--color-surface-1);
}

table.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {
    background-color: var(--color-surface-3);
}