This commit is contained in:
2021-12-14 21:48:12 +03:00
parent aab71826ae
commit 026b69170d
45 changed files with 383 additions and 392 deletions

View File

@@ -101,7 +101,7 @@ if (! $radius)
if (! $shadow)
$shadow = '0';
if (! $converse_width)
$converse_width = '790';
$converse_width = '52'; //unit: rem
if(! $top_photo)
$top_photo = '2.3rem';
if(! $reply_photo)
@@ -120,13 +120,13 @@ if(file_exists('view/theme/ussrbasicpub/css/style.css')) {
$x .= $schemecss;
}
$left_aside_width = 288;
$right_aside_width = 288;
$left_aside_width = 21; //unit: rem
$right_aside_width = 21; //unit: rem
$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,
@@ -161,4 +161,4 @@ if(file_exists('view/theme/ussrbasicpub/css/style.css')) {
// Set the schema to the default schema in derived themes. See the documentation for creating derived themes how to override this.
if(local_channel() && App::$channel && App::$channel['channel_theme'] != 'ussrbasicpub')
set_pconfig(local_channel(), '`ussrbasicpub', 'schema', '---');
set_pconfig(local_channel(), 'ussrbasicpub', 'schema', '---');