Permalink
Browse files

style: labels' order 标记排序

Put category before tag and set float: left.
类别移到标签前,左浮动。

Closes: #4
  • Loading branch information...
MOxFIVE committed Sep 4, 2015
1 parent 8d545d2 commit e1049e72f79c51ae63c8ef99bf7e85a1cb53e14a
@@ -5,9 +5,9 @@
<%- partial('post/date', {class_name: 'archive-article-date', date_format: 'MMM D'}) %>
</div>
<%- partial('post/title', {class_name: 'archive-article-title'}) %>
<div class="article-info info-on-right">
<%- partial('post/tag') %>
<div class="article-info info-on-archive">
<%- partial('post/category') %>
<%- partial('post/tag') %>
</div>
<div class="clearfix"></div>
</header>
@@ -14,8 +14,8 @@
</header>
<% if (!index){ %>
<div class="article-info article-info-post">
<%- partial('post/tag') %>
<%- partial('post/category') %>
<%- partial('post/tag') %>
<div class="clearfix"></div>
</div>
<% } %>
@@ -60,8 +60,8 @@
<a class="">置顶</a>
</div>
<% } %>
<%- partial('post/tag') %>
<%- partial('post/category') %>
<%- partial('post/tag') %>
<% if (post.excerpt && index){ %>
<p class="article-more-link">
<a <% if (!theme.excerpt_link){ %>class="hidden"<% } %> href="<%- url_for(post.path) %>#more"><%= theme.excerpt_link %> >></a>
@@ -123,9 +123,9 @@ body {
padding: 15px 8.2em 15px 25px;
}
.article-info.info-on-right{
.article-info.info-on-archive{
margin: 10px 0 0 0;
float: right;
float: left;
}
.article-info-index.article-info{
padding-top: 20px;
@@ -239,7 +239,7 @@
position:relative;
border-radius:0 5px 5px 0;
margin: 5px 9px 5px 8px;
font-family: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace;
font-family: "Microsoft YaHei", "微软雅黑", "arial","Helvetica","Hiragino Sans GB","宋体","Tahoma","STHeiti";
&:hover{
opacity: 0.8;
}
@@ -296,6 +296,7 @@
}
}
.article-tag-list{
.article-tag-list-item{
float: left;

0 comments on commit e1049e7

Please sign in to comment.