🎨 fix: styles

This commit is contained in:
shenyu 2020-05-03 09:53:04 +08:00
parent 7bf0adfd98
commit 4f386df7ee
3 changed files with 6 additions and 6 deletions

View File

@ -3,7 +3,7 @@
<h1 class="page-type-title"><%= __('categories') %></h1>
<!-- <%- list_categories({show_count: theme.show_count}) %> -->
<ul class="category-list">
<% site.categories.sort('name').each(function(item){ %>
<% site.categories.map(function(item){ %>
<% if(item.posts.length){ %>
<a class="category-list-link" href="<%- config.root %><%- item.path %>" title="<%= item.name %>">
<li class="category-list-item">

View File

@ -21,11 +21,11 @@
padding 0 10px
border-radius 4px
font-style normal
font-size 10px
font-size 12px
background-color #ea434a
color #fff
height 20px
line-height 22px
height 22px
line-height 24px
transform translateY(-8px)
@ -99,7 +99,7 @@
margin 0
.article-title
display block
font-size 1.5em
font-size 34px
font-weight bold
margin-bottom 3rem
text-decoration none

File diff suppressed because one or more lines are too long