mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-25 06:47:16 +00:00
Move pagelinks dark mode styles to pagelinks
This commit is contained in:
parent
5ac54f07dd
commit
2fb4705f29
|
@ -57,3 +57,20 @@
|
|||
margin: 0~'calc((100vw - @{page-width}) / -2)';
|
||||
}
|
||||
}
|
||||
|
||||
@media ( prefers-color-scheme: dark ) {
|
||||
#p-namespaces {
|
||||
ul li a {
|
||||
background-color: @dark-bg-10;
|
||||
border-color: @dark-bg-20;
|
||||
|
||||
&:hover {
|
||||
background-color: @dark-bg-20;
|
||||
}
|
||||
|
||||
&:after {
|
||||
filter: invert( 1 );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -47,15 +47,6 @@
|
|||
color: @dark-color-link-new !important;
|
||||
}
|
||||
|
||||
#p-namespaces ul li a {
|
||||
background-color: @dark-bg-10;
|
||||
border-color: @dark-bg-20;
|
||||
|
||||
&:hover {
|
||||
background-color: @dark-bg-20;
|
||||
}
|
||||
}
|
||||
|
||||
.mw-body .firstHeading,
|
||||
.mw-body-content h1,
|
||||
.mw-body-content h2,
|
||||
|
@ -72,8 +63,7 @@
|
|||
color: @dark-text-80 !important;
|
||||
}
|
||||
|
||||
.mw-editsection > a:before,
|
||||
#p-namespaces ul li a:after {
|
||||
.mw-editsection > a:before {
|
||||
filter: invert( 1 );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue