injections/styles/wikipedia.org.css
2021-09-02 13:01:41 +10:00

173 lines
3.9 KiB
CSS

@media (prefers-color-scheme: dark) {
body,
.mw-footer li {
/* sidebar */
background: #27292F;
color: #eaeaea;
}
#p-logo {
/* logo */
filter: invert(1)
}
.vector-menu-portal .vector-menu-content li a,
.vector-menu-portal .vector-menu-content li a:visited,
.vector-menu-tabs li a,
.mw-parser-output a.extiw,
.mw-parser-output a.external,
a {
/* links */
color: #4183fc
}
a:visited {
color: #a387e4;
}
#mw-page-base {
/* header */
background-color: #37393f;
background-image: -webkit-linear-gradient(top, #37393f 50%, #27292F 100%);
background-image: linear-gradient(to bottom, #37393f 50%, #27292F 100%);
background-position: bottom left;
height: 5em;
}
.vector-menu-tabs li {
/* other header tabs */
background-image: linear-gradient(to top, #77c1f6 0, #37393B 1px, #37393f 100%);
}
.vector-menu-tabs .selected {
/* selected header tab */
background: #37393f;
}
#searchInput::placeholder {
/* searchbox */
color: #3A3C3E;
}
#content {
/* main page */
background: #37393f;
color: #eaeaea;
}
.infobox {
/* quick info box */
background-color: #27292F;
color: #eaeaea;
}
.infobox .infobox-above,
.infobox .infobox-title,
.infobox-header,
.infobox caption {
/* quick info box */
background-color: #37393f !important;
}
table.ambox,
.ambox {
/* article messagebox */
background-color: #27292F;
color: #eaeaea;
}
.toc,
.tocnumber {
/* table of contents */
background: #37393f;
color: #eaeaea;
}
.wikitable {
/* tables */
background: #37393f;
color: #eaeaea;
}
.wikitable>tr>th,
.wikitable>*>tr>th {
/* tables */
background: #52555b;
}
div.thumbinner {
/* images on side */
border: 1px solid #c8ccd1;
background-color: #27292F;
}
#content .gallerybox div.thumb {
/* image gallery */
background-color: #27292F;
}
.catlinks {
/* category links */
background: #37393f;
}
.mbox-small {
/* wikimedia commons plug */
background-color: #27292F !important;
border: 1px solid #27292F !important;
color: #eaeaea !important;
}
.navbox th,
.navbox-title {
/* navigation boxes (other links in category) */
background: #4D4D60;
}
.navbox,
.navbox-subgroup {
/* navigation boxes (other links in category) */
background: #37393f;
border: 1px solid #37393f;
}
.vector-menu-portal h3,
.vector-menu-tabs .selected a,
.vector-menu-tabs .selected a:visited,
h1,
h2,
h3,
h4,
h5,
h6 {
/* headings */
color: #eaeaea;
}
.mw-ui-button {
/* more languages button */
background: #37393f;
color: #eaeaea;
}
table.tmbox {
/* talk page bits */
background-color: #605B48;
}
.boilerplate {
background-color: #3B403B !important;
}
}
#siteNotice {
/* dont display annoying site notices!! */
display: none;
}
.mw-portlet-personal:hover,
.mw-portlet-interaction:hover,
.mw-portlet-tb:hover,
.mw-portlet-coll-print_export:hover,
.mw-portlet-lang:hover {
opacity: 1;
}
.mw-portlet-personal,
.mw-portlet-interaction,
.mw-portlet-tb,
.mw-portlet-coll-print_export,
.mw-portlet-lang {
opacity: 0;
}
@media (min-width: 145em) {
.mw-body {
border-right-width: 1px;
}
}
.mw-body {
max-width: 130em;
}
#mw-head {
max-width: 144.1em;
left: 0em;
}