diff options
author | M.Dent <dentm42@dm42.net> | 2018-08-20 00:15:34 -0400 |
---|---|---|
committer | M.Dent <dentm42@dm42.net> | 2018-08-20 00:15:34 -0400 |
commit | 1d7d604016e6728725c4b857cec85c3d5a050268 (patch) | |
tree | a98821ea04d566fad535e331b49037cb68dd5cca /view | |
parent | e25db4d1b57116353ad4e4909eb93824a673ffb3 (diff) | |
download | volse-hubzilla-1d7d604016e6728725c4b857cec85c3d5a050268.tar.gz volse-hubzilla-1d7d604016e6728725c4b857cec85c3d5a050268.tar.bz2 volse-hubzilla-1d7d604016e6728725c4b857cec85c3d5a050268.zip |
Add bottom margin on aside elements and main to allow for viewport footer.
Diffstat (limited to 'view')
-rw-r--r-- | view/theme/redbasic/css/style.css | 8 | ||||
-rw-r--r-- | view/theme/redbasic/php/style.php | 6 |
2 files changed, 12 insertions, 2 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 970e4bc89..82d0cf761 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -33,13 +33,19 @@ aside #region_1 { } aside #left_aside_wrapper { - margin-bottom: 10px; + /*margin-bottom: 10px;*/ + margin-bottom: $bottom_margin; +} +aside #right_aside_wrapper { + /*margin-bottom: 10px;*/ + margin-bottom: $bottom_margin; } main { margin-left: auto; margin-right: auto; max-width: $main_widthpx; + margin-bottom: $bottom_margin; } #overlay { diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index 91cc0b85b..0631fa142 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -106,6 +106,8 @@ if(! $top_photo) $top_photo = '2.3rem'; if(! $reply_photo) $reply_photo = '2.3rem'; +if(! $bottom_margin) + $bottom_margin = '200px'; // Apply the settings if(file_exists('view/theme/redbasic/css/style.css')) { @@ -150,7 +152,9 @@ if(file_exists('view/theme/redbasic/css/style.css')) { '$pmenu_top' => $pmenu_top, '$pmenu_reply' => $pmenu_reply, '$main_width' => $main_width, - '$aside_width' => $aside_width + '$aside_width' => $aside_width, + '$bottom_margin' => $bottom_margin + ); echo str_replace(array_keys($options), array_values($options), $x); |