Skip to content

Commit

Permalink
refactor: FontAwesome CSS 图标
Browse files Browse the repository at this point in the history
Update and localise FontAwesome.
Refactor relevant codes.

http://fontawesome.io/
  • Loading branch information
MOxFIVE committed Oct 7, 2015
1 parent 0d502ba commit 62c1ff6
Show file tree
Hide file tree
Showing 19 changed files with 2,695 additions and 215 deletions.
2 changes: 1 addition & 1 deletion themes/Yilia/layout/_partial/head.ejs
Expand Up @@ -29,7 +29,7 @@
<link rel="icon" href="<%- theme.favicon %>">
<% } %>
<%- css('css/style') %>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<link rel="stylesheet" href="/font-awesome/css/font-awesome.min.css">
<script>/*百度统计*/
var _hmt = _hmt || [];
(function() {
Expand Down
Empty file modified themes/Yilia/layout/_partial/post/category.ejs 100755 → 100644
Empty file.
Empty file modified themes/Yilia/layout/_partial/post/tag.ejs 100755 → 100644
Empty file.
5 changes: 3 additions & 2 deletions themes/Yilia/source/css/_partial/article.styl
Expand Up @@ -333,8 +333,9 @@ body {
&:before{
color: #999;
content: "\f073";
font: 17px FontAwesome;
margin-right: 10px;
font: 1em FontAwesome;
margin-right: 4px;
margin-top: 0px;
}
}
}
Expand Down
10 changes: 10 additions & 0 deletions themes/Yilia/source/css/_partial/mobile.styl
Expand Up @@ -328,4 +328,14 @@

.visit {
margin-top: 1em;
}

.article-category::before{
display: none;
}
.article-tag::before {
display: none;
}
.article-meta time:before {
display: none;
}
48 changes: 11 additions & 37 deletions themes/Yilia/source/css/_partial/tagcloud.styl
Expand Up @@ -296,53 +296,27 @@
}
}
}


.article-tag-list{
.article-tag-list-item{
float: left;
}
}
.article-tag{
float: left;
.article-tag-list{
float: left;
}
&:before{
.article-tag {
&::before {
float: left;
color: #999;
content: "\f06c";
content: "\f02b";
font: 16px FontAwesome;
float: left;
margin-right: 10px;
margin-top: 9px;
}
&:after{
float: left;
content: "";
margin-right: 20px;
margin-top: 9px;
float: left;
margin-left: 1em;
margin-right: 5px;
margin-top: 6px;
}
}
.article-category{
float: left;
&:before{
.article-category {
&::before {
float: left;
color: #999;
content: "\f02d";
font: 16px FontAwesome;
float: left;
margin-right: 10px;
margin-top: 9px;
}
&:after{
float: left;
content: "";
margin-right: 20px;
margin-top: 9px;
float: left;
margin-right: 5px;
margin-top: 6px;
}

}
.article-pop-out {
float: left;
Expand Down
Binary file not shown.
175 changes: 0 additions & 175 deletions themes/Yilia/source/css/fonts/fontawesome-webfont.svg

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 62c1ff6

Please sign in to comment.