MediaWiki:Timeless.css: Difference between revisions

From Xenharmonic Reference
No edit summary
mNo edit summary
Tag: Manual revert
 
(95 intermediate revisions by 3 users not shown)
Line 1: Line 1:
/* Forked from https://www.mediawiki.org/wiki/Skin:Timeless-DarkCSS, all changes commented */
/* Timeless was chosen as the default skin because it's optimized for responsive screen sizes */
/* Timeless was chosen as the default skin because it's optimized for responsive screen sizes */
/* Manual theme selection would have been ideal, but the PHP didn't work */


@media (prefers-color-scheme: light) {
    /* ADDED START */
.toc {
color: #000 !important;
background-color: #fff !important;
}
td {
color: #000;
background-color: #fff;
}
th {
color: #000;
background-color: #fff;
}
    .navbox > tr > th {
        background-color: #777;
    }
}
/* Official theme */
@media (prefers-color-scheme: dark) {
/* Forked from https://www.mediawiki.org/wiki/Skin:Timeless-DarkCSS, all changes commented */
/* CSS placed here will affect users of the Timeless skin */
/* REPLACED: @import url(https://tools-static.wmflabs.org/fontcdn/css?family=Merriweather); */
@import url(https://tools-static.wmflabs.org/fontcdn/css?family=Titillium+Web);
html {
background: rgb(0,0,0) !important;
height: 100%;
font-size: 1.1em;
filter: brightness(100%) contrast(100%) grayscale(0%) !important;
-webkit-filter: brightness(100%) contrast(100%) grayscale(0%) !important;
overflow-x: hidden;
}
body {
margin: 0;
background: #000;
/* REPLACED: color: #ccccff; */ color: #eef;
/* REPLACED: font-family: 'Merriweather', serif; */ font-family: 'Titillium Web', sans-serif;
}
/* ADDED START */
.toc, .wikitable {
color: #eef;
background-color: #000;
}
    /* ADDED for navboxes */
    .navbox > tr > th {
        background-color: #444;
    }
    /* ADDED for file captions */
    figure[typeof="mw:File/Thumb"] {
color: #eef !important;
background-color: #000 !important;       
    }
    /* ADDED for file captions */
    figure[typeof="mw:File/Thumb"] > figcaption {
color: #eef !important;
background-color: #000 !important;       
    }
/* Doing it this way instead of ".wikitable th" is more proper because it only applies to the top-level <th> and not nested tables used for formatting purposes */
.wikitable > tr > th,
.wikitable > * > tr > th,
.wikitable > caption {
background-color: #066;
}


/* CSS placed here will affect users of the Timeless skin */
/* ADDED END */
@import url(https://tools-static.wmflabs.org/fontcdn/css?family=Merriweather);
/* REPLACED:
html {
a {
background: rgb(0,0,0) !important;
color: #cc6600;
height: 100%;
}
font-size: 1.1em;
a:hover, a:visited {
filter: brightness(100%) contrast(100%) grayscale(0%) !important;
color: #cc3300;
-webkit-filter: brightness(100%) contrast(100%) grayscale(0%) !important;
} */
overflow-x: hidden;
a { color: #6ef; }
}
a:hover, a:visited { color: #76f; }
body {
h1 {
margin: 0;
color: white;
background: #000;
text-shadow: 1px 1px 1px #000;
color: #ccccff;
font-size: 40px !important;
font-family: 'Merriweather', serif;
}
}
/* REPLACED and split:
a {
h1, h2, h3, h4 {
color: #cc6600;
color: #6699ff;
}
font-family: 'Merriweather', serif;
a:hover, a:visited {
} */
color: #cc3300;
h1, h2 {
}
color: #eef;
h1 {
font-family: 'Titillium Web', sans-serif;
color: white;
}
text-shadow: 1px 1px 1px #000;
h3, h4 {
font-size: 40px !important;
color: #ef6;
}
font-family: 'Titillium Web', sans-serif;
h1, h2, h3, h4 {
}
color: #6699ff;
#personal .dropdown b {
font-family: 'Merriweather', serif;
font-weight: normal;
}
}
#personal .dropdown b {
b, strong {
font-weight: normal;
text-shadow: 1px 1px 1px #000;
}
}
b, strong {
#f-list {
text-shadow: 1px 1px 1px #000;
text-align: center;
}
font-size: 14px;
#f-list {
}
text-align: center;
div.editOptions {
font-size: 14px;
border: #222;
}
background: #555;
div.editOptions {
}
border: #222;
#mw-header-nav-hack {
background: #555;
border-top: solid 2px #333;
}
background: #333;
#mw-header-nav-hack {
}
border-top: solid 2px #333;
#mw-site-navigation .sidebar-inner {
background: #333;
background: #333;
}
border: 0;
#mw-site-navigation .sidebar-inner {
}
background: #333;
@media screen and (min-width: 851px) {
border: 0;
#p-logo-text a {
}
/* REMOVED: position: fixed; */
@media screen and (min-width: 851px) {
/* REMOVED: right: 75vw; */
#p-logo-text a {
}
/* REMOVED: position: fixed; */
}
/* REMOVED: right: 75vw; */
@media screen and (max-width: 850px) {
}
/* REPLACED: #p-logo-text {
}
margin-top: 0;
@media screen and (max-width: 850px) {
} */
/* REPLACED: #p-logo-text {
#p-logo-text {
margin-top: 0;
font-variant: normal !important; /* small-caps by default; TODO: make this work */
} */
font-variant-caps: normal !important;
#p-logo-text {
position: relative; /* or static */
position: relative; /* or static */
left: 0;
left: 0;
top: 0;
top: 0;
}
}
}
}
@media screen and (max-width: 1099px) and (min-width: 851px) {
@media screen and (max-width: 1099px) and (min-width: 851px) {
#p-logo-text a.long {
#p-logo-text a.long {
padding-left: 7px;
padding-left: 7px;
float: left;
float: left;
font-size: 18px !important; /* CHANGED from 23px */
font-size: 23px !important;
}
}
}
}
@media screen and (max-width: 1099px) and (min-width: 851px) {
@media screen and (max-width: 1099px) and (min-width: 851px) {
#mw-related-navigation .sidebar-inner {
#mw-related-navigation .sidebar-inner {
background: #222 !important;
background: #222 !important;
border: solid #111;
border: solid #111;
}
}
}
}
@media screen and (max-width: 1099px) and (min-width: 851px) {
@media screen and (max-width: 1099px) and (min-width: 851px) {
#mw-site-navigation .sidebar-inner {
#mw-site-navigation .sidebar-inner {
background: #222;
background: #222;
border: solid #111;
border: solid #111;
}
}
}
}
#mw-site-navigation .sidebar-chunk {
#mw-site-navigation .sidebar-chunk {
border: outset #222;
border: outset #222;
background: #333;
background: #333;
box-shadow: 2px 2px 1px rgba(0,0,0,0.5);
box-shadow: 2px 2px 1px rgba(0,0,0,0.5);
border-radius: 3px;
border-radius: 3px;
}
}
@media screen and (max-width: 851px) {
@media screen and (max-width: 851px) {
#mw-site-navigation .sidebar-chunk {
#mw-site-navigation .sidebar-chunk {
padding: 0 15px 5px 20px;
padding: 0 15px 5px 20px;
}
}
}
}
@media screen and (max-width: 1099px) and (min-width: 851px) {
@media screen and (max-width: 1099px) and (min-width: 851px) {
#mw-site-navigation .sidebar-inner {
#mw-site-navigation .sidebar-inner {
background: #222 !important;
background: #222 !important;
border: solid #111 !important;
border: solid #111 !important;
}
}
}
}
.mw-parser-output a.external {
.mw-parser-output a.external {
color: #ff9900;
color: #ff9900;
}
}
.mw-parser-output a.external:hover {
#searchInput {
color: #ff7766;
padding: 0.2em 4.5em 0.2em 2em !important;
}
margin: 0;
.mw-parser-output a.external:visited {
}
color: #ff66ee;
#searchInput-container {
}
background: #333;
#searchInput {
height: 35px;
padding: 0.2em 4.5em 0.2em 2em !important;
}
margin: 0;
#simpleSearch {
}
border: inset 1px #000;
#searchInput-container {
border-radius: 3px;
background: #333;
background: #333;
height: 35px;
height: 35px;
}
width: 48vw;
#simpleSearch {
position: absolute;
border: inset 1px #000;
left: 0;
border-radius: 3px;
right: 0;
background: #333;
margin-left: auto;
height: 35px;
margin-right: auto;
width: 48vw;
top: 7px;
position: absolute;
}
left: 0;
#user-tools {
right: 0;
position: fixed;
margin-left: auto;
right: 86px;
margin-right: auto;
}
top: 7px;
@media screen and (min-width: 851px) {
}
#user-tools {
/* REMOVED: #user-tools {
left: 74vw;
position: fixed;
top: 5px;
right: 86px;
}
} */
}
@media screen and (min-width: 851px) {
.mw-notification {
#user-tools {
background: #222;
left: 74vw;
border: #111;
top: 5px;
background: #111;
}
border-radius: 5px;
}
color: #999;
.mw-notification {
width: 200px;
background: #222;
}
border: #111;
.postedit-container {
background: #111;
position: absolute;
border-radius: 5px;
left: 0;
color: #999;
right: 0;
width: 200px;
margin-left: auto;
}
margin-right: auto;
.postedit-container {
padding: 0;
position: absolute;
padding: 15px 0 15px 15px;
left: 0;
text-align: right;
right: 0;
}
margin-left: auto;
.postedit-icon {
margin-right: auto;
margin: auto;
padding: 0;
padding: 0;
padding: 15px 0 15px 15px;
}
text-align: right;
.mw-wiki-logo {
}
background-size: contain;
.postedit-icon {
}
margin: auto;
#mw-header-container {
padding: 0;
background: #555;
}
}
.mw-wiki-logo {
#mw-header {
background-size: contain;
width: 100%;
}
max-width: 100%;
#mw-header-container {
padding: 0;
background: #555;
position: static;
}
}
#mw-header {
@media screen and (max-width: 850px) {
width: 100%;
#menus-cover {
max-width: 100%;
background: #000;
padding: 0;
}
position: static;
}
}
@media screen and (max-width: 850px) {
@media screen and (max-width: 850px) {
#personal h2 {
#menus-cover {
display: none;
background: #000;
}
}
}
}
#mw-content-container {
/* REMOVED: @media screen and (max-width: 850px) {
background: #1d1d16;
#personal h2 {
}
display: none;
@media screen and (max-width: 850px) {
}
#mw-content-block {
} */
background: #000;
#mw-content-container {
}
background: #1d1d16;
}
/* ADDED based on load.css */ border-bottom: solid 4px #6f7;
@media screen and (max-width: 850px) {
}
#site-tools h2 {
@media screen and (max-width: 850px) {
right: 3em;
#mw-content-block {
top: 0.9em;
background: #000;
padding-bottom: 5px;
}
}
}
}
@media screen and (max-width: 850px) {
@media screen and (max-width: 850px) {
#site-tools h2 {
#p-logo-text a.long {
right: 3em;
width: 100%;
top: 0.9em;
top: 7px;
padding-bottom: 5px;
text-align: center;
}
font-size: 40px !important;
/* ADDED */
}
#personal h2 {
}
right: 1em;
@media screen and (min-width: 851px) {
top: 0.9em;
#p-logo-text {
padding-bottom: 5px;
width: 29em;
}
}
/* END ADDED */
}
}
@media screen and (min-width: 851px) {
@media screen and (max-width: 850px) {
#personal h2:after {
#p-logo-text a.long {
width: 36px;
width: 100%;
}
top: 7px;
}
text-align: center;
@media screen and (max-width: 850px) {
font-size: 30px !important; /* CHANGED from 40px */
#p-logo-text {
}
position: static;
}
left: 0 !important;
@media screen and (min-width: 851px) {
right: 0;
#p-logo-text {
margin-left: 0;
width: 29em;
margin-right: 0;
}
width: 100%;
}
top: 3.3em;
/* REMOVED: @media screen and (min-width: 851px) { */
}
#personal h2:after {
}
width: 36px;
/* REMOVED all of this because it doesn't make any sense:
}
@media only screen and (min-width: 992px) and (max-width:768px) {
/* } */
#p-logo-text {
@media screen and (max-width: 850px) {
right:74vw;
#p-logo-text {
}
position: static;
}
left: 0 !important;
@media only screen and (min-width: 900px) and (max-width:100px) {
right: 0;
#p-logo-text {
margin-left: 0;
right: 74vw;
margin-right: 0;
top: 3em;
width: 100%;
}
top: 3.3em;
} */
}
@media screen and (max-width: 900px) and (min-width: 100px) {
}
#p-logo-text a.long {
/* REMOVED all of this because it doesn't make any sense:
font-size: 43px !important;
@media only screen and (min-width: 992px) and (max-width:768px) {
}
#p-logo-text {
}
right:74vw;
@media screen and (max-width: 1700px) and (min-width: 800px) {
}
#p-logo-text {
}
left: 12px !important;
@media only screen and (min-width: 900px) and (max-width:100px) {
}
#p-logo-text {
}
right: 74vw;
@media screen and (max-width: 1700px) and /* REPLACED: (mix: 851px) */ (min-width: 851px) {
top: 3em;
#mw-site-navigation {
}
background: #000;
} */
}
@media screen and (max-width: 900px) and (min-width: 100px) {
}
#p-logo-text a.long {
#mw-content {
font-size: 35px !important; /* CHANGED from 43px */
background: #333;
}
border: solid #946c20;
}
-webkit-border-bottom-right-radius: 4px;
@media screen and (max-width: 1700px) and (min-width: 800px) {
-webkit-border-bottom-left-radius: 4px;
#p-logo-text {
-moz-border-radius-bottomright: 4px;
left: 12px !important;
-moz-border-radius-bottomleft: 4px;
}
border-bottom-right-radius: 4px;
}
border-bottom-left-radius: 4px;
@media screen and (max-width: 1700px) and /* REPLACED: (mix: 851px) */ (min-width: 851px) {
}
#mw-site-navigation {
#mw-page-header-links li.selected a {
background: #000;
color: #cccc00;
}
}
}
#mw-related-navigation .sidebar-chunk {
#mw-content {
background: #333;
background: #333;
border: outset #222;
/* REPLACED: border: solid #946c20; */ border: solid #76f;
box-shadow: 2px 2px 1px rgba(0,0,0,0.5);
-webkit-border-bottom-right-radius: 4px;
border-radius: 3px;
-webkit-border-bottom-left-radius: 4px;
}
-moz-border-radius-bottomright: 4px;
@media screen and (max-width: 1099px) and (min-width: 851px) {
-moz-border-radius-bottomleft: 4px;
#mw-related-navigation .sidebar-chunk {
border-bottom-right-radius: 4px;
background: #333;
border-bottom-left-radius: 4px;
border: outset #222;
}
box-shadow: 2px 2px 1px rgba(0,0,0,0.5);
#mw-page-header-links li.selected a {
border-radius: 3px;
color: #cccc00;
padding: 0 15px 5px 20px;
}
}
#mw-related-navigation .sidebar-chunk {
}
background: #333;
.color-middle-container, .ts-inner {
border: outset #222;
padding: 0;
box-shadow: 2px 2px 1px rgba(0,0,0,0.5);
}
border-radius: 3px;
#p-logo-text {
}
left: 120px;
@media screen and (max-width: 1099px) and (min-width: 851px) {
}
#mw-related-navigation .sidebar-chunk {
#p-logo-text a.long {
background: #333;
padding-top: 5px;
border: outset #222;
padding-left: 6px;
box-shadow: 2px 2px 1px rgba(0,0,0,0.5);
font-size: 30px;
border-radius: 3px;
text-shadow: 1px 1px 1px #222;
padding: 0 15px 5px 20px;
}
}
#p-search {
}
width: 70em;
.color-middle-container, .ts-inner {
padding-right: 33px;
padding: 0;
}
}
#personal .dropdown h3 {
/* START ADDED */
line-height: 25px;
.color-left{ background-color: #6ef; }
}
.color-middle { background-color: #ef6; }
#personal h2 {
.color-right{ background-color: #f6e; }
text-shadow: 2px 2px 0 #333;
/* END ADDED */
padding-top: 7px;
#p-logo-text {
font-size: 24px;
left: 120px;
text-transform: lowercase;
}
}
#p-logo-text a.long {
#personal .dropdown {
padding-top: 5px;
background: #222!important;
padding-left: 6px;
border: solid #000;
font-size: 25px; /* CHANGED from 30px */
}
text-shadow: 1px 1px 1px #222;
.codeEditor-status {
}
color: #000;
#p-search {
}
width: 70em;
.oo-ui-labelElement-label {
padding-right: 33px;
text-shadow: 1px 2px #333;
}
}
#personal .dropdown h3 {
#iframeframe {
line-height: 25px;
height: 700px;
}
}
#personal h2 {
#wpSave {
text-shadow: 2px 2px 0 #333;
text-shadow: 2px 2px 2px #000 !important
padding-top: 7px;
}
font-size: 24px;
#mw-footer-container {
text-transform: lowercase;
background: #000;
}
padding-top: 1em;
#personal .dropdown {
}
background: #222!important;
fieldset {
border: solid #000;
background: #222!important;
}
border: solid #111;
.codeEditor-status {
}
color: #000;
input {
}
background: #333;
.oo-ui-labelElement-label {
border: solid 1px #111!important;
text-shadow: 1px 2px #333;
border-radius: 2px;
}
padding-left: 5px;
#iframeframe {
color: #999;
height: 700px;
}
}
.mw-ui-button.mw-ui-progressive, .mw-ui-button.mw-ui-progressive:active, .mw-ui-button.mw-ui-progressive.mw-ui-checked, input[type='submit'], input[type='button'], button {
#wpSave {
border: solid 1px #333!important;
text-shadow: 2px 2px 2px #000 !important
border-bottom: 0!important;
}
text-shadow: 0 0 0 #000 !important;
#mw-footer-container {
border-bottom: solid 1px #333!important;
background: #000;
}
padding-top: 1em;
.oo-ui-flaggedElement-destructive {
}
background: #111;
fieldset {
border: 1px solid #444;
background: #222!important;
color: #FF3333 !important;
border: solid #111;
padding-left: 15px !important;
}
padding-right: 15px !important;
input {
}
background: #333;
.oo-ui-flaggedElement-destructive:hover {
border: solid 1px #111!important;
background: #222;
border-radius: 2px;
color: #CC0000 !important;
padding-left: 5px;
}
color: #999;
#searchInput {
}
border: 0!important;
.mw-ui-button.mw-ui-progressive, .mw-ui-button.mw-ui-progressive:active, .mw-ui-button.mw-ui-progressive.mw-ui-checked, input[type='submit'], input[type='button'], button {
}
border: solid 1px #333!important;
@media screen and (max-width: 850px) {
border-bottom: 0!important;
#searchInput {
text-shadow: 0 0 0 #000 !important;
padding: 0 0 0 6px !important;
border-bottom: solid 1px #333!important;
}
}
}
.oo-ui-flaggedElement-destructive {
.oo-ui-textInputWidget input, .oo-ui-textInputWidget textarea {
background: #111;
background-color: #333;
border: 1px solid #444;
color: #fff;
color: #FF3333 !important;
}
padding-left: 15px !important;
.oo-ui-textInputWidget > .oo-ui-labelElement-label {
padding-right: 15px !important;
line-height: 0.5em;
}
}
.oo-ui-flaggedElement-destructive:hover {
#pagehistory li.selected {
background: #222;
background-color: #555;
color: #CC0000 !important;
}
}
.warningbox {
#searchInput {
background: #1d1d16;
border: 0!important;
}
}
a.new:hover, .new a:hover, a.new:visited, .new a:visited {
@media screen and (max-width: 850px) {
color: #FF3333;
#searchInput {
}
padding: 0 0 0 6px !important;
.mw-plusminus-neg {
}
color: #FF0000;
}
}
.oo-ui-textInputWidget input, .oo-ui-textInputWidget textarea {
#searchButton, #mw-searchButton {
background-color: #333;
border: 0 !important;
color: #fff;
left: 38vw;
}
right: 0;
.oo-ui-textInputWidget > .oo-ui-labelElement-label {
margin-left: auto;
line-height: 0.5em;
margin-right: auto;
}
}
#pagehistory li.selected {
#mw-footer-container a:hover {
background-color: #555;
color: #ffff33;
}
}
.warningbox {
#mw-footer-container a:visited {
background: #1d1d16;
color: #ffff66;
}
}
a.new:hover, .new a:hover, a.new:visited, .new a:visited {
#mw-footer .footer-places li {
color: #FF3333;
float: right;
}
display: block;
.mw-plusminus-neg {
}
color: #FF0000;
#mw-footer ul, #mw-footer li {
}
margin: 0 auto;
#searchButton, #mw-searchButton {
}
border: 0 !important;
#mw-footer #lastmod {
left: 38vw;
float: left;
right: 0;
left: 25px;
margin-left: auto;
}
margin-right: auto;
.diff-addedline .diffchange {
}
background: #1d1d16;
#mw-footer-container a:hover {
padding-left: 7px;
color: #ffff33;
}
}
.oo-ui-buttonElement.oo-ui-labelElement > input.oo-ui-buttonElement-button, .oo-ui-buttonElement.oo-ui-labelElement > .oo-ui-buttonElement-button > .oo-ui-labelElement-label {
#mw-footer-container a:visited {
text-shadow: 0 0 0 #000 !important;
color: #ffff66;
}
}
.oo-ui-labelElement-label {
#mw-footer .footer-places li {
text-shadow: 0 0 0 #000
float: right;
}
display: block;
.oo-ui-panelLayout-expanded {
}
background: #222;
#mw-footer ul, #mw-footer li {
}
margin: 0 auto;
.oo-ui-messageDialog-message {
}
color: #999;
#mw-footer #lastmod {
}
float: left;
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
left: 25px;
color: #999;
}
}
.diff-addedline .diffchange {
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget {
background: #1d1d16;
border-right: 1px solid #111
padding-left: 7px;
}
}
.oo-ui-dialog-content > .oo-ui-window-body {
.oo-ui-buttonElement.oo-ui-labelElement > input.oo-ui-buttonElement-button, .oo-ui-buttonElement.oo-ui-labelElement > .oo-ui-buttonElement-button > .oo-ui-labelElement-label {
outline: 1px solid #111;
text-shadow: 0 0 0 #000 !important;
}
}
.oo-ui-messageDialog-content > .oo-ui-window-foot {
.oo-ui-labelElement-label {
outline: 1px solid #111;
text-shadow: 0 0 0 #000
}
}
.wikiEditor-ui .wikiEditor-ui-view {
.oo-ui-panelLayout-expanded {
border: 1px solid #000;
background: #222;
}
}
.wikiEditor-ui .wikiEditor-ui-top {
.oo-ui-messageDialog-message {
border-bottom: 1px solid #000;
color: #999;
}
}
textarea[style] {
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
background: #111 !important;
color: #999;
color: #fff;
}
}
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget {
pre, .mw-code {
border-right: 1px solid #111
background: #222;
}
color: #B0B0B0;
.oo-ui-dialog-content > .oo-ui-window-body {
border: 1px solid #444;
outline: 1px solid #111;
}
.oo-ui-messageDialog-content > .oo-ui-window-foot {
outline: 1px solid #111;
}
.wikiEditor-ui .wikiEditor-ui-view {
border: 1px solid #000;
}
.wikiEditor-ui .wikiEditor-ui-top {
border-bottom: 1px solid #000;
}
textarea[style] {
background: #111 !important;
color: #fff;
}
pre, .mw-code {
background: #222;
color: #B0B0B0;
border: 1px solid #444;
}
.oo-ui-iconWidget.oo-ui-iconElement.oo-ui-iconElement-icon {
background-color: #B0B0B0;
border: 1px solid #333;
}
}
}
.oo-ui-iconWidget.oo-ui-iconElement.oo-ui-iconElement-icon {
/* ADDED for file details page */
background-color: #B0B0B0;
ul#filetoc {
border: 1px solid #333;
background-color: #111 !important;
}
}
/* END ADDED */

