diff --git a/content/_index.md b/content/_index.md index 49e3ae7..8553ee3 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,5 +1,4 @@ +++ -insert_anchor_links = "left" title = "Home" +++ diff --git a/sass/_zola-anchor.scss b/sass/_zola-anchor.scss deleted file mode 100644 index e5563d8..0000000 --- a/sass/_zola-anchor.scss +++ /dev/null @@ -1,62 +0,0 @@ -h1, -h2, -h3, -h4, -h5, -h6 { - &:hover .zola-anchor { - transform: translateY(-0.125em); - opacity: 1; - - :root[dir*="rtl"] & { - transform: translateY(-0.125em); - } - } -} - -.zola-anchor { - position: absolute; - transform: translateX(0.5rem) translateY(-0.125em); - opacity: 0; - transition: var(--transition); - margin-inline-start: calc(-1em + -0.5rem); - color: var(--fg-muted-4); - line-height: 1; - - @media only screen and (max-width: 832px) { - display: none; - } - - :root[dir*="rtl"] & { - transform: translateX(-0.5rem) translateY(-0.125em); - } - - &:hover { - color: var(--accent-color); - } - - &:active { - transform: var(--active); - } - - &:focus-visible { - opacity: 1; - } - - .icon { - -webkit-mask-image: var(--icon-link); - mask-image: var(--icon-link); - mask-size: cover; - transition: var(--transition); - width: 1em; - height: 1em; - - :root[dir*="rtl"] & { - transform: scaleX(-1); - } - } -} - -:target .zola-anchor { - color: var(--accent-color-alpha); -} diff --git a/sass/style.scss b/sass/style.scss index 6f072b7..4c2290f 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -38,4 +38,3 @@ @use "title"; @use "typography"; @use "visually-hidden"; -@use "zola-anchor"; diff --git a/templates/anchor-link.html b/templates/anchor-link.html deleted file mode 100644 index 982d193..0000000 --- a/templates/anchor-link.html +++ /dev/null @@ -1 +0,0 @@ -