stacker.news/components/comment.module.css

106 lines
1.5 KiB
CSS
Raw Normal View History

2021-04-14 23:56:29 +00:00
.item {
align-items: flex-start;
}
.upvote {
2021-04-28 19:30:14 +00:00
margin-top: 9px;
2021-04-14 23:56:29 +00:00
}
.text {
margin-top: .1rem;
2021-04-29 18:43:17 +00:00
padding-right: 15px;
2021-04-14 23:56:29 +00:00
}
2021-04-30 21:42:51 +00:00
.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;
}
2021-04-14 23:56:29 +00:00
.reply {
font-weight: bold;
cursor: pointer;
2021-04-28 19:30:14 +00:00
padding-bottom: .5rem;
2021-04-14 23:56:29 +00:00
}
2021-04-29 18:43:17 +00:00
.replyWrapper {
padding-right: 15px;
padding-bottom: .5rem;
}
2021-04-14 23:56:29 +00:00
.children {
2021-04-28 19:30:14 +00:00
margin-top: .25rem;
2021-04-17 18:15:18 +00:00
}
.comments {
2021-04-28 19:30:14 +00:00
margin-left: -1rem;
2021-04-22 22:14:32 +00:00
}
.skeleton .hunk {
width: 100%;
}
.skeleton .text {
2021-04-28 22:52:03 +00:00
height: 80px;
2021-04-22 22:14:32 +00:00
border-radius: .4rem;
2021-04-29 18:43:17 +00:00
margin-right: 15px;
2021-04-28 22:52:03 +00:00
}
.skeleton .reply {
width: 45px;
height: 10px;
border-radius: .2rem;
}
.replyPadder {
padding: .25rem 0;
padding-bottom: .5rem;
2021-04-28 19:30:14 +00:00
}
.comment {
background-color: rgba(0, 0, 0, 0.03);
border-radius: .4rem;
padding-top: .5rem;
padding-left: .2rem;
}
2021-06-24 23:56:01 +00:00
.clickToContext {
border-radius: .4rem;
padding: .2rem 0;
}
.clickToContext:hover {
background-color: rgba(0, 0, 0, 0.03);
}
2021-04-28 19:30:14 +00:00
.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;
2021-06-24 23:56:01 +00:00
}
.clickToContext {
scroll-behavior: smooth;
cursor: pointer;
2021-04-14 23:56:29 +00:00
}