Move from miccall theme to kaze

This commit is contained in:
2024-02-26 19:58:14 -05:00
parent 9de3279861
commit 32b0f8343d
205 changed files with 71658 additions and 9534 deletions

View File

@@ -0,0 +1,42 @@
#footer {
padding: 0 0.16rem;
display: flex;
flex-direction: row;
justify-content: space-between;
width: calc(100% - 0.32rem);
height: 0.4rem;
line-height: 0.4rem;
border-top: 1px solid rgba(173,181,189,0.4);
font-size: 0.12rem;
color: $color-font;
}
#footer #side-button {
margin-top: 0.04rem;
width: 0.32rem;
height: 0.32rem;
cursor: pointer;
line-height: 0.32rem;
text-align: center;
transition: $transition-delay;
}
#footer #side-button.close {
transition: $transition-delay;
transform: rotate(180deg);
}
#footer .right-content {
display: flex;
flex-direction: row;
}
#footer .right-content .busuanzi {
margin-right: 0.16rem;
}
#footer .right-content .busuanzi #busuanzi_container_site_uv,
#footer .right-content .busuanzi #busuanzi_container_site_pv {
margin-right: 0.08rem;
}
#footer .right-content .busuanzi .footer-separator {
margin: 0 0.08rem;
}
#footer .right-content .copyright {
font-size: 0.12rem;
}

View File

@@ -0,0 +1,120 @@
#menu-outer {
padding: 0 0.16rem;
display: flex;
flex-direction: row;
justify-content: space-between;
width: calc(100% - 0.32rem);
height: 0.56rem;
line-height: 0.56rem;
border-bottom: 1px solid rgba(173,181,189,0.4);
}
#menu-outer .menu-list-icon {
display: inline-block;
line-height: 0.56rem;
cursor: pointer;
}
#menu-outer #menu-inner.min-menu-inner {
position: absolute;
top: 0.56rem;
left: 0;
display: block;
width: 100%;
height: 0;
overflow-y: auto;
background: rgba(0,0,0,0.6);
transition: $transition-delay;
z-index: 99;
opacity: 0;
}
#menu-outer #menu-inner.min-menu-inner .menu-item {
display: block;
height: 0.56rem;
line-height: 0.56rem;
position: relative;
padding: 0 0.16rem;
font-size: 0.16rem;
font-weight: bolder;
transition: $transition-delay;
}
#menu-outer #menu-inner.min-menu-inner .menu-item:after {
content: '';
position: absolute;
left: 0;
bottom: 0;
width: 0;
height: 0.02rem;
background: $color-theme;
transition: $transition-delay;
}
#menu-outer #menu-inner.min-menu-inner .menu-item:hover {
color: $color-theme;
transition: $transition-delay;
}
#menu-outer #menu-inner.min-menu-inner .menu-item:hover:after {
width: 100%;
transition: $transition-delay;
}
#menu-outer #menu-inner.min-menu-inner.show-min-menu-inner {
display: block;
height: calc(100vh - 0.56rem);
transition: $transition-delay;
opacity: 1;
}
#menu-outer .right-info .search {
cursor: pointer;
position: relative;
font-weight: bolder;
transition: $transition-delay;
}
#menu-outer .right-info .search:after {
content: '';
position: absolute;
left: 50%;
bottom: 0;
width: 0;
height: 0.02rem;
background: $color-theme;
transition: $transition-delay;
}
#menu-outer .right-info .search:hover {
color: $color-theme;
transition: $transition-delay;
}
#menu-outer .right-info .search:hover:after {
left: 0;
width: 100%;
transition: $transition-delay;
}
#menu-outer .right-info .search .fas {
font-size: 0.12rem;
}
#menu-outer .right-info .title-name {
margin-left: 0.16rem;
position: relative;
font-weight: bolder;
transition: $transition-delay;
}
#menu-outer .right-info .title-name:after {
content: '';
position: absolute;
left: 50%;
bottom: 0;
width: 0;
height: 0.02rem;
background: $color-theme;
transition: $transition-delay;
}
#menu-outer .right-info .title-name:hover {
color: $color-theme;
transition: $transition-delay;
}
#menu-outer .right-info .title-name:hover:after {
left: 0;
width: 100%;
transition: $transition-delay;
}
#menu-outer .right-info #now-time {
display: inline-block;
margin-left: 0.16rem;
text-align: right;
}

