aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorJeroen <jeroenpraat@xs4all.nl>2014-07-29 19:09:07 +0000
committerJeroen <jeroenpraat@xs4all.nl>2014-07-29 19:09:07 +0000
commit994b6b5258856a97cf6863de74e5a8baddf59b49 (patch)
tree8ed5a9758b4ffd511afd04a843353722f07a979b /view
parentf09102157030c0cf49feff30e7368b8ddbd62444 (diff)
downloadvolse-hubzilla-994b6b5258856a97cf6863de74e5a8baddf59b49.tar.gz
volse-hubzilla-994b6b5258856a97cf6863de74e5a8baddf59b49.tar.bz2
volse-hubzilla-994b6b5258856a97cf6863de74e5a8baddf59b49.zip
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.
Diffstat (limited to 'view')
-rw-r--r--view/css/redable.css10
-rw-r--r--view/theme/redbasic/php/style.php4
-rwxr-xr-xview/tpl/head.tpl6
3 files changed, 10 insertions, 10 deletions
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 @@
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<base href="{{$baseurl}}/" />
-<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=0" />
-<meta name="generator" content="{{$generator}}" />
+<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1" />
+<meta name="generator" content="Bluefish 2.2.5" />
<!--[if IE]>
<script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@@ -17,7 +17,7 @@
<link rel="search"
href="{{$baseurl}}/opensearch"
type="application/opensearchdescription+xml"
- title="Search in Red" />
+ title="Search in the Red Matrix" />
<script>