Apply proper color for target footnote background in markdown (#8492)

* Use footnote-target-background index for the color of the background of target footnote

* Apply proper color to palettes
This commit is contained in:
Leilei332 2024-08-07 19:07:22 +08:00 committed by GitHub
parent 0e0818c8e9
commit 0bfa12466e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 19 additions and 1 deletions

View file

@ -36,7 +36,7 @@ code-body: yes
margin-left: 0.25em;
}
.markdown a.footnote-ref:target, .markdown .footnote-item:target {
background-color: <<colour message-background>>;
background-color: <<colour footnote-target-background>>;
scroll-margin-top: {{{ [{$:/themes/tiddlywiki/vanilla/options/stickytitles}match[yes]then[120px]else[60px]] }}};
}
.markdown li > p:first-child {