2021-01-28 17:44:01 +08:00
|
|
|
if (hexo-config('comment.enable') == true && hexo-config('comment.use') != "") {
|
|
|
|
if (hexo-config('comment.use') == "valine") {
|
|
|
|
@require "./valine.styl";
|
2020-10-29 15:42:58 +08:00
|
|
|
|
2021-01-28 17:44:01 +08:00
|
|
|
} else if (hexo-config('comment.use') == "gitalk") {
|
|
|
|
@require "./gitalk.styl";
|
2021-01-15 16:18:02 +08:00
|
|
|
|
2021-01-28 17:44:01 +08:00
|
|
|
} else if (hexo-config('comment.use') == "twikoo") {
|
|
|
|
@require "./twikoo.styl";
|
|
|
|
}
|
2020-10-29 15:42:58 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.comments-container {
|
2020-11-19 11:58:54 +08:00
|
|
|
display: inline-block;
|
2021-01-07 15:15:39 +08:00
|
|
|
margin-top: $component-spacing-value;
|
2020-11-19 12:03:50 +08:00
|
|
|
width: 100%;
|
2020-11-18 18:45:45 +08:00
|
|
|
|
2020-10-29 15:42:58 +08:00
|
|
|
#comment-anchor {
|
2021-01-25 10:37:39 +08:00
|
|
|
width: 100%;
|
|
|
|
height: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment-area-title {
|
2020-10-29 15:42:58 +08:00
|
|
|
width: 100%;
|
2021-01-21 16:47:13 +08:00
|
|
|
margin: 10px 0;
|
2021-01-19 23:20:27 +08:00
|
|
|
font-size: 1.38rem;
|
2021-01-21 16:47:13 +08:00
|
|
|
color: var(--default-text-color);
|
2021-01-19 23:20:27 +08:00
|
|
|
|
2021-01-21 18:28:00 +08:00
|
|
|
i {
|
|
|
|
color: var(--default-text-color);
|
|
|
|
}
|
|
|
|
|
2021-01-19 23:20:27 +08:00
|
|
|
+keep-tablet() {
|
2021-01-21 16:47:13 +08:00
|
|
|
margin: 5px 0;
|
2021-01-19 23:20:27 +08:00
|
|
|
font-size: 1.2rem;
|
|
|
|
}
|
2020-10-29 15:42:58 +08:00
|
|
|
}
|
2021-01-25 10:37:39 +08:00
|
|
|
|
2020-10-29 15:42:58 +08:00
|
|
|
}
|