style: optimize comments area

This commit is contained in:
XPoet 2021-01-25 10:37:39 +08:00
parent 28a568f748
commit 2e1d34ba55
2 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,6 @@
<div class="comments-container"> <div class="comments-container">
<div id="comment-anchor"> <div id="comment-anchor"></div>
<div class="comment-area-title">
<i class="fas fa-comments">&nbsp;<%- __('comments') %></i> <i class="fas fa-comments">&nbsp;<%- __('comments') %></i>
</div> </div>
<% if (theme.comment.valine.enable === true) { %> <% if (theme.comment.valine.enable === true) { %>

View File

@ -15,6 +15,11 @@ if (hexo-config('comment.valine.enable')) {
width: 100%; width: 100%;
#comment-anchor { #comment-anchor {
width: 100%;
height: 10px;
}
.comment-area-title {
width: 100%; width: 100%;
margin: 10px 0; margin: 10px 0;
font-size: 1.38rem; font-size: 1.38rem;
@ -29,4 +34,5 @@ if (hexo-config('comment.valine.enable')) {
font-size: 1.2rem; font-size: 1.2rem;
} }
} }
} }