From 994b6b5258856a97cf6863de74e5a8baddf59b49 Mon Sep 17 00:00:00 2001 From: Jeroen Date: Tue, 29 Jul 2014 19:09:07 +0000 Subject: As talked about earlier: set body font size to 0.8rem and post/comment font size to 1.0rem. This respects the user's browser font settings. Please comment if this changes the font sizes to much. There are some other font sizes that need to be changed to a scalable size (like btn-xs), but they don't have a priority. First see if this works. - Also made it possible for users to zoom on smart devices. - Small update to Redable. Aside is now disabled on almost all tablets in portrait mode. --- view/css/redable.css | 10 +++++----- view/theme/redbasic/php/style.php | 4 ++-- view/tpl/head.tpl | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'view') diff --git a/view/css/redable.css b/view/css/redable.css index c0f253d55..b8e31eab0 100644 --- a/view/css/redable.css +++ b/view/css/redable.css @@ -14,15 +14,15 @@ main { height: 100%; } -@media screen and (max-width: 767px) { +@media screen and (max-width: 801px) { main { - left: -14rem !important; - right: -14rem !important; - width: calc(100% + 14rem + 14rem) !important; + left: -14rem !important; + right: -14rem !important; + width: calc(100% + 14rem + 14rem) !important; } #profile-photo-wrapper { -display:none; + display:none; } } diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index f55b29d5e..e47d65690 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -130,9 +130,9 @@ if(! $a->install) { if (! $item_opacity) $item_opacity = "1"; if (! $font_size) - $font_size = "1.0em"; + $font_size = "1.0rem"; if (! $body_font_size) - $body_font_size = "12pt"; + $body_font_size = "0.8rem"; if (! $font_colour) $font_colour = "#4d4d4d"; if (! $selected_active_colour) diff --git a/view/tpl/head.tpl b/view/tpl/head.tpl index b90bf8b89..837bfbfcc 100755 --- a/view/tpl/head.tpl +++ b/view/tpl/head.tpl @@ -1,7 +1,7 @@ - - + +