refacto: reorganize scss for modularity

This commit is contained in:
Ungol 2025-12-23 22:27:52 +01:00
parent cee8bb00bc
commit 8d3d2d8b61
10 changed files with 301 additions and 303 deletions

23
sass/parts/_anchor.scss Normal file
View file

@ -0,0 +1,23 @@
a.zola-anchor {
margin-left: .5rem;
}
h1,
h2,
h3,
h4,
h5,
h6 {
&>a {
visibility: hidden;
opacity: 0;
transition: visibility 0s, opacity 0.5s linear;
}
&:hover {
&>a {
visibility: visible;
opacity: 1;
}
}
}