🎨 Merge branch 'develop'

This commit is contained in:
凡梦星尘
2022-06-12 15:34:38 +08:00
182 changed files with 7702 additions and 3249 deletions

View File

@@ -13,6 +13,9 @@
}
.cc-license {
margin-top: 6px;
.cc-opacity {
border-bottom: 0;
opacity: .7;

View File

@@ -1,9 +1,9 @@
.links-of-author {
.links-of-author, .links-of-social {
a {
font-size: $font-size-smaller;
}
@if not $cfg_social_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 $cfg_avatar_rounded {
@if $avatar_rounded {
border-radius: 50%;
}
@if $cfg_avatar_rotated {
@if $avatar_rotated {
transition: transform 1s ease-out;
&:hover {

View File

@@ -1,14 +1,14 @@
@if $cfg_toc_enable {
.post-toc {
font-size: $font-size-small;
padding: 0 8px;
ol {
ul {
list-style: none;
margin: 0;
padding: 0 2px 5px 10px;
text-align: left;
> ol {
> li {
padding-left: 0;
}
@@ -22,14 +22,14 @@
overflow: hidden;
text-overflow: ellipsis;
@if not $cfg_toc_wrap {
@if not $toc_wrap {
white-space: nowrap;
}
}
.nav {
.nav-child {
display: if($cfg_toc_expand_all, block, none);
display: if($toc_expand_all, block, none);
}
.active > .nav-child {

View File

@@ -12,10 +12,8 @@
@media (any-hover: hover) {
body:not(.sidebar-active) .sidebar-toggle:hover {
@include toggle-arrow($cfg_sidebar_position);
}
}
.sidebar-active .sidebar-toggle {
@include toggle-close($cfg_sidebar_position);
}

View File

@@ -1,4 +1,3 @@
@if $cfg_site_state {
.site-state {
@include flex-wrap();
line-height: 1.4;
@@ -8,6 +7,11 @@
// Fix issue #103
// The click area of the link becomes smaller
padding: 0 15px;
border-left: 1px solid #eee;
&:first-child {
border-left: none;
}
a {
border-bottom: 0;
@@ -15,6 +19,8 @@
}
}
.site-state-item-count {
display: block;
font-size: $site-state-item-count-font-size;