🔧 🚩 🚧 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

@@ -1,4 +1,4 @@
@if hexo-config('sidebar.position') == 'right' {
@if $sidebar_position == 'right' {
.sidebar-active {
@include desktop() {
padding-right: $sidebar-desktop;
@@ -31,7 +31,7 @@
.sidebar {
background: $black-deep;
bottom: 0;
@if not hexo-config('back2top.sidebar') {
@if not $back2top_sidebar {
box-shadow: inset 0 2px 6px black;
}
position: fixed;
@@ -63,7 +63,7 @@
margin-right: 10px;
vertical-align: middle;
@if hexo-config('social_icons.transition') {
@if $social_icons_transition {
transition: all $transition-ease;
}
@@ -78,7 +78,7 @@
}
.links-of-blogroll-item {
@if hexo-config('links_settings.layout') == 'inline' {
@if $links_settings_layout == 'inline' {
display: inline-block;
}
padding: 2px 10px;

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);