A CSS snippet for Obsidian. This trims the decoration from embeds so they appear inline and hides properties from the Spaced Repetition plugin.
reviewable.css
42 lines 1.1 kB view raw
1/* 2 Name: reviewable.css 3 Author: Isaac Corbrey <icorbrey@gmail.com> 4 5 A CSS snippet for Obsidian. This trims the decoration from embeds so they 6 appear inline and hides properties from the Spaced Repetition plugin. 7*/ 8 9.reviewable .markdown-embed, 10.reviewable .file-embed { 11 border: 0 !important; 12 box-shadow: none !important; 13 background: transparent !important; 14 padding: 0 !important; 15 margin: 0 !important; 16 overflow: visible !important; 17} 18 19/* Let the embedded content render fully */ 20.reviewable .markdown-embed-content, 21.reviewable .markdown-embed-content > .markdown-preview-view { 22 background: transparent !important; 23 overflow: visible !important; 24 border: 0 !important; 25 padding-left: 0; 26} 27 28.reviewable .markdown-embed-content p:last-child { 29 margin-bottom: 0; 30} 31 32/* Hide title bar and “open” icon */ 33.reviewable .markdown-embed-title, 34.reviewable .markdown-embed-link, 35.reviewable .file-embed-link { 36 display: none !important; 37} 38 39/* Hide all sr-* properties in Properties view */ 40.reviewable .metadata-property[data-property-key^="sr-"] { 41 display: none !important; 42}