diff options
| author | Eltrac <hi@guhub.cn> | 2025-02-26 14:23:21 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-02-26 14:23:21 +0800 |
| commit | 23f6f5675f1b754bfe4f351ec5b6a1bc79d2262d (patch) | |
| tree | b9923ce2f3100a9d4f1adcd126a0e14fdfc599be /assets/css/components/_comment.scss | |
| parent | e3efc6cff6777ca6057b9427b93da77fd90f630f (diff) | |
feat: add static comments to post page
Former-commit-id: 79ea7a31bc8ad6038405832d0aefe76802ca5ccd
Diffstat (limited to 'assets/css/components/_comment.scss')
| -rw-r--r-- | assets/css/components/_comment.scss | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/assets/css/components/_comment.scss b/assets/css/components/_comment.scss new file mode 100644 index 00000000..996f7e26 --- /dev/null +++ b/assets/css/components/_comment.scss @@ -0,0 +1,28 @@ +.post-comments { + .static-comments { + margin: 2rem 0; + .static-comments-heading { + color: var(--secondary-text-color) + } + .static-comments-item { + font-size: 1.2rem; + border-bottom: 1px solid #ccc; + padding: 1rem 0.25rem; + .static-comments-item-header { + margin-bottom: 1rem; + display: flex; + justify-content: space-between; + .comment-author { + font-weight: bold; + } + .comment-date { + color: var(--secondary-text-color); + } + } + .static-comments-item-footer { + font-size: 1rem; + text-align: right + } + } + } +} |
