Move styling attributes from editor to editing-area that are for editing area

This commit is contained in:
Henrik Giesel 2021-01-28 22:34:18 +01:00
parent a620bf91a8
commit 6e907fd8b6
2 changed files with 9 additions and 12 deletions

View file

@ -9,3 +9,11 @@ editing-area {
white-space: pre; white-space: pre;
} }
} }
img.drawing {
zoom: 50%;
.nightMode & {
filter: unquote("invert() hue-rotate(180deg)");
}
}

View file

@ -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)");
}