mirror of
https://github.com/wassname/talk.git
synced 2026-06-28 23:58:38 +08:00
113 lines
1.5 KiB
CSS
113 lines
1.5 KiB
CSS
@custom-media --big-viewport (min-width: 780px);
|
|
|
|
.myComment {
|
|
margin: 1em 0;
|
|
border-bottom: 1px solid lightgrey;
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
.myComment:last-child {
|
|
border-bottom: solid 1px #EBEBEB;
|
|
}
|
|
|
|
.main {
|
|
min-width: 70%;
|
|
}
|
|
|
|
.sidebar {
|
|
min-width: 30%;
|
|
}
|
|
|
|
.commentBody {
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.assetURL {
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
font-size: 12px;
|
|
color: #757575;
|
|
}
|
|
|
|
.commentSummary {
|
|
font-size: 14px;
|
|
margin: 30px 0 10px;
|
|
color: #424242;
|
|
}
|
|
|
|
.commentSummaryReactions {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.reactionCount, .replyCount {
|
|
margin: 0 4px;
|
|
}
|
|
|
|
.countZero {
|
|
color: #9E9E9E;
|
|
}
|
|
|
|
|
|
.sidebar {
|
|
ul {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
list-style-type: none;
|
|
min-width: 140px;
|
|
padding: 0px 10px;
|
|
}
|
|
|
|
li {
|
|
margin-bottom: 5px;
|
|
}
|
|
}
|
|
|
|
.viewLink {
|
|
color: #5394D7;
|
|
|
|
&:hover {
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
.iconView {
|
|
margin-right: 5px;
|
|
font-size: 15px;
|
|
vertical-align: middle;
|
|
padding-bottom: 1px;
|
|
}
|
|
|
|
.iconDate {
|
|
margin-right: 5px;
|
|
font-size: 15px;
|
|
color: #696969;
|
|
vertical-align: middle;
|
|
padding-bottom: 1px;
|
|
}
|
|
|
|
@custom-media --mobile-viewport (max-width: 480px);
|
|
|
|
@media (--mobile-viewport) {
|
|
.myComment {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.sidebar ul {
|
|
display: flex;
|
|
li {
|
|
margin-right: 20px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.pubdate {
|
|
display: inline-block;
|
|
font-size: inherit;
|
|
margin: inherit;
|
|
color: inherit;
|
|
}
|
|
|