From dd4fd097e298756a8941bd0f90dc6781588350b0 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 22 Oct 2017 10:10:33 +0300 Subject: www: use @2x logo on low density --- juick-www/src/main/static/style.css | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'juick-www/src/main/static') diff --git a/juick-www/src/main/static/style.css b/juick-www/src/main/static/style.css index acc0eaf0..9ebb24e9 100644 --- a/juick-www/src/main/static/style.css +++ b/juick-www/src/main/static/style.css @@ -98,7 +98,8 @@ body > header a { width: 110px; } #logo a { - background: url("logo.png") no-repeat; + background: url("logo@2x.png") no-repeat; + background-size: cover; border: 0; display: block; height: 36px; @@ -107,12 +108,6 @@ body > header a { white-space: nowrap; width: 110px; } -@media screen and (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { - #logo a { - background: url("logo@2x.png") no-repeat; - background-size: cover; - } -} #global { flex-grow: 1; } -- cgit v1.2.3