2024-12-10 20:15:48 +02:00
|
|
|
/*
|
|
|
|
* TEXT NOTES
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Code Blocks
|
|
|
|
*/
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.attachment-content-wrapper pre,
|
|
|
|
.ck-content pre,
|
|
|
|
.ck-mermaid__editing-view {
|
2024-12-10 20:15:48 +02:00
|
|
|
border: 0;
|
|
|
|
border-radius: 6px;
|
|
|
|
box-shadow: var(--code-block-box-shadow);
|
|
|
|
padding: 0 !important;
|
2025-01-09 18:07:02 +02:00
|
|
|
margin-top: 2px !important;
|
2025-01-04 17:29:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.ck-content pre {
|
2024-12-10 20:15:48 +02:00
|
|
|
overflow: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
html .note-detail-editable-text :not(figure, .include-note, hr):first-child {
|
|
|
|
/* Create some space for the top-side shadow */
|
|
|
|
margin-top: 1px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ck.ck-editor__editable pre[data-language]::after {
|
2025-01-09 18:07:02 +02:00
|
|
|
--ck-color-code-block-label-background: rgba(128, 128, 128, 0.5);
|
2024-12-10 20:15:48 +02:00
|
|
|
border-radius: 0 0 5px 5px;
|
|
|
|
padding: 0px 10px;
|
2025-01-09 18:07:02 +02:00
|
|
|
letter-spacing: 0.5px;
|
2024-12-10 20:15:48 +02:00
|
|
|
font-weight: bold;
|
2025-01-28 17:00:32 +02:00
|
|
|
top: 0;
|
2024-12-10 20:15:48 +02:00
|
|
|
}
|
|
|
|
|
2025-01-04 17:29:40 +02:00
|
|
|
.attachment-content-wrapper pre code,
|
2025-01-07 19:10:33 +02:00
|
|
|
.ck-content pre code,
|
|
|
|
.ck-mermaid__editing-view {
|
2024-12-10 20:15:48 +02:00
|
|
|
display: block;
|
2025-01-07 19:10:33 +02:00
|
|
|
padding: 1em !important;
|
2024-12-10 20:15:48 +02:00
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
2025-03-27 15:41:24 +02:00
|
|
|
.ck-content pre code {
|
|
|
|
--scrollbar-thumb-color: gray;
|
|
|
|
--scrollbar-thumb-color-hover: gray;
|
2024-12-10 20:15:48 +02:00
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.ck-content pre code::-webkit-scrollbar-track,
|
|
|
|
::-webkit-scrollbar-thumb {
|
2024-12-10 20:15:48 +02:00
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ck-content blockquote {
|
|
|
|
background: var(--card-background-color);
|
|
|
|
border: 1px solid var(--card-border-color) !important;
|
|
|
|
box-shadow: var(--card-box-shadow);
|
|
|
|
border-radius: 10px;
|
|
|
|
padding: 1em 2.5em;
|
|
|
|
position: relative;
|
|
|
|
font-style: unset !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ck-content blockquote p:last-of-type {
|
|
|
|
margin-bottom: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ck-content blockquote:before,
|
|
|
|
.ck-content blockquote:after {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
font-size: 48px;
|
|
|
|
opacity: 0.1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ck-content blockquote:before {
|
|
|
|
content: "“";
|
|
|
|
left: 0.2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ck-content blockquote:after {
|
|
|
|
content: "”";
|
2025-01-09 18:07:02 +02:00
|
|
|
right: 0.35em;
|
2024-12-10 20:15:48 +02:00
|
|
|
}
|
|
|
|
|
2024-12-13 23:46:54 +02:00
|
|
|
.ck-content h2,
|
|
|
|
.ck-content h3,
|
|
|
|
.ck-content h4,
|
|
|
|
.ck-content h5,
|
|
|
|
.ck-content h6 {
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
|
2024-12-10 20:15:48 +02:00
|
|
|
.ck-content hr {
|
|
|
|
margin: 5px 0;
|
|
|
|
height: 1px;
|
|
|
|
background-color: var(--main-border-color);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2025-02-01 00:01:13 +02:00
|
|
|
@media (screen) {
|
|
|
|
.ck-content p code {
|
|
|
|
border: 1px solid var(--card-border-color);
|
|
|
|
box-shadow: var(--card-box-shadow);
|
|
|
|
border-radius: 6px;
|
|
|
|
background-color: var(--card-background-color);
|
|
|
|
}
|
2024-12-10 20:15:48 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.note-detail-printable:not(.word-wrap) pre code {
|
|
|
|
white-space: pre;
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.code-sample-wrapper .hljs {
|
|
|
|
transition: background-color linear 100ms;
|
2025-01-07 14:05:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.ck-content .footnote-section {
|
2025-01-07 14:32:16 +02:00
|
|
|
border: 0 !important;
|
|
|
|
border-top: 1px solid var(--main-border-color) !important;
|
2025-01-09 18:07:02 +02:00
|
|
|
}
|
2025-02-03 23:11:37 +02:00
|
|
|
|
2025-02-05 02:38:15 +02:00
|
|
|
/* Table caption */
|
|
|
|
|
|
|
|
.ck-content .table > figcaption {
|
|
|
|
background: var(--accented-background-color);
|
|
|
|
color: var(--main-text-color);
|
2025-03-20 14:40:42 +02:00
|
|
|
}
|