main_width in rem

This commit is contained in:
Mario Vavti
2021-12-03 15:10:59 +01:00
parent 45fd462f80
commit fd433b3eb6
3 changed files with 4 additions and 4 deletions

View File

@@ -43,7 +43,7 @@ aside#right_aside_wrapper {
main {
margin-left: auto;
margin-right: auto;
max-width: $main_widthpx;
max-width: $main_widthrem;
}
#overlay {

View File

@@ -101,7 +101,7 @@ if (! $radius)
if (! $shadow)
$shadow = '0';
if (! $converse_width)
$converse_width = '1270'; //unit: rem
$converse_width = '52'; //unit: rem
if(! $top_photo)
$top_photo = '2.3rem';
if(! $reply_photo)
@@ -126,7 +126,7 @@ if(file_exists('view/theme/redbasic/css/style.css')) {
$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);
$main_width = (($main_width < 30) ? 30 : $main_width);
$options = array (
'$nav_bg' => $nav_bg,

View File

@@ -35,7 +35,7 @@
if (! $font_colour)
$font_colour = "#ccc";
if (! $converse_width)
$converse_width = '1270'; //unit: rem;
$converse_width = '52'; //unit: rem;