From f8356e51d21eb19216f6806720a113fd8baacb8f Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 12 Nov 2015 00:25:49 +0300 Subject: retina logo --- src/main/webapp/style.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/main/webapp') diff --git a/src/main/webapp/style.css b/src/main/webapp/style.css index 2cff895e..f980f14d 100644 --- a/src/main/webapp/style.css +++ b/src/main/webapp/style.css @@ -19,7 +19,13 @@ body>header { width: 1024px; } body>header a { color: #000; border-bottom: 1px dotted #666; font-size: 13pt; } #logo { float: left; width: 110px; height: 36px; margin: 7px 25px 0 20px; } -#logo a { display: block; width: 110px; height: 36px; text-indent: 100%; white-space: nowrap; overflow: hidden; border: 0; background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAG4AAAAkCAYAAABomA/xAAAAAXNSR0IArs4c6QAABPZJREFUaN7tml1sFUUUx3+UFhEROyBFURERFT+qrV8xxqgvSBBjSBMnii+aGKMmmBg1E60alYRk1JjwRIz4ojHq0qi88EI0EGN4QFopYERaxCraRMJYRFErvT50istme2dm9257Q/afNPfunbNztuc/Z87HLJQoUaJEiRIlStQRpuSdQKjoSWBdFZEdRsubJ/ofEyraDCyvIrLWaNlZkO52oNsh9qzR8o2sOhpq8Jw3Osa/mqRFeYNjfEeBug96yHydR8FpSZxQ0QKgZRKJO6euiRMqmglcUYce51pMvxgtDxWov9UxfshoeTiPgsY8NxstjwFT6y1wGy0/rkX8zoH2Ir2tVltliUkgLrPHCRU1AkPAjCpinxgtO6z8i8CrjmmvMVruTehZA7zguG+x0bLfyi8HNjvkHzNavpXQswx4CLgFOB84I9AkrxgtX7bf20KJEyo6G/gJmJUY+gvYAKwzWvblJs5o+a9Q0QCwpIpYPCX+2THlceDbtHjkuO8ocCBAD0BPzGAzgPeAjpxO8LedrxlYGEKcUFGDJSdJWhfwjNHyh5rGOGCOYzxO3GyH7B6j5YmU35tdRjBaVgL0nAB2x6431IC0k8R5eNvvQH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5CYII=") no-repeat; } +#logo a { display: block; width: 110px; height: 36px; text-indent: 100%; white-space: nowrap; overflow: hidden; border: 0; +background: url("//i.juick.com/logo.png") no-repeat; } +@media screen and (-webkit-min-device-pixel-ratio: 2) { + #logo a { + background: url("//i.juick.com/logo_2x.png") no-repeat; + } +} nav#global { float: left; } nav#global li { display: inline-block; margin: 14px 12px 0 0; } #search { float: right; margin: 12px 20px 12px 0; } -- cgit v1.2.3