mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-24 22:35:45 +00:00
Remove dark mode less
This commit is contained in:
parent
2fb4705f29
commit
d4748e8d47
|
@ -406,3 +406,73 @@ figcaption,
|
|||
transform: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media ( prefers-color-scheme: dark ) {
|
||||
html,
|
||||
body {
|
||||
background: @dark-bg-0;
|
||||
color: @dark-text-90;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background-color: @dark-bg-60;
|
||||
}
|
||||
|
||||
* {
|
||||
scrollbar-color: @dark-bg-60 transparent;
|
||||
}
|
||||
|
||||
pre,
|
||||
code,
|
||||
.mw-code {
|
||||
color: @dark-text-90;
|
||||
background-color: @dark-bg-10;
|
||||
border: 1px solid @dark-bg-20;
|
||||
}
|
||||
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
border: 1px solid @dark-bg-50;
|
||||
background: @dark-bg-40;
|
||||
color: @dark-text-80;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
color: @dark-text-90;
|
||||
border-color: @dark-bg-20;
|
||||
}
|
||||
|
||||
legend {
|
||||
color: @dark-text-100;
|
||||
}
|
||||
|
||||
a,
|
||||
a.external {
|
||||
color: @dark-color-link;
|
||||
}
|
||||
|
||||
a.new {
|
||||
color: @dark-color-link-new !important;
|
||||
}
|
||||
|
||||
.mw-body .firstHeading,
|
||||
.mw-body-content h1,
|
||||
.mw-body-content h2,
|
||||
.mw-body-content h3,
|
||||
.mw-body-content h4,
|
||||
.mw-body-content h5,
|
||||
.mw-body-content h6 {
|
||||
color: @dark-text-100;
|
||||
}
|
||||
|
||||
.mw-body-content #contentSub,
|
||||
.mw-body-content #contentSub2,
|
||||
.mw-body #siteSub {
|
||||
color: @dark-text-80 !important;
|
||||
}
|
||||
|
||||
.mw-editsection > a:before {
|
||||
filter: invert( 1 );
|
||||
}
|
||||
}
|
|
@ -1,69 +0,0 @@
|
|||
@media ( prefers-color-scheme: dark ) {
|
||||
html,
|
||||
body {
|
||||
background: @dark-bg-0;
|
||||
color: @dark-text-90;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background-color: @dark-bg-60;
|
||||
}
|
||||
|
||||
* {
|
||||
scrollbar-color: @dark-bg-60 transparent;
|
||||
}
|
||||
|
||||
pre,
|
||||
code,
|
||||
.mw-code {
|
||||
color: @dark-text-90;
|
||||
background-color: @dark-bg-10;
|
||||
border: 1px solid @dark-bg-20;
|
||||
}
|
||||
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
border: 1px solid @dark-bg-50;
|
||||
background: @dark-bg-40;
|
||||
color: @dark-text-80;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
color: @dark-text-90;
|
||||
border-color: @dark-bg-20;
|
||||
}
|
||||
|
||||
legend {
|
||||
color: @dark-text-100;
|
||||
}
|
||||
|
||||
a,
|
||||
a.external {
|
||||
color: @dark-color-link;
|
||||
}
|
||||
|
||||
a.new {
|
||||
color: @dark-color-link-new !important;
|
||||
}
|
||||
|
||||
.mw-body .firstHeading,
|
||||
.mw-body-content h1,
|
||||
.mw-body-content h2,
|
||||
.mw-body-content h3,
|
||||
.mw-body-content h4,
|
||||
.mw-body-content h5,
|
||||
.mw-body-content h6 {
|
||||
color: @dark-text-100;
|
||||
}
|
||||
|
||||
.mw-body-content #contentSub,
|
||||
.mw-body-content #contentSub2,
|
||||
.mw-body #siteSub {
|
||||
color: @dark-text-80 !important;
|
||||
}
|
||||
|
||||
.mw-editsection > a:before {
|
||||
filter: invert( 1 );
|
||||
}
|
||||
}
|
|
@ -13,7 +13,6 @@
|
|||
@import 'common/toc.less';
|
||||
@import 'common/wikitable.less';
|
||||
@import 'common/hacks.less';
|
||||
@import 'common/darkmode.less';
|
||||
|
||||
// Components
|
||||
@import 'Header.less';
|
||||
|
|
Loading…
Reference in a new issue