View File

@@ -0,0 +1,232 @@
#page .tag-cloud {
padding-top: 0.32rem;
text-align: center;
}
#page .tag-cloud .tag-cloud-title {
display: inline-block;
font-size: 0.3rem;
}
#page .tag-cloud .tag-cloud-line {
margin: 0 0.16rem;
font-size: 0.3rem;
}
#page .tag-cloud .tag-cloud-amount {
font-size: 0.3rem;
}
#page .tag-cloud .tag-cloud-tags {
margin: 0.32rem 0 0 0;
}
#page .tag-cloud .tag-cloud-tags a {
display: inline-block;
margin: 0.16rem 0.16rem;
}
#page .tag-cloud .tag-cloud-tags a:hover {
color: $color-theme;
}
#page .category-lists {
padding-top: 0.32rem;
text-align: center;
}
#page .category-lists .category-title {
display: inline-block;
font-size: 0.3rem;
}
#page .category-lists .category-line {
margin: 0 0.16rem;
font-size: 0.3rem;
}
#page .category-lists .category-amount {
font-size: 0.3rem;
}
#page .category-lists .category-list {
margin-top: 0.4rem;
padding: 0 0 0.08rem;
list-style: none;
counter-reset: li;
text-align: left;
}
#page .category-lists .category-list .category-list-item {
position: relative;
margin: 0.2rem 0;
padding: 0.1rem 0.5rem 0.1rem 0.32rem;
font-size: 0.14rem;
transition: $transition-delay;
}
#page .category-lists .category-list .category-list-item::before {
content: "";
display: block;
position: absolute;
top: 0.08rem;
left: 0;
width: 0.08rem;
height: 0.08rem;
border: 0.04rem solid $color-sub-theme;
background: transparent;
border-radius: 50%;
line-height: 0.3rem;
transition: $transition-delay;
}
#page .category-lists .category-list .category-list-item:hover::before {
border: 0.04rem solid $color-theme;
transition: $transition-delay;
}
#page .category-lists .category-list .category-list-item:hover .category-list-link,
#page .category-lists .category-list .category-list-item:hover .category-list-count {
color: $color-theme;
transition: $transition-delay;
}
#page .category-lists .category-list .category-list-item .category-list-link {
color: $color-font;
text-decoration: none;
cursor: pointer;
transition: $transition-delay;
}
#page .category-lists .category-list .category-list-item .category-list-count {
margin-left: 0.16rem;
color: $color-font;
transition: $transition-delay;
}
#page .category-lists .category-list .category-list-item .category-list-count::before {
content: '(';
}
#page .category-lists .category-list .category-list-item .category-list-count::after {
content: ')';
}
#page .about {
margin-bottom: 0.16rem;
padding: 0.16rem;
background: $rgba-color;
border-radius: 0.04rem;
line-height: 0.28rem;
}
#page .about img {
max-width: 100%;
}
#page .about a {
color: $color-sub-theme;
}
#page .about a:hover {
color: $color-theme;
}
#page .about table {
margin: 0.08rem 0 0.16rem 0;
max-width: 100%;
}
#page .about table thead tr th {
padding: 0.08rem 0.16rem;
border: 1px solid $color-font;
background: $rgba-color;
white-space: nowrap;
}
#page .about table tbody tr td {
padding: 0.08rem 0.16rem;
border: 1px solid $color-font;
}
#page .about h1,
#page .about h2,
#page .about h3,
#page .about h4,
#page .about h5,
#page .about h6 {
position: relative;
cursor: pointer;
transition: $transition-delay;
padding-left: 0.16rem;
color: #fff3cd;
}
#page .about h1:before,
#page .about h2:before,
#page .about h3:before,
#page .about h4:before,
#page .about h5:before,
#page .about h6:before {
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
color: $color-sub-theme;
content: "\f0c1";
font: normal normal normal 0.12rem/1 FontAwesome;
font-size: 0.12rem;
transition: $transition-delay;
}
#page .about h1:hover,
#page .about h2:hover,
#page .about h3:hover,
#page .about h4:hover,
#page .about h5:hover,
#page .about h6:hover {
padding-left: 0.24rem;
}
#page .about h1:hover:before,
#page .about h2:hover:before,
#page .about h3:hover:before,
#page .about h4:hover:before,
#page .about h5:hover:before,
#page .about h6:hover:before {
color: $color-theme;
}
#page .about ol,
#page .about ul {
margin-top: 0.08rem;
padding: 0 0 0 0.16rem;
list-style: none;
counter-reset: li;
}
#page .about ol p,
#page .about ul p {
margin: 0;
}
#page .about ol ol,
#page .about ul ol,
#page .about ol ul,
#page .about ul ul {
padding-left: 0.08rem;
}
#page .about ol li,
#page .about ul li {
position: relative;
margin: 0.04rem 0;
padding: 0.02rem 0.1rem 0.02rem 0.3rem;
}
#page .about ol li:hover:before,
#page .about ul li:hover:before {
transform: rotate(360deg);
color: $color-theme;
}
#page .about ol li:before,
#page .about ul li:before {
position: absolute;
top: 0;
left: 0;
background: $rgba-color;
color: $color-sub-theme;
cursor: pointer;
transition: $transition-delay;
}
#page .about ol li:before {
margin-top: 0.04rem;
width: 0.24rem;
height: 0.24rem;
border-radius: 0.12rem;
content: counter(li);
counter-increment: li;
text-align: center;
font-size: 0.12rem;
font-weight: 600;
line-height: 0.24rem;
}
#page .about ul li:hover:before {
border-color: $color-theme;
}
#page .about ul li:before {
top: 0.11rem;
margin-left: 0.04rem;
width: 0.06rem;
height: 0.06rem;
border: 0.018rem solid $color-sub-theme;
background: transparent;
content: "";
line-height: 0.06rem;
transform: rotateZ(45deg);
}

