mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 18:39:22 +08:00
style(next): improve blockquote style
This commit is contained in:
parent
e91afe1a09
commit
ce1ae84313
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user