diff options
author | Zhiming Wang <zmwangx@gmail.com> | 2015-07-26 12:56:20 -0700 |
---|---|---|
committer | Zhiming Wang <zmwangx@gmail.com> | 2015-07-26 12:56:20 -0700 |
commit | 1058dcab20b3a4ab5bd48097978c2a2931fff722 (patch) | |
tree | f0048966da078aef97fbfbfb1446a48f774d0ba0 /source/css/theme.css | |
parent | 0cb4c326419ca68c690841f35a02671703471f24 (diff) | |
download | my_new_personal_website-1058dcab20b3a4ab5bd48097978c2a2931fff722.tar.xz my_new_personal_website-1058dcab20b3a4ab5bd48097978c2a2931fff722.zip |
optimize Atom, RSS and CC icons for retina display
Again using -webkit-image-set.
Diffstat (limited to '')
-rw-r--r-- | source/css/theme.css | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source/css/theme.css b/source/css/theme.css index 9303edb2..c93f2877 100644 --- a/source/css/theme.css +++ b/source/css/theme.css @@ -192,9 +192,10 @@ footer .rfooter { footer .rfooter .cc-icon { width: 16px; height: 16px; - padding: 0 2px; + padding: 0 1px; display: inline-block; background-image: url("/img/cc-16.png"); + background-image: -webkit-image-set( url("/img/cc-16.png") 1x, url("/img/cc-32.png") 2x ); background-repeat: no-repeat; background-position: center; background-size: 16px; @@ -207,7 +208,8 @@ footer .rfooter .atom-icon { height: 16px; padding: 0 2px; display: inline-block; - background-image: url("/img/feed-14.png"); + 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-repeat: no-repeat; background-position: center; background-size: 14px; @@ -220,7 +222,8 @@ footer .rfooter .rss-icon { height: 16px; padding: 0 2px; display: inline-block; - background-image: url("/img/rss-14.png"); + 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-repeat: no-repeat; background-position: center; background-size: 14px; |