mirror of
https://codeberg.org/video-prize-ranch/rimgo.git
synced 2025-12-13 19:55:21 +00:00
Comments
This commit is contained in:
@@ -11,6 +11,10 @@ img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.pfp {
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
.imageMeta__wrapper,
|
||||
.imageMeta__item,
|
||||
.imageMeta {
|
||||
|
||||
62
static/css/comments.css
Normal file
62
static/css/comments.css
Normal file
@@ -0,0 +1,62 @@
|
||||
.comment {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5em;
|
||||
}
|
||||
|
||||
.comments {
|
||||
gap: 0.25em;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.replies {
|
||||
margin-left: 20px;
|
||||
border-left: 2px #d2d2d2 solid;
|
||||
padding-left: 8px;
|
||||
}
|
||||
|
||||
#comments__expandBtn {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.comments__expandBtn__label {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
text-decoration: none;
|
||||
color: #fff
|
||||
}
|
||||
|
||||
.comments__expandBtn__icon {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
#comments__expandBtn ~ .comments__expandBtn__label > span::after {
|
||||
content: "expand_more";
|
||||
}
|
||||
|
||||
#comments__expandBtn:checked ~ .comments__expandBtn__label > span::after {
|
||||
content: "expand_less";
|
||||
}
|
||||
|
||||
#comments__expandBtn:checked ~ .comments {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.comment__media {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.comment__updatedDate {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.comment__user {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
align-items: center;
|
||||
}
|
||||
Reference in New Issue
Block a user