View File

@@ -0,0 +1,171 @@
#pagination {
padding: 0 0.16rem;
height: 0.4rem;
}
#pagination .pagination {
height: 0.4rem;
text-align: center;
}
#pagination .pagination .prev,
#pagination .pagination .page-number,
#pagination .pagination .next {
margin: 0 0.04rem;
position: relative;
display: inline-block;
width: 0.4rem;
height: 0.4rem;
text-align: center;
line-height: 0.4rem;
text-decoration: none;
overflow: hidden;
border-radius: 0.04rem;
color: $color-font;
transition: $transition-delay;
font-size: 0.14rem;
}
#pagination .pagination .prev:after,
#pagination .pagination .page-number:after,
#pagination .pagination .next:after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: block;
width: 0.8rem;
height: 0.8rem;
background: $rgba-color;
filter: blur(0.05rem);
margin: -0.2rem;
z-index: -1;
}
#pagination .pagination .prev:before,
#pagination .pagination .page-number:before,
#pagination .pagination .next:before {
content: '';
position: absolute;
left: -0.5rem;
top: -0.2rem;
width: 0.3rem;
height: 0.8rem;
background: linear-gradient(to left, rgba(255,255,255,0), rgba(255,255,255,0.5), rgba(255,255,255,0));
transform: rotateZ(-30deg);
}
#pagination .pagination .prev:hover,
#pagination .pagination .page-number:hover,
#pagination .pagination .next:hover {
color: $color-theme;
transition: $transition-delay;
}
#pagination .pagination .prev:hover:before,
#pagination .pagination .page-number:hover:before,
#pagination .pagination .next:hover:before {
left: 0.4rem;
top: -0.2rem;
transform: rotateZ(0deg);
transition: $transition-delay;
}
#pagination .pagination .prev {
margin-left: 0;
}
#pagination .pagination .page-number.current {
color: $color-theme;
font-size: 0.16rem;
}
#pagination .pagination .next {
margin-right: 0;
}
#pagination .pagination .space {
display: inline-block;
height: 0.4rem;
line-height: 0.3rem;
vertical-align: top;
}
#pagination .pull-left,
#pagination .pull-right {
padding: 0 0.16rem;
position: relative;
display: inline-block;
height: 0.4rem;
text-align: center;
line-height: 0.4rem;
color: $color-font;
transition: $transition-delay;
font-size: 0.14rem;
}
#pagination .pull-left .line,
#pagination .pull-right .line {
position: absolute;
transition: $transition-delay;
background: $color-theme;
}
#pagination .pull-left .line.line-top,
#pagination .pull-right .line.line-top {
width: 0;
height: 0.01rem;
left: -110%;
top: -0.01rem;
}
#pagination .pull-left .line.line-right,
#pagination .pull-right .line.line-right {
width: 0.01rem;
height: 0;
right: -0.01rem;
top: -110%;
}
#pagination .pull-left .line.line-bottom,
#pagination .pull-right .line.line-bottom {
width: 0.01rem;
height: 0;
left: -0.01rem;
bottom: -110%;
}
#pagination .pull-left .line.line-left,
#pagination .pull-right .line.line-left {
width: 0;
height: 0.01rem;
bottom: -0.01rem;
right: -110%;
}
#pagination .pull-left:hover,
#pagination .pull-right:hover {
transition: $transition-delay;
}
#pagination .pull-left:hover .line-top,
#pagination .pull-right:hover .line-top {
width: 100%;
left: 0;
}
#pagination .pull-left:hover .line-right,
#pagination .pull-right:hover .line-right {
height: 100%;
top: 0;
}
#pagination .pull-left:hover .line-bottom,
#pagination .pull-right:hover .line-bottom {
height: 100%;
bottom: 0;
}
#pagination .pull-left:hover .line-left,
#pagination .pull-right:hover .line-left {
width: 100%;
right: 0;
}
#pagination .pull-left:hover a,
#pagination .pull-right:hover a {
transition: $transition-delay;
color: $color-theme;
}
#pagination .pull-left a,
#pagination .pull-right a {
transition: $transition-delay;
color: $color-font;
text-decoration: none;
}
#pagination .pull-left {
float: left;
}
#pagination .pull-right {
float: right;
}

