diff options
author | Tommy Chen <tommy351@gmail.com> | 2012-06-06 06:59:54 +0200 |
---|---|---|
committer | Tommy Chen <tommy351@gmail.com> | 2012-06-06 06:59:54 +0200 |
commit | ea7ba27c605c2ba93ed661715f1bc272abc661b7 (patch) | |
tree | 2f6240d786386ababc577f3dea813994cba5acbd /sass/parts/_post.scss | |
parent | e2028885ae03fc758b318550d01d6e87f5e17ccf (diff) | |
download | octopress-theme-jeyzu-ea7ba27c605c2ba93ed661715f1bc272abc661b7.zip octopress-theme-jeyzu-ea7ba27c605c2ba93ed661715f1bc272abc661b7.tar.gz |
replace icons with icon font
Diffstat (limited to 'sass/parts/_post.scss')
-rw-r--r-- | sass/parts/_post.scss | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/sass/parts/_post.scss b/sass/parts/_post.scss index fc4bf6d..5259265 100644 --- a/sass/parts/_post.scss +++ b/sass/parts/_post.scss @@ -23,19 +23,21 @@ } .date, .tags, .comments{ padding-left: 30px; + position: relative; + &:before{ + color: $color-gray03; + font: 1.3em $font-icon; + line-height: 1.6em; + position: absolute; + left: 0; + } @media screen and (max-width: 800px){ @include inline-block; margin-right: 30px; } } - .date{ - background: image-url('date.png') 0 center no-repeat; - } - .tags{ - background: image-url('tags.png') 0 center no-repeat; - } - .comments{ - background: image-url('comments.png') 0 center no-repeat; - } + .date:before{content: "\f073";} + .tags:before{content: "\f02c";} + .comments:before{content: "\f075";} } }
\ No newline at end of file |