🔧 🚩 🚧 Finished the components variable replace content.

This commit is contained in:
凡梦星尘
2022-05-21 19:18:19 +08:00
parent b105452feb
commit c27081fd26
14 changed files with 63 additions and 37 deletions

View File

@@ -1,7 +1,7 @@
// Variables of Muse scheme
// ==================================================
$sidebar-width : if(type-of(hexo-config('sidebar.width')) == number, hexo-config('sidebar.width'), 320);
$sidebar-width : if(type-of($sidebar_width) == number, $sidebar_width, 320);
$sidebar-desktop : $sidebar-width * 1px;
$content-padding-bottom : 60px;

View File

@@ -5,7 +5,7 @@
// --------------------------------------------------
$body-bg-color : #f5f7f9;
$sidebar-width : if(type-of(hexo-config('sidebar.width')) == number, hexo-config('sidebar.width'), 240);
$sidebar-width : if(type-of($sidebar_width) == number, $sidebar_width, 240);
$sidebar-desktop : $sidebar-width * 1px;
$content-wrap : calc(100% - #{$sidebar-width + $sidebar-offset});