fix: anchor link visibility
This commit is contained in:
parent
940fe944da
commit
926c8ad491
1 changed files with 13 additions and 2 deletions
|
|
@ -98,6 +98,19 @@ h4,
|
||||||
h5,
|
h5,
|
||||||
h6 {
|
h6 {
|
||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
|
|
||||||
|
&>a {
|
||||||
|
visibility: hidden;
|
||||||
|
opacity: 0;
|
||||||
|
transition: visibility 0s, opacity 0.5s linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
&>a {
|
||||||
|
visibility: visible;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
|
|
@ -121,8 +134,6 @@ a {
|
||||||
}
|
}
|
||||||
|
|
||||||
&.zola-anchor {
|
&.zola-anchor {
|
||||||
color: var(--text);
|
|
||||||
text-decoration-color: var(--text);
|
|
||||||
margin-left: .5rem;
|
margin-left: .5rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue