MediaWiki:Common.css: Difference between revisions

From Ghost Theory Wiki
No edit summary
Tag: Reverted
mNo edit summary
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* === GLOBAL OVERRIDE: FORCE DARK EVERYTHING === */
#ca-talk { display: none !important; }
html, body, * {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #333 !important;
}
 
/* === LINKS === */
a {
    color: #ff0 !important;
}
a:visited {
    color: #ccc !important;
}
 
/* === TABLES, INFOBOXES, THUMBS, TOC === */
table,
.infobox,
.toc,
.thumb,
.thumbinner,
.mw-parser-output table,
.mw-parser-output .thumb,
.mw-parser-output .thumbinner {
    background-color: #111 !important;
    color: #fff !important;
    border-color: #333 !important;
}
 
/* === FORMS, INPUTS, BUTTONS === */
input,
textarea,
select,
button {
    background-color: #111 !important;
    color: #fff !important;
    border: 1px solid #444 !important;
}
 
/* === SPECIAL PAGES (Preferences, Upload, RecentChanges, etc.) === */
.mw-specialpage,
.mw-htmlform,
.mw-htmlform-field,
.mw-htmlform-submit,
.mw-htmlform-field-HTMLTextField,
.mw-htmlform-field-HTMLSelectField,
.mw-htmlform-field-HTMLCheckField {
    background-color: #000 !important;
    color: #fff !important;
}


/* === EDITOR === */
/* Hide mobile version on desktop */
.wikiEditor-ui,
.episode-image-mobile {
.wikiEditor-ui textarea,
     display: none;
#wpTextbox1 {
     background-color: #000 !important;
    color: #fff !important;
}
}


/* === FIX RANDOM WHITE GAPS === */
/* Hide desktop version on small screens */
div,
@media screen and (max-width: 600px) {
section,
    .episode-image-desktop {
article,
        display: none;
header,
    }
footer,
    .episode-image-mobile {
nav {
        display: block;
    background-color: transparent !important;
    }
}
}