mirror of
https://github.com/zaaarf/friendenstein.git
synced 2024-11-26 01:14:50 +01:00
fix: fixed light mode
This commit is contained in:
parent
fcdb60212d
commit
8956abcb84
2 changed files with 23 additions and 0 deletions
|
@ -8,6 +8,12 @@ pre {
|
|||
overflow-x: scroll;
|
||||
}
|
||||
|
||||
:root.light {
|
||||
pre {
|
||||
@extend .inverted;
|
||||
}
|
||||
}
|
||||
|
||||
p code,
|
||||
li code,
|
||||
div code {
|
||||
|
|
|
@ -1,3 +1,15 @@
|
|||
:root.dark {
|
||||
.lightOnly {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
:root.light {
|
||||
.darkOnly {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
::-moz-selection, ::selection {
|
||||
color: var(--bgColor);
|
||||
background: var(--fgColor);
|
||||
|
@ -101,6 +113,11 @@ img {
|
|||
border-radius: 15px;
|
||||
}
|
||||
|
||||
.inverted {
|
||||
-webkit-filter: invert(1);
|
||||
filter: invert(1);
|
||||
}
|
||||
|
||||
iframe {
|
||||
max-width: 90%;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue