mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-10 20:09:57 +00:00
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:
parent
0e0818c8e9
commit
0bfa12466e
@ -33,6 +33,7 @@ external-link-background: inherit
|
|||||||
external-link-foreground-hover: inherit
|
external-link-foreground-hover: inherit
|
||||||
external-link-foreground-visited: #0000aa
|
external-link-foreground-visited: #0000aa
|
||||||
external-link-foreground: #0000ee
|
external-link-foreground: #0000ee
|
||||||
|
footnote-target-background: #ecf2ff
|
||||||
foreground: #333333
|
foreground: #333333
|
||||||
highlight-background: #ffff00
|
highlight-background: #ffff00
|
||||||
highlight-foreground: #000000
|
highlight-foreground: #000000
|
||||||
|
@ -33,6 +33,7 @@ external-link-background: inherit
|
|||||||
external-link-foreground-hover: inherit
|
external-link-foreground-hover: inherit
|
||||||
external-link-foreground-visited: #0000aa
|
external-link-foreground-visited: #0000aa
|
||||||
external-link-foreground: #0000ee
|
external-link-foreground: #0000ee
|
||||||
|
footnote-target-background: #ecf2ff
|
||||||
foreground: #333353
|
foreground: #333353
|
||||||
highlight-background: #ffff00
|
highlight-background: #ffff00
|
||||||
highlight-foreground: #000000
|
highlight-foreground: #000000
|
||||||
|
@ -33,6 +33,7 @@ external-link-background: inherit
|
|||||||
external-link-foreground-hover: inherit
|
external-link-foreground-hover: inherit
|
||||||
external-link-foreground-visited: #0000aa
|
external-link-foreground-visited: #0000aa
|
||||||
external-link-foreground: #0000ee
|
external-link-foreground: #0000ee
|
||||||
|
footnote-target-background: #ecf2ff
|
||||||
foreground: #333333
|
foreground: #333333
|
||||||
highlight-background: #ffff00
|
highlight-background: #ffff00
|
||||||
highlight-foreground: #000000
|
highlight-foreground: #000000
|
||||||
|
@ -33,6 +33,7 @@ external-link-background: inherit
|
|||||||
external-link-foreground-hover: inherit
|
external-link-foreground-hover: inherit
|
||||||
external-link-foreground-visited: #00a
|
external-link-foreground-visited: #00a
|
||||||
external-link-foreground: #00e
|
external-link-foreground: #00e
|
||||||
|
footnote-target-background: #e5e5e5
|
||||||
foreground: #000
|
foreground: #000
|
||||||
highlight-background: #ffff00
|
highlight-background: #ffff00
|
||||||
highlight-foreground: #000000
|
highlight-foreground: #000000
|
||||||
|
@ -33,6 +33,7 @@ external-link-background: inherit
|
|||||||
external-link-foreground-hover: inherit
|
external-link-foreground-hover: inherit
|
||||||
external-link-foreground-visited: #00a
|
external-link-foreground-visited: #00a
|
||||||
external-link-foreground: #00e
|
external-link-foreground: #00e
|
||||||
|
footnote-target-background: #4c4c4c
|
||||||
foreground: #fff
|
foreground: #fff
|
||||||
highlight-background: #ffff00
|
highlight-background: #ffff00
|
||||||
highlight-foreground: #000000
|
highlight-foreground: #000000
|
||||||
|
@ -31,6 +31,7 @@ external-link-background: transparent
|
|||||||
external-link-foreground-hover:
|
external-link-foreground-hover:
|
||||||
external-link-foreground-visited: #BF5AF2
|
external-link-foreground-visited: #BF5AF2
|
||||||
external-link-foreground: #32D74B
|
external-link-foreground: #32D74B
|
||||||
|
footnote-target-background: #747474
|
||||||
foreground: #FFFFFF
|
foreground: #FFFFFF
|
||||||
highlight-background: #ffff78
|
highlight-background: #ffff78
|
||||||
highlight-foreground: #000000
|
highlight-foreground: #000000
|
||||||
|
@ -35,6 +35,7 @@ external-link-background: inherit
|
|||||||
external-link-foreground-hover: inherit
|
external-link-foreground-hover: inherit
|
||||||
external-link-foreground-visited: #0000aa
|
external-link-foreground-visited: #0000aa
|
||||||
external-link-foreground: #0000ee
|
external-link-foreground: #0000ee
|
||||||
|
footnote-target-background: #ecf2ff
|
||||||
foreground: #333333
|
foreground: #333333
|
||||||
highlight-background: #ffff00
|
highlight-background: #ffff00
|
||||||
highlight-foreground: #000000
|
highlight-foreground: #000000
|
||||||
|
@ -39,6 +39,7 @@ external-link-background: inherit
|
|||||||
external-link-foreground-hover: inherit
|
external-link-foreground-hover: inherit
|
||||||
external-link-foreground-visited: #313163
|
external-link-foreground-visited: #313163
|
||||||
external-link-foreground: #555592
|
external-link-foreground: #555592
|
||||||
|
footnote-target-background: #fff7d9
|
||||||
foreground: #2D2A23
|
foreground: #2D2A23
|
||||||
highlight-background: #ffff00
|
highlight-background: #ffff00
|
||||||
highlight-foreground: #000000
|
highlight-foreground: #000000
|
||||||
|
@ -40,6 +40,7 @@ external-link-background: inherit
|
|||||||
external-link-foreground-hover: inherit
|
external-link-foreground-hover: inherit
|
||||||
external-link-foreground-visited: #d3869b
|
external-link-foreground-visited: #d3869b
|
||||||
external-link-foreground: #8ec07c
|
external-link-foreground: #8ec07c
|
||||||
|
footnote-target-background: #665c54
|
||||||
foreground: #fbf1c7
|
foreground: #fbf1c7
|
||||||
highlight-background: #ffff79
|
highlight-background: #ffff79
|
||||||
highlight-foreground: #000000
|
highlight-foreground: #000000
|
||||||
|
@ -40,6 +40,7 @@ external-link-background: inherit
|
|||||||
external-link-foreground-hover: inherit
|
external-link-foreground-hover: inherit
|
||||||
external-link-foreground-visited: #5E81AC
|
external-link-foreground-visited: #5E81AC
|
||||||
external-link-foreground: #8FBCBB
|
external-link-foreground: #8FBCBB
|
||||||
|
footnote-target-background: #2E3440
|
||||||
foreground: #d8dee9
|
foreground: #d8dee9
|
||||||
highlight-background: #ffff78
|
highlight-background: #ffff78
|
||||||
highlight-foreground: #000000
|
highlight-foreground: #000000
|
||||||
|
@ -33,6 +33,7 @@ external-link-background: inherit
|
|||||||
external-link-foreground-hover: inherit
|
external-link-foreground-hover: inherit
|
||||||
external-link-foreground-visited: #0000aa
|
external-link-foreground-visited: #0000aa
|
||||||
external-link-foreground: #0000ee
|
external-link-foreground: #0000ee
|
||||||
|
footnote-target-background: #ecf2ff
|
||||||
foreground: #333333
|
foreground: #333333
|
||||||
highlight-background: #ffff00
|
highlight-background: #ffff00
|
||||||
highlight-foreground: #000000
|
highlight-foreground: #000000
|
||||||
|
@ -131,6 +131,7 @@ external-link-background-hover: inherit
|
|||||||
external-link-background-visited: inherit
|
external-link-background-visited: inherit
|
||||||
external-link-background: inherit
|
external-link-background: inherit
|
||||||
external-link-foreground-hover: inherit
|
external-link-foreground-hover: inherit
|
||||||
|
footnote-target-background: #ded8c5
|
||||||
highlight-background: #ffff00
|
highlight-background: #ffff00
|
||||||
highlight-foreground: #000000
|
highlight-foreground: #000000
|
||||||
message-border: #cfd6e6
|
message-border: #cfd6e6
|
||||||
|
@ -34,6 +34,7 @@ external-link-background-visited: inherit
|
|||||||
external-link-foreground: #268bd2
|
external-link-foreground: #268bd2
|
||||||
external-link-foreground-hover:
|
external-link-foreground-hover:
|
||||||
external-link-foreground-visited: #268bd2
|
external-link-foreground-visited: #268bd2
|
||||||
|
footnote-target-background: #073642
|
||||||
foreground: #839496
|
foreground: #839496
|
||||||
highlight-background: #ffff78
|
highlight-background: #ffff78
|
||||||
highlight-foreground: #000000
|
highlight-foreground: #000000
|
||||||
|
@ -34,6 +34,7 @@ external-link-background-visited: inherit
|
|||||||
external-link-foreground: #268bd2
|
external-link-foreground: #268bd2
|
||||||
external-link-foreground-hover: inherit
|
external-link-foreground-hover: inherit
|
||||||
external-link-foreground-visited: #268bd2
|
external-link-foreground-visited: #268bd2
|
||||||
|
footnote-target-background: #eee8d5
|
||||||
foreground: #657b83
|
foreground: #657b83
|
||||||
highlight-background: #ffff00
|
highlight-background: #ffff00
|
||||||
highlight-foreground: #000000
|
highlight-foreground: #000000
|
||||||
|
@ -33,6 +33,7 @@ external-link-background: transparent
|
|||||||
external-link-foreground-hover:
|
external-link-foreground-hover:
|
||||||
external-link-foreground-visited:
|
external-link-foreground-visited:
|
||||||
external-link-foreground:
|
external-link-foreground:
|
||||||
|
footnote-target-background: #ececec
|
||||||
foreground: rgba(0, 0, 0, 0.87)
|
foreground: rgba(0, 0, 0, 0.87)
|
||||||
highlight-background: #ffff00
|
highlight-background: #ffff00
|
||||||
highlight-foreground: #000000
|
highlight-foreground: #000000
|
||||||
|
@ -33,6 +33,7 @@ external-link-background: transparent
|
|||||||
external-link-foreground-hover:
|
external-link-foreground-hover:
|
||||||
external-link-foreground-visited: #7c318c
|
external-link-foreground-visited: #7c318c
|
||||||
external-link-foreground: #9e3eb3
|
external-link-foreground: #9e3eb3
|
||||||
|
footnote-target-background: #494949
|
||||||
foreground: rgba(255, 255, 255, 0.7)
|
foreground: rgba(255, 255, 255, 0.7)
|
||||||
highlight-background: #ffff78
|
highlight-background: #ffff78
|
||||||
highlight-foreground: #000000
|
highlight-foreground: #000000
|
||||||
|
@ -42,6 +42,7 @@ external-link-background-visited: inherit
|
|||||||
external-link-foreground: rgb(179, 179, 255)
|
external-link-foreground: rgb(179, 179, 255)
|
||||||
external-link-foreground-hover: inherit
|
external-link-foreground-hover: inherit
|
||||||
external-link-foreground-visited: rgb(153, 153, 255)
|
external-link-foreground-visited: rgb(153, 153, 255)
|
||||||
|
footnote-target-background: <<colour tag-foreground>>
|
||||||
foreground: rgb(179, 179, 179)
|
foreground: rgb(179, 179, 179)
|
||||||
highlight-background: #ffff78
|
highlight-background: #ffff78
|
||||||
highlight-foreground: #000000
|
highlight-foreground: #000000
|
||||||
|
@ -41,6 +41,7 @@ external-link-background: inherit
|
|||||||
external-link-foreground-hover: inherit
|
external-link-foreground-hover: inherit
|
||||||
external-link-foreground-visited: #0000aa
|
external-link-foreground-visited: #0000aa
|
||||||
external-link-foreground: #0000ee
|
external-link-foreground: #0000ee
|
||||||
|
footnote-target-background: #ecf2ff
|
||||||
foreground: #333333
|
foreground: #333333
|
||||||
highlight-background: #ffff00
|
highlight-background: #ffff00
|
||||||
highlight-foreground: #000000
|
highlight-foreground: #000000
|
||||||
|
@ -36,7 +36,7 @@ code-body: yes
|
|||||||
margin-left: 0.25em;
|
margin-left: 0.25em;
|
||||||
}
|
}
|
||||||
.markdown a.footnote-ref:target, .markdown .footnote-item:target {
|
.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]] }}};
|
scroll-margin-top: {{{ [{$:/themes/tiddlywiki/vanilla/options/stickytitles}match[yes]then[120px]else[60px]] }}};
|
||||||
}
|
}
|
||||||
.markdown li > p:first-child {
|
.markdown li > p:first-child {
|
||||||
|
Loading…
Reference in New Issue
Block a user