diff options
| author | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2020-11-10 12:15:56 +0530 |
|---|---|---|
| committer | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2020-11-10 12:34:22 +0530 |
| commit | cf4fd27e3da24a1258339c3aa186efcac711b044 (patch) | |
| tree | 025ba31838ddaa469dbb2182db67348d13c8ac49 /assets | |
| parent | 2b0619f684f3b4fabdcd6457d4302f8011a059ee (diff) | |
anchored-headings: port to PaperMod
- add corresponding css
- gen anchored headings for h1-h6
- link with single.html
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/css/post-single.css | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/assets/css/post-single.css b/assets/css/post-single.css index d46cb83..f93e8d1 100644 --- a/assets/css/post-single.css +++ b/assets/css/post-single.css @@ -315,6 +315,18 @@ transform: scale(0.96); } +h1:hover .anchor, +h2:hover .anchor, +h3:hover .anchor, +h4:hover .anchor, +h5:hover .anchor, +h6:hover .anchor { + display: inline-flex; + color: var(--secondary); + margin-inline-start: 8px; + font-weight: 500; +} + @media screen and (max-width: 600px) { .post-content blockquote { margin: 0 calc(var(--gap) * -1); |
