Skip to content

Instantly share code, notes, and snippets.

@mikesprague
Last active March 8, 2016 02:13
Show Gist options
  • Save mikesprague/a5759222ddd99f14d071 to your computer and use it in GitHub Desktop.
Save mikesprague/a5759222ddd99f14d071 to your computer and use it in GitHub Desktop.
Dark/night userstyle for the Wikipedia/Wikimedia domains (very much a work in progress)
@-moz-document domain("mediawiki.org"), domain("wikipedia.org"), domain("wikimedia.org"), domain("wikinews.org"), domain("wikibooks.org"), domain("wikiquote.org"), domain("wikiversity.org"), domain("wikisource.org"), domain("wiktionary.org"), domain("wikimediafoundation.org"), domain("toolserver.org"), domain("wikia.com"), domain("wikihow.com"), domain("wikileaks.org"), domain("wikimapia.org") {
html,
body,
div#mw-head,
#firstHeading,
div#content,
div.vectorTabs li.selected a,
div.vectorTabs li.selected a:visited,
div.vectorTabs span > a,
li,
#toc h2,
.toc h2,
#toc #toctitle,
.toc #toctitle,
#toc .toctitle,
.toc .toctitle,
#toc,
.toc,
.mw-warning,
p,
.center *,
.latest_news,
.welcome_to_wn,
.header_left_text,
.freenews,
.mp_header,
.l_table,
.lead_normal,
.portals,
.main_popular,
.the_table,
.feedback_reviewform,
div.NavFrame div.NavHead,
#mw-normal-catlinks,
#commentrequest,
table,
.catlinks,
form#searchform fieldset,
h1,
h2,
h3,
h4,
h5,
h6,
element.style,
#p-Community,
.portal,
.divTop10item,
b,
td,
th,
div#content ol,
div#content ul,
div#mw_content ol,
div#mw_content ul,
.toccolours,
.articleFeedback-panel .articleFeedback-buffer,
.thumbcaption,
#otherlangs,
.plainlinks,
tr td div,
div.WikiaPageContentWrapper,
div.mw-content-ltr div,
div.lyricbox,
nav.WikiaArticleCategories,
form.WikiaSearch input,
div#WikiaRail section,
.noprint,
header.WikiaHeader nav,
div#MainPageBox1,
div#MainPageBox2,
div.WikiaHubBranding div.hub,
div#WikiaArticle div div,
figure.thumb,
div#simpleSearch input#searchInput,
div#fragment-11,
div#mw_main div#mw_contentwrapper,
div#mw_contentwrapper div#mw_content,
div#mw_contentholder div,
div#footer,
div#page-index,
div#content-container,
code,
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon,
.main,
#wl-popup,
div.donate,
div.donate2,
.dropdown,
#searchInput {
background: hsl(0, 0%, 13%) !important;
color: hsl(0, 0%, 80%) !important;
}
div.nav a,
#column-content,
.mw-tou_notice,
#content_wrapper.show {
background: hsl(210, 54%, 45%) !important;
}
a {
color: hsl(204, 35%, 46%) !important;
}
.infobox,
.mw-geshi,
form.WikiaSearch input,
div#simpleSearch input#searchInput,
pre {
background-color: hsl(0, 0%, 76%) !important;
}
tbody tr th a img,
div#globalWrapper div#bodyContent div img,
div p a img,
div#mw-panel.noprint div#p-logo,
div#panel.noprint div#p-logo {
background: hsl(0, 0%, 80%) !important;
color: hsl(0, 0%, 10%) !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment