diff options
| author | BigCoke233 <hi@guhub.cn> | 2026-01-16 15:56:42 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2026-01-16 15:56:42 +0800 |
| commit | 6dacf49645809b70a684b71f2f98343fcea4c8d5 (patch) | |
| tree | 90933ad7303c862685df87ee8c640be789338c15 /assets/css/_markdown.scss | |
| parent | db1b583370a36d4460e0f3fcba19dff98ce32e1c (diff) | |
feat: better post content style
- smaller font
- remove ` before and after <code> because they add visual clutter
- bolder font for code
- thinner underline for links
Former-commit-id: 0386de01b3fd4588bbb48a31f3d6f5c994433440
Diffstat (limited to 'assets/css/_markdown.scss')
| -rw-r--r-- | assets/css/_markdown.scss | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/assets/css/_markdown.scss b/assets/css/_markdown.scss index d03e6b85..e85811b2 100644 --- a/assets/css/_markdown.scss +++ b/assets/css/_markdown.scss @@ -58,6 +58,7 @@ $block-background-color: var(--block-background-color); // color and underline text-decoration: underline; text-decoration-style: wavy; + text-decoration-thickness: 1px; text-underline-offset: 0.25em; text-decoration-color: $border-color; color: $link-color; @@ -131,10 +132,7 @@ $block-background-color: var(--block-background-color); code { font-size: 90%; color: var(--secondary-text-color); - &:not(pre > code)::before, - &:not(pre > code)::after { - content: '`' - } + font-weight: 600; } pre { |
