injections/styles/wikipedia.org.css

215 lines
4.6 KiB
CSS
Raw Normal View History

2021-06-10 19:45:45 +10:00
@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;
}
2021-06-27 17:41:20 +10:00
#searchInput::placeholder {
/* searchbox */
color: #3A3C3E;
}
2021-06-10 19:45:45 +10:00
#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;
}
2021-06-27 17:41:20 +10:00
table.ambox,
.ambox {
/* article messagebox */
background-color: #27292F;
color: #eaeaea;
}
2021-06-10 19:45:45 +10:00
.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;
2021-09-02 12:16:31 +10:00
}
/* make annoying useless things invisible by default */
2021-09-02 12:16:31 +10:00
.mw-portlet-personal:hover,
.mw-portlet-interaction:hover,
.mw-portlet-tb:hover,
.mw-portlet-coll-print_export:hover,
.mw-portlet-lang:hover,
.mw-portlet-wikibase-otherprojects:hover {
2021-09-02 12:16:31 +10:00
opacity: 1;
transition: opacity 0.2s;
2021-09-02 12:16:31 +10:00
}
.mw-portlet-personal,
.mw-portlet-interaction,
.mw-portlet-tb,
.mw-portlet-coll-print_export,
.mw-portlet-lang,
.mw-portlet-wikibase-otherprojects {
2021-09-02 12:16:31 +10:00
opacity: 0;
transition: opacity 0.2s;
2021-09-02 13:01:41 +10:00
}
/* page max width */
2021-09-02 13:01:41 +10:00
@media (min-width: 145em) {
.mw-body {
border-right-width: 1px;
}
}
.mw-body {
max-width: 130em;
}
#mw-head {
max-width: 144.1em;
left: 0em;
}
.mwe-math-mathml-a11y {
clip: rect(1px, 1px, 1px, 1px);
overflow: hidden;
position: absolute;
width: 1px;
height: 1px;
opacity: 0;
}
/* math */
.mwe-math-mathml-a11y {
clip: inherit;
overflow: inherit;
position: inherit;
width: inherit;
height: inherit;
opacity: inherit;
}
.mwe-math-fallback-image-inline {
display: none;
}
/* bullet */
ul {
list-style-image: inherit;
2021-06-10 19:45:45 +10:00
}