🔧 🚩 🚧 Finished the outline variable replace content.

This commit is contained in:
凡梦星尘
2022-05-21 20:34:09 +08:00
parent c27081fd26
commit 3165c7b566
12 changed files with 63 additions and 38 deletions

View File

@@ -3,7 +3,7 @@
font-size: $font-size-smaller;
}
@if not hexo-config('social_icons.icons_only') {
@if not $social_icons_only {
.fa, .fab, .far, .fas {
margin-right: 2px;
}

View File

@@ -3,11 +3,11 @@
max-width: $site-author-image-width;
padding: 2px;
@if hexo-config('avatar.rounded') {
@if $avatar_rounded {
border-radius: 50%;
}
@if hexo-config('avatar.rotated') {
@if $avatar_rotated {
transition: transform 1s ease-out;
&:hover {

View File

@@ -1,4 +1,4 @@
@if hexo-config('toc.enable') {
@if $toc_enable {
.post-toc {
font-size: $font-size-small;
@@ -22,14 +22,14 @@
overflow: hidden;
text-overflow: ellipsis;
@if not hexo-config('toc.wrap') {
@if not $toc_wrap {
white-space: nowrap;
}
}
.nav {
.nav-child {
display: if(hexo-config('toc.expand_all'), block, none);
display: if($toc_expand_all, block, none);
}
.active > .nav-child {

View File

@@ -12,10 +12,10 @@
@media (any-hover: hover) {
body:not(.sidebar-active) .sidebar-toggle:hover {
@include toggle-arrow(hexo-config('sidebar.position'));
@include toggle-arrow($sidebar_position);
}
}
.sidebar-active .sidebar-toggle {
@include toggle-close(hexo-config('sidebar.position'));
@include toggle-close($sidebar_position);
}

View File

@@ -1,4 +1,4 @@
@if hexo-config('site_state') {
@if $site_state {
.site-state {
@include flex-wrap();
line-height: 1.4;