diff options
| author | Reorx <novoreorx@gmail.com> | 2022-04-10 20:38:20 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-04-10 21:33:27 +0800 |
| commit | 7dc044f2ba55a7f1eed37ebc6446f46b71f57ea0 (patch) | |
| tree | da22c167a872193f2c0607be5b0f4eaf4c952976 /assets/css/common/post-single.css | |
| parent | d7f6d6a7734b658b28c543b403810d397bbb6070 (diff) | |
tweak toc style
Diffstat (limited to 'assets/css/common/post-single.css')
| -rw-r--r-- | assets/css/common/post-single.css | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/assets/css/common/post-single.css b/assets/css/common/post-single.css index 62be1bb..8730e88 100644 --- a/assets/css/common/post-single.css +++ b/assets/css/common/post-single.css @@ -69,8 +69,7 @@ font-size: 12px; } -.post-content a, -.toc a:hover { +.post-content a { box-shadow: 0 1px 0; } @@ -266,7 +265,7 @@ @media screen and (min-width: 1000px) { .toc.side { position: fixed; - right: 50px; + right: 30px; top: 100px; width: 300px; font-size: .9em; @@ -297,6 +296,9 @@ margin-inline-start: var(--gap); } .toc li a.active { + box-shadow: 0 2px 0 var(--secondary); +} +.toc a:hover { text-decoration: underline; } |
