v5.6 (#1)
Co-authored-by: muppeth <muppeth@disroot.org> Reviewed-on: #1 Reviewed-by: antilopa <antilopa@no-reply@disroot.org> Co-authored-by: muppeth <muppeth@no-reply@disroot.org> Co-committed-by: muppeth <muppeth@no-reply@disroot.org>
This commit is contained in:
parent
309b02c81a
commit
904d69fda3
|
@ -120,15 +120,14 @@ if(file_exists('view/theme/redbasic/css/style.css')) {
|
|||
if($narrow_navbar && file_exists('view/theme/redbasic/css/narrow_navbar.css')) {
|
||||
$x .= file_get_contents('view/theme/redbasic/css/narrow_navbar.css');
|
||||
}
|
||||
|
||||
if($schemecss) {
|
||||
$x .= $schemecss;
|
||||
}
|
||||
|
||||
$aside_width = 288;
|
||||
$left_aside_width = 288;
|
||||
$right_aside_width = 288;
|
||||
|
||||
// left aside and right aside are 285px + converse width
|
||||
$main_width = (($aside_width * 2) + intval($converse_width));
|
||||
$main_width = $left_aside_width + $right_aside_width + intval($converse_width);
|
||||
|
||||
// prevent main_width smaller than 768px
|
||||
$main_width = (($main_width < 768) ? 768 : $main_width);
|
||||
|
@ -138,7 +137,6 @@ if(file_exists('view/theme/redbasic/css/style.css')) {
|
|||
'$nav_icon_colour' => $nav_icon_colour,
|
||||
'$nav_active_icon_colour' => $nav_active_icon_colour,
|
||||
'$link_colour' => $link_colour,
|
||||
'$link_bgcolour' => $link_bgcolour,
|
||||
'$banner_colour' => $banner_colour,
|
||||
'$bgcolour' => $bgcolour,
|
||||
'$background_image' => $background_image,
|
||||
|
@ -156,7 +154,8 @@ 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
|
||||
'$left_aside_width' => $left_aside_width,
|
||||
'$right_aside_width' => $right_aside_width
|
||||
);
|
||||
|
||||
echo str_replace(array_keys($options), array_values($options), $x);
|
||||
|
|
Reference in New Issue