Fix: hide hash anchor

This commit is contained in:
hyzen
2026-06-21 03:27:43 +05:30
parent 922c89e504
commit 7f3d8405fe
2 changed files with 18 additions and 0 deletions

View File

@@ -1541,3 +1541,12 @@ th {
border: 1px solid var(--foreground-color);
color: var(--foreground-color);
}
/* Hide the "#" anchor link the theme appends after every heading
(blog, services, uninotes, homepage), including the theme's
:hover reveal. The heading id stays in place for deep-linking;
only the visible "#" is removed. */
.heading .heading__anchor,
.heading:hover > .heading__anchor {
display: none;
}

View File

@@ -1541,3 +1541,12 @@ th {
border: 1px solid var(--foreground-color);
color: var(--foreground-color);
}
/* Hide the "#" anchor link the theme appends after every heading
(blog, services, uninotes, homepage), including the theme's
:hover reveal. The heading id stays in place for deep-linking;
only the visible "#" is removed. */
.heading .heading__anchor,
.heading:hover > .heading__anchor {
display: none;
}