feat: copyable header anchors (fixes #86)

This commit is contained in:
Jacky Zhao committed 2022-04-30 13:10:12 -07:00
1 parent ec86cca97b
commit b8a660e208
2 files changed
+17

No files matched your search

+13
View File
@@ -12,6 +12,19 @@ h1, h2, h3, h4, h5, h6, ol, ul, thead {
font-weight: revert;
margin: revert;
padding: revert;
&:hover > .hanchor {
opacity: 1;
}
}
.hanchor {
font-family: Inter;
margin-left: -1em;
opacity: 0.3;
transition: opacity 0.3s ease;
color: var(--secondary);
}
p, ul, text {