vendor/assets/stylesheets/_ad.scss in active_frontend-7.0.2 vs vendor/assets/stylesheets/_ad.scss in active_frontend-8.0.0
- old
+ new
@@ -1,14 +1,15 @@
/* Table of Contents
==================================================
-# Ad */
+# Ad
+# Media Queries */
/* # Ad
================================================== */
.ad {
background: $color-haze-light;
- border: 1px solid $color-haze;
+ border: 1px solid $color-haze-dark;
box-sizing: border-box;
height: 220px;
width: 220px;
}
.ad-center { margin: 0 auto; }
@@ -69,6 +70,18 @@
width: 160px;
}
.ad-skyscrapper {
height: 600px;
width: 120px;
+}
+
+/* # Media Queries
+================================================== */
+@media
+only screen and (-webkit-min-device-pixel-ratio: 2),
+only screen and ( min--moz-device-pixel-ratio: 2),
+only screen and ( -o-min-device-pixel-ratio: 2/1),
+only screen and ( min-device-pixel-ratio: 2),
+only screen and ( min-resolution: 192dpi),
+only screen and ( min-resolution: 2dppx) {
+ .ad { border-width: 0.5px; }
}
\ No newline at end of file