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/_article.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/_article.scss')
-rw-r--r-- | sass/parts/_article.scss | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/sass/parts/_article.scss b/sass/parts/_article.scss index 91f6273..fdcb74d 100644 --- a/sass/parts/_article.scss +++ b/sass/parts/_article.scss @@ -27,9 +27,16 @@ article{ } .more-link{ display: block; - margin-top: 20px; + margin-top: 16px; padding-left: 30px; - background: image-url('more.png') 0 center no-repeat; + position: relative; + &:before{ + content: "\f061"; + font: 1.3em $font-icon; + line-height: 1.6em; + position: absolute; + left: 0; + } } p, blockquote, ul, ol, dl, table, iframe, h1, h2, h3, h4, h5, h6, .video-container{ margin-top: 10px; @@ -96,11 +103,19 @@ article{ } } .caption{ - background: image-url('caption.png') 0 4px no-repeat; display: block; font-size: 0.9em; color: $color-gray02; padding-left: 25px; + position: relative; + &:before{ + content: "\f040"; + color: $color-gray03; + font: 1.3em $font-icon; + line-height: 1.6em; + position: absolute; + left: 0; + } } .video-container{ position: relative; |