2021-04-13 18:17:32 +02:00
|
|
|
@use 'ts/sass/scrollbar';
|
2021-02-23 15:52:20 +01:00
|
|
|
|
2021-01-29 20:32:21 +01:00
|
|
|
anki-editable {
|
2021-01-28 17:16:10 +01:00
|
|
|
display: block;
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
overflow: auto;
|
2021-02-16 18:40:58 +01:00
|
|
|
padding: 6px;
|
2021-01-28 17:16:10 +01:00
|
|
|
|
|
|
|
&:empty::after {
|
|
|
|
content: "\a";
|
|
|
|
white-space: pre;
|
|
|
|
}
|
2021-02-23 15:52:20 +01:00
|
|
|
|
|
|
|
* {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2021-01-28 17:16:10 +01:00
|
|
|
}
|
2021-01-28 22:34:18 +01:00
|
|
|
|
2021-02-23 15:52:20 +01:00
|
|
|
:host-context(.nightMode) * {
|
|
|
|
@include scrollbar.night-mode;
|
|
|
|
}
|
2021-01-28 22:34:18 +01:00
|
|
|
|
2021-02-23 15:52:20 +01:00
|
|
|
img.drawing {
|
|
|
|
zoom: 50%;
|
2021-02-16 18:28:40 +01:00
|
|
|
|
2021-02-23 15:52:20 +01:00
|
|
|
.nightMode & {
|
|
|
|
filter: unquote("invert() hue-rotate(180deg)");
|
2021-01-28 22:34:18 +01:00
|
|
|
}
|
|
|
|
}
|