diff options
| author | Eltrac <hi@guhub.cn> | 2024-12-21 09:38:19 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2024-12-21 09:38:19 +0800 |
| commit | bae742edd4a53654b1488b8ed422f97dca9bd1d1 (patch) | |
| tree | dc6950dbd75484488fa4b261436d5e3e79e1602e /assets/css/index.css | |
| parent | 590c74d2c0faa04dc1a6ffe8e79a54a0f0362646 (diff) | |
feat: add post tags
Diffstat (limited to 'assets/css/index.css')
| -rw-r--r-- | assets/css/index.css | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/assets/css/index.css b/assets/css/index.css index 854343d1..e07b55c3 100644 --- a/assets/css/index.css +++ b/assets/css/index.css @@ -15,6 +15,7 @@ /* fonts */ --mono-font-family: "Courier New", Courier, "Menlo", "Monaco", Consolas, "Liberation Mono", "Lucida Console", monospace; --serif-font-family: "Noto Serif SC", serif; + --content-font-size: 20px; /* waline */ --waline-font-size: 20px; @@ -78,7 +79,7 @@ a:hover { } .markdown-body { - font-size: 20px; + font-size: var(--content-font-size); max-width: 100%; } @@ -282,13 +283,10 @@ a:hover { font-size: 1.2rem; } -.post-tags { - display: inline; - font-weight: 600; - padding: 2px 5px; - margin-right: 6px; - border: var(--text-color) 2px solid; - border-radius: 5px; +.post-tags a { + display: inline-block; + color: var(--secondary-text-color); + font-size: var(--content-font-size); } .post-date { |
