style(next): improve blockquote style

This commit is contained in:
Elian Doran 2024-12-02 22:04:56 +02:00
parent e91afe1a09
commit ce1ae84313
No known key found for this signature in database

View File

@ -1016,6 +1016,38 @@ html .note-detail-editable-text :not(figure, .include-note):first-child {
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: "”";
right: 0.35em;
}
.note-detail-printable:not(.word-wrap) pre code {
white-space: pre;
margin-right: 1em;