Latest revision as of 18:30, 17 May 2026

/* Timeless was chosen as the default skin because it's optimized for responsive screen sizes */
/* Manual theme selection would have been ideal, but the PHP didn't work */

@media (prefers-color-scheme: light) {
    /* ADDED START */
	.toc {
		color: #000 !important;
		background-color: #fff !important;
	}
	td {
		color: #000;
		background-color: #fff;
	}
	th {
		color: #000;
		background-color: #fff;
	}
    .navbox > tr > th {
        background-color: #777;
    }
}

/* Official theme */
@media (prefers-color-scheme: dark) {
	/* Forked from https://www.mediawiki.org/wiki/Skin:Timeless-DarkCSS, all changes commented */

	/* CSS placed here will affect users of the Timeless skin */
	/* REPLACED: @import url(https://tools-static.wmflabs.org/fontcdn/css?family=Merriweather); */
	@import url(https://tools-static.wmflabs.org/fontcdn/css?family=Titillium+Web);
	html {
		background: rgb(0,0,0) !important;
		height: 100%;
		font-size: 1.1em;
		filter: brightness(100%) contrast(100%) grayscale(0%) !important;
		-webkit-filter: brightness(100%) contrast(100%) grayscale(0%) !important;
		overflow-x: hidden;
	}
	body {
		margin: 0;
		background: #000;
		/* REPLACED: color: #ccccff; */ color: #eef;
		/* REPLACED: font-family: 'Merriweather', serif; */ font-family: 'Titillium Web', sans-serif;
	}
	/* ADDED START */
	.toc, .wikitable {
		color: #eef;
		background-color: #000;
	}
    /* ADDED for navboxes */
    .navbox > tr > th {
        background-color: #444;
    }
    /* ADDED for file captions */
    figure[typeof="mw:File/Thumb"] {
		color: #eef !important;
		background-color: #000 !important;        
    }

    /* ADDED for file captions */
    figure[typeof="mw:File/Thumb"] > figcaption {
		color: #eef !important;
		background-color: #000 !important;        
    }
	/* Doing it this way instead of ".wikitable th" is more proper because it only applies to the top-level <th> and not nested tables used for formatting purposes */
	.wikitable > tr > th,
	.wikitable > * > tr > th,
	.wikitable > caption {
		background-color: #066;
	}

	/* ADDED END */
	/* REPLACED:
	a {
		color: #cc6600;
	}
	a:hover, a:visited {
		color: #cc3300;
	} */
	a { color: #6ef; }
	a:hover, a:visited { color: #76f; }
	h1 {
		color: white;
		text-shadow: 1px 1px 1px #000;
		font-size: 40px !important;
	}
	/* REPLACED and split:
	h1, h2, h3, h4 {
		color: #6699ff;
		font-family: 'Merriweather', serif;
	} */
	h1, h2 {
		color: #eef;
		font-family: 'Titillium Web', sans-serif;
	}
	h3, h4 {
		color: #ef6;
		font-family: 'Titillium Web', sans-serif;
	}
	#personal .dropdown b {
		font-weight: normal;
	}
	b, strong {
		text-shadow: 1px 1px 1px #000;
	}
	#f-list {
		text-align: center;
		font-size: 14px;
	}
	div.editOptions {
		border: #222;
		background: #555;
	}
	#mw-header-nav-hack {
		border-top: solid 2px #333;
		background: #333;
	}
	#mw-site-navigation .sidebar-inner {
		background: #333;
		border: 0;
	}
	@media screen and (min-width: 851px) {
	#p-logo-text a {
		/* REMOVED: position: fixed; */
		/* REMOVED: right: 75vw; */
	}
	}
	@media screen and (max-width: 850px) {
	/* REPLACED: #p-logo-text {
		margin-top: 0;
	} */
	#p-logo-text {
		font-variant: normal !important; /* small-caps by default; TODO: make this work */
		font-variant-caps: normal !important;
		position: relative; /* or static */
		left: 0;
		top: 0;
	}
	}
	@media screen and (max-width: 1099px) and (min-width: 851px) {
	#p-logo-text a.long {
		padding-left: 7px;
		float: left;
		font-size: 18px !important; /* CHANGED from 23px */
	}
	}
	@media screen and (max-width: 1099px) and (min-width: 851px) {
	#mw-related-navigation .sidebar-inner {
		background: #222 !important;
		border: solid #111;
	}
	}
	@media screen and (max-width: 1099px) and (min-width: 851px) {
	#mw-site-navigation .sidebar-inner {
		background: #222;
		border: solid #111;
	}
	}
	#mw-site-navigation .sidebar-chunk {
		border: outset #222;
		background: #333;
		box-shadow: 2px 2px 1px rgba(0,0,0,0.5);
		border-radius: 3px;
	}
	@media screen and (max-width: 851px) {
	#mw-site-navigation .sidebar-chunk {
		padding: 0 15px 5px 20px;
	}
	}
	@media screen and (max-width: 1099px) and (min-width: 851px) {
	#mw-site-navigation .sidebar-inner {
		background: #222 !important;
		border: solid #111 !important;
	}
	}
	.mw-parser-output a.external {
		color: #ff9900;
	}
	.mw-parser-output a.external:hover {
		color: #ff7766;
	}
	.mw-parser-output a.external:visited {
		color: #ff66ee;
	}
	#searchInput {
		padding: 0.2em 4.5em 0.2em 2em !important;
		margin: 0;
	}
	#searchInput-container {
		background: #333;
		height: 35px;
	}
	#simpleSearch {
		border: inset 1px #000;
		border-radius: 3px;
		background: #333;
		height: 35px;
		width: 48vw;
		position: absolute;
		left: 0;
		right: 0;
		margin-left: auto;
		margin-right: auto;
		top: 7px;
	}
	/* REMOVED: #user-tools {
		position: fixed;
		right: 86px;
	} */
	@media screen and (min-width: 851px) {
	#user-tools {
		left: 74vw;
		top: 5px;
	}
	}
	.mw-notification {
		background: #222;
		border: #111;
		background: #111;
		border-radius: 5px;
		color: #999;
		width: 200px;
	}
	.postedit-container {
		position: absolute;
		left: 0;
		right: 0;
		margin-left: auto;
		margin-right: auto;
		padding: 0;
		padding: 15px 0 15px 15px;
		text-align: right;
	}
	.postedit-icon {
		margin: auto;
		padding: 0;
	}
	.mw-wiki-logo {
		background-size: contain;
	}
	#mw-header-container {
		background: #555;
	}
	#mw-header {
		width: 100%;
		max-width: 100%;
		padding: 0;
		position: static;
	}
	@media screen and (max-width: 850px) {
	#menus-cover {
		background: #000;
	}
	}
	/* REMOVED: @media screen and (max-width: 850px) {
	#personal h2 {
		display: none;
	}
	} */
	#mw-content-container {
		background: #1d1d16;
		/* ADDED based on load.css */ border-bottom: solid 4px #6f7;
	}
	@media screen and (max-width: 850px) {
	#mw-content-block {
		background: #000;
	}
	}
	@media screen and (max-width: 850px) {
	#site-tools h2 {
		right: 3em;
		top: 0.9em;
		padding-bottom: 5px;
	}
	/* ADDED */
	#personal h2 {
		right: 1em;
		top: 0.9em;
		padding-bottom: 5px;
	}
	/* END ADDED */
	}
	@media screen and (max-width: 850px) {
	#p-logo-text a.long {
		width: 100%;
		top: 7px;
		text-align: center;
		font-size: 30px !important; /* CHANGED from 40px */
	}
	}
	@media screen and (min-width: 851px) {
	#p-logo-text {
		width: 29em;
	}
	}
	/* REMOVED: @media screen and (min-width: 851px) { */
	#personal h2:after {
		width: 36px;
	}
	/* } */
	@media screen and (max-width: 850px) {
	#p-logo-text {
		position: static;
		left: 0 !important;
		right: 0;
		margin-left: 0;
		margin-right: 0;
		width: 100%;
		top: 3.3em;
	}
	}
	/* REMOVED all of this because it doesn't make any sense:
	@media only screen and (min-width: 992px) and (max-width:768px) {
	#p-logo-text {
	right:74vw;
	}
	}
	@media only screen and (min-width: 900px) and (max-width:100px) {
	#p-logo-text {
		right: 74vw;
		top: 3em;
	}
	} */
	@media screen and (max-width: 900px) and (min-width: 100px) {
	#p-logo-text a.long {
		font-size: 35px !important; /* CHANGED from 43px */
	}
	}
	@media screen and (max-width: 1700px) and (min-width: 800px) {
	#p-logo-text {
		left: 12px !important;
	}
	}
	@media screen and (max-width: 1700px) and /* REPLACED: (mix: 851px) */ (min-width: 851px) {
	#mw-site-navigation {
		background: #000;
	}
	}
	#mw-content {
		background: #333;
		/* REPLACED: border: solid #946c20; */ border: solid #76f;
		-webkit-border-bottom-right-radius: 4px;
		-webkit-border-bottom-left-radius: 4px;
		-moz-border-radius-bottomright: 4px;
		-moz-border-radius-bottomleft: 4px;
		border-bottom-right-radius: 4px;
		border-bottom-left-radius: 4px;
	}
	#mw-page-header-links li.selected a {
		color: #cccc00;
	}
	#mw-related-navigation .sidebar-chunk {
		background: #333;
		border: outset #222;
		box-shadow: 2px 2px 1px rgba(0,0,0,0.5);
		border-radius: 3px;
	}
	@media screen and (max-width: 1099px) and (min-width: 851px) {
	#mw-related-navigation .sidebar-chunk {
		background: #333;
		border: outset #222;
		box-shadow: 2px 2px 1px rgba(0,0,0,0.5);
		border-radius: 3px;
		padding: 0 15px 5px 20px;
	}
	}
	.color-middle-container, .ts-inner {
		padding: 0;
	}
	/* START ADDED */
	.color-left{ background-color: #6ef; }
	.color-middle { background-color: #ef6; }
	.color-right{ background-color: #f6e; }
	/* END ADDED */
	#p-logo-text {
		left: 120px;
	}
	#p-logo-text a.long {
		padding-top: 5px;
		padding-left: 6px;
		font-size: 25px; /* CHANGED from 30px */
		text-shadow: 1px 1px 1px #222;
	}
	#p-search {
		width: 70em;
		padding-right: 33px;
	}
	#personal .dropdown h3 {
		line-height: 25px;
	}
	#personal h2 {
		text-shadow: 2px 2px 0 #333;
		padding-top: 7px;
		font-size: 24px;
		text-transform: lowercase;
	}
	#personal .dropdown {
		background: #222!important;
		border: solid #000;
	}
	.codeEditor-status {
		color: #000;
	}
	.oo-ui-labelElement-label {
		text-shadow: 1px 2px #333;
	}
	#iframeframe {
		height: 700px;
	}
	#wpSave {
		text-shadow: 2px 2px 2px #000 !important
	}
	#mw-footer-container {
		background: #000;
		padding-top: 1em;
	}
	fieldset {
		background: #222!important;
		border: solid #111;
	}
	input {
		background: #333;
		border: solid 1px #111!important;
		border-radius: 2px;
		padding-left: 5px;
		color: #999;
	}
	.mw-ui-button.mw-ui-progressive, .mw-ui-button.mw-ui-progressive:active, .mw-ui-button.mw-ui-progressive.mw-ui-checked, input[type='submit'], input[type='button'], button {
		border: solid 1px #333!important;
		border-bottom: 0!important;
		text-shadow: 0 0 0 #000 !important;
		border-bottom: solid 1px #333!important;
	}
	.oo-ui-flaggedElement-destructive {
		background: #111;
		border: 1px solid #444;
		color: #FF3333 !important;
		padding-left: 15px !important;
		padding-right: 15px !important;
	}
	.oo-ui-flaggedElement-destructive:hover {
		background: #222;
		color: #CC0000 !important;
	}
	#searchInput {
		border: 0!important;
	}
	@media screen and (max-width: 850px) {
	#searchInput {
		padding: 0 0 0 6px !important;
	}
	}
	.oo-ui-textInputWidget input, .oo-ui-textInputWidget textarea {
		background-color: #333;
		color: #fff;
	}
	.oo-ui-textInputWidget > .oo-ui-labelElement-label {
		line-height: 0.5em;
	}
	#pagehistory li.selected {
		background-color: #555;
	}
	.warningbox {
		background: #1d1d16;
	}
	a.new:hover, .new a:hover, a.new:visited, .new a:visited {
		color: #FF3333;
	}
	.mw-plusminus-neg {
		color: #FF0000;
	}
	#searchButton, #mw-searchButton {
		border: 0 !important;
		left: 38vw;
		right: 0;
		margin-left: auto;
		margin-right: auto;
	}
	#mw-footer-container a:hover {
		color: #ffff33;
	}
	#mw-footer-container a:visited {
		color: #ffff66;
	}
	#mw-footer .footer-places li {
		float: right;
		display: block;
	}
	#mw-footer ul, #mw-footer li {
		margin: 0 auto;
	}
	#mw-footer #lastmod {
		float: left;
		left: 25px;
	}
	.diff-addedline .diffchange {
		background: #1d1d16;
		padding-left: 7px;
	}
	.oo-ui-buttonElement.oo-ui-labelElement > input.oo-ui-buttonElement-button, .oo-ui-buttonElement.oo-ui-labelElement > .oo-ui-buttonElement-button > .oo-ui-labelElement-label {
		text-shadow: 0 0 0 #000 !important;
	}
	.oo-ui-labelElement-label {
		text-shadow: 0 0 0 #000
	}
	.oo-ui-panelLayout-expanded {
		background: #222;
	}
	.oo-ui-messageDialog-message {
		color: #999;
	}
	.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
		color: #999;
	}
	.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget {
		border-right: 1px solid #111
	}
	.oo-ui-dialog-content > .oo-ui-window-body {
		outline: 1px solid #111;
	}
	.oo-ui-messageDialog-content > .oo-ui-window-foot {
		outline: 1px solid #111;
	}
	.wikiEditor-ui .wikiEditor-ui-view {
		border: 1px solid #000;
	}
	.wikiEditor-ui .wikiEditor-ui-top {
		border-bottom: 1px solid #000;
	}
	textarea[style] {
		background: #111 !important;
		color: #fff;
	}
	pre, .mw-code {
		background: #222;
		color: #B0B0B0;
		border: 1px solid #444;
	}
	.oo-ui-iconWidget.oo-ui-iconElement.oo-ui-iconElement-icon {
		background-color: #B0B0B0;
		border: 1px solid #333;
	}
}
/* ADDED for file details page */
ul#filetoc {
	background-color: #111 !important;
}
/* END ADDED */