mirror of
https://gitlab.com/lvra/lvra.gitlab.io.git
synced 2024-12-25 15:20:26 +01:00
feat: highlight active HTML anchor header
This commit is contained in:
parent
7d0db514da
commit
9f5ab578e2
1 changed files with 10 additions and 0 deletions
|
@ -19,3 +19,13 @@ main {
|
||||||
#menu-control:checked ~ main .book-page {
|
#menu-control:checked ~ main .book-page {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1,
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4,
|
||||||
|
h5 {
|
||||||
|
&:target {
|
||||||
|
background-color: rgba(#f66, 0.1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue