target all headings using :is()
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending

This commit is contained in:
Mylloon 2023-10-15 19:32:20 +02:00
parent 808bca2c6d
commit 6f85fa3f59
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -71,12 +71,7 @@ main {
}
/* Anchors */
h1:hover a.anchor::before,
h2:hover a.anchor::before,
h3:hover a.anchor::before,
h4:hover a.anchor::before,
h5:hover a.anchor::before,
h6:hover a.anchor::before {
:is(h1, h2, h3, h4, h5, h6):hover a.anchor::before {
visibility: visible;
}
@ -92,12 +87,7 @@ a.anchor {
}
/* Links in headers */
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
:is(h1, h2, h3, h4, h5, h6) a {
font-size: inherit;
}