summaryrefslogtreecommitdiff
path: root/assets/css/components/_comment.scss
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-02-26 14:23:21 +0800
committerEltrac <hi@guhub.cn>2025-02-26 14:23:21 +0800
commit79ea7a31bc8ad6038405832d0aefe76802ca5ccd (patch)
tree10788888c20c5ed197f4a6ad6d1674593ff5a7a6 /assets/css/components/_comment.scss
parentf17c0328abf716792f8709ced4f0e1e9afee5bf2 (diff)
feat: add static comments to post page
Diffstat (limited to 'assets/css/components/_comment.scss')
-rw-r--r--assets/css/components/_comment.scss28
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
+ }
+ }
+ }
+}