View File

@@ -0,0 +1,301 @@
#post,
.post-content {
margin-bottom: 0.16rem;
padding: 0.16rem;
background: $rgba-color;
border-radius: 0.04rem;
}
#post .post-header .title,
.post-content .post-header .title {
font-size: 0.26rem;
color: $color-white;
position: relative;
margin: 0 0 0.16rem 0;
padding: 0.08rem 0;
display: block;
transition: $transition-delay;
}
#post .post-header .title:after,
.post-content .post-header .title:after {
content: url("../../images/ufo.svg");
position: absolute;
left: 0;
bottom: -0.12rem;
width: 0.12rem;
height: 0.12rem;
font-size: 0.12rem;
font-weight: bolder;
}
#post .post-header .title:hover,
.post-content .post-header .title:hover {
color: $color-theme;
transition: $transition-delay;
}
#post .post-header .title:hover:after,
.post-content .post-header .title:hover:after {
animation: rotate3ding 5s infinite;
}
#post .post-header .container,
.post-content .post-header .container {
display: flex;
flex-direction: row;
justify-content: left;
flex-wrap: wrap;
margin: 0 0 0.16rem 0;
}
#post .post-header .container .article-icon,
.post-content .post-header .container .article-icon {
margin: 0 0.08rem 0 0;
}
#post .post-header .container .link-a,
.post-content .post-header .container .link-a {
transition: $transition-delay;
}
#post .post-header .container .link-a:hover,
.post-content .post-header .container .link-a:hover {
transition: $transition-delay;
color: $color-theme;
}
#post .post-header .container .post-date,
.post-content .post-header .container .post-date,
#post .post-header .container .categories,
.post-content .post-header .container .categories,
#post .post-header .container .tags,
.post-content .post-header .container .tags {
display: block;
margin-top: 0.08rem;
padding: 0.08rem 0.16rem;
font-size: 0.14rem;
}
#post .post-header .container .post-date,
.post-content .post-header .container .post-date {
margin-right: 0.08rem;
}
#post .post-header .container .categories,
.post-content .post-header .container .categories {
margin-right: 0.08rem;
}
#post .post-header .container .tags,
.post-content .post-header .container .tags {
margin-right: 0;
}
#post .main-content,
.post-content .main-content {
line-height: 0.28rem;
}
#post .main-content img,
.post-content .main-content img {
max-width: 100%;
}
#post .main-content a,
.post-content .main-content a {
color: $color-sub-theme;
}
#post .main-content a:hover,
.post-content .main-content a:hover {
color: $color-theme;
}
#post .main-content table,
.post-content .main-content table {
margin: 0.08rem 0 0.16rem 0;
max-width: 100%;
}
#post .main-content table thead tr th,
.post-content .main-content table thead tr th {
padding: 0.08rem 0.16rem;
border: 1px solid $color-font;
background: $rgba-color;
white-space: nowrap;
}
#post .main-content table tbody tr td,
.post-content .main-content table tbody tr td {
padding: 0.08rem 0.16rem;
border: 1px solid $color-font;
}
#post .main-content h1,
.post-content .main-content h1,
#post .main-content h2,
.post-content .main-content h2,
#post .main-content h3,
.post-content .main-content h3,
#post .main-content h4,
.post-content .main-content h4,
#post .main-content h5,
.post-content .main-content h5,
#post .main-content h6,
.post-content .main-content h6 {
position: relative;
cursor: pointer;
transition: $transition-delay;
padding-left: 0.16rem;
color: #fff3cd;
}
#post .main-content h1:before,
.post-content .main-content h1:before,
#post .main-content h2:before,
.post-content .main-content h2:before,
#post .main-content h3:before,
.post-content .main-content h3:before,
#post .main-content h4:before,
.post-content .main-content h4:before,
#post .main-content h5:before,
.post-content .main-content h5:before,
#post .main-content h6:before,
.post-content .main-content h6:before {
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
color: $color-sub-theme;
content: "\f0c1";
font: normal normal normal 0.12rem/1 FontAwesome;
font-size: 0.12rem;
transition: $transition-delay;
}
#post .main-content h1:hover,
.post-content .main-content h1:hover,
#post .main-content h2:hover,
.post-content .main-content h2:hover,
#post .main-content h3:hover,
.post-content .main-content h3:hover,
#post .main-content h4:hover,
.post-content .main-content h4:hover,
#post .main-content h5:hover,
.post-content .main-content h5:hover,
#post .main-content h6:hover,
.post-content .main-content h6:hover {
padding-left: 0.24rem;
}
#post .main-content h1:hover:before,
.post-content .main-content h1:hover:before,
#post .main-content h2:hover:before,
.post-content .main-content h2:hover:before,
#post .main-content h3:hover:before,
.post-content .main-content h3:hover:before,
#post .main-content h4:hover:before,
.post-content .main-content h4:hover:before,
#post .main-content h5:hover:before,
.post-content .main-content h5:hover:before,
#post .main-content h6:hover:before,
.post-content .main-content h6:hover:before {
color: $color-theme;
}
#post .main-content ol,
.post-content .main-content ol,
#post .main-content ul,
.post-content .main-content ul {
margin-top: 0.08rem;
padding: 0 0 0 0.16rem;
list-style: none;
counter-reset: li;
}
#post .main-content ol p,
.post-content .main-content ol p,
#post .main-content ul p,
.post-content .main-content ul p {
margin: 0;
}
#post .main-content ol ol,
.post-content .main-content ol ol,
#post .main-content ul ol,
.post-content .main-content ul ol,
#post .main-content ol ul,
.post-content .main-content ol ul,
#post .main-content ul ul,
.post-content .main-content ul ul {
padding-left: 0.08rem;
}
#post .main-content ol li,
.post-content .main-content ol li,
#post .main-content ul li,
.post-content .main-content ul li {
position: relative;
margin: 0.04rem 0;
padding: 0.02rem 0.1rem 0.02rem 0.3rem;
}
#post .main-content ol li:hover:before,
.post-content .main-content ol li:hover:before,
#post .main-content ul li:hover:before,
.post-content .main-content ul li:hover:before {
transform: rotate(360deg);
color: $color-theme;
}
#post .main-content ol li:before,
.post-content .main-content ol li:before,
#post .main-content ul li:before,
.post-content .main-content ul li:before {
position: absolute;
top: 0;
left: 0;
background: $rgba-color;
color: $color-sub-theme;
cursor: pointer;
transition: $transition-delay;
}
#post .main-content ol li:before,
.post-content .main-content ol li:before {
margin-top: 0.04rem;
width: 0.24rem;
height: 0.24rem;
border-radius: 0.12rem;
content: counter(li);
counter-increment: li;
text-align: center;
font-size: 0.12rem;
font-weight: 600;
line-height: 0.24rem;
}
#post .main-content ul li:hover:before,
.post-content .main-content ul li:hover:before {
border-color: $color-theme;
}
#post .main-content ul li:before,
.post-content .main-content ul li:before {
top: 0.11rem;
margin-left: 0.04rem;
width: 0.06rem;
height: 0.06rem;
border: 0.018rem solid $color-sub-theme;
background: transparent;
content: "";
line-height: 0.06rem;
transform: rotateZ(45deg);
}
#post .post-copyright,
.post-content .post-copyright {
position: relative;
margin: 0.4rem 0 0.2rem 0;
padding: 0.1rem 0.16rem;
background: $rgba-color;
border-radius: 0.04rem;
transition: $transition-delay;
}
#post .post-copyright:hover,
.post-content .post-copyright:hover {
box-shadow: 0 0 0.24rem $box-shadow-color;
transition: $transition-delay;
}
#post .post-copyright-author,
.post-content .post-copyright-author,
#post .post-copyright-type,
.post-content .post-copyright-type,
#post .post-copyright-notice,
.post-content .post-copyright-notice {
margin: 0.12rem 0;
}
#post .post-copyright-meta,
.post-content .post-copyright-meta {
color: $color-theme;
font-weight: bold;
}
#post .post-copyright-info a,
.post-content .post-copyright-info a {
color: $color-sub-theme;
word-break: break-word;
transition: $transition-delay;
}
#post .post-copyright-info a:hover,
.post-content .post-copyright-info a:hover {
color: $color-theme;
transition: $transition-delay;
}

