🔧 🚩 🚧 Finished the components variable replace content.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user