.comment-account {
@include disable-default-a-behaviour;
- color: #000;
+ word-break: break-all;
+ color: var(--mainForegroundColor);
font-weight: $font-bold;
}
}
.comment-html {
- word-break: normal;
- word-wrap: break-word;
- overflow-wrap: break-word;
- -webkit-hyphens: auto;
- -ms-hyphens: auto;
- -moz-hyphens: auto;
- hyphens: auto;
- text-align: justify;
+ @include peertube-word-wrap;
+ // Mentions
/deep/ a {
- @include disable-default-a-behaviour;
-
- color: #000;
- // Semi bold mentions
&:not(.linkified-url) {
+ @include disable-default-a-behaviour;
+
+ color: var(--mainForegroundColor);
+
font-weight: $font-semibold;
}
+
}
}
margin: 10px 0;
display: flex;
- .comment-action-reply, .comment-action-delete {
+ .comment-action-reply,
+ .comment-action-delete {
color: #585858;
cursor: pointer;
margin-right: 10px;
&:hover {
- color: #000;
+ color: var(--mainForegroundColor);
}
}
}
@media screen and (max-width: 600px) {
.children {
- margin-left: -40px;
+ margin-left: -35px;
}
.root-comment {
img { margin-right: 10px; }
}
}
+
+@media screen and (max-width: 450px) {
+ .root-comment {
+ font-size: 14px;
+ }
+}
\ No newline at end of file