Difference between revisions of "MediaWiki:VectorDark.css"
Jump to navigation
Jump to search
(adding Dark skin) |
(No difference)
|
Revision as of 00:22, 15 February 2020
/** MediaWiki:Gadget-Blackskin.css *******
* Original by [[:it:Utente:Kormoran]]
* Maintained by [[User:Dispenser]] for [[WP:WikiProject Accessibility]]
*/
:root
{
--main-bg-color:#111;
--content-bg-color:#000;
--main-color:#aaa;
--main-link-color:#77f;
}
@media screen {
/* Selection highlight */
::-moz-selection { color: #90FF90; background: #008000; }
::selection { color: #90FF90; background: #008000; }
/* Color buttons, drop downs, and input boxes */
a,
a:visited{
color:var(--main-link-color);
}
fieldset {
border-color: #004000;
}
legend {
border: 1px solid #004000; /* @theme */
}
input[type="number"],
input[type="text"],
input:not([type]),
select {
background-color: #004000;
border-color: #999;
color: #999;
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
cursor: pointer;
}
/* Color background */
body, div#globalWrapper {
background-color:#111;
background-image: none /* Monobook background */;
color: #999;
}
#mw-page-base{
background:none /* Vector background */;
}
div#content, .mw-body {
background-color:var(--content-bg-color);
color : var(--main-color);
border-color : #999;
}
.ns-0 div#content {
background : #000000;
}
/* Color the links */
a { color: #7070FF; }
a:visited { color: #9090D0; }
a:active, a.new { color: #FF4040; }
a.interwiki, a.external { color: #5386DB; }
a.interwiki:visited, a.external:visited { color: #5386DB; }
a.stub { color: #974253; }
/* De-Color user signature links (black-on-black) */
a:not([class]) font, a:not([class]) span, a:not([class]) bold {
background-color:inherit!important;
color:inherit!important;
}
/* Color user links */
/*
a[title^="User"],
a[title^="Special:Contributions/"] {
background-color:#010!important;
color: #7070FF!important;
}/*-*/
/* Headings */
h1, #bodyContent h1,
h2, #bodyContent h2,
h3, #bodyContent h3,
h4, #bodyContent h4,
h5, #bodyContent h5,
h6, #bodyContent h6 {
color: var(--main-color);
border-color:#999;
}
/* Color Table of Contents */
#toc, .toc, .mw-warning, .toccolours, body.skin-monobook .toccolours {
background-color: #101010;
border-color: #2a2a2a;
}
/* Images */
.mw-body img {
border: 2px solid #707070;
background-color:var(--main-bg-color);
}
/* Fix background of Tex images, which are black on transparent. */
.mw-body img.mwe-math-fallback-image-inline {
background-color: #fff;
filter:invert(100%) hue-rotate(180deg);
border:none;
}
hr {
color: #303030;
background-color: #004000;
}
/* Color explanations with tool tips */
abbr, acronym, .explain {
border-color: #303030;
color: White;
background-color: #1a1a1a;
}
/* Color code snippets */
code {
background-color: #00AA00;
color: Black;
border-color: #00AA00;
font-weight:bolder;/*XXX: Increase contrast*/
}
/* Color code blocks */
pre, .mw-code {
border-style:dashed;
border-color:#00AA00;
color: White;
background-color: #002000;
}
/* Color highlighted ref [[MediaWiki:Common.css]] */
body.action-info .mw-body-content :target,
body.mediawiki .citation:target {
background-color: rgba(0, 127, 255, 0.133);
}
/* Table background colors */
table {
background-color: #000000!important;
color: #999!important;
}
table th {
background-color: #1D1C1C!important;
color: #999!important;
}
table td {
background-color: #000000!important;
color: #999!important;
}
/* Tabular tables */
table.wikitable {
border-color: #303030 !important;
color: #999!important;
}
table.wikitable th, table.wikitable td {
border-color: #303030 !important;
}
table.wikitable th {
background-color: #1D1C1C!important;
}
table.wikitable td {
background-color: #000000!important;
}
/* JQuery sort arrows */
table.jquery-tablesorter th.headerSort {
background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAJCAYAAADdA2d2AAAAPUlEQVR4AWMgCtxlkAPiA0CsREgpCQaC4X8gfggymJoG/sc0mHIDMQ2mE6DcpfQNU/rHPsJgBWg6VSBGOQB5WklTTHq/UAAAAABJRU5ErkJggg==);
}
table.jquery-tablesorter th.headerSortUp {
background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAECAYAAABhnXSoAAAAKklEQVR4AWMgCtxlkAPiA0CsREgpCQaC4X8gfggymJoG/kczmHIDSTEYACAWJKqhXDSPAAAAAElFTkSuQmCC);
}
table.jquery-tablesorter th.headerSortDown {
background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAECAYAAABhnXSoAAAALUlEQVR4AWPACe4yyAExCP7Hgh8CsRID6QBhMD4DKTQY00BKDVYA4gNgmggAAHjLJKrpYfWaAAAAAElFTkSuQmCC);
}
/* thumbnails */
.ns-0 * #content div.thumb {
border-color: #000000;
}
/* thumbnails */
div.thumb {
margin-bottom: .5em;
border-style: solid;
border-color: #002000;
}
div.thumb div {
border-width: 1px;
border-style: solid;
border-color: #333;
background-color: #222;
}
div.thumb div a img {
/* Transparent PNGs assume light color backgrounds :-( */
background-color:#103010;
/* TODO: Use film grain texture, so lines are more noticeable */
border: 1px solid #333;
}
div.thumb div a img:hover {
/* Increase brightness on hover */
background-color:#EEE;
}
div.thumb div div.thumbcaption {
border: none;
padding: .3em 0 .1em 0;
}
/* galleries */
table.gallery {
border: 1px solid #002000;
background-color: #004000;
}
table.gallery td {
background-color: #004000;
border: solid 2px white;
}
li.gallerybox div.thumb, body.mediawiki div#content .gallerybox div.thumb {
background-color:transparent;
border: 1px solid #002000;
}
/* Color category box */
.catlinks {
border-color:#800080;
background-color:#111;;
color: #00FFFF;
}
/* #################################
* Interface Pages
* #################################
*/
.mw-ui-input:focus {
border-color: lime;
box-shadow: inset 0 0 0 1px lime;
}
.postedit, /* untested */
.mw-notification { /* top right bubble */
background-color:#333;
background-color:rgba(0, 64, 0, 0.93);
border-color:#999;
}
/*
** Diff rendering
*/
table.diff, td.diff-otitle, td.diff-ntitle {
background-color:#111;
}
td.diff-addedline {
color: #00a000;
background-color: #004000;
}
td.diff-deletedline {
color: #00a000;
background-color: #004000;
}
td.diff-context {
background-color:#111;
color: #008000;
}
.diffchange {
color: #00ff00;
}
td.diff-deletedline .diffchange {
background-color:#403618;
}
td.diff-addedline .diffchange {
background-color:#273948;
}
/* Color the edit interface */
.wikiEditor-ui {
background-color: #002000;
}
.wikiEditor-ui-toolbar,
.wikiEditor-ui-toolbar .sections .section {
background-image: none;
background-color: inherit;
}
.tool-button.tool-active, .tool.tool-active.oo-ui-buttonElement-frameless.oo-ui-iconElement {
background-color: inherit;
}
.wikiEditor-ui-toolbar .tabs span.tab a.current, .wikiEditor-ui-toolbar .tabs span.tab a.current:visited {
color: inherit;
}
textarea {
background-color: #001000;
color: #90FF90;
}
.editOptions {
background-color: #002000;
border-color: #999;
color: #ccc;
}
div#editpage-specialchars a {
background-color:#111;
border-color: #999;
}
.mw-editform-legacy input#wpSummary {
background-color:#111;
color: #90ff90;
}
/* Visual Editor */
.oo-ui-toolbar-bar,
.oo-ui-popupWidget-popup,
.oo-ui-popupToolGroup-active.oo-ui-widget-enabled,
.oo-ui-toolGroup.oo-ui-widget-enabled .oo-ui-tool-link .oo-ui-tool-title,
.oo-ui-popupToolGroup .oo-ui-toolGroup-tools {
background-color:#002000;
background-image:none;
color:white;
}
.oo-ui-iconElement-icon {
filter: invert(100%); /* Can't style data URI SVGs */
}
.oo-ui-windowManager-modal > .oo-ui-dialog {
background-color: rgba(0, 0, 0, 0.5);
}
.oo-ui-windowManager-modal > .oo-ui-dialog > .oo-ui-window-frame {
background-color:black;
}
.oo-ui-textInputWidget input,
.oo-ui-textInputWidget textarea {
background-color: #001000;
color: #90FF90;
}
.oo-ui-tagItemWidget {
background-color: #333;
background-image: linear-gradient(to bottom,#222 0,#000 100%);
color: #eee;
}
.oo-ui-buttonElement-framed > .oo-ui-buttonElement-button {
background-color: #111;
background-image: linear-gradient(to bottom, #222 0, #000 100%);
}
.oo-ui-buttonElement-framed > .oo-ui-buttonElement-button:focus {
/*border-color: #ace;*/
/*box-shadow: 0 0 2px 2px #ace;*/
}
.oo-ui-buttonElement-framed.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
background-color: #070;
background-image: linear-gradient(to bottom, #090 0, #030 100%);
}
.oo-ui-buttonElement > .oo-ui-buttonElement-button {
color:#ccc;
}
.oo-ui-pendingElement-pending {
/* http://en.wikipedia.org/w/resources/lib/oojs-ui/themes/apex/images/textures/pending.gif */
filter:invert(1);
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
color:#ccc;
}
/* Color history interface */
#pagehistory li {
border: 1px solid #002000;
}
#pagehistory li.selected {
background-color: #004000;
border: 1px solid #002000;
}
span.autocomment { color: #008000; }
/* Special:Search */
.mw-search-profile-tabs,
#mw-searchoptions {
background-color: #002000;
border-color: #999;
}
/* Color the file description */
#filetoc {
background-color: #111;
border-color: #999;
}
.filehistory a img, #file img:hover {
/* Green checker board */
background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEUAAAAAQABVHvbKAAAAEUlEQVQI12P4z8CAFWEX/Q8Afr8P8erzE9cAAAAASUVORK5CYII=");
}
/* #################################
* Interface
* #################################
*/
/* Colors the tabs across the top of the page */
#p-cactions {
background-image: linear-gradient(#111,#000);
}
#p-cactions li {
background-color:#111;
border-color: #999;
}
#p-cactions li.selected,
#p-cactions li.new {
background-color:#111;
}
#p-cactions li a {
background-color: #000000 !important;
color : var(--main-link-color);
}
#p-cactions li.selected a {
background-color:#111 !important/*HACK?*/;
}
/* Vector Tabs */
div.vectorTabs span { border-right:1px solid black; }
div.vectorTabs ul li {
/* https://en.wikipedia.org/w/skins/Vector/images/tab-normal-fade.png */
background-image: linear-gradient(#111,#333);
border-bottom:1px solid #999;
}
div.vectorTabs li.selected {
/* https://en.wikipedia.org/w/skins/Vector/images/tab-current-fade.png */
border-bottom-color: #000;
background-image: linear-gradient(#111,#000);
}
div.vectorTabs span a {
color:var(--main-link-color);
}
div.vectorTabs li a,
div.vectorTabs li a:visited,
div.vectorTabs li.selected a,
div.vectorTabs li.selected a:visited {
color:var(--main-link-color);
}
/* Vector watch icon -- XXX contrast issues */
#ca-watch.icon a {
filter:invert(1) hue-rotate(80deg);
}
#ca-unwatch.icon a {
filter:hue-rotate(280deg);
}
/* Vector drop down menus */
div.vectorMenu h3 span {
color:#cccccc;
}
div.vectorMenu div.menu {
background-color:#111;
border-color: #a2a9b1;
}
div.vectorMenu li a {
color:var(--main-link-color);
}
/* User links (preferences, contribs) */
#p-personal ul {
color: var(--main-color);
background: none;
}
#p-personal li a {
color: var(--main-color);
}
#p-personal li a:hover {
color: var(--main-color);
}
/* Bad specificity in originals */
#pt-mytalk a.mw-echo-alert,
#pt-mytalk a.mw-echo-alert:hover {
color: #222;
}
/* Use vector person icon by your username */
body.skin-monobook li#pt-userpage { background-image: url(/w/skins/Vector/images/user-icon.png); }
/* Use black logo */
#p-logo {
background-color: transparent;
}
.mw-wiki-logo:not([href="/wiki/MediaWiki"]):not([href^="/wiki/Wikidata:"]):not([href^="/wiki/Wiktionary:"]) {
/* [[File:WikiGrey.png]] CC-BY-SA */
background-image: url(//upload.wikimedia.org/wikipedia/commons/8/87/WikiGrey.png);
}
/* Color side portlets */
.portlet {
background: #004000;
color: #999;
}
.portlet h3,
div#mw-panel div.portal h3 {
color:#999;
}
.pBody {
background: #000000;
color: #999;
}
div#mw-panel div.portal div.body ul li a {
color:var(--main-link-color);
}
div#mw-panel div.portal div.body ul li a:visited {
color:var(--main-link-color);
}
/* Color main search box - Monobook */
input#searchInput {
/*border: 1px inset; theme/vector conflict */
color: #999;
background : #000000;
}
input.searchButton {
background : #000000;
border: 2px solid;
border-color: #00FFFF #008080 #008080 #00FFFF;
color : #999;
}
/* Color main search box - Vector */
div#simpleSearch,
div#simpleSearch input {
background-color:transparent;
background-image:none; /* https://en.wikipedia.org/w/skins/Vector/images/search-fade.png */
color: #999;
}
div#simpleSearch #searchInput::placeholder {
color:#444;
}
/* Search results suggestion box */
.suggestions-results,
.suggestions-special {
background-color:#111;
border: solid 1px #999;
}
.suggestions-special .special-label {
color:#008800;
}
.suggestions-result,
.suggestions-special .special-query {
color:#999;
}
/* Color footer */
div#footer {
background-color: #111;
color: #999;
border-color: #FFFF00;
padding-bottom: 1.2em;
}
div#footer ul li {/* Vector */
color:inherit;
}
/************************
* COLOR IN TEMPLATES *
************************/
.infobox {
background: #002000;
color:#999;
border-color:#00FFFF;
}
/* Template:Documentation */
.template-documentation {
background-color: #001000!important;
}
/* template RFA, AN/I closed */
div.boilerplate,
.portal > ul {
background-color: #000000!important;
}
/* */
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
#mw-protect-cascadeon {
background-color: #700;
color:#fff;
}
.mw-trackedTemplate {
background: #002000 linear-gradient(#333, #000) !important;
border-color: #404040!important;
}
.quotebox, /* Template:Quote */
.shortcutbox {
background-color: #101010!important;
border-color: #505050!important;
}
body.mediawiki .navbox,
body.mediawiki .navbox-subgroup {
}
/* Template:Tmbox */
table.tmbox {
border: 1px solid #c0c090!important; /* Default "notice" gray-brown */
}
table.tmbox, table.tmbox th, table.tmbox td {
background: #430!important;
}
/* Template:Key press */
kbd.keyboard-key {
background: #44372c!important;/* XXX override template gradients */
border-color: #65594d #110e0D #110e0d #65594d!important;
color: #ffffff!important;
}
/* */
table.wikitable td.table-yes {
background-color: #999!important;
}
table.wikitable td.table-maybe {
background-color: #6c7203!important;
}
table.wikitable td.table-no {
background-color: #ad5053!important;
}
table.wikitable td.table-partial {
background-color: #7e6b45!important;
}
table.wikitable td.table-na, td.table-unknown {
background-color: #6d6d6d!important;
}
/************************
* WIKI-SPECIFIC *
************************/
/* History on Commons */
#histlegend { background-color:inherit!important; }
/* De-color [[mw:CentralNotice]] */
#centralNotice, #cnotice-main { background-color:#000!important; color:inherit!important; }
/* de's Flaggedrev */
.flaggedrevs-color-1 {
background-color: #102;
}
/* enwiki Monobook.css */
body.skin-monobook div#content,
body.skin-monobook div#p-cactions li a:hover,
body.skin-monobook div#p-cactions li.selected a,
body.skin-monobook div#content div.thumb { /* "Margin" for thumbs, padding for galleries */
background-color: #050505; /* Light blue */
}
body.skin-monobook div#p-cactions li a {
background-color: #050505; /* Light blue-gray inactive tabs */
}
body.skin-monobook.ns-0 div#content,
body.skin-monobook.ns-0 div#p-cactions li a:hover,
body.skin-monobook.ns-0 div#p-cactions li.selected a,
body.skin-monobook.ns-0 div#content div.thumb {
background-color:#111; /* Set back for articles */
}
body.skin-monobook.ns-0 div#p-cactions li a {
background-color: #101010; /* Light gray inactive tabs in articles */
}
/************************
* GADGETS *
************************/
/* [[WP:Navigation popups]] */
.navpopup {
background:#000;
border-color:inherit;
color:#0d0;
box-shadow: 0 3px 8px rgba( 50,255,50,0.35 );
}
.popup_mainlink a {
color:#0d0;
}
.popup_menu,
.popup_drop:hover .popup_menu,
.popup_drop .popup_menu:hover {
background-color:#111;
}
.popup_menu a:hover {
background-color: #447;
color: var(--main-link-color);
}
del.popupDiff {
background-color:#273948;
}
ins.popupDiff {
background-color:#403618;
}
/* [[mw:Reference Tooltips]] */
.referencetooltip li {
/*border-color: #008000;*/
background-color:#001000;
/*box-shadow: 2px 4px 2px rgba(0,224,0,0.3); /* tint #00F000 */
}
/* [[mw:HoverCards]] */
.mwe-popups {
background-color: #000;
box-shadow: /* tint #00F000 */
0 30px 90px -20px rgba(0,224,0,0.3),
0px 0px 1px rgba(0,224,0,0.5);
}
/* callout arrow */
.mwe-popups.mwe-popups-image-tri:after,
.mwe-popups.mwe-popups-no-image-tri:after,
.mwe-popups.mwe-popups-image-tri.flipped_x:after,
.mwe-popups.mwe-popups-no-image-tri.flipped_x:after {
border-bottom-color:#111;
}
.mwe-popups.flipped_y:after,
.mwe-popups.flipped_x_y:after {
border-top-color:#111;
}
/* callout arrow shadow */
.mwe-popups.mwe-popups-image-tri:before,
.mwe-popups.mwe-popups-no-image-tri:before,
.mwe-popups.mwe-popups-image-tri.flipped_x:before,
.mwe-popups.mwe-popups-no-image-tri.flipped_x:before {
border-bottom-color:#004000;
}
.mwe-popups.flipped_y:before,
.mwe-popups.flipped_x_y:before {
border-top-color:#004000;
}
.mwe-popups .mwe-popups-container,
.mwe-popups .mwe-popups-extract {
color:#0d0;
}
.mwe-popups .mwe-popups-extract[dir='ltr']:after {
background-image: linear-gradient(to right,rgba(0,0,0,0),#000 50%);
}
/* [[WP:WikEd]] */
.wikEdDiffFragment,
.wikEdPreviewArticle,
.wikEdDiffNoChange,
.wikEdConsoleWrapper {
background-color:inherit;
}
.wikEdButtonsPreview,
.wikEdButtonBarGrip,
.wikEdButtonBarButtonsWrapperVisible,
.wikEdButtonBarButtonsWrapperHidden {
background-color:#666;
}
img.wikEdButton {
background-color:#666;
}
iframe.wikEdFrame {
background-color: white;
color: black;
filter: invert(1) hue-rotate(180deg);
}
/* [[mw:Echo]] */
.mw-echo-ui-notificationItemWidget-content-message-header,
.mw-echo-ui-notificationItemWidget-unread,
.mw-echo-ui-notificationItemWidget-unread:hover,
.mw-echo-ui-notificationItemWidget,
.mw-echo-ui-notificationItemWidget:hover,
.mw-echo-ui-crossWikiNotificationItemWidget-group,
.mw-echo-ui-bundleNotificationItemWidget-group {
color:#0d0;
background-color:#010;
}
#pt-notifications-alert .mw-echo-notifications-badge:before {
filter:invert(1);
}
#pt-notifications-notice .mw-echo-notifications-badge:before {
filter:invert(1);
}
/* [[mw:MediaViewer]] */
.mw-mmv-post-image {
background-color: navy;
color: yellow;
}
.mw-mmv-image-metadata {
background-color: #003;
}
.mw-mmv-image-links li, .mw-mmv-credit {
color: lime;
}
/* [[mw:Cite]] */
ol.references li:target, sup.reference:target {
background-color: #033;
}
/* [[mw:User:Remember the dot/Syntax highlighter]] */
#wpTextbox0 {
filter:saturate(8) invert(1) hue-rotate(180deg);
}
#wpTextbox0+#wpTextbox1 {
filter:invert(1);
}
/* Wikidata / [[mw:Wikibase]] */
.wikibase-statementgrouplistview .wikibase-statementlistview {
background-color:#333;
}
.wikibase-statementgroupview .wikibase-statementgroupview-property {
background-color:#333;
}
.wikibase-statementlistview > .wikibase-toolbar-wrapper {
background-color: #333;
}
.wikibase-statementgrouplistview .wikibase-statementgroupview-property.wb-edit, .wikibase-statementgroupview-property.wb-edit + .wikibase-statementlistview > .wikibase-toolbar-wrapper {
background-color: #444;
}
.wikibase-referenceview {
background-color:#222;
}
.wikibase-referenceview .wikibase-referenceview-heading {
background-color:#222;
}
.wikibase-statementview a,
.wikibase-statementview a:visited{
color:var(--main-link-color);
}
/* Wikidata site language */
.wikibase-sitelinkgroupview .wikibase-sitelinkgroupview-heading-container {
background-color:#444;
}
.wikibase-sitelinklistview .wikibase-sitelinkview .wikibase-sitelinkview-siteid-container {
background-color:#444;
}
.wikibase-entitytermsview .wikibase-toolbar-container {
background-color:var(--content-bg-color);
}
.ui-toggler.ui-state-default
{
color:var(--main-link-color);
}
/* End @media screen */
}
.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend {
color:#000;
background-color:#555;
}
.mw-changeslist-history a,
.mw-changeslist-history a:visited
{
color:var(--main-link-color);
}