diff options
author | Zhiming Wang <zmwangx@gmail.com> | 2015-08-08 11:49:12 -0700 |
---|---|---|
committer | Zhiming Wang <zmwangx@gmail.com> | 2015-08-08 11:49:12 -0700 |
commit | 99a8c646fbbe4462f5fddd46d69e8b03688fa126 (patch) | |
tree | d24a474dcbee564d512cbccf725997e605035356 /source/css/theme-narrow.css | |
parent | 94f82685672bcd4e5731de3c1c61e79f7edc07b2 (diff) | |
download | my_new_personal_website-99a8c646fbbe4462f5fddd46d69e8b03688fa126.tar.xz my_new_personal_website-99a8c646fbbe4462f5fddd46d69e8b03688fa126.zip |
Draw blog icon with pure HTML and CSS
Using web font Open Sans (light) instead of Helvetica Neue. Text is
thinner, but close enough and feels about right.
Diffstat (limited to 'source/css/theme-narrow.css')
-rw-r--r-- | source/css/theme-narrow.css | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/css/theme-narrow.css b/source/css/theme-narrow.css index 86d78443..d8b9eca5 100644 --- a/source/css/theme-narrow.css +++ b/source/css/theme-narrow.css @@ -12,9 +12,11 @@ body { .nav-icon { width: 150px; height: 150px; - background-image: url("/img/icon-150.png"); - background-image: -webkit-image-set( url("/img/icon-150.png") 1x, url("/img/icon-300.png") 2x ); - background-size: 150px; + line-height: 150px; +} + +.nav-icon:before { + font-size: 54px; } .nav-title, .nav-author { |