Improve render hook example for headings.
This commit is contained in:
parent
88add4ef0d
commit
3a522997f7
1 changed files with 38 additions and 3 deletions
|
|
@ -128,6 +128,36 @@ article {
|
|||
}
|
||||
}
|
||||
|
||||
// Anchor
|
||||
|
||||
.anchor {
|
||||
display: grid;
|
||||
grid-template-columns: auto 1fr;
|
||||
align-items: baseline;
|
||||
gap: .5rem;
|
||||
|
||||
a {
|
||||
opacity: 0;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
&:focus-visible,
|
||||
&:hover {
|
||||
a {
|
||||
opacity: .4;
|
||||
|
||||
&:focus-visible,
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
p:has(+ &) {
|
||||
margin-block-end: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Search
|
||||
|
||||
.search-text {
|
||||
|
|
|
|||
Loading…
Reference in a new issue