Tweak the shadow of code blocks

This commit is contained in:
Adorian Doran 2024-10-28 23:44:40 +02:00
parent 36fde2b03d
commit 70cee7dbf6

View File

@ -810,8 +810,14 @@ a.external:not(.no-arrow):after, a[href^="http://"]:not(.no-arrow):after, a[href
.ck-content pre { .ck-content pre {
border: 0; border: 0;
border-radius: 6px; border-radius: 6px;
box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2); box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2), 0px 0px 2px rgba(0, 0, 0, 0.2);
padding: 0 !important; padding: 0 !important;
margin-top: 2px !important;
}
html .note-detail-editable-text :not(figure, .include-note):first-child {
/* Create some space for the top-side shadow */
margin-top: 1px !important;
} }
.ck.ck-editor__editable pre[data-language]::after { .ck.ck-editor__editable pre[data-language]::after {