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 | 64b0ad0bb4ecc89844b276e9bf9e40e142162a57 (patch) | |
| tree | 768212ca81eb008af29f9ec638d93e499e3806e6 /assets/css/utils | |
| parent | 56aeca141c37a63f70c47e354678fccc0d495553 (diff) | |
style: unify all category link style
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; + } +} |