View File

@@ -0,0 +1,91 @@
#recent-posts .recent-post-item {
display: flex;
flex-direction: column;
margin: 0.32rem 0;
padding: 0.16rem;
background: $rgba-color;
border-radius: 0.04rem;
transition: $transition-delay;
}
#recent-posts .recent-post-item:hover {
box-shadow: 0 0 0.24rem $box-shadow-color;
transition: $transition-delay;
}
#recent-posts .recent-post-item .post-title {
position: relative;
margin: 0 0 0.16rem 0;
padding: 0.08rem 0;
display: block;
font-size: 0.24rem;
transition: $transition-delay;
}
#recent-posts .recent-post-item .post-title:after {
content: url("../../images/ufo.svg");
position: absolute;
left: 0;
bottom: -0.12rem;
width: 0.12rem;
height: 0.12rem;
font-size: 0.12rem;
font-weight: bolder;
}
#recent-posts .recent-post-item .post-title:hover {
color: $color-theme;
transition: $transition-delay;
}
#recent-posts .recent-post-item .post-title:hover:after {
animation: rotate3ding 5s infinite;
}
#recent-posts .recent-post-item .container {
display: flex;
flex-direction: row;
justify-content: left;
flex-wrap: wrap;
margin-top: 0.16rem;
}
#recent-posts .recent-post-item .container .article-icon {
margin: 0 0.08rem 0 0;
}
#recent-posts .recent-post-item .container .link-a {
transition: $transition-delay;
}
#recent-posts .recent-post-item .container .link-a:hover {
transition: $transition-delay;
color: $color-theme;
}
#recent-posts .recent-post-item .container .post-date,
#recent-posts .recent-post-item .container .categories,
#recent-posts .recent-post-item .container .tags {
display: block;
margin-top: 0.08rem;
padding: 0.08rem 0.16rem;
font-size: 0.14rem;
}
#recent-posts .recent-post-item .container .post-date {
margin-right: 0.08rem;
}
#recent-posts .recent-post-item .container .categories {
margin-right: 0.08rem;
}
#recent-posts .recent-post-item .container .tags {
margin-right: 0;
}
#recent-posts .recent-post-item .post-content {
margin-bottom: 0;
padding: 0;
background: transparent;
border-radius: 0;
}
#recent-posts .recent-post-item .content {
margin-top: 0.32rem;
display: block;
line-height: 0.28rem;
}
#recent-posts .recent-post-item .more {
margin: 0.32rem 0 0.16rem 0;
padding: 0.08rem 0;
display: inline-block;
width: 1rem;
text-align: center;
font-size: 0.12rem;
}

