🔧 🚩 🚧 Finished the base variable replace content.

This commit is contained in:
凡梦星尘
2022-05-21 18:43:01 +08:00
parent 9eb7a32d23
commit b105452feb
7 changed files with 99 additions and 60 deletions

View File

@@ -117,7 +117,7 @@
}
@function sidebar-toggle-alignment($reverse) {
$condition : hexo-config('sidebar.position') == 'right';
$condition : $sidebar_position == 'right';
@if ($scheme == 'Muse') or ($scheme == 'Mist') {
$condition : $condition == $reverse;
}
@@ -125,7 +125,9 @@
}
@mixin sidebar-toggle-position($reverse) {
$alignment : list.nth(sidebar-toggle-alignment($reverse), 0);
// TODO how use nth function.
//$alignment : list.nth(sidebar-toggle-alignment($reverse), 0);
$alignment : 0;
#{$alignment}: $b2t-position-right;
@include tablet-mobile() {
#{$alignment}: $b2t-position-right-mobile;