🔧 🚩 🚧 Finished all variables replace content.

This commit is contained in:
凡梦星尘
2022-05-21 21:48:27 +08:00
parent ea3acab865
commit e59a389508
15 changed files with 74 additions and 48 deletions

View File

@@ -18,7 +18,7 @@
justify-content: space-between;
@include main-container();
@if hexo-config('sidebar.position') == 'right' {
@if $sidebar_position == 'right' {
flex-direction: row-reverse;
}
@@ -40,7 +40,7 @@
}
.footer-inner {
@if hexo-config('sidebar.position') == 'right' {
@if $sidebar_position == 'right' {
padding-right: $sidebar-desktop + $sidebar-offset;
} @else {
padding-left: $sidebar-desktop + $sidebar-offset;

View File

@@ -31,7 +31,7 @@
}
}
@if not hexo-config('menu_settings.badges') {
@if not $menu_settings_badges {
.main-menu .menu-item-active::after {
background: $grey;
border-radius: 50%;

View File

@@ -10,7 +10,7 @@
display: none;
}
@if hexo-config('motion.enable') and hexo-config('motion.transition.sidebar') {
@if $motion_enable and $motion_transition_sidebar {
visibility: hidden;
}
}
@@ -56,7 +56,7 @@
.links-of-author-item {
@include sidebar-inline-links-item();
@if not hexo-config('social_icons.icons_only') {
@if not $social_icons_only {
width: 50%;
}
@@ -72,14 +72,14 @@
}
.links-of-blogroll-item {
@if hexo-config('links_settings.layout') == 'inline' {
@if $links_settings_layout == 'inline' {
display: inline-block;
max-width: 100%;
@include sidebar-inline-links-item();
}
}
@if hexo-config('back2top.sidebar') {
@if $back2top_sidebar {
// Only when back2top.sidebar is true, apply the following styles
.back-to-top {
background: var(--body-bg-color);