Simplified styling for threaded comments

This commit is contained in:
Eduard Urbach 2018-11-05 21:31:52 +09:00
parent 1f8ad4fbe1
commit 3d8b790440

View File

@ -9,13 +9,6 @@
.post .post
vertical vertical
margin-bottom 1.75rem
:last-child
margin-bottom 0
.post-author
margin-bottom 0.25rem
.post-content .post-content
[data-highlight="true"] [data-highlight="true"]
@ -23,16 +16,23 @@
.post-parent .post-parent
vertical vertical
margin-bottom 1.75rem
.post-author
margin-bottom 0.25rem
.replies .replies
margin-top 0.75rem
margin-left content-padding margin-left content-padding
:empty // On mobile, don't indent the first level
margin-top 0 < 600px
.posts
> .post
> .replies
margin-left 0
> 600px > 600px
.post .post-parent
margin-bottom 0.75rem margin-bottom 0.75rem
.post-author .post-author