This commit is contained in:
E. S. 2024-01-01 01:11:59 +00:00
parent fba84cd77a
commit 745e1d2b75
3 changed files with 25 additions and 24 deletions

View File

@ -8,18 +8,19 @@ textarea {
display: block;
}
.head-logo {
margin: 0 $side-padding - 14px;
}
.head-inner {
padding-bottom: 8px;
margin: 0;
}
.head-logo-wrap {
padding-bottom: 4px;
}
.head-logo {
display: block;
text-align: center;
}
.head-items {
text-align: left;
padding: 0 $side-padding 0 $side-padding - 2px;
text-align: center;
padding: 0 0 8px;
white-space: nowrap;
overflow-x: auto;
overflow-y: hidden;

View File

@ -25,7 +25,7 @@ $footer-height: 64px;
@mixin linearGradient($top, $bottom){
background: -moz-linear-gradient(top, $top 0%, $bottom 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,$top), color-stop(100%,$bottom)); /* Chrome,Safari4+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, $top), color-stop(100%, $bottom)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, $top 0%,$bottom 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, $top 0%,$bottom 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, $top 0%,$bottom 100%); /* IE10+ */

View File

@ -24,22 +24,22 @@ else if ($opts['wide'])
return <<<HTML
<!doctype html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="alternate" type="application/rss+xml" href="/feed.rss">
<title>{$title}</title>
<script type="text/javascript">window.appConfig = {$app_config};</script>
{$ctx->renderMeta($meta)}
{$ctx->renderStatic($static, $theme)}
</head>
<body{$ctx->if_true($body_class, ' class="'.implode(' ', $body_class).'"')}>
{$ctx->renderHeader($theme)}
<div class="page-content base-width">
<div class="page-content-inner">{$unsafe_body}</div>
</div>
{$ctx->renderScript($js, $unsafe_lang)}
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="alternate" type="application/rss+xml" href="/feed.rss">
<title>{$title}</title>
<script type="text/javascript">window.appConfig = {$app_config};</script>
{$ctx->renderMeta($meta)}
{$ctx->renderStatic($static, $theme)}
</head>
<body{$ctx->if_true($body_class, ' class="'.implode(' ', $body_class).'"')}>
<div class="page-content base-width">
{$ctx->renderHeader($theme)}
<div class="page-content-inner">{$unsafe_body}</div>
</div>
{$ctx->renderScript($js, $unsafe_lang)}
<!-- Yandex.Metrika counter -->
<script type="text/javascript" >
@ -198,7 +198,7 @@ $items[] = ['url' => 'javascript:void(0)', 'label' => $ctx->renderMoonIcons(), '
// here, items are rendered using for_each, so that there are no gaps (whitespaces) between tags
return <<<HTML
<div class="head base-width">
<div class="head">
<div class="head-inner">
<div class="head-logo-wrap">
<div class="head-logo">