From 0876e9769e162988cebd0a42b12f8892d00166ab Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Sat, 8 Aug 2015 14:04:53 -0700 Subject: rfooter icons: switch to Font Awesome Use web font to draw icons. --- source/css/theme.css | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) (limited to 'source/css/theme.css') 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 */ -- cgit v1.2.1