Proper support for heading anchors
This commit is contained in:
@ -50,6 +50,7 @@ body {
|
||||
|
||||
@keyframes highlight-in-out {
|
||||
50% {
|
||||
font-weight: bolder;
|
||||
letter-spacing: 0.125rem;
|
||||
}
|
||||
}
|
||||
@ -77,17 +78,6 @@ h6 {
|
||||
line-height: normal;
|
||||
font-family: var(--font-serif);
|
||||
letter-spacing: -0.05em;
|
||||
|
||||
.zola-anchor {
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
&:hover .zola-anchor {
|
||||
display: inline-block;
|
||||
visibility: visible;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
h1 {
|
||||
@ -240,10 +230,6 @@ pre {
|
||||
background-color: var(--fg-muted-4);
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
font-style: normal;
|
||||
font-variant: normal;
|
||||
line-height: 1;
|
||||
text-rendering: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user