View File

@@ -0,0 +1,217 @@
#sidebar {
display: none;
position: fixed;
left: -3rem;
width: 3rem;
height: 100%;
overflow: hidden;
background: $rgba-color;
}
#sidebar .toggle-sidebar-info {
margin: 0.16rem auto 0;
width: 1rem;
height: 0.32rem;
line-height: 0.32rem;
font-size: 0.14rem;
text-align: center;
}
#sidebar .toggle-sidebar-info span {
display: block;
width: 1rem;
height: 0.32rem;
}
#sidebar .sidebar-toc {
position: absolute;
left: 0;
top: 0.48rem;
padding: 0 0.16rem;
width: 2.68rem;
height: calc(100% - 0.48rem);
}
#sidebar .sidebar-toc .sidebar-toc-title {
margin-top: 0.24rem;
font-size: 0.2rem;
text-align: center;
color: $color-white;
}
#sidebar .sidebar-toc .sidebar-toc-progress {
margin-top: 0.24rem;
font-size: 0.16rem;
}
#sidebar .sidebar-toc .sidebar-toc-progress .progress-notice {
margin-right: 0.08rem;
}
#sidebar .sidebar-toc .sidebar-toc-progress .progress-num {
margin-right: 0.08rem;
font-weight: 600;
color: $color-theme;
}
#sidebar .sidebar-toc .sidebar-toc-progress .progress-percentage {
font-size: 0.16rem;
}
#sidebar .sidebar-toc .sidebar-toc-progress .sidebar-toc-progress-bar {
margin-top: 0.08rem;
height: 0.01rem;
width: 0;
background: $color-theme;
}
#sidebar .sidebar-toc .sidebar-toc-content {
margin-top: 0.24rem;
height: calc(100% - 1.4rem);
}
#sidebar .sidebar-toc .sidebar-toc-content .toc {
font-size: 0.14rem;
}
#sidebar .sidebar-toc .sidebar-toc-content .toc .toc-item {
line-height: 0.28rem;
}
#sidebar .sidebar-toc .sidebar-toc-content .toc .toc-item .toc-link {
transition: $transition-delay;
}
#sidebar .sidebar-toc .sidebar-toc-content .toc .toc-item .toc-link:hover {
color: $color-theme;
transition: $transition-delay;
}
#sidebar .sidebar-toc .sidebar-toc-content .toc .toc-item .toc-link.active {
color: $color-theme;
}
#sidebar .sidebar-toc .sidebar-toc-content .toc .toc-child {
padding-left: 0.12rem;
display: none;
}
#sidebar .author-info {
display: flex;
flex-direction: column;
align-items: center;
width: 3rem;
}
#sidebar .author-info.hide {
display: none;
opacity: 0;
position: absolute;
left: 0.8rem;
top: 0.48rem;
}
#sidebar .author-info .author-info-avatar {
margin-top: 0.16rem;
border-radius: 50%;
overflow: hidden;
}
#sidebar .author-info .author-info-avatar .author-info-avatar-img {
padding: 0.02rem;
width: 1.2rem;
height: 1.2rem;
border-radius: 50%;
border: 0.02rem solid $rgba-color;
}
#sidebar .author-info .author-info-avatar .author-info-avatar-img:hover {
animation: avatar 5s linear infinite;
}
#sidebar .author-info .author-info-name {
margin-top: 0.16rem;
color: $color-white;
}
#sidebar .author-info .author-info-description {
margin-top: 0.24rem;
font-size: 0.14rem;
}
#sidebar .author-info .links-buttons {
margin-top: 0.24rem;
padding: 0 0.16rem;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
}
#sidebar .author-info .links-buttons .links-button {
position: relative;
margin-top: 0.12rem;
margin-right: 0.12rem;
padding: 0.08rem 0.16rem 0.08rem 0.22rem;
font-size: 0.14rem;
background: $rgba-color;
}
#sidebar .author-info .links-buttons .links-button .icon-dot {
display: block;
position: absolute;
left: 0.1rem;
top: 0.12rem;
width: 0.06rem;
height: 0.06rem;
border-radius: 50%;
}
#sidebar .author-info-articles {
display: flex;
flex-direction: row;
margin-top: 0.32rem;
font-size: 0.14rem;
}
#sidebar .author-info-articles .article-meta {
display: flex;
flex-direction: column;
align-items: center;
width: 0.72rem;
transition: $transition-delay;
}
#sidebar .author-info-articles .article-meta .pull-top {
margin-top: 0.08rem;
}
#sidebar .author-info-articles .article-meta .pull-bottom {
margin: 0.08rem 0;
}
#sidebar .author-info-articles .article-meta:hover {
color: $color-theme;
transition: $transition-delay;
}
#sidebar .author-info-articles .article-meta.author-info-articles-archives,
#sidebar .author-info-articles .article-meta.author-info-articles-tags {
position: relative;
}
#sidebar .author-info-articles .article-meta.author-info-articles-archives:after,
#sidebar .author-info-articles .article-meta.author-info-articles-tags:after {
content: '';
position: absolute;
right: 0;
top: 50%;
transform: translate3d(0, -50%, 0);
display: block;
width: 0.01rem;
height: 0.32rem;
background: $rgba-color;
}
#sidebar .author-info-articles .article-meta.author-info-articles-tags,
#sidebar .author-info-articles .article-meta.author-info-articles-categories {
font-size: 0.14rem;
}
@-moz-keyframes avatar {
25% {
transform: rotateZ(30deg);
}
75% {
transform: rotateZ(-30deg);
}
}
@-webkit-keyframes avatar {
25% {
transform: rotateZ(30deg);
}
75% {
transform: rotateZ(-30deg);
}
}
@-o-keyframes avatar {
25% {
transform: rotateZ(30deg);
}
75% {
transform: rotateZ(-30deg);
}
}
@keyframes avatar {
25% {
transform: rotateZ(30deg);
}
75% {
transform: rotateZ(-30deg);
}
}

