diff --git a/public/comments.css b/public/comments.css new file mode 100644 index 0000000..98bbb53 --- /dev/null +++ b/public/comments.css @@ -0,0 +1,35 @@ +.comments { + margin-top: 1rem; +} + +.comments-parent { + display: flex; + flex-direction: column; + gap: 1rem; + margin-top: 1rem; +} + +.comment-parent { + cursor: text; +} + +.comment-top { + display: flex; +} + +.comment-score { + border-right: 1px solid white; + padding-right: .5rem; +} + +.comment-body { + font-size: 0.95rem; + padding-left: .5rem; +} + +.comment-author { + color: var(--muted-text-color); + font-size: 0.8rem; + padding-left: 1.5rem; + margin-top: .25rem; +} \ No newline at end of file diff --git a/public/question.css b/public/question.css index dfe40d8..87f54ef 100644 --- a/public/question.css +++ b/public/question.css @@ -50,7 +50,8 @@ pre { font-size: 0.8rem; } -.post-divider, .answer-divider { +.post-divider, +.answer-divider { margin-top: 3rem; margin-bottom: 3rem; } @@ -102,42 +103,6 @@ img { height: 2rem; } -.comments { - margin-top: 1rem; -} - -.comments-parent { - display: flex; - flex-direction: column; - gap: 1rem; - margin-top: 1rem; -} - -.comment-parent { - cursor: text; -} - -.comment-top { - display: flex; -} - -.comment-score { - border-right: 1px solid white; - padding-right: .5rem; -} - -.comment-body { - font-size: 0.95rem; - padding-left: .5rem; -} - -.comment-author { - color: var(--muted-text-color); - font-size: 0.8rem; - padding-left: 1.5rem; - margin-top: .25rem; -} - .s-notice { background-color: var(--meta-bg); padding: 1rem; diff --git a/templates/question.html b/templates/question.html index 61b2012..57cb8eb 100644 --- a/templates/question.html +++ b/templates/question.html @@ -4,6 +4,7 @@