refacto: reorganize scss for modularity
This commit is contained in:
parent
cee8bb00bc
commit
8d3d2d8b61
10 changed files with 301 additions and 303 deletions
23
sass/parts/_anchor.scss
Normal file
23
sass/parts/_anchor.scss
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue