Add styling for cross-posts

Add bottom spacing for nested comments
Add right & bottom spacing for cross-posts
This commit is contained in:
ltGuillaume 2021-01-20 17:41:32 +01:00
parent 8eb000cda0
commit dda25f7696
1 changed files with 9 additions and 2 deletions

View File

@ -139,12 +139,16 @@ body.sepia #post .submitted,
body.sepia #post .title .domain {
color: var(--graytext);
}
body.sepia #post .usertext-body {
body.sepia #post .usertext-body,
body.sepia #post .crosspost {
background: var(--oddbg);
border-radius: 3px;
border: none;
border: 1px solid var(--oddbg); /* .crosspost disappears with border: none */
box-shadow: 0px 0px 2px var(--shadow);
}
body.sepia #post .crosspost {
padding: 0 16px 16px 0;
}
body.sepia .md {
color: var(--bodytext);
}
@ -166,6 +170,9 @@ body.sepia .comments > .comment {
border: none;
border-radius: 0;
}
body.sepia .comment .comment {
margin: 8px 0;
}
body.sepia .comment details {
padding-top: 8px;
}