Beautified PV loading icon.

This commit is contained in:
Cotes Chung 2019-12-17 19:26:11 +08:00
parent 0f59cb5ddf
commit 3c8fb76356
3 changed files with 6 additions and 2 deletions

View file

@ -30,7 +30,7 @@ layout: page
{% if site.google_analytics.pv %} {% if site.google_analytics.pv %}
<i class="far fa-eye fa-fw"></i> <i class="far fa-eye fa-fw"></i>
<span id="pv_{{-post.title-}}" class="pageviews"> <span id="pv_{{-post.title-}}" class="pageviews">
<i class="fas fa-spinner fa-spin"></i> <i class="fas fa-spinner fa-spin fa-fw"></i>
</span> </span>
{% endif %} {% endif %}
</div> </div>

View file

@ -39,7 +39,7 @@ layout: default
<!-- page views --> <!-- page views -->
{% if site.google_analytics.pv %} {% if site.google_analytics.pv %}
<div> <div>
<span id="pv" class="pageviews"><i class="fas fa-spinner fa-spin"></i></span> views <span id="pv" class="pageviews"><i class="fas fa-spinner fa-spin fa-fw"></i></span> views
</div> </div>
{% endif %} {% endif %}

View file

@ -680,6 +680,10 @@ table tbody td {
/*--- post ---*/ /*--- post ---*/
.pageviews .fa-spinner {
font-size: 80%;
}
.post-meta { .post-meta {
font-size: 0.85rem; font-size: 0.85rem;
word-spacing: 1px; word-spacing: 1px;