Fossil SCM
Add an "eye-candy": if a footnote's mark is followed then the corresponding back-reference is highlighted, if a footnote's back-reference is followed then highlight the corresponding footnote's mark.
Commit
50dcf92f85750f57baf5ac33e06a3c424103d10d6851edae600ce3c193ba79f2
Parent
e3710ccd3a5af6a…
1 file changed
+6
+6
| --- src/default.css | ||
| +++ src/default.css | ||
| @@ -1674,10 +1674,16 @@ | ||
| 1674 | 1674 | margin-bottom: 0.5em; |
| 1675 | 1675 | } |
| 1676 | 1676 | div.content div.markdown > ol.footnotes > li > .footnote-backrefs { |
| 1677 | 1677 | margin-right: 1em; |
| 1678 | 1678 | font-weight: bold; |
| 1679 | +} | |
| 1680 | +div.markdown > ol.footnotes > li > .footnote-backrefs > a:target { | |
| 1681 | + background: gold; | |
| 1682 | +} | |
| 1683 | +div.markdown a.noteref:target > sup { | |
| 1684 | + background: gold; | |
| 1679 | 1685 | } |
| 1680 | 1686 | |
| 1681 | 1687 | /* Objects in the "desktoponly" class are invisible on mobile */ |
| 1682 | 1688 | @media screen and (max-width: 600px) { |
| 1683 | 1689 | .desktoponly { |
| 1684 | 1690 |
| --- src/default.css | |
| +++ src/default.css | |
| @@ -1674,10 +1674,16 @@ | |
| 1674 | margin-bottom: 0.5em; |
| 1675 | } |
| 1676 | div.content div.markdown > ol.footnotes > li > .footnote-backrefs { |
| 1677 | margin-right: 1em; |
| 1678 | font-weight: bold; |
| 1679 | } |
| 1680 | |
| 1681 | /* Objects in the "desktoponly" class are invisible on mobile */ |
| 1682 | @media screen and (max-width: 600px) { |
| 1683 | .desktoponly { |
| 1684 |
| --- src/default.css | |
| +++ src/default.css | |
| @@ -1674,10 +1674,16 @@ | |
| 1674 | margin-bottom: 0.5em; |
| 1675 | } |
| 1676 | div.content div.markdown > ol.footnotes > li > .footnote-backrefs { |
| 1677 | margin-right: 1em; |
| 1678 | font-weight: bold; |
| 1679 | } |
| 1680 | div.markdown > ol.footnotes > li > .footnote-backrefs > a:target { |
| 1681 | background: gold; |
| 1682 | } |
| 1683 | div.markdown a.noteref:target > sup { |
| 1684 | background: gold; |
| 1685 | } |
| 1686 | |
| 1687 | /* Objects in the "desktoponly" class are invisible on mobile */ |
| 1688 | @media screen and (max-width: 600px) { |
| 1689 | .desktoponly { |
| 1690 |