aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/dispy/css/media.less
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-05-06 19:56:27 -0700
committerfriendica <info@friendica.com>2012-05-06 19:56:27 -0700
commit8a10af3bce54141be7e03a96f7a9c2df28c7fa5b (patch)
tree78aa6c1ed4fbc3d8d679b552c2bfc9bf690e1cf3 /view/theme/dispy/css/media.less
parent57920849c4138920b5715931a268dd2a55c76003 (diff)
parente417f083b53c5759346bcfcc451b0d89696788aa (diff)
downloadvolse-hubzilla-8a10af3bce54141be7e03a96f7a9c2df28c7fa5b.tar.gz
volse-hubzilla-8a10af3bce54141be7e03a96f7a9c2df28c7fa5b.tar.bz2
volse-hubzilla-8a10af3bce54141be7e03a96f7a9c2df28c7fa5b.zip
Merge https://github.com/friendica/friendica into pull
Diffstat (limited to 'view/theme/dispy/css/media.less')
-rw-r--r--view/theme/dispy/css/media.less71
1 files changed, 71 insertions, 0 deletions
diff --git a/view/theme/dispy/css/media.less b/view/theme/dispy/css/media.less
new file mode 100644
index 000000000..28cf3f054
--- /dev/null
+++ b/view/theme/dispy/css/media.less
@@ -0,0 +1,71 @@
+//
+//* media stuff */
+@media handheld and screen {
+ body {
+ font-size: 15pt;
+ }
+}
+//* Smartphones (portrait and landscape) ----------- */
+@media only screen and (min-device-width: 320px)
+ and (max-device-width: 480px) {
+ body {
+ font-size: 12pt;
+ }
+}
+//* Smartphones (landscape) ----------- */
+@media only screen and (min-width: 321px) {
+ body {
+ font-size: 12pt;
+ }
+}
+//* Smartphones (portrait) ----------- */
+@media only screen and (max-width: 320px) {
+ body {
+ font-size: 12pt;
+ }
+}
+//* iPads (portrait and landscape) ----------- */
+@media only screen and (min-device-width: 768px)
+ and (max-device-width: 1024px) {
+ body {
+ font-size: 14pt;
+ }
+}
+//* iPads (landscape) ----------- */
+@media only screen and (min-device-width: 768px)
+ and (max-device-width: 1024px)
+ and (orientation: landscape) {
+ body {
+ font-size: 14pt;
+ }
+}
+//* iPads (portrait) ----------- */
+@media only screen and (min-device-width: 768px)
+ and (max-device-width: 1024px)
+ and (orientation: portrait) {
+ body {
+ font-size: 14pt;
+ }
+}
+//* Desktops and laptops ----------- */
+//adjusted to 1024 from 1224.
+//not everybody has a fucking big screen ffs
+@media only screen and (min-width: 1024px) {
+ body {
+ font-size: 14pt;
+ }
+}
+//* Large screens - */
+@media only screen and (min-width: 1520px) {
+ body {
+ font-size: 16pt;
+ }
+}
+//* iPhone 4 ----------- */
+@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
+ only screen and (min-device-pixel-ratio: 1.5) {
+ body {
+ font-size: 14pt;
+ }
+}
+