87 lines
1.2 KiB
CSS
87 lines
1.2 KiB
CSS
.item {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.upvote {
|
|
margin-top: 9px;
|
|
}
|
|
|
|
.text {
|
|
margin-top: .1rem;
|
|
padding-right: 15px;
|
|
}
|
|
|
|
.edit {
|
|
display: inline-block;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.collapsed .hunk {
|
|
margin-bottom: .5rem;
|
|
}
|
|
|
|
.collapsed .text,
|
|
.collapsed .children {
|
|
display: none;
|
|
}
|
|
|
|
.collapsed .upvote {
|
|
visibility: hidden;
|
|
height: 0;
|
|
}
|
|
|
|
.collapser {
|
|
cursor: pointer;
|
|
fill: grey;
|
|
width: 45px;
|
|
margin-left: auto;
|
|
user-select: none;
|
|
}
|
|
|
|
.children {
|
|
margin-top: 0;
|
|
margin-left: 24px;
|
|
}
|
|
|
|
.comments {
|
|
margin-left: -1rem;
|
|
}
|
|
|
|
.skeleton .hunk {
|
|
width: 100%;
|
|
}
|
|
|
|
.skeleton .text {
|
|
height: 80px;
|
|
border-radius: .4rem;
|
|
margin-right: 15px;
|
|
}
|
|
|
|
.skeleton .reply {
|
|
width: 45px;
|
|
height: 10px;
|
|
border-radius: .2rem;
|
|
}
|
|
|
|
.replyPadder {
|
|
padding: .25rem 0;
|
|
padding-bottom: .5rem;
|
|
}
|
|
|
|
.comment {
|
|
border-radius: .4rem;
|
|
padding-top: .5rem;
|
|
padding-left: .2rem;
|
|
background-color: var(--theme-commentBg);
|
|
}
|
|
|
|
.comment:not(:last-child) {
|
|
border-bottom-left-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
}
|
|
|
|
.comment:not(:first-child) {
|
|
padding-top: .25rem;
|
|
border-top-left-radius: 0;
|
|
border-top-right-radius: 0;
|
|
} |