fix: wordcount style
This commit is contained in:
parent
11a4aaacf2
commit
42b387c94a
@ -1,10 +1,8 @@
|
|||||||
<% if (!theme.word_count.only_article_visit || (!index && theme.word_count.only_article_visit)){ %>
|
<% if (!theme.word_count.only_article_visit || (!index && theme.word_count.only_article_visit)){ %>
|
||||||
<div style="margin-top:10px;">
|
<div class="word_count">
|
||||||
<span class="post-time">
|
<span class="post-time">
|
||||||
<span class="post-meta-item-icon">
|
<span class="post-meta-item-icon">
|
||||||
<!-- fonts.scss -->
|
<i class="ri-quill-pen-line"></i>
|
||||||
<!-- 百度字体平台:http://fontstore.baidu.com/static/editor/index.html -->
|
|
||||||
<i class="icon-statistics"></i>
|
|
||||||
<span class="post-meta-item-text"> 字数统计:</span>
|
<span class="post-meta-item-text"> 字数统计:</span>
|
||||||
<span class="post-count"><%= wordcount(post.content) %>字</span>
|
<span class="post-count"><%= wordcount(post.content) %>字</span>
|
||||||
</span>
|
</span>
|
||||||
@ -13,9 +11,9 @@
|
|||||||
<span class="post-time">
|
<span class="post-time">
|
||||||
|
|
|
|
||||||
<span class="post-meta-item-icon">
|
<span class="post-meta-item-icon">
|
||||||
<i class="icon-book icon"></i>
|
<i class="ri-book-open-line"></i>
|
||||||
<span class="post-meta-item-text"> 阅读时长≈</span>
|
<span class="post-meta-item-text"> 阅读时长≈</span>
|
||||||
<span class="post-count"><%= min2read(post.content) %>分</span>
|
<span class="post-count"><%= min2read(post.content) %>分钟</span>
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -53,7 +53,7 @@
|
|||||||
|
|
||||||
.article-entry
|
.article-entry
|
||||||
font-size 110%
|
font-size 110%
|
||||||
margin-top 1rem
|
margin-top .5rem
|
||||||
clearfix()
|
clearfix()
|
||||||
@extend $base-style
|
@extend $base-style
|
||||||
color body-color
|
color body-color
|
||||||
|
@ -71,6 +71,12 @@
|
|||||||
z-index 9998
|
z-index 9998
|
||||||
display none
|
display none
|
||||||
|
|
||||||
|
.word_count
|
||||||
|
margin-top 5px
|
||||||
|
color darken(gray,30%)
|
||||||
|
padding-bottom 1rem
|
||||||
|
border-bottom 1px solid darken(froth-light,2%)
|
||||||
|
|
||||||
// Media Query
|
// Media Query
|
||||||
@media (max-width: 768px)
|
@media (max-width: 768px)
|
||||||
.cover-inner
|
.cover-inner
|
||||||
|
Loading…
Reference in New Issue
Block a user