diff options
author | EuAndreh <eu@euandre.org> | 2020-08-13 06:12:39 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-08-13 06:12:39 -0300 |
commit | 0e0a68d94cc2e18f09155657158e22d5cdc176c1 (patch) | |
tree | 75f966106c53715e8e082152ab3a7b4ec94b3f50 /styles.css | |
parent | i18n-date.html: Replace HTML comments with liquid comments (diff) | |
download | euandre.org-0e0a68d94cc2e18f09155657158e22d5cdc176c1.tar.gz euandre.org-0e0a68d94cc2e18f09155657158e22d5cdc176c1.tar.xz |
Create Jekyll hook to add header anchors based on the header IDs
Impement add-anchor-to-header-from-header-id.rb using regexps, like the
"official hooks" do:
- https://github.com/jekyll/jekyll-mentions
- https://github.com/jekyll/jemoji
Diffstat (limited to '')
-rw-r--r-- | styles.css | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -80,3 +80,16 @@ section.post-footer, div.footnotes { height: 22px; vertical-align: middle; } + +a.header-anchor { + color: black; + text-decoration: none; +} + +a.header-anchor img { + visibility: hidden; +} + +a.header-anchor:hover img { + visibility: visible; +} |