diff options
| author | Eltrac <hi@guhub.cn> | 2025-10-25 14:35:16 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-10-25 14:35:16 +0800 |
| commit | de2ac7227a7d25e50c2f505af6670517499279c0 (patch) | |
| tree | 9a3b06254cfcfcbfcff55b39dcad3860f580292e /assets/css | |
| parent | e0ae0fa0c7fb0405f72b2d7684a7b99a13092e8c (diff) | |
feat(blog): new emphasis & bold style
- remove distracting colors
- use `text-emphasis` to create under-dots for `<strong>`
- dots only shows in Chinese pages
Former-commit-id: 6ec981733f09cc67c6afdb51a79e0360ef3b8f70
Diffstat (limited to 'assets/css')
| -rw-r--r-- | assets/css/_markdown.scss | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/assets/css/_markdown.scss b/assets/css/_markdown.scss index 7ab8905e..42c354d7 100644 --- a/assets/css/_markdown.scss +++ b/assets/css/_markdown.scss @@ -15,9 +15,10 @@ $em-text-color: #889E73; margin-bottom: 1em; } - strong { color: $strong-text-color; } - - em { color: $em-text-color; } + strong, b { + text-emphasis: filled dot; + text-emphasis-position: under; + } img { max-width: 100%; |