View File

@@ -0,0 +1,87 @@
.article-sort-item {
margin: 0.16rem 0;
position: relative;
padding: 0 0.4rem;
height: 0.32rem;
line-height: 0.32rem;
font-size: 0.16rem;
color: $color-white;
}
.article-sort-item .article-time {
margin-right: 0.24rem;
color: #99a9bf;
}
.article-sort-item .article-link {
transition: $transition-delay;
}
.article-sort-item .article-link:hover {
color: $color-theme;
transition: $transition-delay;
}
.article-sort-item::before {
content: '';
display: block;
position: absolute;
left: 0.06rem;
top: 0.09rem;
width: 0.06rem;
height: 0.06rem;
border-radius: 50%;
border: 0.04rem solid $color-sub-theme;
transition: $transition-delay;
}
.article-sort-item::after {
content: '';
display: block;
position: absolute;
left: 0.12rem;
top: 0.22rem;
width: 0.02rem;
height: 0.36rem;
background: $color-font;
}
.article-sort-item:last-child::after {
display: none;
}
.article-sort-item:hover::before {
border-color: $color-theme;
transition: $transition-delay;
}
.article-sort-item.title {
height: 0.56rem;
line-height: 0.56rem;
font-size: 0.24rem;
color: $color-white;
}
.article-sort-item.title::before {
top: 0.15rem;
left: 0;
width: 0.1rem;
height: 0.1rem;
border-width: 0.08rem;
}
.article-sort-item.title::after {
top: 0.4rem;
left: 0.12rem;
height: 0.42rem;
}
.article-sort-item.year {
margin: 0.16rem 0;
height: 0.4rem;
line-height: 0.4rem;
font-size: 0.2rem;
font-weight: 600;
color: $color-white;
}
.article-sort-item.year::before {
top: 0.1rem;
left: 0.03rem;
width: 0.08rem;
height: 0.08rem;
border-width: 0.06rem;
}
.article-sort-item.year::after {
top: 0.3rem;
left: 0.12rem;
height: 0.36rem;
}