diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-04-05 21:34:36 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-04-05 21:34:36 +0200 |
commit | a4f6c24273f5ba321b7255ec228f677483fd3fa3 (patch) | |
tree | 64da97583e1920f7e4fd926a2d186c18b85b3d9e /view | |
parent | 53853814ff338303549efbc36a49863f8781636b (diff) | |
download | volse-hubzilla-a4f6c24273f5ba321b7255ec228f677483fd3fa3.tar.gz volse-hubzilla-a4f6c24273f5ba321b7255ec228f677483fd3fa3.tar.bz2 volse-hubzilla-a4f6c24273f5ba321b7255ec228f677483fd3fa3.zip |
we should probably stick to 0.875rem font-size (this is equal to 14px with a default browser setting of 16px) to give 90% of the members a nice desktop experience. The font-awesome icons are only rendered clean with 14px (and multiples) fontsize. They look somewhat unfocused with 16px font-size. The font-size setting has moved to display setting -> custom theme settings. Set it to 1rem there to use the slightly taller default browser size.
Diffstat (limited to 'view')
-rw-r--r-- | view/theme/redbasic/php/config.php | 2 | ||||
-rw-r--r-- | view/theme/redbasic/php/style.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/view/theme/redbasic/php/config.php b/view/theme/redbasic/php/config.php index 042a495e5..752a02a6a 100644 --- a/view/theme/redbasic/php/config.php +++ b/view/theme/redbasic/php/config.php @@ -96,7 +96,7 @@ class RedbasicConfig { '$background_image' => array('redbasic_background_image', t('Set the background image'), $arr['background_image']), '$item_colour' => array('redbasic_item_colour', t('Set the background color of items'), $arr['item_colour']), '$comment_item_colour' => array('redbasic_comment_item_colour', t('Set the background color of comments'), $arr['comment_item_colour']), - '$font_size' => array('redbasic_font_size', t('Set font-size for the entire application'), $arr['font_size'], t('Examples: 87.5%, 14px')), + '$font_size' => array('redbasic_font_size', t('Set font-size for the entire application'), $arr['font_size'], t('Examples: 1rem, 100%, 16px')), '$font_colour' => array('redbasic_font_colour', t('Set font-color for posts and comments'), $arr['font_colour']), '$radius' => array('redbasic_radius', t('Set radius of corners'), $arr['radius'], t('Example: 4px')), '$shadow' => array('redbasic_shadow', t('Set shadow depth of photos'), $arr['shadow']), diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index ab760fdc1..a666f96f2 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -95,7 +95,7 @@ if (! $comment_item_colour) if (! $item_opacity) $item_opacity = '1'; if (! $font_size) - $font_size = '1rem'; + $font_size = '0.875rem'; if (! $font_colour) $font_colour = '#4d4d4d'; if (! $radius) |