diff options
author | Zhiming Wang <zmwangx@gmail.com> | 2015-08-08 14:04:53 -0700 |
---|---|---|
committer | Zhiming Wang <zmwangx@gmail.com> | 2015-08-08 14:04:53 -0700 |
commit | 0876e9769e162988cebd0a42b12f8892d00166ab (patch) | |
tree | 8f5d949e7d164c38d8018ea2e2e4fe6d09225b5d /source/css | |
parent | 037b1aaf8b68fc6c32df3be3737fd27761d0a952 (diff) | |
download | my_new_personal_website-0876e9769e162988cebd0a42b12f8892d00166ab.tar.xz my_new_personal_website-0876e9769e162988cebd0a42b12f8892d00166ab.zip |
rfooter icons: switch to Font Awesome
Use web font to draw icons.
Diffstat (limited to 'source/css')
-rw-r--r-- | source/css/theme.css | 28 |
1 files changed, 7 insertions, 21 deletions
diff --git a/source/css/theme.css b/source/css/theme.css index 24c82383..5eb94e9d 100644 --- a/source/css/theme.css +++ b/source/css/theme.css @@ -208,32 +208,18 @@ noscript a { } .rss-icon, .atom-icon, .cc-icon { - width: 16px; - height: 16px; - margin: 0 2px; - display: inline-block; - background-repeat: no-repeat; - background-position: center; - background-size: 16px; - vertical-align: middle; - font-size: 0; -} - -.rss-icon { - background-image: url("/img/rss-16.png"); - background-image: -webkit-image-set( url("/img/rss-16.png") 1x, url("/img/rss-32.png") 2x ); - background-size: 14px; + position: relative; + text-decoration: none; } -.atom-icon { - background-image: url("/img/feed-16.png"); - background-image: -webkit-image-set( url("/img/feed-16.png") 1x, url("/img/feed-32.png") 2x ); - background-size: 14px; +.rss-icon, .atom-icon { + font-size: 16px; + margin: 0 2px; + top: 1px; } .cc-icon { - background-image: url("/img/cc-16.png"); - background-image: -webkit-image-set( url("/img/cc-16.png") 1x, url("/img/cc-32.png") 2x ); + margin: 0 1px; } /* blog index */ |