mirror of https://git.sr.ht/~sircmpwn/man.sr.ht
Make code.gray respect dark theme
When creating a new wiki, clone URL background is white. This commit fixes it.
This commit is contained in:
parent
d2f2a02f33
commit
c2b60d8041
|
@ -1,5 +1,7 @@
|
|||
@import "base";
|
||||
|
||||
$darker: darken($gray-900, 6);
|
||||
|
||||
html, body {
|
||||
min-height: 100%;
|
||||
height: 100%;
|
||||
|
@ -68,4 +70,8 @@ h5 {
|
|||
code.grey {
|
||||
background: $gray-200;
|
||||
padding: 0 0.25rem;
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
background: $darker;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue