From 3f95d3b63de681a01389078a870d439f54ca94b1 Mon Sep 17 00:00:00 2001 From: github-actions Date: Mon, 11 Jul 2022 23:58:31 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=200.3.27?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 13 +++ obsidian.css | 269 +++++++++++++++++++++++++++------------------- package.json | 2 +- tasks-snippet.css | 55 ++++------ 4 files changed, 192 insertions(+), 147 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 23787ee..f9d6a79 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,21 @@ All notable changes to this project will be documented in this file. Dates are d Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +#### [0.3.27](https://github.com/ebullient/obsidian-theme-ebullientworks/compare/0.3.26...0.3.27) + +- 🎨 invisible-embed css-class; Full-height embed content [`b9f992e`](https://github.com/ebullient/obsidian-theme-ebullientworks/commit/b9f992e45c4db85f06463a3a467b3cd67cad1159) +- 🎨 Various minor tweaks [`7a1399e`](https://github.com/ebullient/obsidian-theme-ebullientworks/commit/7a1399e77f06b312640af55682ea602c8e714a77) +- 🎨 Table header: light-mode background & size [`5ced1e7`](https://github.com/ebullient/obsidian-theme-ebullientworks/commit/5ced1e73f2959e61c0ffa8a9248cfa6fc5483ede) +- 🎨 tweak ratio of heading heights [`52fc3c8`](https://github.com/ebullient/obsidian-theme-ebullientworks/commit/52fc3c83e155f2df8b05f32cf805114c474bebed) +- 🐛 Adjust for sliding panes + popout windows [`9ec6aff`](https://github.com/ebullient/obsidian-theme-ebullientworks/commit/9ec6aff8d54107dfb6d253417c2b2aaaa8c065f2) +- 🎨 Keep edit mode strikethrough link decoration [`290514c`](https://github.com/ebullient/obsidian-theme-ebullientworks/commit/290514c256aa9781db5f1bb9152fd8802fcfb3a8) +- 🎨 Explicit color for completed line item text [`ca33ffa`](https://github.com/ebullient/obsidian-theme-ebullientworks/commit/ca33ffa08d17a2073816bc5f8ea1d6d9d5432567) +- 🎨 Indentation guide background in callouts [`edad174`](https://github.com/ebullient/obsidian-theme-ebullientworks/commit/edad1746bc69d5aa27eea62cdffa6129b4919ad5) + #### [0.3.26](https://github.com/ebullient/obsidian-theme-ebullientworks/compare/0.3.25...0.3.26) +> 7 May 2022 + - 📝 Update README, style settings wording [`329981e`](https://github.com/ebullient/obsidian-theme-ebullientworks/commit/329981e3c5623b7eb0871c13ac7f74d8b0ea80af) - 💥 Move some font settings to Appearance [`b540c4c`](https://github.com/ebullient/obsidian-theme-ebullientworks/commit/b540c4c8bccbb846378a1b4f833cf489742b6735) - 🐛 Fix fg color in highlighted/matched headings [`b302943`](https://github.com/ebullient/obsidian-theme-ebullientworks/commit/b302943c48b634ea3d261f4f92967a45686f39e0) diff --git a/obsidian.css b/obsidian.css index 8a1c10f..0e16d15 100644 --- a/obsidian.css +++ b/obsidian.css @@ -1,6 +1,6 @@ @charset "UTF-8"; /* -Ebullientworks 0.3.26 by @ebullient +Ebullientworks 0.3.27 by @ebullient This is a dark and light theme for Obsidian. @@ -903,45 +903,45 @@ body:not(.is-mobile) .view-action svg { height: 14px; } -body.plugin-sliding-panes .workspace > .mod-root > .workspace-leaf, -body.plugin-sliding-panes-rotate-header .workspace > .mod-root > .workspace-leaf { +body:not(.is-popout-window).plugin-sliding-panes .workspace > .mod-root > .workspace-leaf, +body:not(.is-popout-window).plugin-sliding-panes-rotate-header .workspace > .mod-root > .workspace-leaf { box-shadow: none !important; } -body.plugin-sliding-panes .workspace > .mod-root > .workspace-leaf > .workspace-leaf-content > .view-header .view-header-title-container:before, -body.plugin-sliding-panes .workspace > .mod-root > .workspace-leaf > .workspace-leaf-content > .view-header .view-header-title-container:after, -body.plugin-sliding-panes-rotate-header .workspace > .mod-root > .workspace-leaf > .workspace-leaf-content > .view-header .view-header-title-container:before, -body.plugin-sliding-panes-rotate-header .workspace > .mod-root > .workspace-leaf > .workspace-leaf-content > .view-header .view-header-title-container:after { +body:not(.is-popout-window).plugin-sliding-panes .workspace > .mod-root > .workspace-leaf > .workspace-leaf-content > .view-header .view-header-title-container:before, +body:not(.is-popout-window).plugin-sliding-panes .workspace > .mod-root > .workspace-leaf > .workspace-leaf-content > .view-header .view-header-title-container:after, +body:not(.is-popout-window).plugin-sliding-panes-rotate-header .workspace > .mod-root > .workspace-leaf > .workspace-leaf-content > .view-header .view-header-title-container:before, +body:not(.is-popout-window).plugin-sliding-panes-rotate-header .workspace > .mod-root > .workspace-leaf > .workspace-leaf-content > .view-header .view-header-title-container:after { background: none !important; } -body.plugin-sliding-panes-stacking .workspace > .mod-root > .workspace-leaf:not(:first-of-type) { +body:not(.is-popout-window).plugin-sliding-panes-stacking .workspace > .mod-root > .workspace-leaf:not(:first-of-type) { border-left: var(--sharp-border); } -body.plugin-sliding-panes-rotate-header .view-header-title { +body:not(.is-popout-window).plugin-sliding-panes-rotate-header .view-header-title { line-height: calc(var(--leaf-header-width) - 2px); } -body.plugin-sliding-panes-rotate-header .workspace-split.mod-horizontal.mod-left-split { +body:not(.is-popout-window).plugin-sliding-panes-rotate-header .workspace-split.mod-horizontal.mod-left-split { border-right: none; } -body.plugin-sliding-panes-rotate-header .horizontal-main-container > .workspace .mod-root > .workspace-leaf > .workspace-leaf-content { +body:not(.is-popout-window).plugin-sliding-panes-rotate-header .horizontal-main-container > .workspace .mod-root > .workspace-leaf > .workspace-leaf-content { padding-left: var(--leaf-header-width); } -body.plugin-sliding-panes-rotate-header .horizontal-main-container > .workspace > .mod-root > .workspace-leaf > .workspace-leaf-content > .view-header, -body.plugin-sliding-panes-rotate-header .horizontal-main-container > .workspace .view-header { +body:not(.is-popout-window).plugin-sliding-panes-rotate-header .horizontal-main-container > .workspace > .mod-root > .workspace-leaf > .workspace-leaf-content > .view-header, +body:not(.is-popout-window).plugin-sliding-panes-rotate-header .horizontal-main-container > .workspace .view-header { background: var(--rotated-inactive-leaf-bg); border-right: none; border-left: none; width: var(--leaf-header-width); } -body.plugin-sliding-panes-rotate-header .horizontal-main-container > .workspace > .mod-root > .workspace-leaf > .workspace-leaf-content > .view-header .view-header-icon svg, -body.plugin-sliding-panes-rotate-header .horizontal-main-container > .workspace > .mod-root > .workspace-leaf > .workspace-leaf-content > .view-header .view-action svg, -body.plugin-sliding-panes-rotate-header .horizontal-main-container > .workspace .view-header .view-header-icon svg, -body.plugin-sliding-panes-rotate-header .horizontal-main-container > .workspace .view-header .view-action svg { +body:not(.is-popout-window).plugin-sliding-panes-rotate-header .horizontal-main-container > .workspace > .mod-root > .workspace-leaf > .workspace-leaf-content > .view-header .view-header-icon svg, +body:not(.is-popout-window).plugin-sliding-panes-rotate-header .horizontal-main-container > .workspace > .mod-root > .workspace-leaf > .workspace-leaf-content > .view-header .view-action svg, +body:not(.is-popout-window).plugin-sliding-panes-rotate-header .horizontal-main-container > .workspace .view-header .view-header-icon svg, +body:not(.is-popout-window).plugin-sliding-panes-rotate-header .horizontal-main-container > .workspace .view-header .view-action svg { width: 14px; height: auto; } -body.plugin-sliding-panes-rotate-header .horizontal-main-container > .workspace > .mod-root > .workspace-leaf.mod-active > .workspace-leaf-content > .view-header { +body:not(.is-popout-window).plugin-sliding-panes-rotate-header .horizontal-main-container > .workspace > .mod-root > .workspace-leaf.mod-active > .workspace-leaf-content > .view-header { background: var(--rotated-active-leaf-bg); border-right: none; border-left: none; @@ -1254,6 +1254,15 @@ body:not(.is-mobile).ebullientworks-hover-collapsed-sidebars .mod-right-split.is color: var(--graph-highlight-line); } +:root { + --h1: 2em; + --h2: 1.8em; + --h3: 1.6em; + --h4: 1.4em; + --h5: 1.2em; + --h6: 1.2em; +} + .theme-dark { --text-title-h1: var(--yellow-1); --text-title-h2: var(--green-3); @@ -1592,6 +1601,11 @@ a, .cm-s-obsidian span.cm-hmd-internal-link, .markdown-preview-view .internal-link { color: var(--link); +} + +.cm-s-obsidian span.cm-url:not(.cm-strikethrough), +.cm-s-obsidian span.cm-link:not(.cm-strikethrough), +.cm-s-obsidian span.cm-hmd-internal-link:not(.cm-strikethrough) { text-decoration: underline var(--link-underline); } @@ -1615,16 +1629,6 @@ a, color: var(--link-underline); } -.markdown-embed-link, -.file-embed-link { - top: 0px; - right: 0px; - height: 18px; - width: 18px; - text-align: center; - vertical-align: middle; -} - .markdown-embed-link svg { color: var(--link-underline); height: 14px; @@ -1638,8 +1642,7 @@ a, border-bottom: 1px dotted var(--link-underline); } -body:not(.is-mobile) .markdown-preview-view .task-list-item a[data-href][aria-label-position].internal-link, -body.is-mobile .markdown-preview-view .task-list-item a[data-href][aria-label-position].internal-link { +.markdown-preview-view .task-list-item a[data-href][aria-label-position].internal-link { border-bottom: none; text-decoration: none; color: var(--link-underline); @@ -1730,8 +1733,7 @@ body:not(.ebullientworks-nix-checkbox) body:not(.is-mobile) .markdown-preview-vi margin-bottom: 1px; } body:not(.ebullientworks-nix-checkbox) body.is-mobile .markdown-preview-view .task-list-item-checkbox { - margin-top: 1px; - margin-bottom: 0; + top: 6px; } body:not(.ebullientworks-nix-checkbox) .markdown-preview-view .task-list-item-checkbox, body:not(.ebullientworks-nix-checkbox) .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task] input[type=checkbox].task-list-item-checkbox { @@ -1743,8 +1745,7 @@ body:not(.ebullientworks-nix-checkbox) .markdown-preview-view ul.contains-task-l position: relative; -webkit-appearance: none; box-sizing: border-box; - background-color: transparent !important; - /* override theme */ + background-color: transparent !important; /* override theme */ filter: none; background: unset !important; color: var(--text-normal); @@ -1784,8 +1785,7 @@ body:not(.ebullientworks-nix-checkbox) .markdown-source-view.mod-cm6 .HyperMD-ta body:not(.ebullientworks-nix-checkbox) .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task="/"] input[type=checkbox].task-list-item-checkbox[data-task="/"] + span, body:not(.ebullientworks-nix-checkbox) .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task="/"] input[type=checkbox].task-list-item-checkbox[data-task="/"] + span + span, body:not(.ebullientworks-nix-checkbox) .markdown-preview-view ul.contains-task-list > li[data-task="/"].task-list-item.is-checked { - text-decoration: none !important; - /* override theme */ + text-decoration: none !important; /* override theme */ font-weight: 500; font-style: normal; } @@ -1810,8 +1810,7 @@ body:not(.ebullientworks-nix-checkbox) .markdown-preview-view ul.contains-task-l -webkit-appearance: none; box-sizing: border-box; background: unset !important; - background-color: transparent !important; - /* override theme */ + background-color: transparent !important; /* override theme */ filter: none; color: var(--checkbox-deferred); font-family: var(--font-monospace); @@ -1823,8 +1822,7 @@ body:not(.ebullientworks-nix-checkbox) .markdown-source-view.mod-cm6 .HyperMD-ta body:not(.ebullientworks-nix-checkbox) .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task=">"] input[type=checkbox].task-list-item-checkbox[data-task=">"] + span, body:not(.ebullientworks-nix-checkbox) .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task=">"] input[type=checkbox].task-list-item-checkbox[data-task=">"] + span + span, body:not(.ebullientworks-nix-checkbox) .markdown-preview-view ul.contains-task-list > li[data-task=">"].task-list-item.is-checked { - text-decoration: none !important; - /* override theme */ + text-decoration: none !important; /* override theme */ font-weight: 500; font-style: normal; } @@ -1849,8 +1847,7 @@ body:not(.ebullientworks-nix-checkbox) .markdown-preview-view ul.contains-task-l -webkit-appearance: none; box-sizing: border-box; background: unset !important; - background-color: transparent !important; - /* override theme */ + background-color: transparent !important; /* override theme */ filter: none; color: var(--checkbox-review); font-family: var(--font-monospace); @@ -1862,8 +1859,7 @@ body:not(.ebullientworks-nix-checkbox) .markdown-source-view.mod-cm6 .HyperMD-ta body:not(.ebullientworks-nix-checkbox) .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task=R] input[type=checkbox].task-list-item-checkbox[data-task=R] + span, body:not(.ebullientworks-nix-checkbox) .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task=R] input[type=checkbox].task-list-item-checkbox[data-task=R] + span + span, body:not(.ebullientworks-nix-checkbox) .markdown-preview-view ul.contains-task-list > li[data-task=R].task-list-item.is-checked { - text-decoration: none !important; - /* override theme */ + text-decoration: none !important; /* override theme */ font-weight: 500; font-style: normal; } @@ -1888,8 +1884,7 @@ body:not(.ebullientworks-nix-checkbox) .markdown-preview-view ul.contains-task-l -webkit-appearance: none; box-sizing: border-box; background: unset !important; - background-color: transparent !important; - /* override theme */ + background-color: transparent !important; /* override theme */ filter: none; color: var(--checkbox-question); font-family: var(--font-monospace); @@ -1901,8 +1896,7 @@ body:not(.ebullientworks-nix-checkbox) .markdown-source-view.mod-cm6 .HyperMD-ta body:not(.ebullientworks-nix-checkbox) .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task="?"] input[type=checkbox].task-list-item-checkbox[data-task="?"] + span, body:not(.ebullientworks-nix-checkbox) .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task="?"] input[type=checkbox].task-list-item-checkbox[data-task="?"] + span + span, body:not(.ebullientworks-nix-checkbox) .markdown-preview-view ul.contains-task-list > li[data-task="?"].task-list-item.is-checked { - text-decoration: none !important; - /* override theme */ + text-decoration: none !important; /* override theme */ font-weight: 500; font-style: normal; } @@ -1927,8 +1921,7 @@ body:not(.ebullientworks-nix-checkbox) .markdown-preview-view ul.contains-task-l -webkit-appearance: none; box-sizing: border-box; background: unset !important; - background-color: transparent !important; - /* override theme */ + background-color: transparent !important; /* override theme */ filter: none; color: var(--checkbox-important); font-family: var(--font-monospace); @@ -1940,8 +1933,7 @@ body:not(.ebullientworks-nix-checkbox) .markdown-source-view.mod-cm6 .HyperMD-ta body:not(.ebullientworks-nix-checkbox) .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task="!"] input[type=checkbox].task-list-item-checkbox[data-task="!"] + span, body:not(.ebullientworks-nix-checkbox) .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task="!"] input[type=checkbox].task-list-item-checkbox[data-task="!"] + span + span, body:not(.ebullientworks-nix-checkbox) .markdown-preview-view ul.contains-task-list > li[data-task="!"].task-list-item.is-checked { - text-decoration: none !important; - /* override theme */ + text-decoration: none !important; /* override theme */ font-weight: 700; font-style: normal; color: var(--checkbox-important); @@ -1967,8 +1959,7 @@ body:not(.ebullientworks-nix-checkbox) .markdown-preview-view ul.contains-task-l -webkit-appearance: none; box-sizing: border-box; background: unset !important; - background-color: transparent !important; - /* override theme */ + background-color: transparent !important; /* override theme */ filter: none; color: var(--checkbox-cancelled); font-family: var(--font-monospace); @@ -1980,8 +1971,7 @@ body:not(.ebullientworks-nix-checkbox) .markdown-source-view.mod-cm6 .HyperMD-ta body:not(.ebullientworks-nix-checkbox) .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task="-"] input[type=checkbox].task-list-item-checkbox[data-task="-"] + span, body:not(.ebullientworks-nix-checkbox) .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task="-"] input[type=checkbox].task-list-item-checkbox[data-task="-"] + span + span, body:not(.ebullientworks-nix-checkbox) .markdown-preview-view ul.contains-task-list > li[data-task="-"].task-list-item.is-checked { - text-decoration: line-through !important; - /* override theme */ + text-decoration: line-through !important; /* override theme */ font-weight: 500; font-style: normal; color: var(--checkbox-cancelled); @@ -2007,8 +1997,7 @@ body:not(.ebullientworks-nix-checkbox) .markdown-preview-view ul.contains-task-l -webkit-appearance: none; box-sizing: border-box; background: unset !important; - background-color: transparent !important; - /* override theme */ + background-color: transparent !important; /* override theme */ filter: none; color: var(--checkbox-checked); font-family: var(--font-monospace); @@ -2020,10 +2009,10 @@ body:not(.ebullientworks-nix-checkbox) .markdown-source-view.mod-cm6 .HyperMD-ta body:not(.ebullientworks-nix-checkbox) .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task=x] input[type=checkbox].task-list-item-checkbox[data-task=x] + span, body:not(.ebullientworks-nix-checkbox) .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task=x] input[type=checkbox].task-list-item-checkbox[data-task=x] + span + span, body:not(.ebullientworks-nix-checkbox) .markdown-preview-view ul.contains-task-list > li[data-task=x].task-list-item.is-checked { - text-decoration: none !important; - /* override theme */ + text-decoration: none !important; /* override theme */ font-weight: 500; font-style: normal; + color: var(--text-normal); } body:not(.ebullientworks-nix-checkbox) .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task=X] input[type=checkbox][data-task=X].task-list-item-checkbox:checked::before, body:not(.ebullientworks-nix-checkbox) .markdown-preview-view ul.contains-task-list > li[data-task=X].task-list-item input[type=checkbox].task-list-item-checkbox:checked::before { @@ -2046,8 +2035,7 @@ body:not(.ebullientworks-nix-checkbox) .markdown-preview-view ul.contains-task-l -webkit-appearance: none; box-sizing: border-box; background: unset !important; - background-color: transparent !important; - /* override theme */ + background-color: transparent !important; /* override theme */ filter: none; color: var(--checkbox-checked); font-family: var(--font-monospace); @@ -2059,10 +2047,10 @@ body:not(.ebullientworks-nix-checkbox) .markdown-source-view.mod-cm6 .HyperMD-ta body:not(.ebullientworks-nix-checkbox) .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task=X] input[type=checkbox].task-list-item-checkbox[data-task=X] + span, body:not(.ebullientworks-nix-checkbox) .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task=X] input[type=checkbox].task-list-item-checkbox[data-task=X] + span + span, body:not(.ebullientworks-nix-checkbox) .markdown-preview-view ul.contains-task-list > li[data-task=X].task-list-item.is-checked { - text-decoration: none !important; - /* override theme */ + text-decoration: none !important; /* override theme */ font-weight: 500; font-style: normal; + color: var(--text-normal); } body:not(.ebullientworks-nix-checkbox) .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task="/"] input[type=checkbox][data-task="/"].task-list-item-checkbox:checked:hover, body:not(.ebullientworks-nix-checkbox) .markdown-preview-view ul.contains-task-list > li[data-task="/"].task-list-item input[type=checkbox].task-list-item-checkbox:checked:hover, body:not(.ebullientworks-nix-checkbox) .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task=">"] input[type=checkbox][data-task=">"].task-list-item-checkbox:checked:hover, body:not(.ebullientworks-nix-checkbox) .markdown-preview-view ul.contains-task-list > li[data-task=">"].task-list-item input[type=checkbox].task-list-item-checkbox:checked:hover, @@ -2248,6 +2236,12 @@ div[src$="#callout"] { margin-left: 5px; width: 50%; } +img[src$="#small-right"], +div[src$="#small-right"] { + float: right; + margin-left: 5px; + width: 75px; +} .markdown-embed-title { display: none; @@ -2262,7 +2256,6 @@ div[src$="#callout"] { .markdown-preview-view .markdown-embed .markdown-embed-content > .markdown-preview-view { overflow-y: unset; max-height: unset; - background-color: var(--background-primary-alt); padding: 5px; } .markdown-preview-view .markdown-embed .markdown-embed-content > :first-child { @@ -2272,11 +2265,9 @@ div[src$="#callout"] { margin-bottom: 0; padding-bottom: 0.5em; } -.markdown-preview-view .markdown-embed .markdown-embed-link, -.markdown-preview-view .markdown-embed .file-embed-link { - border-radius: none; - border-bottom-left-radius: 3px; - background-color: var(--background-primary); + +.markdown-embed-content > .markdown-preview-view { + height: unset; } .markdown-source-view .markdown-embed, @@ -2289,16 +2280,19 @@ div[src$="#callout"] { .markdown-source-view .markdown-embed .markdown-embed-content > .markdown-preview-view, .markdown-source-view .file-embed .markdown-embed-content, .markdown-source-view .file-embed .markdown-embed-content > .markdown-preview-view { - background-color: var(--background-primary-alt); padding: 5px; } -.markdown-source-view .markdown-embed .markdown-embed-link, -.markdown-source-view .markdown-embed .file-embed-link, -.markdown-source-view .file-embed .markdown-embed-link, -.markdown-source-view .file-embed .file-embed-link { + +.markdown-embed-link, +.file-embed-link { + top: 0px; + right: -18px; + height: 18px; + width: 18px; + text-align: center; + vertical-align: middle; border-radius: none; border-bottom-left-radius: 3px; - background-color: var(--background-primary); } .print.print-preview > .markdown-preview-view .markdown-embed-content, @@ -2307,6 +2301,49 @@ div[src$="#callout"] { width: auto; } +.markdown-source-view.mod-cm6 .markdown-embed .markdown-embed-content, +.markdown-source-view.mod-cm6 .markdown-embed .markdown-embed-content > .markdown-preview-view, +.markdown-source-view.mod-cm6 .file-embed .markdown-embed-content, +.markdown-source-view.mod-cm6 .file-embed .markdown-embed-content > .markdown-preview-view, +.markdown-preview-view .markdown-embed .markdown-embed-content, +.markdown-preview-view .markdown-embed .markdown-embed-content > .markdown-preview-view, +.markdown-preview-view .file-embed .markdown-embed-content, +.markdown-preview-view .file-embed .markdown-embed-content > .markdown-preview-view { + background-color: var(--background-primary-alt); +} +.markdown-source-view.mod-cm6 .markdown-embed .markdown-embed-link, +.markdown-source-view.mod-cm6 .markdown-embed .file-embed-link, +.markdown-source-view.mod-cm6 .file-embed .markdown-embed-link, +.markdown-source-view.mod-cm6 .file-embed .file-embed-link, +.markdown-preview-view .markdown-embed .markdown-embed-link, +.markdown-preview-view .markdown-embed .file-embed-link, +.markdown-preview-view .file-embed .markdown-embed-link, +.markdown-preview-view .file-embed .file-embed-link { + background-color: var(--background-primary); +} + +.markdown-source-view.mod-cm6.invisible-embed .markdown-embed .markdown-embed-content, +.markdown-source-view.mod-cm6.invisible-embed .markdown-embed .markdown-embed-content > .markdown-preview-view, +.markdown-source-view.mod-cm6.invisible-embed .file-embed .markdown-embed-content, +.markdown-source-view.mod-cm6.invisible-embed .file-embed .markdown-embed-content > .markdown-preview-view, +.markdown-preview-view.invisible-embed .markdown-embed .markdown-embed-content, +.markdown-preview-view.invisible-embed .markdown-embed .markdown-embed-content > .markdown-preview-view, +.markdown-preview-view.invisible-embed .file-embed .markdown-embed-content, +.markdown-preview-view.invisible-embed .file-embed .markdown-embed-content > .markdown-preview-view { + background-color: var(--background-primary); + padding: 0; +} +.markdown-source-view.mod-cm6.invisible-embed .markdown-embed .markdown-embed-link, +.markdown-source-view.mod-cm6.invisible-embed .markdown-embed .file-embed-link, +.markdown-source-view.mod-cm6.invisible-embed .file-embed .markdown-embed-link, +.markdown-source-view.mod-cm6.invisible-embed .file-embed .file-embed-link, +.markdown-preview-view.invisible-embed .markdown-embed .markdown-embed-link, +.markdown-preview-view.invisible-embed .markdown-embed .file-embed-link, +.markdown-preview-view.invisible-embed .file-embed .markdown-embed-link, +.markdown-preview-view.invisible-embed .file-embed .file-embed-link { + background-color: var(--background-primary-alt); +} + .embedframe iframe { width: 125%; height: 750px; @@ -2906,58 +2943,66 @@ div.popover .admonition.admonition-toc { .theme-dark { --table-alt-alpha: .2; + --header-background: var(--interactive-hover); } .theme-dark .print, .theme-light { --table-alt-alpha: .05; + --header-background: var(--primary-accent-1) ; } -.markdown-source-view.mod-cm6 table .table-view-table > thead > tr > th, -.markdown-source-view.mod-cm6 table thead > tr > th, -.markdown-preview-view table .table-view-table > thead > tr > th, -.markdown-preview-view table thead > tr > th { - background-color: var(--interactive-hover); +.markdown-source-view.mod-cm6 table > thead > tr > th, +.markdown-source-view.mod-cm6 table > thead > tr > th.table-view-th, +.markdown-preview-view table > thead > tr > th, +.markdown-preview-view table > thead > tr > th.table-view-th, +.markdown-preview-view table.table-view-table > thead > tr > th, +.markdown-preview-view table.table-view-table > thead > tr > th.table-view-th { + background-color: var(--header-background); color: var(--text-on-accent); border: 0px; border-left: 1px solid var(--background-modifier-border); + font-size: 1em; +} +.markdown-source-view.mod-cm6 table > thead > tr > th .dataview.small-text, +.markdown-source-view.mod-cm6 table > thead > tr > th.table-view-th .dataview.small-text, +.markdown-preview-view table > thead > tr > th .dataview.small-text, +.markdown-preview-view table > thead > tr > th.table-view-th .dataview.small-text, +.markdown-preview-view table.table-view-table > thead > tr > th .dataview.small-text, +.markdown-preview-view table.table-view-table > thead > tr > th.table-view-th .dataview.small-text { + color: var(--text-on-accent); + font-weight: 200; } -.markdown-source-view.mod-cm6 table .table-view-table > thead > tr > th:last-child, -.markdown-source-view.mod-cm6 table thead > tr > th:last-child, -.markdown-preview-view table .table-view-table > thead > tr > th:last-child, -.markdown-preview-view table thead > tr > th:last-child { +.markdown-source-view.mod-cm6 table > thead > tr > th:last-child, +.markdown-preview-view table > thead > tr > th:last-child, +.markdown-preview-view table.table-view-table > thead > tr > th:last-child { border-right: 1px solid var(--background-modifier-border); } -.markdown-source-view.mod-cm6 table .table-view-table > tbody > tr:nth-child(even), -.markdown-source-view.mod-cm6 table tbody > tr:nth-child(even), -.markdown-preview-view table .table-view-table > tbody > tr:nth-child(even), -.markdown-preview-view table tbody > tr:nth-child(even) { +.markdown-source-view.mod-cm6 table > tbody > tr:nth-child(even), +.markdown-preview-view table > tbody > tr:nth-child(even), +.markdown-preview-view table.table-view-table > tbody > tr:nth-child(even) { background-color: rgba(0, 0, 0, var(--table-alt-alpha)); } -.markdown-source-view.mod-cm6 table .table-view-table > tbody > tr:last-child, -.markdown-source-view.mod-cm6 table tbody > tr:last-child, -.markdown-preview-view table .table-view-table > tbody > tr:last-child, -.markdown-preview-view table tbody > tr:last-child { +.markdown-source-view.mod-cm6 table > tbody > tr:last-child, +.markdown-preview-view table > tbody > tr:last-child, +.markdown-preview-view table.table-view-table > tbody > tr:last-child { border-bottom: 1px solid var(--background-modifier-border); } -.markdown-source-view.mod-cm6 table .table-view-table > tbody > tr:hover, -.markdown-source-view.mod-cm6 table tbody > tr:hover, -.markdown-preview-view table .table-view-table > tbody > tr:hover, -.markdown-preview-view table tbody > tr:hover { +.markdown-source-view.mod-cm6 table > tbody > tr:hover, +.markdown-preview-view table > tbody > tr:hover, +.markdown-preview-view table.table-view-table > tbody > tr:hover { background: var(--background-secondary); } -.markdown-source-view.mod-cm6 table .table-view-table > tbody > tr > td, -.markdown-source-view.mod-cm6 table tbody > tr > td, -.markdown-preview-view table .table-view-table > tbody > tr > td, -.markdown-preview-view table tbody > tr > td { +.markdown-source-view.mod-cm6 table > tbody > tr > td, +.markdown-preview-view table > tbody > tr > td, +.markdown-preview-view table.table-view-table > tbody > tr > td { border: 0px; vertical-align: top; border-left: 1px solid var(--background-modifier-border); } -.markdown-source-view.mod-cm6 table .table-view-table > tbody > tr > td:last-child, -.markdown-source-view.mod-cm6 table tbody > tr > td:last-child, -.markdown-preview-view table .table-view-table > tbody > tr > td:last-child, -.markdown-preview-view table tbody > tr > td:last-child { +.markdown-source-view.mod-cm6 table > tbody > tr > td:last-child, +.markdown-preview-view table > tbody > tr > td:last-child, +.markdown-preview-view table.table-view-table > tbody > tr > td:last-child { border-right: 1px solid var(--background-modifier-border); } @@ -3046,11 +3091,13 @@ body.ebullientworks-hide-inactive-collapse-indicators .cm-line:not(:hover):not(. } /* Adjust color of shadow for indentation guide for nested items inside of blockquotes or admonitions */ -.ig-lists-preview .markdown-preview-view blockquote li ul, -.ig-lists-preview .markdown-preview-view blockquote li ol, -.ig-lists-preview .markdown-preview-view .markdown-embed-content li ul, -.ig-lists-preview .markdown-preview-view .markdown-embed-content li ol, -.ig-lists-preview .markdown-preview-view .admonition-content li ul, -.ig-lists-preview .markdown-preview-view .admonition-content li ol { +.ig-lists-preview .markdown-preview-view :not(.invisible-embed) blockquote li ul, +.ig-lists-preview .markdown-preview-view :not(.invisible-embed) blockquote li ol, +.ig-lists-preview .markdown-preview-view :not(.invisible-embed) .markdown-embed-content li ul, +.ig-lists-preview .markdown-preview-view :not(.invisible-embed) .markdown-embed-content li ol, +.ig-lists-preview .markdown-preview-view :not(.invisible-embed) .callout-content li ul, +.ig-lists-preview .markdown-preview-view :not(.invisible-embed) .callout-content li ol, +.ig-lists-preview .markdown-preview-view :not(.invisible-embed) .admonition-content li ul, +.ig-lists-preview .markdown-preview-view :not(.invisible-embed) .admonition-content li ol { box-shadow: calc(-1em + 1px + var(--indentation-guide-adjust-preview)) 0 0 -1px var(--background-primary-alt), calc(-1em + var(--indentation-guide-adjust-preview)) 0 0 -1px var(--indentation-guide-color); } \ No newline at end of file diff --git a/package.json b/package.json index bfbbc34..c08851e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-theme-ebullientworks", - "version": "0.3.26", + "version": "0.3.27", "private": true, "description": "An Obsidian Theme", "author": "Erin Schnabel", diff --git a/tasks-snippet.css b/tasks-snippet.css index a1540f0..7908785 100644 --- a/tasks-snippet.css +++ b/tasks-snippet.css @@ -1,6 +1,6 @@ @charset "UTF-8"; /* -Ebullientworks tasks 0.3.26 by @ebullient +Ebullientworks tasks 0.3.27 by @ebullient */ :root { --checkbox-checked: rgb(139, 167, 145); @@ -36,8 +36,7 @@ body:not(.is-mobile) .markdown-preview-view .task-list-item-checkbox { } body.is-mobile .markdown-preview-view .task-list-item-checkbox { - margin-top: 1px; - margin-bottom: 0; + top: 6px; } .markdown-preview-view .task-list-item-checkbox, @@ -51,8 +50,7 @@ body.is-mobile .markdown-preview-view .task-list-item-checkbox { position: relative; -webkit-appearance: none; box-sizing: border-box; - background-color: transparent !important; - /* override theme */ + background-color: transparent !important; /* override theme */ filter: none; background: unset !important; color: var(--text-normal); @@ -105,8 +103,7 @@ body.is-mobile .markdown-preview-view .task-list-item-checkbox { .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task="/"] input[type=checkbox].task-list-item-checkbox[data-task="/"] + span, .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task="/"] input[type=checkbox].task-list-item-checkbox[data-task="/"] + span + span, .markdown-preview-view ul.contains-task-list > li[data-task="/"].task-list-item.is-checked { - text-decoration: none !important; - /* override theme */ + text-decoration: none !important; /* override theme */ font-weight: 500; font-style: normal; } @@ -134,8 +131,7 @@ body.is-mobile .markdown-preview-view .task-list-item-checkbox { -webkit-appearance: none; box-sizing: border-box; background: unset !important; - background-color: transparent !important; - /* override theme */ + background-color: transparent !important; /* override theme */ filter: none; color: var(--checkbox-deferred); font-family: var(--font-monospace); @@ -148,8 +144,7 @@ body.is-mobile .markdown-preview-view .task-list-item-checkbox { .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task=">"] input[type=checkbox].task-list-item-checkbox[data-task=">"] + span, .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task=">"] input[type=checkbox].task-list-item-checkbox[data-task=">"] + span + span, .markdown-preview-view ul.contains-task-list > li[data-task=">"].task-list-item.is-checked { - text-decoration: none !important; - /* override theme */ + text-decoration: none !important; /* override theme */ font-weight: 500; font-style: normal; } @@ -177,8 +172,7 @@ body.is-mobile .markdown-preview-view .task-list-item-checkbox { -webkit-appearance: none; box-sizing: border-box; background: unset !important; - background-color: transparent !important; - /* override theme */ + background-color: transparent !important; /* override theme */ filter: none; color: var(--checkbox-review); font-family: var(--font-monospace); @@ -191,8 +185,7 @@ body.is-mobile .markdown-preview-view .task-list-item-checkbox { .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task=R] input[type=checkbox].task-list-item-checkbox[data-task=R] + span, .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task=R] input[type=checkbox].task-list-item-checkbox[data-task=R] + span + span, .markdown-preview-view ul.contains-task-list > li[data-task=R].task-list-item.is-checked { - text-decoration: none !important; - /* override theme */ + text-decoration: none !important; /* override theme */ font-weight: 500; font-style: normal; } @@ -220,8 +213,7 @@ body.is-mobile .markdown-preview-view .task-list-item-checkbox { -webkit-appearance: none; box-sizing: border-box; background: unset !important; - background-color: transparent !important; - /* override theme */ + background-color: transparent !important; /* override theme */ filter: none; color: var(--checkbox-question); font-family: var(--font-monospace); @@ -234,8 +226,7 @@ body.is-mobile .markdown-preview-view .task-list-item-checkbox { .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task="?"] input[type=checkbox].task-list-item-checkbox[data-task="?"] + span, .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task="?"] input[type=checkbox].task-list-item-checkbox[data-task="?"] + span + span, .markdown-preview-view ul.contains-task-list > li[data-task="?"].task-list-item.is-checked { - text-decoration: none !important; - /* override theme */ + text-decoration: none !important; /* override theme */ font-weight: 500; font-style: normal; } @@ -263,8 +254,7 @@ body.is-mobile .markdown-preview-view .task-list-item-checkbox { -webkit-appearance: none; box-sizing: border-box; background: unset !important; - background-color: transparent !important; - /* override theme */ + background-color: transparent !important; /* override theme */ filter: none; color: var(--checkbox-important); font-family: var(--font-monospace); @@ -277,8 +267,7 @@ body.is-mobile .markdown-preview-view .task-list-item-checkbox { .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task="!"] input[type=checkbox].task-list-item-checkbox[data-task="!"] + span, .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task="!"] input[type=checkbox].task-list-item-checkbox[data-task="!"] + span + span, .markdown-preview-view ul.contains-task-list > li[data-task="!"].task-list-item.is-checked { - text-decoration: none !important; - /* override theme */ + text-decoration: none !important; /* override theme */ font-weight: 700; font-style: normal; color: var(--checkbox-important); @@ -307,8 +296,7 @@ body.is-mobile .markdown-preview-view .task-list-item-checkbox { -webkit-appearance: none; box-sizing: border-box; background: unset !important; - background-color: transparent !important; - /* override theme */ + background-color: transparent !important; /* override theme */ filter: none; color: var(--checkbox-cancelled); font-family: var(--font-monospace); @@ -321,8 +309,7 @@ body.is-mobile .markdown-preview-view .task-list-item-checkbox { .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task="-"] input[type=checkbox].task-list-item-checkbox[data-task="-"] + span, .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task="-"] input[type=checkbox].task-list-item-checkbox[data-task="-"] + span + span, .markdown-preview-view ul.contains-task-list > li[data-task="-"].task-list-item.is-checked { - text-decoration: line-through !important; - /* override theme */ + text-decoration: line-through !important; /* override theme */ font-weight: 500; font-style: normal; color: var(--checkbox-cancelled); @@ -351,8 +338,7 @@ body.is-mobile .markdown-preview-view .task-list-item-checkbox { -webkit-appearance: none; box-sizing: border-box; background: unset !important; - background-color: transparent !important; - /* override theme */ + background-color: transparent !important; /* override theme */ filter: none; color: var(--checkbox-checked); font-family: var(--font-monospace); @@ -365,10 +351,10 @@ body.is-mobile .markdown-preview-view .task-list-item-checkbox { .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task=x] input[type=checkbox].task-list-item-checkbox[data-task=x] + span, .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task=x] input[type=checkbox].task-list-item-checkbox[data-task=x] + span + span, .markdown-preview-view ul.contains-task-list > li[data-task=x].task-list-item.is-checked { - text-decoration: none !important; - /* override theme */ + text-decoration: none !important; /* override theme */ font-weight: 500; font-style: normal; + color: var(--text-normal); } /* 'X' for task ('- [X]') */ @@ -394,8 +380,7 @@ body.is-mobile .markdown-preview-view .task-list-item-checkbox { -webkit-appearance: none; box-sizing: border-box; background: unset !important; - background-color: transparent !important; - /* override theme */ + background-color: transparent !important; /* override theme */ filter: none; color: var(--checkbox-checked); font-family: var(--font-monospace); @@ -408,10 +393,10 @@ body.is-mobile .markdown-preview-view .task-list-item-checkbox { .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task=X] input[type=checkbox].task-list-item-checkbox[data-task=X] + span, .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task=X] input[type=checkbox].task-list-item-checkbox[data-task=X] + span + span, .markdown-preview-view ul.contains-task-list > li[data-task=X].task-list-item.is-checked { - text-decoration: none !important; - /* override theme */ + text-decoration: none !important; /* override theme */ font-weight: 500; font-style: normal; + color: var(--text-normal); } /* Consistent hover colors */