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