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 | 6ec981733f09cc67c6afdb51a79e0360ef3b8f70 (patch) | |
| tree | 7d2be026e075576021808db035b971bd92b8c1cf | |
| parent | 94df75701ad107145c08f2a8061f46a6d91cbdef (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
| -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%; |
