aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-10-22 10:10:33 +0300
committerGravatar Vitaly Takmazov2017-10-22 10:11:03 +0300
commitdd4fd097e298756a8941bd0f90dc6781588350b0 (patch)
tree2e65593de3b292d628de33832e627b5fbd3c2441
parentff106a64431e6510267ab0677c41d95d555b3956 (diff)
www: use @2x logo on low density
-rw-r--r--juick-www/src/main/static/style.css9
1 files changed, 2 insertions, 7 deletions
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;
}