aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVjacheslav Trushkin <cyberalien@gmail.com>2013-10-21 15:42:35 +0300
committerVjacheslav Trushkin <cyberalien@gmail.com>2013-10-24 18:36:15 +0300
commit4188d178f340f5784dfc762d64db29f38eb814f7 (patch)
treed89e2694a56d924376d28a67012475b170e73eac
parentaf5e25cdf59f5c3e64d18810f1972dfb89be5506 (diff)
downloadforums-4188d178f340f5784dfc762d64db29f38eb814f7.tar
forums-4188d178f340f5784dfc762d64db29f38eb814f7.tar.gz
forums-4188d178f340f5784dfc762d64db29f38eb814f7.tar.bz2
forums-4188d178f340f5784dfc762d64db29f38eb814f7.tar.xz
forums-4188d178f340f5784dfc762d64db29f38eb814f7.zip
[ticket/11956] Scale down online image for HD display
Scale down online image for HD displays PHPBB3-11956
-rw-r--r--phpBB/styles/prosilver/theme/responsive.css8
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/styles/prosilver/theme/responsive.css b/phpBB/styles/prosilver/theme/responsive.css
index 8578e50d1c..aadb98e188 100644
--- a/phpBB/styles/prosilver/theme/responsive.css
+++ b/phpBB/styles/prosilver/theme/responsive.css
@@ -442,6 +442,14 @@ fieldset.polls dd.resultbar, fieldset.polls dd.poll_option_percent {
max-height: 32px;
}
+@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 1.5dppx)
+{
+ /* Scale online image for HD displays */
+ .online {
+ background-size: 40px;
+ }
+}
+
/* Misc stuff
----------------------------------------*/
h2 {