refacto: reorganize scss for modularity

This commit is contained in:
Alexis Fourmaux 2025-05-14 23:33:30 +02:00
parent 1d939fb107
commit 17dd9dba48
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;
}
}
}