Add bottom margin on aside elements and main to allow for viewport footer.
This commit is contained in:
parent
e25db4d1b5
commit
1d7d604016
@ -33,13 +33,19 @@ aside #region_1 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
aside #left_aside_wrapper {
|
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 {
|
main {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
max-width: $main_widthpx;
|
max-width: $main_widthpx;
|
||||||
|
margin-bottom: $bottom_margin;
|
||||||
}
|
}
|
||||||
|
|
||||||
#overlay {
|
#overlay {
|
||||||
|
@ -106,6 +106,8 @@ if(! $top_photo)
|
|||||||
$top_photo = '2.3rem';
|
$top_photo = '2.3rem';
|
||||||
if(! $reply_photo)
|
if(! $reply_photo)
|
||||||
$reply_photo = '2.3rem';
|
$reply_photo = '2.3rem';
|
||||||
|
if(! $bottom_margin)
|
||||||
|
$bottom_margin = '200px';
|
||||||
|
|
||||||
// Apply the settings
|
// Apply the settings
|
||||||
if(file_exists('view/theme/redbasic/css/style.css')) {
|
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_top' => $pmenu_top,
|
||||||
'$pmenu_reply' => $pmenu_reply,
|
'$pmenu_reply' => $pmenu_reply,
|
||||||
'$main_width' => $main_width,
|
'$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);
|
echo str_replace(array_keys($options), array_values($options), $x);
|
||||||
|
Reference in New Issue
Block a user