style: modified variables.styl

This commit is contained in:
XPoet 2020-07-09 18:24:13 +08:00
parent a15a6f54d3
commit 7029b67c41
1 changed files with 21 additions and 20 deletions

View File

@ -12,10 +12,10 @@ if (hexo-config('magic.enable')) {
} }
if (hexo-config('magic.enable') && hexo-config('magic.sidebar.enable')) { if (hexo-config('magic.enable') && hexo-config('magic.sidebar.enable')) {
$main-content-width = 80%; $main-content-width = 80%; //
$sidebar-width = 280px; // $sidebar-width = 280px; //
} else { } else {
$main-content-width = 60%; $main-content-width = 62%; //
} }
$header-shrink-height = 60px; // $header-shrink-height = 60px; //
@ -25,8 +25,8 @@ $component-interspace = 30px; // 组件/模块的间隔值px
// =================================== // ===================================
// //
// =================================== // ===================================
$media-max-width = 760px; // $media-max-width = 760px; // ()
$media-max-width-mobile = 480px; // $media-max-width-mobile = 480px; //
ils-tablet() ils-tablet()
@media (max-width: $media-max-width) @media (max-width: $media-max-width)
@ -52,9 +52,10 @@ $z-index-6 = 1006;
// color // color
// =================================== // ===================================
// normal mode color // normal mode color
$primary-color = #225eea; // $primary-color = rgba(30, 88, 217, 0.96); //
$background-color = #fff; // //$primary-color = hexo-config('theme_color');
$magic-background-color = #f5f5f5; // MAGIC $background-color = #fff; // normal
$magic-background-color = #f5f5f5; // magic
$normal-text-color = #43404d; // $normal-text-color = #43404d; //
$first-text-color = darken($normal-text-color, 8%); // $first-text-color = darken($normal-text-color, 8%); //
$second-text-color = darken($normal-text-color, 4%); // $second-text-color = darken($normal-text-color, 4%); //