2023-05-14 12:21:24 +08:00
|
|
|
/* These are the remnants of the fomantic comment module */
|
|
|
|
/* TODO: remove all of these rules */
|
|
|
|
|
|
|
|
.ui.comments {
|
|
|
|
margin: 1.5em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.comments:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.comments:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.comments .comment {
|
2024-05-28 22:10:01 +08:00
|
|
|
display: flex;
|
2023-05-14 12:21:24 +08:00
|
|
|
position: relative;
|
|
|
|
background: none;
|
2024-04-14 18:44:11 +08:00
|
|
|
margin: 3px 0 0;
|
2023-05-14 12:21:24 +08:00
|
|
|
padding: 0.5em 0 0;
|
|
|
|
border: none;
|
|
|
|
border-top: none;
|
|
|
|
line-height: 1.2;
|
|
|
|
}
|
|
|
|
|
2024-05-28 22:10:01 +08:00
|
|
|
.edit-content-zone .comment {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2023-05-14 12:21:24 +08:00
|
|
|
.ui.comments .comment:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.comments .comment > .comments {
|
|
|
|
margin: 0 0 0.5em 0.5em;
|
|
|
|
padding: 1em 0 1em 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.comments .comment > .comments::before {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.comments .comment > .comments .comment {
|
|
|
|
border: none;
|
|
|
|
border-top: none;
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.comments .comment .avatar {
|
2024-05-28 22:10:01 +08:00
|
|
|
width: 30px;
|
2023-05-14 12:21:24 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.ui.comments .comment > .content {
|
2024-05-28 22:10:01 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex: 1;
|
2023-05-14 12:21:24 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.ui.comments .comment > .avatar ~ .content {
|
2024-05-28 22:10:01 +08:00
|
|
|
margin-left: 12px;
|
2023-05-14 12:21:24 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.ui.comments .comment .author {
|
|
|
|
font-size: 1em;
|
2023-05-22 07:37:32 +08:00
|
|
|
font-weight: var(--font-weight-medium);
|
2023-05-14 12:21:24 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.ui.comments .comment a.author {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.comments .comment .metadata {
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 0.5em;
|
|
|
|
font-size: 0.875em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.comments .comment .metadata > * {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0 0.5em 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.comments .comment .metadata > :last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.comments .comment .text {
|
|
|
|
margin: 0.25em 0 0.5em;
|
|
|
|
font-size: 1em;
|
|
|
|
word-wrap: break-word;
|
|
|
|
line-height: 1.3;
|
|
|
|
}
|