diff options
| author | Reorx <novoreorx@gmail.com> | 2022-04-10 01:18:40 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-04-10 01:18:40 +0800 |
| commit | 9ebe2111f67c2684d3dcfa9f9e739890c7d7d54b (patch) | |
| tree | 3362226a12a8bf55398db038307c4909e439c96e /assets/css/common/post-single.css | |
| parent | 60f139d529a00c90a75151912f3639060435a1d9 (diff) | |
active toc link while scrolling
Diffstat (limited to 'assets/css/common/post-single.css')
| -rw-r--r-- | assets/css/common/post-single.css | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/assets/css/common/post-single.css b/assets/css/common/post-single.css index 07be079..62be1bb 100644 --- a/assets/css/common/post-single.css +++ b/assets/css/common/post-single.css @@ -270,6 +270,7 @@ top: 100px; width: 300px; font-size: .9em; + z-index: 1; } } @@ -295,6 +296,9 @@ .toc li ul { margin-inline-start: var(--gap); } +.toc li a.active { + text-decoration: underline; +} .toc summary:focus { outline: 0; |
