Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
Tweak the shadow of code blocks
Adorian Doran70cee7dbf620
diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.cssindex 4d012f0c37..5b2b31c4b6 100644--- a/src/public/stylesheets/style.css+++ b/src/public/stylesheets/style.css@@ -810,8 +810,14 @@ a.external:not(.no-arrow):after, a[href^="http://"]:not(.no-arrow):after, a[href.ck-content pre {border: 0;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;+ 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 {