i18n
xaoxuu 6 years ago
parent 800286026c
commit 45db24ea8e
  1. 8
      layout/_partial/article.ejs
  2. 4
      source/less/_footer.less
  3. 4
      source/less/_main.less
  4. 4
      source/less/_widget.less

@ -40,11 +40,11 @@
</a> </a>
</h4> </h4>
<% if (post.prev.tags && post.prev.tags.length) { %> <% if (post.prev.tags && post.prev.tags.length) { %>
<div class="tags"> <h6 class="tags">
<% post.prev.tags.each(function(item){ %> <% post.prev.tags.each(function(item){ %>
<i class="fa fa-tag fa-fw"></i><%=item.name %> <i class="fa fa-tag fa-fw"></i><%=item.name %>
<%})%> <%})%>
</div> </h6>
<% } %> <% } %>
</span> </span>
</section> </section>
@ -59,11 +59,11 @@
</a> </a>
</h4> </h4>
<% if (post.next.tags && post.next.tags.length) { %> <% if (post.next.tags && post.next.tags.length) { %>
<div class="tags"> <h6 class="tags">
<% post.next.tags.each(function(item){ %> <% post.next.tags.each(function(item){ %>
<i class="fa fa-tag fa-fw"></i><%=item.name %> <i class="fa fa-tag fa-fw"></i><%=item.name %>
<%})%> <%})%>
</div> </h6>
<% } %> <% } %>
</span> </span>
</section> </section>

@ -39,8 +39,8 @@
margin: 4px; margin: 4px;
border-radius: 100px; border-radius: 100px;
&:hover { &:hover {
background: darken(@theme-bg-main, 20%); background: fade(@theme-bg-quote, 10%);
color: @theme-text-highlight; color: @theme-bg-quote;
} }
} }
} }

@ -291,12 +291,16 @@
color: fade(@theme-text-main, 80%); color: fade(@theme-text-main, 80%);
padding: @gap; padding: @gap;
border-radius: @border-radius-width; border-radius: @border-radius-width;
&:hover {
color: @theme-text-highlight;
}
} }
@media(max-width:@on-phone) { @media(max-width:@on-phone) {
section{ section{
border-radius: 0; border-radius: 0;
} }
} }
} }
} }

@ -122,8 +122,8 @@
margin: 4px; margin: 4px;
border-radius: 100px; border-radius: 100px;
&:hover { &:hover {
background: darken(@theme-bg-card, 20%); background: fade(@theme-bg-quote, 10%);
color: @theme-text-highlight; color: @theme-bg-quote;
} }
} }
} }

Loading…
Cancel
Save