Change all header text to be linked

This commit is contained in:
Will Faught
2025-03-04 16:45:57 -08:00
parent 1774b7ac85
commit 91920613a8
3 changed files with 4 additions and 25 deletions

View File

@@ -12,17 +12,6 @@
content: "{{ i18n `paige_figure` | safeCSS }} " counter(paige-shortcode-figure-numbered);
}
.paige-header-link {
opacity: 0;
margin-left: 0.5rem;
position: absolute;
transition: color 0.15s ease-in-out, opacity 0.15s ease-in-out;
}
.paige-header-link::after {
content: "#";
}
.paige-shortcode-quote .blockquote-footer {
margin-top: 0;
}
@@ -75,13 +64,6 @@ table {
margin-bottom: 1rem;
}
.paige-header-link:focus,
.paige-header-link:hover,
:hover > .paige-header-link,
:target > .paige-header-link {
opacity: 1;
}
{{ $colorscheme := $page.Param "paige.site.color_scheme" }}
{{ if eq $colorscheme "dark" }}
@@ -97,9 +79,3 @@ table {
{{ partial "paige/light.css" $page | safeCSS }}
}
{{ end }}
@media (prefers-reduced-motion: reduce) {
.paige-header-link {
transition: none;
}
}