mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
Move styling attributes from editor to editing-area that are for editing area
This commit is contained in:
parent
a620bf91a8
commit
6e907fd8b6
2 changed files with 9 additions and 12 deletions
|
@ -9,3 +9,11 @@ editing-area {
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img.drawing {
|
||||||
|
zoom: 50%;
|
||||||
|
|
||||||
|
.nightMode & {
|
||||||
|
filter: unquote("invert() hue-rotate(180deg)");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@ html {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
|
|
||||||
& > * {
|
& > *, & > * > * {
|
||||||
margin: 1px 0;
|
margin: 1px 0;
|
||||||
|
|
||||||
&:first-child {
|
&:first-child {
|
||||||
|
@ -37,10 +37,6 @@ html {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
|
||||||
max-width: 90%;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
@ -142,10 +138,3 @@ button.highlighted {
|
||||||
color: var(--link);
|
color: var(--link);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.drawing {
|
|
||||||
zoom: 50%;
|
|
||||||
}
|
|
||||||
.nightMode img.drawing {
|
|
||||||
filter: unquote("invert() hue-rotate(180deg)");
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue