diff options
| author | Eltrac <hi@guhub.cn> | 2025-04-24 15:56:56 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-04-24 15:56:56 +0800 |
| commit | 5c55af900aedf1aa3921a326d0974740523bac02 (patch) | |
| tree | ae9ab41d06dfbe2546e9326f95ca92d5c8c88503 /assets/css/utils | |
| parent | 45b8beef00fda67e84f7ec2bc020b7b40b0ea042 (diff) | |
style: unify all category link style
Former-commit-id: 64b0ad0bb4ecc89844b276e9bf9e40e142162a57
Diffstat (limited to 'assets/css/utils')
| -rw-r--r-- | assets/css/utils/_variables.scss | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/assets/css/utils/_variables.scss b/assets/css/utils/_variables.scss index 455fa5b9..f55b5205 100644 --- a/assets/css/utils/_variables.scss +++ b/assets/css/utils/_variables.scss @@ -56,3 +56,13 @@ html[lang="en-US"] { border-radius: 0.5rem; border: 1px solid var(--border-color); } + +@mixin postCategoryPill { + background-color: var(--block-background-color); + font-size: 0.9rem; + padding: 0.2rem 0.5rem; + border-radius: 0.2rem; + &:hover { + text-decoration: none; + } +} |
