2021-04-13 18:17:32 +02:00
|
|
|
@use 'ts/sass/scrollbar';
|
2021-02-23 15:52:20 +01:00
|
|
|
|
2021-06-17 17:18:00 +02:00
|
|
|
@import "ts/sass/codemirror/lib/codemirror";
|
|
|
|
@import "ts/sass/codemirror/theme/monokai";
|
2021-06-17 15:30:05 +02: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-04-19 16:03:47 +02:00
|
|
|
p {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
|
|
|
&:empty::after {
|
|
|
|
content: "\a";
|
|
|
|
white-space: pre;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|