hexo-theme-keep/source/css/layout/_partial/comment/comment.styl

42 lines
812 B
Stylus
Raw Permalink Normal View History

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