🎨 fix: styles
This commit is contained in:
parent
7bf0adfd98
commit
4f386df7ee
@ -3,7 +3,7 @@
|
|||||||
<h1 class="page-type-title"><%= __('categories') %></h1>
|
<h1 class="page-type-title"><%= __('categories') %></h1>
|
||||||
<!-- <%- list_categories({show_count: theme.show_count}) %> -->
|
<!-- <%- list_categories({show_count: theme.show_count}) %> -->
|
||||||
<ul class="category-list">
|
<ul class="category-list">
|
||||||
<% site.categories.sort('name').each(function(item){ %>
|
<% site.categories.map(function(item){ %>
|
||||||
<% if(item.posts.length){ %>
|
<% if(item.posts.length){ %>
|
||||||
<a class="category-list-link" href="<%- config.root %><%- item.path %>" title="<%= item.name %>">
|
<a class="category-list-link" href="<%- config.root %><%- item.path %>" title="<%= item.name %>">
|
||||||
<li class="category-list-item">
|
<li class="category-list-item">
|
||||||
|
@ -21,11 +21,11 @@
|
|||||||
padding 0 10px
|
padding 0 10px
|
||||||
border-radius 4px
|
border-radius 4px
|
||||||
font-style normal
|
font-style normal
|
||||||
font-size 10px
|
font-size 12px
|
||||||
background-color #ea434a
|
background-color #ea434a
|
||||||
color #fff
|
color #fff
|
||||||
height 20px
|
height 22px
|
||||||
line-height 22px
|
line-height 24px
|
||||||
transform translateY(-8px)
|
transform translateY(-8px)
|
||||||
|
|
||||||
|
|
||||||
@ -99,7 +99,7 @@
|
|||||||
margin 0
|
margin 0
|
||||||
.article-title
|
.article-title
|
||||||
display block
|
display block
|
||||||
font-size 1.5em
|
font-size 34px
|
||||||
font-weight bold
|
font-weight bold
|
||||||
margin-bottom 3rem
|
margin-bottom 3rem
|
||||||
text-decoration none
|
text-decoration none
|
||||||
|
2
source/dist/main.css
vendored
2
source/dist/main.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user