MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(34 intermediate revisions by the same user not shown) | |||
Line 22: | Line 22: | ||
filter: brightness(150%); | filter: brightness(150%); | ||
} | } | ||
a {color: | a {color: #FF4DFF!important;text-decoration: none;cursor:pointer} | ||
a:active, a:hover:active {color: rgb(255, 179, 255)!important;} | a:active, a:hover:active {color: rgb(255, 179, 255)!important;} | ||
a:hover {color: rgb(255, 121, 255)!important;} | a:hover {color: rgb(255, 121, 255)!important;} | ||
.vector-menu-heading-label {color:#ffffff} | .vector-menu-heading-label {color:#ffffff} | ||
#p-logo {margin-bottom:0} | #p-logo {margin-bottom:0} | ||
#mw-page-base { | #mw-page-base { | ||
background-image:unset!important; | background-image:unset!important; | ||
Line 43: | Line 40: | ||
color:white!important; | color:white!important; | ||
} | } | ||
.ui-suggester-list { | |||
background-color: #131313!important; | |||
} | |||
.suggestions { display: none!important; } | |||
.wikibase-entitysearch-list .wb-entitysearch-suggestions, .ui-entityselector-list .ui-entityselector-more { | |||
background-color: #131313!important; | |||
} | |||
.special-query, .ui-entityselector-description { color:white!important; } | |||
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */ | ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */ | ||
color: lightgray!important; | color: lightgray!important; | ||
Line 71: | Line 76: | ||
background-color: #000000!important; | background-color: #000000!important; | ||
} | } | ||
.wikibase-entitytermsforlanguagelistview .wikibase-entitytermsforlanguagelistview-header .wikibase-entitytermsforlanguagelistview-header-row .wikibase-entitytermsforlanguagelistview-cell { | .wikibase-entitytermsforlanguagelistview .wikibase-entitytermsforlanguagelistview-header .wikibase-entitytermsforlanguagelistview-header-row .wikibase-entitytermsforlanguagelistview-cell, .wikibase-entitytermsforlanguagelistview-header-row th { | ||
background-color: #00ffff!important; | background-color: #00ffff!important; | ||
color: black!important; | color: black!important; | ||
Line 87: | Line 92: | ||
background-color: #000000!important; | background-color: #000000!important; | ||
} | } | ||
.oo-ui-popupWidget-head, .oo-ui-popupWidget-footer, .oo-ui-popupWidget-footer .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button { background-color: #131313!important; } | |||
.oo-ui-popupWidget-body, .mw-echo-ui-placeholderItemWidget { background-color: #000000!important; } | |||
.mw-rcfilters-ui-liveUpdateButtonWidget .oo-ui-buttonElement-button, | |||
.mw-rcfilters-ui-savedLinksListWidget-button .oo-ui-buttonElement-button, | |||
.mw-rcfilters-ui-changesLimitAndDateButtonWidget .oo-ui-buttonElement-button{ background-color: #131313!important; } | |||
.oo-ui-buttonElement-button .oo-ui-icon-play { filter:invert(1)!important } | |||
.oo-ui-buttonElement-button .oo-ui-iconElement-icon, .mw-ui-button { filter:invert(1)!important } | |||
.vector-menu-portal { | |||
margin: 0; | |||
} | |||
@media screen and (min-width: 982px) { | |||
#mw-panel { | |||
padding-left: 0; | |||
} | |||
} | |||
.vector-menu-portal .vector-menu-content li { | |||
font-size: 0.85em; | |||
} | |||
.mw-echo-notifications-badge, .vector-menu-dropdown .vector-menu-heading:after, .wb-help-field-hint, a .wb-icon, .oo-ui-icon-menu, .oo-ui-indicatorElement-indicator, .searchButton, .wikiEditor-ui-toolbar .tabs span.tab a:before { | |||
filter: invert(1); | |||
} | |||
#n-R74n a { | |||
color: #00ffff!important; | |||
} | |||
.wb-propertypage .wikibase-propertyview-datatype { | |||
background-color:black!important; | |||
} | |||
.ui-entityselector-notfound a, .ui-entityselector-input-unrecognized { | |||
color: black!important; | |||
} | |||
.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { | |||
background-color: black; | |||
} | |||
.oo-ui-textInputWidget.oo-ui-iconElement .oo-ui-inputWidget-input { | |||
padding-left: 2.42857143em!important; | |||
} | |||
.mw-rcfilters-ui-filterTagMultiselectWidget, .oo-ui-tagMultiselectWidget-handle, .mw-confirmaccount-bar { | |||
background-color: black!important; | |||
color: white!important; | |||
} | |||
.mw-rcfilters-ui-filterTagItemWidget { | |||
color: white!important; | |||
background-color: rgb(107,107,107)!important; | |||
} | |||
.oo-ui-tagMultiselectWidget.oo-ui-tagMultiselectWidget-outlined .oo-ui-inputWidget-input { | |||
border-top-left-radius: 0!important; | |||
border-top-right-radius: 0!important; | |||
border-bottom-right-radius: 0!important; | |||
} | |||
.mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { | |||
color: white; | |||
} | |||
#p-lang {display:none} | |||
.wikibase-referenceview {background:unset!important;} | |||
.wikibase-referenceview.wb-edit > .wikibase-referenceview-heading {background-color:#1e1e1e} | |||
.vector-menu-portal .vector-menu-heading { | |||
background-image: linear-gradient(to right,rgba(255,255,0,0) 0,#ffff00 33%,#ffff00 66%,rgba(255,255,0,0) 100%); | |||
} | |||
.vector-menu-heading-label { | |||
color:#ffff00; | |||
} | |||
.wikiEditor-ui-toolbar, .editOptions { | |||
background-color: #212121; | |||
color: white; | |||
} | |||
.oo-ui-pendingElement-pending { | |||
background-image: linear-gradient(135deg,#888 25%,transparent 25%,transparent 50%,#888 50%,#888 75%,transparent 75%,transparent) | |||
} | |||
.wb-lexeme .wikibase-lexeme-sense-gloss-language-input_invalid-language, .wb-lexeme .wikibase-lexeme-sense-gloss_invalid-language-warning { | |||
background-color: #6d4240 | |||
} | |||
.wb-lexeme .wikibase-lexeme-sense-glosses-table td { | |||
color: white; | |||
} | |||
.wb-lexeme .wikibase-lexeme-sense-glosses-table { | |||
border-left: 5px solid #1e1e1e; | |||
} | |||
.wb-lexeme .wikibase-lexeme-sense-glosses-control:enabled { | |||
color: #FF4DFF; | |||
} | |||
.wb-lexeme .lemma-widget_add, .wb-lexeme .representation-widget_add { | |||
background: #1e1e1e; | |||
} | |||
.wb-lexeme .lemma-widget_edit-area, .wb-lexeme .representation-widget_representation-edit-box { | |||
border: 3px solid #1e1e1e; | |||
} | |||
#pagehistory li.selected { | |||
background-color: #1e1e1e; | |||
color: white; | |||
} | |||
.mw-collapsibleFieldsetLayout.mw-collapsible .mw-collapsible-toggle .oo-ui-iconElement-icon { | |||
filter: invert(1); | |||
} | |||
.mw-spinner-container > div:after { | |||
background: #fff; | |||
} | |||
.mw-advancedSearch-fieldContainer, .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button, .oo-ui-tagItemWidget.oo-ui-widget-enabled:not(.oo-ui-tagItemWidget-fixed), .oo-ui-dropdownWidget.oo-ui-widget-enabled.oo-ui-dropdownWidget-open .oo-ui-dropdownWidget-handle, .oo-ui-menuSelectWidget, .mw-advancedSearch-namespace-selection, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagItemWidget.oo-ui-widget-enabled { | |||
background-color: black!important; | |||
color: white!important; | |||
background: unset!important; | |||
} | |||
.oo-ui-menuSelectWidget.oo-ui-clippableElement-clippable { | |||
background-color:black!important; | |||
} | |||
.oo-ui-optionWidget.oo-ui-labelElement > .oo-ui-labelElement-label { | |||
color: white; | |||
} | |||
.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected { | |||
background-color:#393a3b!important; | |||
} | |||
/* {{pp|small=y}} */ | |||
/* | |||
* This TemplateStyles sheet deliberately does NOT include the full set of | |||
* infobox styles. We are still working to migrate all of the manual | |||
* infoboxes. See [[MediaWiki talk:Common.css/to do#Infobox]] | |||
* DO NOT ADD THEM HERE | |||
*/ | |||
/* | |||
* not strictly certain these styles are necessary since the modules now | |||
* exclusively output infobox-subbox or infobox, not both | |||
* just replicating the module faithfully | |||
*/ | |||
.infobox-subbox { | |||
padding: 0; | |||
border: none; | |||
margin: -3px; | |||
width: auto; | |||
min-width: 100%; | |||
font-size: 100%; | |||
clear: none; | |||
float: none; | |||
background-color: transparent; | |||
} | |||
.infobox-3cols-child { | |||
margin: auto; | |||
} | |||
.infobox .navbar { | |||
font-size: 100%; | |||
} | |||
/* T281642 */ | |||
body.skin-minerva .infobox-header, | |||
body.skin-minerva .infobox-subheader, | |||
body.skin-minerva .infobox-above, | |||
body.skin-minerva .infobox-title, | |||
body.skin-minerva .infobox-image, | |||
body.skin-minerva .infobox-full-data, | |||
body.skin-minerva .infobox-below { | |||
text-align: center; | |||
} | |||
/* Infobox-related css from enwiki's Common.css - https://en.wikipedia.org/w/index.php?title=MediaWiki:Common.css&oldid=1156165951 */ | |||
/* Infobox template style */ | |||
.infobox { | |||
border: 1px solid #00ffff; | |||
border-spacing: 3px; | |||
background-color: transparent; | |||
color: white; | |||
/* @noflip */ | |||
margin: 0.5em 0 0.5em 1em; | |||
padding: 0.2em; | |||
/* @noflip */ | |||
float: right; | |||
/* @noflip */ | |||
clear: right; | |||
font-size: 88%; | |||
line-height: 1.5em; | |||
width: 22em; | |||
} | |||
@media only screen and (max-width: 600px) { | |||
.infobox { | |||
width: 100%; | |||
} | |||
} | |||
.infobox-header, | |||
.infobox-label, | |||
.infobox-above, | |||
.infobox-full-data, | |||
.infobox-data, | |||
.infobox-below, | |||
.infobox-subheader, | |||
.infobox-image, | |||
.infobox-navbar, | |||
/* Remove element selector when every .infobox thing is using the standard module/templates */ | |||
.infobox th, | |||
.infobox td { | |||
vertical-align: top; | |||
} | |||
.infobox-label, | |||
.infobox-data, | |||
/* Remove element selector when every .infobox thing is using the standard module/templates */ | |||
.infobox th, | |||
.infobox td { | |||
/* @noflip */ | |||
text-align: left; | |||
} | |||
/* Remove .infobox when element selectors above are removed */ | |||
.infobox .infobox-above, | |||
.infobox .infobox-title, | |||
/* Remove element selector when every .infobox thing is using the standard module/templates */ | |||
.infobox caption { | |||
font-size: 125%; | |||
font-weight: bold; | |||
text-align: center; | |||
} | |||
.infobox-title, | |||
/* Remove element selector when every .infobox thing is using the standard module/templates */ | |||
.infobox caption { | |||
padding: 0.2em; | |||
} | |||
/* Remove .infobox when element selectors above are removed */ | |||
.infobox .infobox-header, | |||
.infobox .infobox-subheader, | |||
.infobox .infobox-image, | |||
.infobox .infobox-full-data, | |||
.infobox .infobox-below { | |||
text-align: center; | |||
} | |||
/* Remove .infobox when element selectors above are removed */ | |||
.infobox .infobox-navbar { | |||
/* @noflip */ | |||
text-align: right; | |||
} | |||
/* End infobox-related imports from enwiki */ |
Latest revision as of 03:27, 22 April 2024
/* CSS placed here will be applied to all skins */
.mw-body, .parsoid-body {
background-color: #000000;
color: #ffffff;
}
h1, h2, h3, h4, h5, h6 {
color: #ffffff;
}
pre, code, .mw-code {
}
body, #mw-navigation, #mw-head {
background-color: #131313;
color: #ffffff;
color-scheme: dark;
}
.vector-menu-tabs-legacy li, .vector-menu-tabs-legacy li a {
background-color:rgb(107,107,107)!important;
color: white!important;
}
.vector-menu-tabs-legacy .selected {
filter: brightness(150%);
}
a {color: #FF4DFF!important;text-decoration: none;cursor:pointer}
a:active, a:hover:active {color: rgb(255, 179, 255)!important;}
a:hover {color: rgb(255, 121, 255)!important;}
.vector-menu-heading-label {color:#ffffff}
#p-logo {margin-bottom:0}
#mw-page-base {
background-image:unset!important;
background-color:unset!important;
}
textarea, input[type=text], input[type=number], input[type=date], input[type=datetime-local], input[type=month], input[type=week], input[type=email], input[type=password], input[type=search], input[type=tel], input[type=time], input[type=url], #toc, #catlinks {
background-color: rgb(107,107,107)!important;
color: rgb(255,255,255)!important;
border-radius: 15px!important;
border-style: none!important;
outline: 0!important;
padding: 10px!important;
color:white!important;
}
.ui-suggester-list {
background-color: #131313!important;
}
.suggestions { display: none!important; }
.wikibase-entitysearch-list .wb-entitysearch-suggestions, .ui-entityselector-list .ui-entityselector-more {
background-color: #131313!important;
}
.special-query, .ui-entityselector-description { color:white!important; }
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
color: lightgray!important;
opacity: 1!important; /* Firefox */
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
color: lightgray!important;
}
::-ms-input-placeholder { /* Microsoft Edge */
color: lightgray!important;
}
#toc, #catlinks {
background-color: #131313!important;
}
.tocnumber {
color: lime!important;
}
#footer-info-lastmod {
color: lightgray;
}
ul {
list-style-image: unset!important;
}
.mw-body {
border: none!important;
}
.wikibase-entitytermsforlanguagelistview {
background-color: #000000!important;
}
.wikibase-entitytermsforlanguagelistview .wikibase-entitytermsforlanguagelistview-header .wikibase-entitytermsforlanguagelistview-header-row .wikibase-entitytermsforlanguagelistview-cell, .wikibase-entitytermsforlanguagelistview-header-row th {
background-color: #00ffff!important;
color: black!important;
}
.wikibase-statementlistview, .wikibase-statementgrouplistview {
background-color: #131313!important;
}
.wikibase-statementgroupview-property {
background-color: #000000!important;
}
.wikibase-statementlistview > .wikibase-toolbar-wrapper {
background-color: #000000!important;
}
.wikibase-entitytermsview .wikibase-toolbar-container .wikibase-toolbar-container {
background-color: #000000!important;
}
.oo-ui-popupWidget-head, .oo-ui-popupWidget-footer, .oo-ui-popupWidget-footer .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button { background-color: #131313!important; }
.oo-ui-popupWidget-body, .mw-echo-ui-placeholderItemWidget { background-color: #000000!important; }
.mw-rcfilters-ui-liveUpdateButtonWidget .oo-ui-buttonElement-button,
.mw-rcfilters-ui-savedLinksListWidget-button .oo-ui-buttonElement-button,
.mw-rcfilters-ui-changesLimitAndDateButtonWidget .oo-ui-buttonElement-button{ background-color: #131313!important; }
.oo-ui-buttonElement-button .oo-ui-icon-play { filter:invert(1)!important }
.oo-ui-buttonElement-button .oo-ui-iconElement-icon, .mw-ui-button { filter:invert(1)!important }
.vector-menu-portal {
margin: 0;
}
@media screen and (min-width: 982px) {
#mw-panel {
padding-left: 0;
}
}
.vector-menu-portal .vector-menu-content li {
font-size: 0.85em;
}
.mw-echo-notifications-badge, .vector-menu-dropdown .vector-menu-heading:after, .wb-help-field-hint, a .wb-icon, .oo-ui-icon-menu, .oo-ui-indicatorElement-indicator, .searchButton, .wikiEditor-ui-toolbar .tabs span.tab a:before {
filter: invert(1);
}
#n-R74n a {
color: #00ffff!important;
}
.wb-propertypage .wikibase-propertyview-datatype {
background-color:black!important;
}
.ui-entityselector-notfound a, .ui-entityselector-input-unrecognized {
color: black!important;
}
.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend {
background-color: black;
}
.oo-ui-textInputWidget.oo-ui-iconElement .oo-ui-inputWidget-input {
padding-left: 2.42857143em!important;
}
.mw-rcfilters-ui-filterTagMultiselectWidget, .oo-ui-tagMultiselectWidget-handle, .mw-confirmaccount-bar {
background-color: black!important;
color: white!important;
}
.mw-rcfilters-ui-filterTagItemWidget {
color: white!important;
background-color: rgb(107,107,107)!important;
}
.oo-ui-tagMultiselectWidget.oo-ui-tagMultiselectWidget-outlined .oo-ui-inputWidget-input {
border-top-left-radius: 0!important;
border-top-right-radius: 0!important;
border-bottom-right-radius: 0!important;
}
.mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title {
color: white;
}
#p-lang {display:none}
.wikibase-referenceview {background:unset!important;}
.wikibase-referenceview.wb-edit > .wikibase-referenceview-heading {background-color:#1e1e1e}
.vector-menu-portal .vector-menu-heading {
background-image: linear-gradient(to right,rgba(255,255,0,0) 0,#ffff00 33%,#ffff00 66%,rgba(255,255,0,0) 100%);
}
.vector-menu-heading-label {
color:#ffff00;
}
.wikiEditor-ui-toolbar, .editOptions {
background-color: #212121;
color: white;
}
.oo-ui-pendingElement-pending {
background-image: linear-gradient(135deg,#888 25%,transparent 25%,transparent 50%,#888 50%,#888 75%,transparent 75%,transparent)
}
.wb-lexeme .wikibase-lexeme-sense-gloss-language-input_invalid-language, .wb-lexeme .wikibase-lexeme-sense-gloss_invalid-language-warning {
background-color: #6d4240
}
.wb-lexeme .wikibase-lexeme-sense-glosses-table td {
color: white;
}
.wb-lexeme .wikibase-lexeme-sense-glosses-table {
border-left: 5px solid #1e1e1e;
}
.wb-lexeme .wikibase-lexeme-sense-glosses-control:enabled {
color: #FF4DFF;
}
.wb-lexeme .lemma-widget_add, .wb-lexeme .representation-widget_add {
background: #1e1e1e;
}
.wb-lexeme .lemma-widget_edit-area, .wb-lexeme .representation-widget_representation-edit-box {
border: 3px solid #1e1e1e;
}
#pagehistory li.selected {
background-color: #1e1e1e;
color: white;
}
.mw-collapsibleFieldsetLayout.mw-collapsible .mw-collapsible-toggle .oo-ui-iconElement-icon {
filter: invert(1);
}
.mw-spinner-container > div:after {
background: #fff;
}
.mw-advancedSearch-fieldContainer, .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button, .oo-ui-tagItemWidget.oo-ui-widget-enabled:not(.oo-ui-tagItemWidget-fixed), .oo-ui-dropdownWidget.oo-ui-widget-enabled.oo-ui-dropdownWidget-open .oo-ui-dropdownWidget-handle, .oo-ui-menuSelectWidget, .mw-advancedSearch-namespace-selection, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagItemWidget.oo-ui-widget-enabled {
background-color: black!important;
color: white!important;
background: unset!important;
}
.oo-ui-menuSelectWidget.oo-ui-clippableElement-clippable {
background-color:black!important;
}
.oo-ui-optionWidget.oo-ui-labelElement > .oo-ui-labelElement-label {
color: white;
}
.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected {
background-color:#393a3b!important;
}
/* {{pp|small=y}} */
/*
* This TemplateStyles sheet deliberately does NOT include the full set of
* infobox styles. We are still working to migrate all of the manual
* infoboxes. See [[MediaWiki talk:Common.css/to do#Infobox]]
* DO NOT ADD THEM HERE
*/
/*
* not strictly certain these styles are necessary since the modules now
* exclusively output infobox-subbox or infobox, not both
* just replicating the module faithfully
*/
.infobox-subbox {
padding: 0;
border: none;
margin: -3px;
width: auto;
min-width: 100%;
font-size: 100%;
clear: none;
float: none;
background-color: transparent;
}
.infobox-3cols-child {
margin: auto;
}
.infobox .navbar {
font-size: 100%;
}
/* T281642 */
body.skin-minerva .infobox-header,
body.skin-minerva .infobox-subheader,
body.skin-minerva .infobox-above,
body.skin-minerva .infobox-title,
body.skin-minerva .infobox-image,
body.skin-minerva .infobox-full-data,
body.skin-minerva .infobox-below {
text-align: center;
}
/* Infobox-related css from enwiki's Common.css - https://en.wikipedia.org/w/index.php?title=MediaWiki:Common.css&oldid=1156165951 */
/* Infobox template style */
.infobox {
border: 1px solid #00ffff;
border-spacing: 3px;
background-color: transparent;
color: white;
/* @noflip */
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
font-size: 88%;
line-height: 1.5em;
width: 22em;
}
@media only screen and (max-width: 600px) {
.infobox {
width: 100%;
}
}
.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates */
.infobox th,
.infobox td {
vertical-align: top;
}
.infobox-label,
.infobox-data,
/* Remove element selector when every .infobox thing is using the standard module/templates */
.infobox th,
.infobox td {
/* @noflip */
text-align: left;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-above,
.infobox .infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates */
.infobox caption {
font-size: 125%;
font-weight: bold;
text-align: center;
}
.infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates */
.infobox caption {
padding: 0.2em;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-navbar {
/* @noflip */
text-align: right;
}
/* End infobox-related imports from enwiki */