2021-08-17 22:07:28 +02:00
|
|
|
@use '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
|
|
|
|
2021-08-31 22:25:50 +02:00
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
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-07-26 16:06:50 +02:00
|
|
|
:host(.nightMode) * {
|
2021-02-23 15:52:20 +01:00
|
|
|
@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
|
|
|
}
|
|
|
|
}
|
2021-06-17 19:08:14 +02:00
|
|
|
|
|
|
|
[hidden] {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-06-17 20:47:33 +02:00
|
|
|
|
2021-08-17 22:07:28 +02:00
|
|
|
@import "codemirror/lib/codemirror";
|
|
|
|
@import "codemirror/theme/monokai";
|
|
|
|
@import "codemirror/addon/fold/foldgutter";
|
2021-06-17 20:47:33 +02:00
|
|
|
|
|
|
|
.CodeMirror {
|
|
|
|
height: auto;
|
|
|
|
padding: 6px 0;
|
|
|
|
}
|