revert "Add bottom margin on aside elements and main to allow for viewport footer."

This reverts commit 1d7d604016.
This commit is contained in:
Mario Vavti 2018-09-05 12:34:30 +02:00
parent 1753e40466
commit e494a76b33
2 changed files with 2 additions and 12 deletions

View file

@ -33,19 +33,13 @@ aside #region_1 {
}
aside #left_aside_wrapper {
/*margin-bottom: 10px;*/
margin-bottom: $bottom_margin;
}
aside #right_aside_wrapper {
/*margin-bottom: 10px;*/
margin-bottom: $bottom_margin;
margin-bottom: 10px;
}
main {
margin-left: auto;
margin-right: auto;
max-width: $main_widthpx;
margin-bottom: $bottom_margin;
}
#overlay {

View file

@ -106,8 +106,6 @@ 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')) {
@ -152,9 +150,7 @@ 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,
'$bottom_margin' => $bottom_margin
'$aside_width' => $aside_width
);
echo str_replace(array_keys($options), array_values($options), $x);