diff options
| author | Eltrac <hi@guhub.cn> | 2025-01-08 21:39:39 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-01-08 21:39:39 +0800 |
| commit | adaa90b2bcef4c3d2375345cd2f89442c0b5cb99 (patch) | |
| tree | 4e6aa3dbe67616aa224f25dd6d0f0539e43565c8 /assets/css/components/_post.scss | |
| parent | 2f5e9d5797720e479035ab9ba4298448fc04b862 (diff) | |
refactor(theme): better scss structure
Former-commit-id: 890a1f04cdd42a3627b0fd293fb54d300ba40824
Diffstat (limited to 'assets/css/components/_post.scss')
| -rw-r--r-- | assets/css/components/_post.scss | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/assets/css/components/_post.scss b/assets/css/components/_post.scss new file mode 100644 index 00000000..bd7c77e1 --- /dev/null +++ b/assets/css/components/_post.scss @@ -0,0 +1,42 @@ + +/* post */ + +.post-header { + margin-bottom: 2rem; +} + +.post-title { + font-size: 2rem; + font-weight: 900; +} + +.post-subtitle { + display: block; + color: var(--secondary-text-color); + font-style: italic; + font-size: 1.2rem; +} + +.post-tags a { + display: inline-block; + color: var(--secondary-text-color); + font-size: var(--content-font-size); +} + +.post-date { + color: var(--secondary-text-color) +} + +.post-author { + float: right; + font-weight: 600; +} + +.page-content { + min-height: 60%; +} + +.post-content { + margin-bottom: 50px; + line-height: 2 +} |
