From 7f52b9d8aaaa16869821632b57ea8dc86bab865a Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Sat, 25 Jul 2015 19:12:43 -0700 Subject: select blog icon with CSS This way we can deliver the right size based on the window size (wide or narrow), rather than deliver a universal one then scale down. --- source/css/theme-narrow.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source/css/theme-narrow.css') diff --git a/source/css/theme-narrow.css b/source/css/theme-narrow.css index 0410154a..c36a767e 100644 --- a/source/css/theme-narrow.css +++ b/source/css/theme-narrow.css @@ -11,10 +11,11 @@ nav div { margin: auto; } -nav div.logo { +nav div .blog-icon { height: 200px; width: 200px; - padding: 2px 0; + background-image: url("/img/icon-200.png"); + background-size: 200px; } nav div.title, div.author { -- cgit v1.2.1