mirror of
https://github.com/kremalicious/blog.git
synced 2024-12-23 01:30:01 +01:00
@3x media query for logo
This commit is contained in:
parent
c02c0ca31b
commit
fce86ed86c
@ -74,7 +74,7 @@ body {
|
||||
background-image: url('../img/logo@2x.png');
|
||||
background-size: 183px 62px;
|
||||
}
|
||||
@media print, (-webkit-min-device-pixel-ratio: 3), (min-resolution: 300dpi) {
|
||||
@media @highDPI_3x {
|
||||
background-image: url('../img/logo@3x.png');
|
||||
background-size: 183px 62px;
|
||||
}
|
||||
|
@ -63,4 +63,5 @@
|
||||
// High dpi media query
|
||||
/////////////////////////////////////
|
||||
|
||||
@highDPI: ~"print, (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) ";
|
||||
@highDPI: ~"print, (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) ";
|
||||
@highDPI_3x: ~"print, (-webkit-min-device-pixel-ratio: 3), (min-resolution: 344dpi) ";
|
Loading…
Reference in New Issue
Block a user