<%= page.title %>
<%= page.desc %>
diff --git a/layout/partial/head.ejs b/layout/partial/head.ejs
index 4d72e1af..3650b088 100755
--- a/layout/partial/head.ejs
+++ b/layout/partial/head.ejs
@@ -27,11 +27,8 @@ var description = page.desc || page.excerpt || config.description
<% } %>
-
-
<%- css('/css/index') %>
<%- css('/css/main') %>
-<%- css('/css/custom') %>
<%- partial('partial/compoment/inject/head', {cache: true}) %>
<% if (theme.extends.head) for (const i of theme.extends.head){ %>
<%- i %>
diff --git a/scripts/tags/bvideo.js b/scripts/tags/bvideo.js
index c8fa7818..93018745 100755
--- a/scripts/tags/bvideo.js
+++ b/scripts/tags/bvideo.js
@@ -1,42 +1,7 @@
'use strict'
-let playIcon = `
`
-let likeIcon = `
`
-let coinIcon = `
`
function bilibili(args) {
- const id = args[0].replace(/.*video\/(.*)\/.*/, '$1')
- const time = args[1]
- return `
-
-
-
- `
+ return `
`
}
hexo.extend.tag.register('bilibili', bilibili, { ends: false })
\ No newline at end of file
diff --git a/source/css/_extra/console.styl b/source/css/_extra/console.styl
new file mode 100644
index 00000000..e69de29b
diff --git a/source/css/_global/function.styl b/source/css/_global/function.styl
index d411d557..da878c5d 100644
--- a/source/css/_global/function.styl
+++ b/source/css/_global/function.styl
@@ -14,6 +14,10 @@ maxWidth1300()
@media screen and (max-width: 1300px)
{block}
+minWidth1300()
+ @media screen and (min-width: 1300px)
+ {block}
+
maxWidth1024()
@media screen and (max-width: 1024px)
{block}
diff --git a/source/css/_layout/homeTop.styl b/source/css/_layout/homeTop.styl
new file mode 100644
index 00000000..e69de29b
diff --git a/source/css/_page/equipment.styl b/source/css/_page/equipment.styl
new file mode 100644
index 00000000..2a0dddcd
--- /dev/null
+++ b/source/css/_page/equipment.styl
@@ -0,0 +1,108 @@
+.author-content.author-content-item.equipment
+ height 19rem
+ background-size cover
+ color var(--sco-white)
+ overflow hidden
+ margin-top 0
+
+.equipment-item-content
+ display flex
+ flex-direction row
+ flex-wrap wrap
+ margin 0 -8px
+
+.equipment-item-content-item
+ width calc(25% - 12px)
+ border-radius 12px
+ border var(--style-border-always)
+ overflow hidden
+ margin 8px 6px
+ background var(--sco-card-bg)
+ box-shadow var(--sco-shadow-border)
+ min-height 400px
+ position relative
+
+ @media screen and (max-width: 1200px)
+ width calc(50% - 12px)
+
+ @media screen and (max-width: 768px)
+ width 100%
+
+.equipment-item-content-item-info
+ padding 8px 16px 16px 16px
+ margin-top 12px
+
+.equipment-item-content-item-name
+ font-size 18px
+ font-weight 700
+ line-height 1
+ margin-bottom 8px
+ white-space nowrap
+ overflow hidden
+ text-overflow ellipsis
+ cursor pointer
+ width fit-content
+
+ &:hover
+ color var(--sco-main)
+
+.equipment-item-content-item-specification
+ font-size 12px
+ color var(--sco-secondtext)
+ line-height 1
+ margin-bottom 12px
+ white-space nowrap
+ overflow hidden
+ text-overflow ellipsis
+
+.equipment-item-content-item-description
+ line-height 20px
+ color var(--sco-secondtext)
+ height 60px
+ display -webkit-box
+ overflow hidden
+ -webkit-line-clamp 3
+ -webkit-box-orient vertical
+ font-size 14px
+
+a.equipment-item-content-item-link
+ font-size 12px
+ background var(--sco-gray-op)
+ padding 4px 8px
+ border-radius 8px
+ cursor pointer
+
+ &:hover
+ background var(--sco-main)
+ color var(--sco-white)
+
+h2.equipment-item-title
+ line-height 1
+
+.equipment-item-description
+ line-height 1
+ margin 4px 0 8px 0
+ color var(--sco-secondtext)
+
+.equipment-item-content-item-cover
+ width 100%
+ height 200px
+ background var(--sco-secondbg)
+ display flex
+ justify-content center
+
+img.equipment-item-content-item-image
+ object-fit cover
+ height 100%
+
+div#equipment
+ margin-top 26px
+
+.equipment-item-content-item-toolbar
+ display flex
+ justify-content space-between
+ position absolute
+ bottom 12px
+ left 0
+ width 100%
+ padding 0 16px
\ No newline at end of file
diff --git a/source/css/_page/index.styl b/source/css/_page/index.styl
new file mode 100644
index 00000000..87e81461
--- /dev/null
+++ b/source/css/_page/index.styl
@@ -0,0 +1,46 @@
+// 即刻、categoriesBar 样式
+#bbTimeList,
+#category-bar
+ background var(--sco-card-bg)
+ width 100%
+ color var(--sco-fontcolor)
+ padding .5rem 1rem
+ border-radius 12px
+ box-shadow var(--sco-shadow-lightblack)
+ display flex
+ transition .3s
+ margin-bottom 1rem
+ border var(--style-border)
+ align-items center
+ height 50px
+ user-select none
+
+ +maxWidth1300()
+ margin-bottom 1rem
+ animation slide-in .6s 0s backwards
+
+ +minWidth1300()
+ &:hover
+ border var(--style-border-hover)
+ box-shadow var(--sco-shadow-main)
+
+ +maxWidth768()
+ margin-bottom 0
+ margin-top 0
+ border-radius 0
+ background var(--sco-background)
+ padding 0.5rem 20px
+ border none
+
+#category-bar
+ padding 0.4rem 1rem 0.4rem 0.7rem
+ white-space nowrap
+ overflow hidden
+ justify-content space-between
+
+ +minWidth1300()
+ margin-bottom 0.75rem
+ animation slide-in .6s .3s backwards
+
+ .category-in-bar-tips
+ margin-bottom .25rem
\ No newline at end of file
diff --git a/source/css/_page/link.styl b/source/css/_page/link.styl
new file mode 100644
index 00000000..ab7efe42
--- /dev/null
+++ b/source/css/_page/link.styl
@@ -0,0 +1,430 @@
+// link and tlink
+.flink#article-container
+ .flink-desc
+ margin .2rem 0 .5rem
+
+ .flink-list
+ overflow auto
+ padding 10px 10px 0
+ text-align center
+
+ > .flink-list-item
+ position relative
+ float left
+ overflow hidden
+ margin 15px 7px
+ width calc(25% - 12px)
+ height 90px
+ border-radius 5px
+ line-height 17px
+ transform translateZ(0)
+ transition all .3s ease 0s
+
+ &:hover
+ background #006cf2
+ transform scale(1.05)
+
+ a
+ color var(--sco-fontcolor)
+ text-decoration none
+
+ img
+ float left
+ margin 15px 10px
+ width 60px
+ height 60px
+ border-radius 35px
+ transition all .3s ease 0s
+
+ .img-alt
+ display none
+
+ .flink-item-name
+ display block
+ padding 0 10px 0 0
+ font-weight 700
+ font-size 1.43em
+ max-width calc(100% - 12px)
+ overflow hidden
+ text-overflow ellipsis
+ white-space nowrap
+
+ .flink-item-desc
+ display block
+ padding 4px 10px 0 0
+ height 50px
+ font-size .93em
+
+ &.mini
+ > .flink-list-item
+ height 60px
+
+ a
+ img
+ width 30px
+ height 30px
+ min-width 30px
+ min-height 30px
+
+@media screen and (max-width: 1200px)
+ .flink#article-container .flink-list > .flink-list-item
+ width calc(25% - 12px) !important
+
++maxWidth1024()
+ .flink#article-container .flink-list > .flink-list-item
+ width calc(33.3333% - 12px) !important
+
++maxWidth768()
+ .flink#article-container .flink-list > .flink-list-item
+ width calc(50% - 12px) !important
+
++maxWidth600()
+ .flink#article-container .flink-list > .flink-list-item
+ width calc(100% - 12px) !important
+
+
+.flink#article-container
+ .flink-list.mini
+ > .flink-list-item a .flink-item-desc
+ display none
+
+ .site-card-group
+ display flex
+ flex-wrap wrap
+ justify-content flex-start
+ margin -8px
+ align-items stretch
+
+ .site-card
+ margin 8px
+ width calc(20% - 16px)
+ display block
+ line-height 1.4
+ height 100%
+
+ .img
+ width 100%
+ height 120px
+ overflow hidden
+ border-radius 12px 12px 0 0
+ background #f6f6f6
+ transition all .3s ease 0s
+
+ img
+ width 100%
+ height 100%
+ transition transform 2s ease 0s
+ object-fit cover
+
+ .info
+ margin-top 8px
+
+ img
+ width 32px
+ height 32px
+ border-radius 16px
+ float left
+ margin-right 8px
+ margin-top 2px
+
+ span
+ display block
+
+ .title
+ font-weight 600
+ color #444
+ display -webkit-box
+ overflow hidden
+ -webkit-line-clamp 1
+ transition all .3s ease 0s
+
+ .desc
+ overflow-wrap break-word
+ line-height 1.2
+ color #888
+ display -webkit-box
+ overflow hidden
+ -webkit-line-clamp 2
+
+ .img-alt
+ display none
+
+ &:hover .info .title
+ color #ff5722
+
+@media screen and (max-width: 1200px)
+ .flink#article-container .site-card
+ width calc(20% - 16px) !important
+
++maxWidth1024()
+ .flink#article-container .site-card
+ width calc(25% - 16px) !important
+
++maxWidth768()
+ .flink#article-container .site-card
+ width calc(33.3333% - 16px) !important
+
++maxWidth600()
+ .flink#article-container .site-card
+ width calc(50% - 16px) !important
+
+@media screen and (max-width: 500px)
+ .flink#article-container .site-card .img
+ height 100px
+
+.flink#article-container
+ .flink-list
+ padding 0
+ margin .5rem -6px 1rem -6px
+ overflow-x hidden
+
+ .flink-desc
+ margin 0
+ color var(--sco-secondtext)
+
+ .flink-list > .flink-list-item a .flink-item-desc
+ white-space normal
+ padding 5px 10px 16px 0
+ color var(--sco-fontcolor)
+ text-align left
+ height 40px
+ text-overflow ellipsis
+ opacity .7
+ display -webkit-box
+ overflow hidden
+ -webkit-box-orient vertical
+ -webkit-line-clamp 2
+
+ .flink-list > .flink-list-item:hover a .flink-item-desc
+ color var(--sco-white)
+
+ .flink-list > .flink-list-item a .flink-item-name
+ text-align left
+ font-size 19px
+ line-height 20px
+ color var(--sco-fontcolor)
+
+ .flink-list > .flink-list-item:hover a .flink-item-name
+ color var(--sco-white)
+
+ .flink-list > .flink-list-item a
+ display flex
+ border none
+ width 100%
+ height 100%
+ align-items center
+
+ .flink-list > .flink-list-item a:hover
+ background 0 0
+
+ .flink-list > .flink-list-item a img
+ border-radius 32px
+ margin 15px 20px 15px 15px
+ transition .3s
+ background var(--sco-background)
+ min-width 60px
+ min-height 60px
+
+ .flink-list > .flink-list-item:hover a img
+ transition .6s
+ width 0
+ height 0
+ opacity 0
+ margin .5rem
+ min-width 0
+ min-height 0
+
+ .flink-list > .flink-list-item a span
+ transition .3s
+
+ .flink-list > .flink-list-item:hover a .flink-item-desc
+ overflow hidden
+ width 100%
+
+ .flink-list > .flink-list-item
+ margin 6px 6px
+ transition .3s
+ border-radius 12px
+ transition-timing-function ease-in-out
+ position relative
+ width calc(20% - 12px)
+ border var(--style-border)
+ box-shadow var(--sco-shadow-border)
+ background var(--sco-card-bg)
+ display flex
+
+.flink-list-item
+ .flink-item-info
+ display flex
+ flex-direction column
+ justify-content center
+ width calc(100% - 90px)
+ height fit-content
+
+ &:hover .flink-item-info
+ min-width calc(100% - 20px)
+
+
+.flink#article-container
+ .flink-list > .flink-list-item:hover
+ transform scale(1)
+ background var(--sco-theme)
+ border var(--style-border-hover)
+ box-shadow var(--sco-shadow-main)
+
+ .site-card
+ .info .title
+ color var(--sco-fontcolor)
+ text-align left
+
+ &:hover .info .title
+ color var(--sco-white)
+
+ &:hover .info
+ height 120px
+
+ .site-card-text
+ display flex
+ flex-direction column
+ align-items flex-start
+
+ .info .desc
+ font-size .7rem
+ color var(--sco-fontcolor)
+ opacity .7
+ transition .3s
+ text-align left
+
+ &:hover .info .desc
+ color var(--sco-white)
+
+ border var(--style-border)
+ border-radius 12px
+ transition .3s
+ transition-timing-function ease-in-out
+ overflow hidden
+ height 200px
+ position relative
+ width calc(100% / 7 - 16px)
+ background var(--sco-card-bg)
+ box-shadow var(--sco-shadow-border)
+
+ &:hover .site-card-tag
+ left -50px
+
+ .info
+ display flex
+ border none
+ padding .5rem
+ width 100%
+ height 90px
+ margin 0
+ border-radius 0 0 12px 12px
+
+ .img img
+ border-radius 0
+ transform scale(1.03)
+ transition .3s
+ margin 0
+ max-width 100%
+
+.site-card-tag
+ position absolute
+ top 0
+ left 0
+ padding 4px 8px
+ background-color var(--sco-blue)
+ box-shadow var(--sco-shadow-blue)
+ color var(--sco-white)
+ z-index 1
+ border-radius 12px 0 12px 0
+ transition .3s
+ font-size .6rem
+
+ &.vip
+ background -moz-linear-gradient(38deg, #e5b085 0, #d48f16 100%)
+ background -webkit-linear-gradient(38deg, #e5b085 0, #d48f16 100%)
+ background linear-gradient(38deg, #e5b085 0, #d48f16 100%)
+ overflow hidden
+ box-shadow var(--sco-shadow-yellow)
+
+ &.power
+ background-color var(--sco-purple)
+
+ &.speed
+ background var(--sco-green)
+ box-shadow var(--sco-shadow-green)
+
+.light
+ cursor pointer
+ position absolute
+ top 0
+ width 100px
+ height 50px
+ background-image -moz-linear-gradient(0deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .5), rgba(255, 255, 255, 0))
+ background-image -webkit-linear-gradient(0deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .5), rgba(255, 255, 255, 0))
+ -webkit-animation light_tag 4s both infinite
+ -moz-animation light_tag 4s both infinite
+ -ms-animation light_tag 4s both infinite
+ animation light_tag 4s both infinite
+
+.flink-list-item:hover .site-card-tag
+ left -70px
+
++minWidth768()
+ .flink#article-container
+ .site-card:hover
+ .info .desc
+ -webkit-line-clamp 4
+ transition .3s
+ color var(--sco-white)
+ width 100%
+
+ .info
+ background var(--sco-theme)
+
+
++minWidth768()
+ .flink#article-container
+ .site-card:hover
+ .img img
+ transform scale(1.1)
+ filter brightness(.3)
+
+ .img
+ height 80px
+
+.flink#article-container
+ .site-card
+ .img
+ -webkit-mask-image -webkit-radial-gradient(center, #fff, #000)
+ border-radius 0
+ height 120px
+ width 100%
+ display flex
+ border none
+ padding 0 !important
+
+ .info img
+ border-radius 32px
+ transition .3s !important
+ margin 2px 8px 0 0
+ width 20px
+ height 20px
+ min-width 20px
+ min-height 20px
+ background var(--sco-secondbg)
+
+ &:hover
+ .info img
+ width 0
+ height 0
+ opacity 0
+ min-width 0
+ min-height 0
+
+ border var(--style-border-hover)
+ box-shadow var(--sco-shadow-main)
+
+ .site-card-group
+ padding 20px 0
\ No newline at end of file
diff --git a/source/css/_page/moment.styl b/source/css/_page/moment.styl
new file mode 100644
index 00000000..06511d4c
--- /dev/null
+++ b/source/css/_page/moment.styl
@@ -0,0 +1,39 @@
+.author-content.author-content-item.momentsPage
+ height 19rem
+ background-size cover
+ color var(--sco-white)
+ overflow hidden
+ margin-top 0
+
+#random-post
+ min-height 32px
+ background var(--sco-card-bg)
+ border var(--style-border-always)
+ box-shadow var(--sco-shadow-border)
+ padding 20px 30px
+ border-radius 12px
+ margin-top 8px
+
+.random-friends-post
+ text-decoration none
+ border-bottom 2px solid var(--sco-lighttext)
+ color var(--sco-fontcolor)
+ font-weight 700
+ padding 0 4px
+
+.random-friends-post:hover
+ text-decoration none
+ border-bottom 2px solid var(--sco-none)
+ color var(--sco-white)
+ background var(--sco-main)
+ border-radius 4px
+ box-shadow var(--sco-shadow-main)
+
+.random-post-start
+ transition-duration .3s
+
+.random-post-start:hover
+ color var(--sco-hovertext)
+
+.title-h2-a a.random-post-start
+ opacity .6
\ No newline at end of file
diff --git a/source/css/_page/rss.styl b/source/css/_page/rss.styl
new file mode 100644
index 00000000..e83be183
--- /dev/null
+++ b/source/css/_page/rss.styl
@@ -0,0 +1,87 @@
+.rss-plan-list
+ display flex
+ width 100%
+ flex-direction row
+ flex-wrap wrap
+ margin 0 -4px
+ position relative
+
+.rss-plan-item.rss-plan-wechat
+ background #27c125
+ overflow hidden
+
+.rss-plan-item.rss-plan-mail
+ background var(--sco-blue)
+
+.rss-plan-item.rss-plan-rss
+ background var(--sco-orange)
+
+.rss-plan-item
+ border-radius 12px
+ display flex
+ flex-direction column
+ justify-content space-between
+ min-width 240px
+ height 240px
+ margin 4px auto
+ overflow hidden
+ text-decoration none
+ width calc(100% / 3 - 8px)
+ filter brightness(1)
+ transition .3s
+
+.rss-plan-item:hover
+ filter brightness(1.1)
+
++maxWidth1024()
+ .rss-plan-item
+ width calc(100% / 2 - 4px)
+
+ .rss-plan-item:first-child
+ width 100%
+
++maxWidth768()
+ .rss-plan-item
+ width 100%
+
+.rss-plan-item:visited
+ color var(--sco-white)
+
+.rss-plan-description
+ font-size 16px
+ color var(--sco-white)
+ margin 26px 0 0 30px
+ line-height 20px
+
+img.rss-plan-icon
+ position absolute
+ bottom -50px
+ right -20px
+ height 140px
+ user-select none
+ -webkit-user-drag none
+ transition all 1.2s cubic-bezier(.39, .575, .565, 1)
+ transform-origin bottom right
+ filter blur(8px)
+ opacity .6
+
+.rss-plan-item:hover img.rss-plan-icon
+ bottom -40px
+ right -10px
+ filter blur(0)
+ opacity 1
+
+.rss-plan-info-group
+ position relative
+ margin 0 0 26px 30px
+ color var(--sco-white)
+
+.rss-plan-title
+ font-size 36px
+ font-weight 700
+ width fit-content
+ line-height 1
+
+.rss-plan-info
+ width fit-content
+ opacity .6
diff --git a/source/css/_page/says.styl b/source/css/_page/says.styl
index 933f032d..4a6b8e8b 100644
--- a/source/css/_page/says.styl
+++ b/source/css/_page/says.styl
@@ -1,4 +1,11 @@
-#bber
+.author-content.author-content-item.essayPage
+ height 19rem
+ background-size cover
+ color var(--sco-white)
+ overflow hidden
+ margin-top 0
+
+#bber
margin-top 1rem
width 100%
@@ -284,25 +291,7 @@
text-overflow ellipsis
white-space nowrap
-#bbTimeList
- background var(--sco-card-bg)
- color var(--sco-fontcolor)
- padding .5rem 1rem
- border-radius 12px
- box-shadow var(--sco-shadow-lightblack)
- display flex
- transition .3s
- margin-bottom 1rem
- border var(--style-border)
- align-items center
- height 50px
- -webkit-user-select none
- user-select none
-
- +maxWidth1300()
- margin-bottom 1rem
- animation slide-in .6s 0s backwards
-
+#bbTimeList
.li-style
&:hover
color var(--sco-theme)
diff --git a/source/css/commentBarrage.styl b/source/css/_post/commentBarrage.styl
similarity index 98%
rename from source/css/commentBarrage.styl
rename to source/css/_post/commentBarrage.styl
index 5e498232..ec3d6baa 100644
--- a/source/css/commentBarrage.styl
+++ b/source/css/_post/commentBarrage.styl
@@ -11,7 +11,7 @@
transition all 0.3s ease 0s
user-select none
-@media screen and (max-width: 768px)
+maxWidth768()
.comment-barrage
display none !important
@@ -56,7 +56,7 @@
&:hover
color var(--sco-main)
- .heofont
+ .scoicon
color var(--sco-fontcolor)
font-size 18px !important
diff --git a/source/css/_post/externalTags.styl b/source/css/_post/externalTags.styl
new file mode 100644
index 00000000..0f48ee90
--- /dev/null
+++ b/source/css/_post/externalTags.styl
@@ -0,0 +1,694 @@
+// Note (Bootstrap)
+.note
+ position relative
+ margin 0 0 1rem
+ padding 15px
+ border-radius 3px
+
+ &.icon
+ padding-left 2.25rem
+
+ > .note-icon
+ position absolute
+ top calc(50% - .4rem)
+ left .7rem
+ font-size larger
+
+ &.blue:not(.disabled)
+ border-left-color #428bca !important
+
+ &.modern
+ color #428bca
+ border-left-color transparent !important
+
+ &:not(.simple)
+ background #e3eef7 !important
+
+ > .note-icon
+ color #428bca
+
+ &.pink:not(.disabled)
+ border-left-color #ff69b4 !important
+
+ &.modern
+ color #ff69b4
+ border-left-color transparent !important
+
+ &:not(.simple)
+ background #ffe9f4 !important
+
+ > .note-icon
+ color #ff69b4
+
+ &.red:not(.disabled)
+ border-left-color red !important
+
+ &.modern
+ color red
+ border-left-color transparent !important
+
+ &:not(.simple)
+ background #ffd9d9 !important
+
+ > .note-icon
+ color red
+
+ &.purple:not(.disabled)
+ border-left-color #6f42c1 !important
+
+ &.modern
+ color #6f42c1
+ border-left-color transparent !important
+
+ &:not(.simple)
+ background #e9e3f6 !important
+
+ > .note-icon
+ color #6f42c1
+
+ &.orange:not(.disabled)
+ border-left-color #ff8c00 !important
+
+ &.modern
+ color #ff8c00
+ border-left-color transparent !important
+
+ &:not(.simple)
+ background #ffeed9 !important
+
+ > .note-icon
+ color #ff8c00
+
+ &.green:not(.disabled)
+ border-left-color #5cb85c !important
+
+ &.modern
+ color #5cb85c
+ border-left-color transparent !important
+
+ &:not(.simple)
+ background #e7f4e7 !important
+
+ > .note-icon
+ color #5cb85c
+
+ &.simple
+ border-width 1px 1px 1px 5px
+ border-style solid
+ border-color #eee
+ border-image initial
+
+ &.modern
+ background-color #f5f5f5
+ color #4c4948
+ border 1px solid transparent !important
+
+ &.flat
+ border-top initial
+ border-right initial
+ border-bottom initial
+ border-image initial
+ border-left 5px solid #eee
+ background-color #f9f9f9
+ color #4c4948
+
+ h2, h3, h4, h5, h6
+ margin-top 3px
+ margin-bottom 0
+ border-bottom initial
+ padding-top 0 !important
+
+ blockquote:first-child, img:first-child, ol:first-child, p:first-child, pre:first-child, table:first-child, ul:first-child
+ margin-top 0 !important
+
+ blockquote:last-child, img:last-child, ol:last-child, p:last-child, pre:last-child, table:last-child, ul:last-child
+ margin-bottom 0 !important
+ font-size 14px !important
+
+ &:not(.no-icon)
+ padding-left 2.25rem
+
+ &:not(.no-icon)::before
+ position absolute
+ top calc(50% - 19px)
+ left .7rem
+ font-size larger
+
+ &.default.flat
+ background #f7f7f7
+
+ &.default.modern
+ border-color #e1e1e1
+ background #f3f3f3
+ color #666
+
+ &.default.modern a:not(.btn)
+ color #666
+
+ &.default.modern a:not(.btn):hover
+ color #454545
+
+ &.default:not(.modern)
+ border-left-color #777
+
+ &.default:not(.modern) h2, &.default:not(.modern) h3, &.default:not(.modern) h4, &.default:not(.modern) h5, &.default:not(.modern) h6
+ color #777
+
+ &.default:not(.no-icon)::before
+ content "\e0a9"
+
+ &.default:not(.no-icon):not(.modern)::before
+ color #777
+
+ &.primary.flat
+ background #f5f0fa
+
+ &.primary.modern
+ border-color #e1c2ff
+ background #f3daff
+ color #6f42c1
+
+ &.primary.modern a:not(.btn)
+ color #6f42c1
+
+ &.primary.modern a:not(.btn):hover
+ color #453298
+
+ &.primary:not(.modern)
+ border-left-color #6f42c1
+
+ &.primary:not(.modern) h2, &.primary:not(.modern) h3, &.primary:not(.modern) h4, &.primary:not(.modern) h5, &.primary:not(.modern) h6
+ color #6f42c1
+
+ &.primary:not(.no-icon)::before
+ content "\e0a8"
+
+ &.primary:not(.no-icon):not(.modern)::before
+ color #6f42c1
+
+ &.info.flat
+ background #eef7fa
+
+ &.info.modern
+ border-color #b3e5ef
+ background #d9edf7
+ color #31708f
+
+ &.info.modern a:not(.btn)
+ color #31708f
+
+ &.info.modern a:not(.btn):hover
+ color #215761
+
+ &.info:not(.modern)
+ border-left-color #428bca
+
+ &.info:not(.modern) h2, &.info:not(.modern) h3, &.info:not(.modern) h4, &.info:not(.modern) h5, &.info:not(.modern) h6
+ color #428bca
+
+ &.info:not(.no-icon)::before
+ content "\e0a5"
+
+ &.info:not(.no-icon):not(.modern)::before
+ color #428bca
+
+ &.success.flat
+ background #eff8f0
+
+ &.success.modern
+ border-color #d0e6be
+ background #dff0d8
+ color #3c763d
+
+ &.success.modern a:not(.btn)
+ color #3c763d
+
+ &.success.modern a:not(.btn):hover
+ color #32562c
+
+ &.success:not(.modern)
+ border-left-color #5cb85c
+
+ &.success:not(.modern) h2, &.success:not(.modern) h3, &.success:not(.modern) h4, &.success:not(.modern) h5, &.success:not(.modern) h6
+ color #5cb85c
+
+ &.success:not(.no-icon)::before
+ content "\e0a4"
+
+ &.success:not(.no-icon):not(.modern)::before
+ color #5cb85c
+
+ &.warning.flat
+ background #fdf8ea
+
+ &.warning.modern
+ border-color #fae4cd
+ background #fcf4e3
+ color #8a6d3b
+
+ &.warning.modern a:not(.btn)
+ color #8a6d3b
+
+ &.warning.modern a:not(.btn):hover
+ color #714f30
+
+ &.warning:not(.modern)
+ border-left-color var(--sco-orange)
+
+ &.warning:not(.modern) h2, &.warning:not(.modern) h3, &.warning:not(.modern) h4, &.warning:not(.modern) h5, &.warning:not(.modern) h6
+ color var(--sco-orange)
+
+ &.warning:not(.no-icon)::before
+ content "\e0a5"
+
+ &.warning:not(.no-icon):not(.modern)::before
+ color var(--sco-orange)
+
+ &.danger.flat
+ background #fcf1f2
+
+ &.danger.modern
+ border-color #ebcdd2
+ background #f2dfdf
+ color #a94442
+
+ &.danger.modern a:not(.btn)
+ color #a94442
+
+ &.danger.modern a:not(.btn):hover
+ color #84333f
+
+ &.danger:not(.modern)
+ border-left-color #d9534f
+
+ &.danger:not(.modern) h2, &.danger:not(.modern) h3, &.danger:not(.modern) h4, &.danger:not(.modern) h5, &.danger:not(.modern) h6
+ color #d9534f
+
+ &.danger:not(.no-icon)::before
+ content "\e0aa"
+
+ &.danger:not(.no-icon):not(.modern)::before
+ color #d9534f
+
+ &.warning:not(.no-icon):not(.modern)::before
+ display inline-block
+ align-items center
+ height 30px
+ color var(--sco-yellow)
+
+ &.warning:class(.modern)
+ border-radius 8px
+ border-width 1px
+ border-color var(--sco-yellow)
+ box-shadow var(--sco-shadow-border)
+ background var(--sco-card-bg)
+
+#article-container
+ h1::before, h2::before, h3::before, h4::before, h5::before, h6::before, #post .post-copyright::before, #post .post-outdate-notice::before, .fontawesomeIcon, .note:not(.no-icon)::before
+ display inline-block
+ font-weight 600
+ font-style normal
+ font-variant normal
+ font-family scoicon
+ text-rendering auto
+ -webkit-font-smoothing antialiased
+
+// Tabs
+#article-container .tabs
+ position relative
+ margin 0 0 1rem
+ border-right 1px solid var(--tab-border-color)
+ border-bottom 1px solid var(--tab-border-color)
+ border-left 1px solid var(--tab-border-color)
+
+ > .nav-tabs
+ display flex
+ flex-wrap wrap
+ margin 0
+ padding 0
+ background var(--tab-botton-bg)
+
+ > .tab
+ margin 4px
+ padding 0
+ list-style none
+
+ +maxWidth768()
+ -webkit-box-flex 1
+ flex-grow 1
+
+ button i
+ width 1.5em
+
+ &.active button
+ border-top 2px solid #307af6
+ background var(--tab-button-active-bg)
+ cursor default
+
+ &:not(.active) button:hover
+ border-top 2px solid var(--tab-button-hover-bg)
+ background var(--tab-button-hover-bg)
+
+ > .tab-contents .tab-item-content
+ position relative
+ display none
+ padding 1.8rem 1.2rem
+ background var(--sco-background)
+ border var(--style-border-always)
+
+ +maxWidth768()
+ padding 1.2rem .7rem
+
+ &.active
+ display block
+ animation .5s ease 0s 1 normal none running tabshow
+
+ .tab-to-top
+ position relative
+ display block
+ margin 16px 0 0 auto
+ color #99a9bf
+
+ margin 1rem 0 !important
+ border-radius 12px
+ overflow hidden
+ box-shadow var(--sco-shadow-border)
+ padding 8px
+ background var(--sco-card-bg)
+ border var(--style-border)
+
+ .nav-tabs
+ background var(--sco-card-bg)
+ padding 16px
+ display flex
+ justify-content center
+ flex-wrap wrap
+ flex-direction row
+
+ +maxWidth768()
+ padding 0
+ margin-bottom 8px
+
+ > .nav-tabs > .tab.active button
+ border var(--style-border-hover-always)
+ background var(--sco-background)
+ border-radius 8px
+
+ > .nav-tabs > .tab button
+ -webkit-transition all 0s
+ background var(--sco-secondbg)
+ transition .3s
+ border var(--style-border-always)
+ border-radius 8px
+ font-size 1.2em
+ line-height 1
+ padding 8px 16px
+ display flex
+ width 100%
+ justify-content center
+ align-items center
+ color var(--sco-fontcolor)
+
+ > .nav-tabs > .tab:not(.active) button:hover
+ background var(--sco-main)
+ color var(--sco-white)
+ transition .3s
+ border var(--style-border-hover-always)
+
+.tab-item-content
+ background var(--sco-card-bg)
+
+#article-container .tabs
+ border 3px solid var(--sco-secondbg) !important
+
+ > .tab-contents .tab-item-content.active
+ animation tabshow 0s
+ -webkit-animation tabshow 0s
+ padding 1.2rem 1.2rem
+ border-radius 8px
+
+ +maxWidth768()
+ padding .5rem .5rem
+
+.tab-contents
+ border-radius 8px
+ overflow hidden
+
+// bvideo
+.bvideo
+ border 0
+ width 100%
+ height 600px
+ +maxWidth768()
+ height 200px!important
+
+// link
+#article-container .tag-Link
+ background var(--sco-secondbg)
+ border-radius 8px !important
+ display flex
+ border var(--style-border)
+ flex-direction column
+ padding .3rem 1rem .6rem
+ border-width 1px !important
+ margin-top 1rem
+
+ &:hover
+ border var(--style-border-hover)
+
+ .tag-link-tips
+ border-bottom var(--style-border-always)
+ padding-bottom 4px
+ font-size .6rem
+ color var(--sco-gray)
+ font-weight 400
+ pointer-events none
+
+ &:hover .tag-link-tips
+ color var(--sco-fontcolor)
+
+ .tag-link-bottom
+ display flex
+ margin-top .5rem
+ align-items center
+ justify-content space-around
+ pointer-events none
+
+ .tag-link-left
+ width 60px
+ min-width 60px
+ height 60px
+ background-size cover !important
+ border-radius 8px
+ background var(--sco-card-bg)
+ pointer-events none
+ display flex
+
+ i
+ padding 0
+ margin auto
+ font-size 24px
+ color var(--sco-fontcolor)
+
+ .tag-link-right
+ margin-left 1rem
+ pointer-events none
+
+ .tag-link-title
+ font-size 16px
+ line-height 1.2
+ pointer-events none
+ word-break break-all
+ text-overflow ellipsis
+ display -webkit-box
+ -webkit-box-orient vertical
+ -webkit-line-clamp 2
+ overflow hidden
+
+ .tag-link-sitename
+ font-size .7rem
+ color var(--sco-gray)
+ font-weight 400
+ margin-top 8px
+ pointer-events none
+ line-height 1
+ overflow hidden
+ text-overflow ellipsis
+ white-space nowrap
+
+ &:hover .tag-link-bottom .tag-link-right .tag-link-sitename
+ color var(--sco-fontcolor)
+
+ .tag-link-bottom i
+ margin-left auto
+ padding-left .5rem
+ pointer-events none
+
+// fold
+details:not(.tk-admin-config-group)
+ display block
+ position relative
+ margin-bottom 1rem
+ min-height 54px
+ overflow hidden
+ border-radius 12px
+ border var(--style-border)
+ transition border .3s
+
+ &:hover
+ border var(--style-border-hover-always)
+
+ summary
+ position absolute
+ padding .5rem 1rem
+ background var(--sco-card-bg)
+ margin 0
+ transition .3s
+ box-shadow var(--sco-shadow-border)
+ left 0
+ width 100%
+ font-weight 700
+ white-space nowrap
+ overflow hidden
+ text-overflow ellipsis
+
+ &::before
+ content ''
+ padding 4px
+
+ &:hover
+ cursor pointer
+ background var(--sco-main)
+ color var(--sco-white)
+ transition .3s
+ box-shadow var(--sco-shadow-main)
+
+ &:focus
+ outline 0
+
+ &::marker
+ color var(--sco-main)
+ transition .3s
+
+ &:hover::marker
+ color var(--sco-white)
+
+ &:hover:after
+ position absolute
+ content '+'
+ text-align center
+ top calc(50% - 2px)
+ transform translateY(-50%)
+ right 16px
+ line-height 1
+
+ > :nth-child(2)
+ margin-top calc(54px + 1rem) !important
+
+ &[open]
+ border-radius 12px
+ border var(--style-border-hover-always)
+ padding 0 1.5rem
+ background var(--sco-card-bg)
+
+ summary
+ background var(--sco-main)
+ color var(--sco-white)
+
+ &::marker
+ color var(--sco-white)
+
+ &:hover:after
+ content '-'
+
++maxWidth768()
+ details[open]:not(.tk-admin-config-group)
+ padding 0 16px
+
+// timeline
+div.timenode
+ position relative
+
+ &:before,
+ &:after
+ content ''
+ z-index 1
+ position absolute
+ background var(--sco-theme)
+ width 2px
+ left 7px
+
+ &:before
+ top 0
+ height 6px
+
+ &:after
+ top 26px
+ height 100%
+
+ &:last-child:after
+ height calc(100% - 26px - 16px)
+ border-bottom-left-radius 2px
+ border-bottom-right-radius 2px
+
+ .meta
+ position relative
+ color var(--tab-botton-color)
+ font-size 0.375rem
+ line-height 32px
+ height 32px
+ left 27px
+
+ &:before,
+ &:after
+ content ''
+ position absolute
+ top 8px
+ z-index 2
+ left -27px
+
+ &:before
+ background var(--sco-theme)
+ width 16px
+ height 16px
+ border-radius 8px
+
+ &:after
+ background var(--sco-theme)
+ margin-left 2px
+ margin-top 2px
+ width 12px
+ height 12px
+ border-radius 6px
+ transform scale(0.5)
+ transition all 0.28s ease
+ -moz-transition all 0.28s ease
+ -webkit-transition all 0.28s ease
+ -o-transition all 0.28s ease
+
+ p
+ font-weight bold
+ margin 0 0 0 24px
+
+ .body
+ margin 4px 0 16px 24px
+ padding 16px
+ border-radius 8px
+ background var(--blockquote-bg)
+
+ p:first-child
+ margin-top 0
+
+ p:last-child
+ margin-bottom 0
+
+ &:hover
+ .meta
+ color var(--sco-theme)
+
+ &:before
+ background rgba(255, 87, 34, 0.5)
+
+ &:after
+ background var(--sco-theme-op)
+ transform scale(1)
\ No newline at end of file
diff --git a/source/css/custom.css b/source/css/custom.css
deleted file mode 100755
index 8fbe452e..00000000
--- a/source/css/custom.css
+++ /dev/null
@@ -1,439 +0,0 @@
-#sidebar-menus .menus_item .not-child {
- padding: 4px 8px !important;
- width: 100%;
- background: var(--sco-card-bg);
- border-radius: 8px;
- border: var(--style-border-always);
- align-items: center;
- font-size: 14px !important;
- margin: 10px 0;
- justify-content: center;
-}
-
-#sidebar-menus .menus_item .not-child span {
- color: var(--sco-fontcolor) !important;
-}
-
-.meta-secondline > span {
- opacity: .6;
- transition: .3s;
- margin-right: 1.1rem;
-}
-
-#category #category-bar {
- border-radius: 0;
-}
-
-#article-container .highlight-tools {
- position: relative;
- display: flex;
- -webkit-box-align: center;
- align-items: center;
- overflow: hidden;
- min-height: 1.2rem;
- height: 2.15em;
- background: var(--sco-secondbg);
- border-bottom: var(--style-border-always);
- color: var(--sco-fontcolor);
- font-size: var(--global-font-size);
-}
-
-#article-container .highlight-tools .copy-button {
- position: absolute;
- right: 0.7rem;
- cursor: pointer;
- transition: color .2s;
- font-size: 18px;
-}
-
-#article-container .highlight-tools .code-lang {
- position: absolute;
- font-weight: 700;
- font-size: 1.15em;
- user-select: none;
- left: 0.6rem;
-}
-
-#article-container .code-expand-btn.expand-done {
- display: none !important;
-}
-
-
-#article-container .bilibili_box {
- display: -webkit-box;
- display: -moz-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- background: var(--sco-card-bg);
- border: var(--style-border-always);
- border-radius: 10px;
- overflow: hidden;
- color: var(--sco-fontcolor) !important;
- text-decoration: none !important;
- -webkit-transition: .3s;
- -moz-transition: .3s;
- -o-transition: .3s;
- -ms-transition: .3s;
- transition: .3s
-}
-
-#article-container .bilibili_box:hover {
- border-color: var(--sco-theme)
-}
-
-@media screen and (max-width: 768px) {
- #article-container .bilibili_box {
- -webkit-box-orient: vertical;
- -moz-box-orient: vertical;
- -o-box-orient: vertical;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column
- }
-}
-
-#article-container .bilibili_box .bilibili_cover {
- width: 200px;
- position: relative
-}
-
-@media screen and (max-width: 768px) {
- #article-container .bilibili_box .bilibili_cover {
- width: 100%
- }
-}
-
-#article-container .bilibili_box .bilibili_cover img {
- width: 100%;
- filter: none;
- margin: 0 !important;
- border-radius: 0 !important
-}
-
-#article-container .bilibili_box .bilibili_cover .play_icon {
- position: absolute;
- width: 45px;
- height: 45px;
- opacity: .8;
- top: 50%;
- left: 50%;
- -webkit-transform: translate(-50%, -50%);
- -moz-transform: translate(-50%, -50%);
- -o-transform: translate(-50%, -50%);
- -ms-transform: translate(-50%, -50%);
- transform: translate(-50%, -50%)
-}
-
-#article-container .bilibili_box .bilibili_cover span {
- position: absolute;
- bottom: 0;
- right: 5px;
- color: #fff;
-}
-
-#article-container .bilibili_box .bilibili_info {
- padding: 10px 10px 10px 18px;
- width: calc(100% - 200px);
- display: -webkit-box;
- display: -moz-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-orient: vertical;
- -moz-box-orient: vertical;
- -o-box-orient: vertical;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-box-pack: distribute;
- -moz-box-pack: distribute;
- -o-box-pack: distribute;
- -ms-flex-pack: distribute;
- -webkit-justify-content: space-around;
- justify-content: space-around
-}
-
-@media screen and (max-width: 768px) {
- #article-container .bilibili_box .bilibili_info {
- width: 100%;
- padding-bottom: 25px
- }
-}
-
-#article-container .bilibili_box .bilibili_info .title {
- font-size: 1.2rem;
- font-weight: 700;
- white-space: nowrap;
- overflow: hidden;
- -o-text-overflow: ellipsis;
- text-overflow: ellipsis;
- line-height: 1.7
-}
-
-#article-container .bilibili_box .bilibili_info .stat {
- font-size: 15px
-}
-
-#article-container .bilibili_box .bilibili_info .stat svg {
- margin-right: 3px;
- font-size: 18px;
- vertical-align: -0.15em;
-}
-
-#article-container .bilibili_box .bilibili_info .stat svg path {
- fill: #99a9bf
-}
-
-#article-container .bilibili_box .bilibili_info .stat span {
- margin-right: 10px
-}
-
-#article-container .bilibili_box .bilibili_info .owner {
- display: -webkit-box;
- display: -moz-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-align: center;
- -moz-box-align: center;
- -o-box-align: center;
- -ms-flex-align: center;
- -webkit-align-items: center;
- align-items: center;
- line-height: 1;
- font-size: 15px;
- margin-top: 3px
-}
-
-#article-container .bilibili_box .bilibili_info .owner .tip {
- color: #f69;
- border: 1px solid;
- padding: 4px 7px;
- font-size: 13px;
- border-radius: 5px;
- margin-right: 10px
-}
-
-#article-container .bilibili_box .bilibili_info .owner img {
- width: 25px;
- height: 25px;
- border-radius: 50% !important;
- object-fit: cover;
- margin: 0 5px 0 0 !important
-}
-
-[data-theme=dark] #article-container .bilibili_box .bilibili_cover,
-[data-theme=light] #article-container .bilibili_box .bilibili_info .stat svg {
- opacity: .8
-}
-
-
-/* TAG Link */
-
-#post a.link-card {
- text-decoration: none;
- margin: 0.2rem auto;
- background: var(--tab-botton-bg);
- display: -ms-inline-flexbox;
- display: inline-flex;
- -ms-flex-align: center;
- align-items: center;
- cursor: pointer;
- text-align: left;
- font-size: 0.575rem;
- min-width: 200px;
- max-width: 361px;
- color: var(--tab-botton-color);
- border-radius: 8px;
-}
-
-@media screen and (max-width: 425px) {
- #post a.link-card {
- max-width: 100%;
- }
-}
-
-@media screen and (max-width: 375px) {
- #post a.link-card {
- width: 100%;
- }
-}
-
-#post a.link-card:hover {
- box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.1);
-}
-
-#post a.link-card div.left,
-#post a.link-card div.right {
- pointer-events: none;
-}
-
-#post a.link-card div.left {
- width: 48px;
- height: 48px;
- margin: 12px;
- overflow: hidden;
- -ms-flex-negative: 0;
- flex-shrink: 0;
- position: relative;
-}
-
-#post a.link-card div.left i {
- font-size: 32px;
- line-height: 48px;
- margin-left: 4px;
-}
-
-#post a.link-card div.left img {
- display: block;
- position: absolute;
- border-radius: 8px;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
-}
-
-#post a.link-card div.right {
- overflow: hidden;
- margin-right: 12px;
-}
-
-#post a.link-card p {
- margin: 0;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
-}
-
-#post a.link-card p.text {
- font-weight: bold;
-}
-
-#post a.link-card p.url {
- -ms-flex-negative: 0;
- flex-shrink: 0;
- color: var(--search-input-color);
- font-size: 0.7125rem;
-}
-
-
-/* TAG 时间线 */
-span.p.h2,
-p.p.h2 {
- font-size: 1.375rem;
- color: var(--sco-fontcolor);
- padding-top: 0.8rem;
- border-bottom: 1px solid var(--hr-border);
-}
-
-div.timenode {
- position: relative;
-}
-
-div.timenode:before,
-div.timenode:after {
- content: "";
- z-index: 1;
- position: absolute;
- background: var(--sco-theme);
- width: 2px;
- left: 7px;
-}
-
-div.timenode:before {
- top: 0px;
- height: 6px;
-}
-
-div.timenode:after {
- top: 26px;
- height: 100%;
-}
-
-div.timenode:last-child:after {
- height: calc(100% - 26px - 16px);
- border-bottom-left-radius: 2px;
- border-bottom-right-radius: 2px;
-}
-
-div.timenode .meta {
- position: relative;
- color: var(--tab-botton-color);
- font-size: 0.375rem;
- line-height: 32px;
- height: 32px;
- left: 27px;
-}
-
-div.timenode .meta:before,
-div.timenode .meta:after {
- content: "";
- position: absolute;
- top: 8px;
- z-index: 2;
- left: -27px;
-}
-
-div.timenode .meta:before {
- background: var(--sco-theme);
- width: 16px;
- height: 16px;
- border-radius: 8px;
-}
-
-div.timenode .meta:after {
- background: var(--sco-theme);
- margin-left: 2px;
- margin-top: 2px;
- width: 12px;
- height: 12px;
- border-radius: 6px;
- transform: scale(0.5);
- transition: all 0.28s ease;
- -moz-transition: all 0.28s ease;
- -webkit-transition: all 0.28s ease;
- -o-transition: all 0.28s ease;
-}
-
-div.timenode .meta p {
- font-weight: bold;
- margin: 0 0 0 24px;
-}
-
-div.timenode .body {
- margin: 4px 0 16px 24px;
- padding: 16px;
- border-radius: 8px;
- background: var(--blockquote-bg);
-}
-
-div.timenode .body p:first-child {
- margin-top: 0;
-}
-
-div.timenode .body p:last-child {
- margin-bottom: 0;
-}
-
-div.timenode:hover .meta {
- color: var(--sco-theme);
-}
-
-div.timenode:hover .meta:before {
- background: rgba(255, 87, 34, 0.5);
-}
-
-div.timenode:hover .meta:after {
- background: #ff5722;
- transform: scale(1);
-}
-
-
-/*
- * home list
-*/
-.recent-post-item .recent-post-info .recent-post-info-top #post-list-tips {
- font-size: 15px;
- color: #555535;
-}
\ No newline at end of file
diff --git a/source/css/index.styl b/source/css/index.styl
index 94f34eb7..63350a1e 100644
--- a/source/css/index.styl
+++ b/source/css/index.styl
@@ -6,6 +6,7 @@ if hexo-config('css_prefix')
// project
@import '_global/animation.css'
@import '_global/*'
+@import '_layout/*'
@import '_page/*'
// search
@@ -14,5 +15,15 @@ if hexo-config('thirdparty.search.algolia_search.enable')
if hexo-config('thirdparty.search.local_search.enable')
@import '_search/local-search'
+// commentBarrage
+if hexo-config('thirdparty.comment.enable')
+ @import '_post/commentBarrage.styl'
+
+// console
+@import '_extra/console.styl'
+
+// External tags
+@import '_post/externalTags.styl'
+
// dark
@import '_mode/*'
\ No newline at end of file
diff --git a/source/css/main.css b/source/css/main.css
index 3be217ca..6c7319cb 100755
--- a/source/css/main.css
+++ b/source/css/main.css
@@ -210,16 +210,6 @@ template {
overflow: hidden
}
-#article-container h1::before, #article-container h2::before, #article-container h3::before, #article-container h4::before, #article-container h5::before, #article-container h6::before, #post .post-copyright::before, #post .post-outdate-notice::before, .fontawesomeIcon, .note:not(.no-icon)::before {
- display: inline-block;
- font-weight: 600;
- font-style: normal;
- font-variant: normal;
- font-family: scoicon;
- text-rendering: auto;
- -webkit-font-smoothing: antialiased
-}
-
.card-announcement-animation {
color: red;
animation: .8s linear 0s infinite normal none running announ_animation
@@ -893,220 +883,7 @@ blockquote footer cite::before {
width: 100% !important
}
-.flink#article-container .flink-desc {
- margin: .2rem 0 .5rem
-}
-
-.flink#article-container .flink-list {
- overflow: auto;
- padding: 10px 10px 0;
- text-align: center
-}
-
-.flink#article-container .flink-list > .flink-list-item {
- position: relative;
- float: left;
- overflow: hidden;
- margin: 15px 7px;
- width: calc(25% - 12px);
- height: 90px;
- border-radius: 5px;
- line-height: 17px;
- transform: translateZ(0);
- transition: all .3s ease 0s
-}
-
-.flink#article-container .flink-list.mini > .flink-list-item {
- height: 60px
-}
-
-@media screen and (max-width: 1200px) {
- .flink#article-container .flink-list > .flink-list-item {
- width: calc(25% - 12px) !important
- }
-}
-
-@media screen and (max-width: 1024px) {
- .flink#article-container .flink-list > .flink-list-item {
- width: calc(33.3333% - 12px) !important
- }
-}
-
-@media screen and (max-width: 768px) {
- .flink#article-container .flink-list > .flink-list-item {
- width: calc(50% - 12px) !important
- }
-}
-
-@media screen and (max-width: 600px) {
- .flink#article-container .flink-list > .flink-list-item {
- width: calc(100% - 12px) !important
- }
-}
-
-.flink#article-container .flink-list > .flink-list-item:hover {
- background: #006cf2;
- transform: scale(1.05)
-}
-
-.flink#article-container .flink-list > .flink-list-item a {
- color: var(--sco-fontcolor);
- text-decoration: none
-}
-
-.flink#article-container .flink-list > .flink-list-item a img {
- float: left;
- margin: 15px 10px;
- width: 60px;
- height: 60px;
- border-radius: 35px;
- transition: all .3s ease 0s
-}
-
-.flink#article-container .flink-list.mini > .flink-list-item a img {
- width: 30px;
- height: 30px;
- min-width: 30px;
- min-height: 30px
-}
-
-.flink#article-container .flink-list > .flink-list-item a .img-alt {
- display: none
-}
-
-.flink#article-container .flink-list > .flink-list-item a .flink-item-name {
- display: block;
- padding: 0 10px 0 0;
- font-weight: 700;
- font-size: 1.43em;
- max-width: calc(100% - 12px);
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap
-}
-
-.flink#article-container .flink-list > .flink-list-item a .flink-item-desc {
- display: block;
- padding: 4px 10px 0 0;
- height: 50px;
- font-size: .93em
-}
-
-.flink#article-container .flink-list.mini > .flink-list-item a .flink-item-desc {
- display: none
-}
-
-.flink#article-container .site-card-group {
- display: flex;
- flex-wrap: wrap;
- -webkit-box-pack: start;
- justify-content: flex-start;
- margin: -8px;
- -webkit-box-align: stretch;
- align-items: stretch
-}
-
-.flink#article-container .site-card {
- margin: 8px;
- width: calc(20% - 16px);
- display: block;
- line-height: 1.4;
- height: 100%
-}
-
-@media screen and (max-width: 1200px) {
- .flink#article-container .site-card {
- width: calc(20% - 16px) !important
- }
-}
-
-@media screen and (max-width: 1024px) {
- .flink#article-container .site-card {
- width: calc(25% - 16px) !important
- }
-}
-
-@media screen and (max-width: 768px) {
- .flink#article-container .site-card {
- width: calc(33.3333% - 16px) !important
- }
-}
-
-@media screen and (max-width: 600px) {
- .flink#article-container .site-card {
- width: calc(50% - 16px) !important
- }
-}
-
-.flink#article-container .site-card .img {
- width: 100%;
- height: 120px;
- overflow: hidden;
- border-radius: 12px 12px 0 0;
- background: #f6f6f6
-}
-
-@media screen and (max-width: 500px) {
- .flink#article-container .site-card .img {
- height: 100px
- }
-}
-
-.flink#article-container .site-card .img img {
- width: 100%;
- height: 100%;
- transition: transform 2s ease 0s;
- object-fit: cover
-}
-
-.flink#article-container .site-card .info {
- margin-top: 8px
-}
-
-.flink#article-container .site-card .info img {
- width: 32px;
- height: 32px;
- border-radius: 16px;
- float: left;
- margin-right: 8px;
- margin-top: 2px
-}
-
-.flink#article-container .site-card .info span {
- display: block
-}
-
-.flink#article-container .site-card .info .title {
- font-weight: 600;
- color: #444;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- overflow: hidden;
- -webkit-line-clamp: 1;
- transition: all .3s ease 0s
-}
-
-.flink#article-container .site-card .info .desc {
- overflow-wrap: break-word;
- line-height: 1.2;
- color: #888;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- overflow: hidden;
- -webkit-line-clamp: 2
-}
-
-.flink#article-container .site-card .img {
- transition: all .3s ease 0s
-}
-
-.flink#article-container .site-card .img-alt {
- display: none
-}
-.flink#article-container .site-card:hover .info .title {
- color: #ff5722
-}
@media screen and (max-width: 768px) {
#recent-posts > .recent-post-item {
@@ -3592,587 +3369,143 @@ blockquote.pullquote.right {
background-color: #5cb85c
}
-.note {
- position: relative;
- margin: 0 0 1rem;
- padding: 15px;
- border-radius: 3px
-}
-
-.note.icon {
- padding-left: 2.25rem
+.search-dialog {
+ position: fixed;
+ top: 5rem;
+ left: 50%;
+ z-index: 1001;
+ display: none;
+ margin-left: -15rem;
+ padding: 1rem;
+ width: 30rem;
+ background: var(--search-bg);
+ border-radius: 5px
}
-.note > .note-icon {
- position: absolute;
- top: calc(50% - .4rem);
- left: .7rem;
- font-size: larger
+@media screen and (max-width: 768px) {
+ .search-dialog {
+ top: 0;
+ left: 0;
+ margin: 0;
+ width: 100%;
+ height: 100%
+ }
}
-.note.blue:not(.disabled) {
- border-left-color: #428bca !important
+.search-dialog hr {
+ margin: 1rem auto
}
-.note.blue:not(.disabled).modern {
- color: #428bca;
- border-left-color: transparent !important
+.search-dialog span.search-close-button {
+ position: absolute;
+ top: .8rem;
+ right: 1rem;
+ color: #858585;
+ font-size: 1.4em;
+ line-height: 1;
+ cursor: pointer;
+ transition: color .2s ease-in-out 0s
}
-.note.blue:not(.disabled):not(.simple) {
- background: #e3eef7 !important
+.search-dialog span.search-close-button:hover {
+ color: #307af6
}
-.note.blue > .note-icon {
- color: #428bca
+.search-dialog__title {
+ padding: 0 0 .7rem;
+ color: #307af6;
+ font-size: 1.4em;
+ line-height: 1
}
-.note.pink:not(.disabled) {
- border-left-color: #ff69b4 !important
+#search-mask {
+ position: fixed;
+ inset: 0;
+ z-index: 1000;
+ display: none;
+ background: rgba(0, 0, 0, .6)
}
-.note.pink:not(.disabled).modern {
- color: #ff69b4;
- border-left-color: transparent !important
+#algolia-search .search-dialog {
+ animation: slide-in .6s ease 0s 1 normal none running
}
-.note.pink:not(.disabled):not(.simple) {
- background: #ffe9f4 !important
+#algolia-search .search-dialog .ais-search-box {
+ margin: 0 auto;
+ max-width: 100%;
+ width: 100%
}
-.note.pink > .note-icon {
- color: #ff69b4
+#algolia-search .search-dialog .ais-search-box input {
+ padding: .25rem .7rem;
+ outline: 0;
+ border: 2px solid #307af6;
+ border-radius: 2rem;
+ background: var(--sco-secondbg);
+ color: var(--search-input-color)
}
-.note.red:not(.disabled) {
- border-left-color: red !important
+#algolia-search .search-dialog .ais-hits--item.algolia-hit-item {
+ position: relative;
+ padding-left: 1.2rem
}
-.note.red:not(.disabled).modern {
- color: red;
- border-left-color: transparent !important
+#algolia-search .search-dialog .ais-hits--item.algolia-hit-item:hover::before {
+ border-color: #ff7242
}
-.note.red:not(.disabled):not(.simple) {
- background: #ffd9d9 !important
+#algolia-search .search-dialog .ais-hits--item.algolia-hit-item::before {
+ position: absolute;
+ top: .53em;
+ left: 0;
+ width: .5em;
+ height: .5em;
+ border: .15rem solid #307af6;
+ border-radius: .5em;
+ background: 0 0;
+ content: "";
+ line-height: .5em;
+ transition: all .2s ease-in-out 0s
}
-.note.red > .note-icon {
- color: red
+#algolia-search .search-dialog .ais-hits--item.algolia-hit-item a {
+ display: block;
+ color: var(--search-result-title);
+ cursor: pointer
}
-.note.purple:not(.disabled) {
- border-left-color: #6f42c1 !important
+#algolia-search .search-dialog .ais-hits--item.algolia-hit-item a:hover {
+ color: #307af6
}
-.note.purple:not(.disabled).modern {
- color: #6f42c1;
- border-left-color: transparent !important
+#algolia-search .search-dialog .ais-hits--item.algolia-hit-item em {
+ color: #f47466;
+ font-weight: 700
}
-.note.purple:not(.disabled):not(.simple) {
- background: #e9e3f6 !important
+#algolia-search .search-dialog .ais-pagination.pagination {
+ margin: .8rem 0 0;
+ padding: 0;
+ text-align: center
}
-.note.purple > .note-icon {
- color: #6f42c1
+#algolia-search .search-dialog .ais-pagination.pagination .ais-pagination--item {
+ margin: 0 .2rem;
+ padding: 0
}
-.note.orange:not(.disabled) {
- border-left-color: #ff8c00 !important
+#algolia-search .search-dialog .ais-pagination.pagination .ais-pagination--item a {
+ display: inline-block;
+ min-width: 1.2rem;
+ height: 1.2rem;
+ text-align: center;
+ line-height: 1.2rem
}
-.note.orange:not(.disabled).modern {
- color: #ff8c00;
- border-left-color: transparent !important
-}
-
-.note.orange:not(.disabled):not(.simple) {
- background: #ffeed9 !important
-}
-
-.note.orange > .note-icon {
- color: #ff8c00
-}
-
-.note.green:not(.disabled) {
- border-left-color: #5cb85c !important
-}
-
-.note.green:not(.disabled).modern {
- color: #5cb85c;
- border-left-color: transparent !important
-}
-
-.note.green:not(.disabled):not(.simple) {
- background: #e7f4e7 !important
-}
-
-.note.green > .note-icon {
- color: #5cb85c
-}
-
-.note.simple {
- border-width: 1px 1px 1px 5px;
- border-style: solid;
- border-color: #eee;
- border-image: initial
-}
-
-.note.modern {
- background-color: #f5f5f5;
- color: #4c4948;
- border: 1px solid transparent !important
-}
-
-.note.flat {
- border-top: initial;
- border-right: initial;
- border-bottom: initial;
- border-image: initial;
- border-left: 5px solid #eee;
- background-color: #f9f9f9;
- color: #4c4948
-}
-
-.note h2, .note h3, .note h4, .note h5, .note h6 {
- margin-top: 3px;
- margin-bottom: 0;
- border-bottom: initial;
- padding-top: 0 !important
-}
-
-.note blockquote:first-child, .note img:first-child, .note ol:first-child, .note p:first-child, .note pre:first-child, .note table:first-child, .note ul:first-child {
- margin-top: 0 !important
-}
-
-.note blockquote:last-child, .note img:last-child, .note ol:last-child, .note p:last-child, .note pre:last-child, .note table:last-child, .note ul:last-child {
- margin-bottom: 0 !important;
- font-size: 14px !important
-}
-
-.note:not(.no-icon) {
- padding-left: 2.25rem
-}
-
-.note:not(.no-icon)::before {
- position: absolute;
- top: calc(50% - 19px);
- left: .7rem;
- font-size: larger
-}
-
-.note.default.flat {
- background: #f7f7f7
-}
-
-.note.default.modern {
- border-color: #e1e1e1;
- background: #f3f3f3;
- color: #666
-}
-
-.note.default.modern a:not(.btn) {
- color: #666
-}
-
-.note.default.modern a:not(.btn):hover {
- color: #454545
-}
-
-.note.default:not(.modern) {
- border-left-color: #777
-}
-
-.note.default:not(.modern) h2, .note.default:not(.modern) h3, .note.default:not(.modern) h4, .note.default:not(.modern) h5, .note.default:not(.modern) h6 {
- color: #777
-}
-
-.note.default:not(.no-icon)::before {
- content: ""
-}
-
-.note.default:not(.no-icon):not(.modern)::before {
- color: #777
-}
-
-.note.primary.flat {
- background: #f5f0fa
-}
-
-.note.primary.modern {
- border-color: #e1c2ff;
- background: #f3daff;
- color: #6f42c1
-}
-
-.note.primary.modern a:not(.btn) {
- color: #6f42c1
-}
-
-.note.primary.modern a:not(.btn):hover {
- color: #453298
-}
-
-.note.primary:not(.modern) {
- border-left-color: #6f42c1
-}
-
-.note.primary:not(.modern) h2, .note.primary:not(.modern) h3, .note.primary:not(.modern) h4, .note.primary:not(.modern) h5, .note.primary:not(.modern) h6 {
- color: #6f42c1
-}
-
-.note.primary:not(.no-icon)::before {
- content: "\e060"
-}
-
-.note.primary:not(.no-icon):not(.modern)::before {
- color: #6f42c1
-}
-
-.note.info.flat {
- background: #eef7fa
-}
-
-.note.info.modern {
- border-color: #b3e5ef;
- background: #d9edf7;
- color: #31708f
-}
-
-.note.info.modern a:not(.btn) {
- color: #31708f
-}
-
-.note.info.modern a:not(.btn):hover {
- color: #215761
-}
-
-.note.info:not(.modern) {
- border-left-color: #428bca
-}
-
-.note.info:not(.modern) h2, .note.info:not(.modern) h3, .note.info:not(.modern) h4, .note.info:not(.modern) h5, .note.info:not(.modern) h6 {
- color: #428bca
-}
-
-.note.info:not(.no-icon)::before {
- content: ""
-}
-
-.note.info:not(.no-icon):not(.modern)::before {
- color: #428bca
-}
-
-.note.success.flat {
- background: #eff8f0
-}
-
-.note.success.modern {
- border-color: #d0e6be;
- background: #dff0d8;
- color: #3c763d
-}
-
-.note.success.modern a:not(.btn) {
- color: #3c763d
-}
-
-.note.success.modern a:not(.btn):hover {
- color: #32562c
-}
-
-.note.success:not(.modern) {
- border-left-color: #5cb85c
-}
-
-.note.success:not(.modern) h2, .note.success:not(.modern) h3, .note.success:not(.modern) h4, .note.success:not(.modern) h5, .note.success:not(.modern) h6 {
- color: #5cb85c
-}
-
-.note.success:not(.no-icon)::before {
- content: ""
-}
-
-.note.success:not(.no-icon):not(.modern)::before {
- color: #5cb85c
-}
-
-.note.warning.flat {
- background: #fdf8ea
-}
-
-.note.warning.modern {
- border-color: #fae4cd;
- background: #fcf4e3;
- color: #8a6d3b
-}
-
-.note.warning.modern a:not(.btn) {
- color: #8a6d3b
-}
-
-.note.warning.modern a:not(.btn):hover {
- color: #714f30
-}
-
-.note.warning:not(.modern) {
- border-left-color: var(--sco-orange)
-}
-
-.note.warning:not(.modern) h2, .note.warning:not(.modern) h3, .note.warning:not(.modern) h4, .note.warning:not(.modern) h5, .note.warning:not(.modern) h6 {
- color: var(--sco-orange)
-}
-
-.note.warning:not(.no-icon)::before {
- content: "\e067"
-}
-
-.note.warning:not(.no-icon):not(.modern)::before {
- color: var(--sco-orange)
-}
-
-.note.danger.flat {
- background: #fcf1f2
-}
-
-.note.danger.modern {
- border-color: #ebcdd2;
- background: #f2dfdf;
- color: #a94442
-}
-
-.note.danger.modern a:not(.btn) {
- color: #a94442
-}
-
-.note.danger.modern a:not(.btn):hover {
- color: #84333f
-}
-
-.note.danger:not(.modern) {
- border-left-color: #d9534f
-}
-
-.note.danger:not(.modern) h2, .note.danger:not(.modern) h3, .note.danger:not(.modern) h4, .note.danger:not(.modern) h5, .note.danger:not(.modern) h6 {
- color: #d9534f
-}
-
-.note.danger:not(.no-icon)::before {
- content: ""
-}
-
-.note.danger:not(.no-icon):not(.modern)::before {
- color: #d9534f
-}
-
-#article-container .tabs {
- position: relative;
- margin: 0 0 1rem;
- border-right: 1px solid var(--tab-border-color);
- border-bottom: 1px solid var(--tab-border-color);
- border-left: 1px solid var(--tab-border-color)
-}
-
-#article-container .tabs > .nav-tabs {
- display: flex;
- flex-wrap: wrap;
- margin: 0;
- padding: 0;
- background: var(--tab-botton-bg)
-}
-
-#article-container .tabs > .nav-tabs > .tab {
- margin: 4px;
- padding: 0;
- list-style: none
-}
-
-@media screen and (max-width: 768px) {
- #article-container .tabs > .nav-tabs > .tab {
- -webkit-box-flex: 1;
- flex-grow: 1
- }
-}
-
-#article-container .tabs > .nav-tabs > .tab button i {
- width: 1.5em
-}
-
-#article-container .tabs > .nav-tabs > .tab.active button {
- border-top: 2px solid #307af6;
- background: var(--tab-button-active-bg);
- cursor: default
-}
-
-#article-container .tabs > .nav-tabs > .tab:not(.active) button:hover {
- border-top: 2px solid var(--tab-button-hover-bg);
- background: var(--tab-button-hover-bg)
-}
-
-#article-container .tabs > .tab-contents .tab-item-content {
- position: relative;
- display: none;
- padding: 1.8rem 1.2rem;
- background: var(--sco-background);
- border: var(--style-border-always)
-}
-
-@media screen and (max-width: 768px) {
- #article-container .tabs > .tab-contents .tab-item-content {
- padding: 1.2rem .7rem
- }
-}
-
-#article-container .tabs > .tab-contents .tab-item-content.active {
- display: block;
- animation: .5s ease 0s 1 normal none running tabshow
-}
-
-#article-container .tabs .tab-to-top {
- position: relative;
- display: block;
- margin: 16px 0 0 auto;
- color: #99a9bf
-}
-
-.search-dialog {
- position: fixed;
- top: 5rem;
- left: 50%;
- z-index: 1001;
- display: none;
- margin-left: -15rem;
- padding: 1rem;
- width: 30rem;
- background: var(--search-bg);
- border-radius: 5px
-}
-
-@media screen and (max-width: 768px) {
- .search-dialog {
- top: 0;
- left: 0;
- margin: 0;
- width: 100%;
- height: 100%
- }
-}
-
-.search-dialog hr {
- margin: 1rem auto
-}
-
-.search-dialog span.search-close-button {
- position: absolute;
- top: .8rem;
- right: 1rem;
- color: #858585;
- font-size: 1.4em;
- line-height: 1;
- cursor: pointer;
- transition: color .2s ease-in-out 0s
-}
-
-.search-dialog span.search-close-button:hover {
- color: #307af6
-}
-
-.search-dialog__title {
- padding: 0 0 .7rem;
- color: #307af6;
- font-size: 1.4em;
- line-height: 1
-}
-
-#search-mask {
- position: fixed;
- inset: 0;
- z-index: 1000;
- display: none;
- background: rgba(0, 0, 0, .6)
-}
-
-#algolia-search .search-dialog {
- animation: slide-in .6s ease 0s 1 normal none running
-}
-
-#algolia-search .search-dialog .ais-search-box {
- margin: 0 auto;
- max-width: 100%;
- width: 100%
-}
-
-#algolia-search .search-dialog .ais-search-box input {
- padding: .25rem .7rem;
- outline: 0;
- border: 2px solid #307af6;
- border-radius: 2rem;
- background: var(--sco-secondbg);
- color: var(--search-input-color)
-}
-
-#algolia-search .search-dialog .ais-hits--item.algolia-hit-item {
- position: relative;
- padding-left: 1.2rem
-}
-
-#algolia-search .search-dialog .ais-hits--item.algolia-hit-item:hover::before {
- border-color: #ff7242
-}
-
-#algolia-search .search-dialog .ais-hits--item.algolia-hit-item::before {
- position: absolute;
- top: .53em;
- left: 0;
- width: .5em;
- height: .5em;
- border: .15rem solid #307af6;
- border-radius: .5em;
- background: 0 0;
- content: "";
- line-height: .5em;
- transition: all .2s ease-in-out 0s
-}
-
-#algolia-search .search-dialog .ais-hits--item.algolia-hit-item a {
- display: block;
- color: var(--search-result-title);
- cursor: pointer
-}
-
-#algolia-search .search-dialog .ais-hits--item.algolia-hit-item a:hover {
- color: #307af6
-}
-
-#algolia-search .search-dialog .ais-hits--item.algolia-hit-item em {
- color: #f47466;
- font-weight: 700
-}
-
-#algolia-search .search-dialog .ais-pagination.pagination {
- margin: .8rem 0 0;
- padding: 0;
- text-align: center
-}
-
-#algolia-search .search-dialog .ais-pagination.pagination .ais-pagination--item {
- margin: 0 .2rem;
- padding: 0
-}
-
-#algolia-search .search-dialog .ais-pagination.pagination .ais-pagination--item a {
- display: inline-block;
- min-width: 1.2rem;
- height: 1.2rem;
- text-align: center;
- line-height: 1.2rem
-}
-
-#algolia-search .search-dialog .ais-pagination.pagination .ais-pagination--item.current a {
- background: #0079ff;
- color: #eee;
- cursor: default
+#algolia-search .search-dialog .ais-pagination.pagination .ais-pagination--item.current a {
+ background: #0079ff;
+ color: #eee;
+ cursor: default
}
#algolia-search .search-dialog .algolia-logo {
@@ -6372,10 +5705,6 @@ li.tree-list-item {
color: var(--sco-secondtext)
}
-.title-h2-a a.random-post-start {
- opacity: .6
-}
-
#card-funds .funds-list::-webkit-scrollbar {
display: none !important
}
@@ -7233,7 +6562,6 @@ div#banners {
height: 24px;
width: 44px;
content: "";
- background: url(https://p.zhheo.com/20235ba0ff2cde251cd0819f60a48cf9cc71082802.png) no-repeat;
background-size: 38px 24px;
position: absolute;
top: 0;
@@ -7340,48 +6668,6 @@ a.categoryButton:hover {
background-position: 100% 0
}
-#category-bar {
- padding: .4rem 1rem .4rem .7rem;
- background: var(--sco-card-bg);
- border-radius: 12px;
- display: flex;
- white-space: nowrap;
- overflow: hidden;
- margin-bottom: 1rem;
- border: var(--style-border);
- transition: .3s;
- width: 100%;
- justify-content: space-between;
- -webkit-user-select: none;
- align-items: center
-}
-
-@media screen and (min-width: 1300px) {
- #category-bar:hover {
- border: var(--style-border-hover);
- box-shadow: var(--sco-shadow-main)
- }
-
- .category-in-bar-tips {
- margin-bottom: .25rem
- }
-}
-
-@media screen and (max-width: 768px) {
- #category-bar {
- border-radius: 0;
- background: var(--sco-background);
- margin-bottom: 0;
- position: -webkit-sticky;
- position: sticky;
- top: 60px;
- z-index: 1;
- padding: 0 1rem 0 1rem;
- height: 50px;
- margin-top: 0;
- align-items: center
- }
-}
#category #category-bar {
padding: 0;
@@ -7946,12 +7232,6 @@ span.recent-post-top-text {
box-shadow: var(--sco-shadow-border)
}
- #category-bar {
- margin-bottom: .75rem;
- box-shadow: var(--sco-shadow-border);
- animation: slide-in .6s .3s backwards
- }
-
#category #category-bar {
animation: none
}
@@ -7990,13 +7270,6 @@ span.recent-post-top-text {
width: 100%
}
- #bbTimeList {
- margin-top: 0;
- border-radius: 0;
- background: var(--sco-background);
- padding: .5rem 20px
- }
-
a.article-meta__categories {
left: 12px !important;
top: 12px !important;
@@ -8004,10 +7277,6 @@ span.recent-post-top-text {
padding: 2px 9px !important;
font-size: 12px
}
-
- #bbTimeList {
- margin-bottom: 0
- }
}
@media screen and (min-width: 1300px) {
@@ -9107,6 +8376,12 @@ a.extend.prev {
margin-right: .8rem
}
+.meta-secondline > span {
+ opacity: .6;
+ transition: .3s;
+ margin-right: 1.1rem;
+}
+
.meta-secondline span {
display: flex;
align-items: center;
@@ -9470,190 +8745,13 @@ span.post-meta-position {
padding-left: 1.3rem
}
-#article-container ul > li:not(.tab):before {
- border: .21em solid var(--sco-lighttext);
- background: var(--sco-lighttext)
-}
-
-#article-container ol, #article-container ul {
- padding: 0
-}
-
-#article-container .tabs {
- margin: 1rem 0 !important;
- border-radius: 12px;
- overflow: hidden;
- box-shadow: var(--sco-shadow-border);
- padding: 8px;
- background: var(--sco-card-bg);
- border: var(--style-border)
-}
-
-#article-container .tabs .nav-tabs {
- background: var(--sco-card-bg);
- padding: 16px;
- display: flex;
- justify-content: center;
- flex-wrap: wrap;
- flex-direction: row
-}
-
-@media screen and (max-width: 768px) {
- #article-container .tabs .nav-tabs {
- padding: 0;
- margin-bottom: 8px
- }
-}
-
-#article-container .tabs > .nav-tabs > .tab.active button {
- border: var(--style-border-hover-always);
- background: var(--sco-background);
- border-radius: 8px
-}
-
-#article-container .tabs > .nav-tabs > .tab button {
- -webkit-transition: all 0s;
- background: var(--sco-secondbg);
- transition: .3s;
- border: var(--style-border-always);
- border-radius: 8px;
- font-size: 1.2em;
- line-height: 1;
- padding: 8px 16px;
- display: flex;
- width: 100%;
- justify-content: center;
- align-items: center;
- color: var(--sco-fontcolor)
-}
-
-#article-container .tabs > .nav-tabs > .tab:not(.active) button:hover {
- background: var(--sco-main);
- color: var(--sco-white);
- transition: .3s;
- border: var(--style-border-hover-always)
-}
-
-.tab-item-content {
- background: var(--sco-card-bg)
-}
-
-#article-container .tabs {
- border: 3px solid var(--sco-secondbg) !important
-}
-
-#article-container .tabs > .tab-contents .tab-item-content.active {
- animation: tabshow 0s;
- -webkit-animation: tabshow 0s;
- padding: 1.2rem 1.2rem;
- border-radius: 8px
-}
-
-@media screen and (max-width: 768px) {
- #article-container .tabs > .tab-contents .tab-item-content.active {
- padding: .5rem .5rem
- }
-}
-
-.tab-contents {
- border-radius: 8px;
- overflow: hidden
-}
-
-details:not(.tk-admin-config-group) {
- display: block;
- position: relative;
- margin-bottom: 1rem;
- min-height: 54px;
- overflow: hidden;
- border-radius: 12px;
- border: var(--style-border);
- transition: border .3s
-}
-
-details:not(.tk-admin-config-group):hover {
- border: var(--style-border-hover-always)
-}
-
-details:not(.tk-admin-config-group) summary {
- position: absolute;
- padding: .5rem 1rem;
- background: var(--sco-card-bg);
- margin: 0;
- transition: .3s;
- box-shadow: var(--sco-shadow-border);
- left: 0;
- width: 100%;
- font-weight: 700;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis
-}
-
-details:not(.tk-admin-config-group) > :nth-child(2) {
- margin-top: calc(54px + 1rem) !important
-}
-
-details[open]:not(.tk-admin-config-group) summary {
- background: var(--sco-main);
- color: var(--sco-white)
-}
-
-details:not(.tk-admin-config-group) summary::before {
- content: '';
- padding: 4px
-}
-
-details:not(.tk-admin-config-group) summary:hover {
- cursor: pointer;
- background: var(--sco-main);
- color: var(--sco-white);
- transition: .3s;
- box-shadow: var(--sco-shadow-main)
-}
-
-details:not(.tk-admin-config-group) summary:focus {
- outline: 0
-}
-
-details:not(.tk-admin-config-group) summary::marker {
- color: var(--sco-main);
- transition: .3s
-}
-
-details[open]:not(.tk-admin-config-group) summary::marker {
- color: var(--sco-white)
-}
-
-details:not(.tk-admin-config-group) summary:hover::marker {
- color: var(--sco-white)
-}
-
-details[open]:not(.tk-admin-config-group) {
- border-radius: 12px;
- border: var(--style-border-hover-always);
- padding: 0 1.5rem;
- background: var(--sco-card-bg)
-}
-
-details:not(.tk-admin-config-group) summary:hover:after {
- position: absolute;
- content: '+';
- text-align: center;
- top: calc(50% - 2px);
- transform: translateY(-50%);
- right: 16px;
- line-height: 1
-}
-
-details[open]:not(.tk-admin-config-group) > summary:hover:after {
- content: '-'
+#article-container ul > li:not(.tab):before {
+ border: .21em solid var(--sco-lighttext);
+ background: var(--sco-lighttext)
}
-@media screen and (max-width: 768px) {
- details[open]:not(.tk-admin-config-group) {
- padding: 0 16px
- }
+#article-container ol, #article-container ul {
+ padding: 0
}
#article-container ul > li:not(.tab):hover:before {
@@ -9776,114 +8874,6 @@ b, strong {
}
}
-.note.warning:not(.no-icon):not(.modern)::before {
- display: flex;
- align-items: center;
- height: 30px;
- color: var(--sco-yellow)
-}
-
-.note.warning:not(.modern) {
- border-radius: 8px;
- border-width: 1px;
- border-color: var(--sco-yellow);
- box-shadow: var(--sco-shadow-border);
- background: var(--sco-card-bg)
-}
-
-#article-container .tag-Link {
- background: var(--sco-secondbg);
- border-radius: 8px !important;
- display: flex;
- border: var(--style-border);
- flex-direction: column;
- padding: .3rem 1rem .6rem;
- border-width: 1px !important;
- margin-top: 1rem
-}
-
-#article-container .tag-Link:hover {
- border: var(--style-border-hover)
-}
-
-#article-container .tag-Link .tag-link-tips {
- border-bottom: var(--style-border-always);
- padding-bottom: 4px;
- font-size: .6rem;
- color: var(--sco-gray);
- font-weight: 400;
- pointer-events: none
-}
-
-#article-container .tag-Link:hover .tag-link-tips {
- color: var(--sco-main)
-}
-
-#article-container .tag-Link .tag-link-bottom {
- display: flex;
- margin-top: .5rem;
- align-items: center;
- justify-content: space-around;
- pointer-events: none
-}
-
-#article-container .tag-Link .tag-link-bottom .tag-link-left {
- width: 60px;
- min-width: 60px;
- height: 60px;
- background-size: cover !important;
- border-radius: 8px;
- background: var(--sco-card-bg);
- pointer-events: none;
- display: flex
-}
-
-#article-container .tag-Link .tag-link-bottom .tag-link-left i {
- padding: 0;
- margin: auto;
- font-size: 24px;
- color: var(--sco-fontcolor)
-}
-
-#article-container .tag-Link .tag-link-bottom .tag-link-right {
- margin-left: 1rem;
- pointer-events: none
-}
-
-#article-container .tag-Link .tag-link-bottom .tag-link-right .tag-link-title {
- font-size: 16px;
- line-height: 1.2;
- pointer-events: none;
- word-break: break-all;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden
-}
-
-#article-container .tag-Link .tag-link-bottom .tag-link-right .tag-link-sitename {
- font-size: .7rem;
- color: var(--sco-gray);
- font-weight: 400;
- margin-top: 8px;
- pointer-events: none;
- line-height: 1;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap
-}
-
-#article-container .tag-Link:hover .tag-link-bottom .tag-link-right .tag-link-sitename {
- color: var(--sco-main)
-}
-
-#article-container .tag-Link .tag-link-bottom i {
- margin-left: auto;
- padding-left: .5rem;
- pointer-events: none
-}
-
h1, h2, h3, h4, h5, h6 {
margin-top: 1rem;
padding-top: 0;
@@ -12017,299 +11007,88 @@ figure.gallery-group:hover .gallery-group-name::after {
#tag #tag-page-tags a:hover {
color: var(--sco-white) !important;
background: var(--sco-theme);
- box-shadow: var(--sco-shadow-theme)
-}
-
-.article-sort-item:before {
- display: none
-}
-
-.article-sort-title:before {
- display: none
-}
-
-.article-sort-title:after {
- display: none
-}
-
-.article-sort {
- border: none
-}
-
-.article-sort {
- margin-left: 0;
- padding-left: 0
-}
-
-.article-sort-title {
- margin-left: 0;
- padding-bottom: 0;
- padding-left: 0;
- font-weight: 700;
- font-size: 2em
-}
-
-.article-sort-title sup {
- margin-left: 4px;
- font-size: 16px;
- font-weight: 700;
- opacity: .4;
- top: -1em
-}
-
-.article-sort-item {
- margin: 0 0 1rem 0;
- overflow: hidden;
- border-radius: 12px
-}
-
-@media screen and (max-width: 768px) {
- .article-sort-item-info a {
- white-space: inherit !important
- }
-}
-
-.article-sort-item.year {
- font-size: .8rem;
- color: var(--sco-secondtext);
- margin-bottom: .2rem
-}
-
-.article-sort-item-img img:hover {
- transform: scale(1)
-}
-
-.article-sort-item-info {
- padding: 0 .8rem;
- display: flex;
- flex-direction: column
-}
-
-.article-sort-item-time {
- order: 1;
- margin-top: 4px;
- color: var(--sco-secondtext)
-}
-
-.article-sort-item-title {
- order: 0;
- font-weight: 700
-}
-
-.article-sort-item-title:hover {
- transform: translateX(0);
- color: var(--sco-hovertext)
-}
-
-#random-post {
- min-height: 32px;
- background: var(--sco-card-bg);
- border: var(--style-border-always);
- box-shadow: var(--sco-shadow-border);
- padding: 20px 30px;
- border-radius: 12px;
- margin-top: 8px
-}
-
-.random-friends-post {
- text-decoration: none;
- border-bottom: 2px solid var(--sco-lighttext);
- color: var(--sco-fontcolor);
- font-weight: 700;
- padding: 0 4px
-}
-
-.random-friends-post:hover {
- text-decoration: none;
- border-bottom: 2px solid var(--sco-none);
- color: var(--sco-white);
- background: var(--sco-main);
- border-radius: 4px;
- box-shadow: var(--sco-shadow-main)
-}
-
-.random-post-start {
- transition-duration: .3s
-}
-
-.random-post-start:hover {
- color: var(--sco-hovertext)
-}
-
-.flink#article-container .flink-list {
- padding: 0;
- margin: .5rem -6px 1rem -6px;
- overflow-x: hidden
-}
-
-.flink#article-container .flink-desc {
- margin: 0;
- color: var(--sco-secondtext)
-}
-
-.flink#article-container .flink-list > .flink-list-item a .flink-item-desc {
- white-space: normal;
- padding: 5px 10px 16px 0;
- color: var(--sco-fontcolor);
- text-align: left;
- height: 40px;
- text-overflow: ellipsis;
- opacity: .7;
- display: -webkit-box;
- overflow: hidden;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2
-}
-
-.flink#article-container .flink-list > .flink-list-item:hover a .flink-item-desc {
- color: var(--sco-white)
-}
-
-.flink-list-item .flink-item-info {
- display: flex;
- flex-direction: column;
- justify-content: center;
- width: calc(100% - 90px);
- height: fit-content
-}
-
-.flink-list-item:hover .flink-item-info {
- min-width: calc(100% - 20px)
-}
-
-.flink#article-container .flink-list > .flink-list-item a .flink-item-name {
- text-align: left;
- font-size: 19px;
- line-height: 20px;
- color: var(--sco-fontcolor)
-}
-
-.flink#article-container .flink-list > .flink-list-item:hover a .flink-item-name {
- color: var(--sco-white)
-}
-
-.flink#article-container .flink-list > .flink-list-item a {
- display: flex;
- border: none;
- width: 100%;
- height: 100%;
- align-items: center
-}
-
-.flink#article-container .flink-list > .flink-list-item a:hover {
- background: 0 0
-}
-
-.flink#article-container .flink-list > .flink-list-item a img {
- border-radius: 32px;
- margin: 15px 20px 15px 15px;
- transition: .3s;
- background: var(--sco-background);
- min-width: 60px;
- min-height: 60px
+ box-shadow: var(--sco-shadow-theme)
}
-.flink#article-container .flink-list > .flink-list-item:hover a img {
- transition: .6s;
- width: 0;
- height: 0;
- opacity: 0;
- margin: .5rem;
- min-width: 0;
- min-height: 0
+.article-sort-item:before {
+ display: none
}
-.flink#article-container .flink-list > .flink-list-item a span {
- transition: .3s
+.article-sort-title:before {
+ display: none
}
-.flink#article-container .flink-list > .flink-list-item:hover a .flink-item-desc {
- overflow: hidden;
- width: 100%
+.article-sort-title:after {
+ display: none
}
-.flink#article-container .flink-list > .flink-list-item {
- margin: 6px 6px;
- transition: .3s;
- border-radius: 12px;
- transition-timing-function: ease-in-out;
- position: relative;
- width: calc(20% - 12px);
- border: var(--style-border);
- box-shadow: var(--sco-shadow-border);
- background: var(--sco-card-bg);
- display: flex
+.article-sort {
+ border: none
}
-.flink#article-container .flink-list > .flink-list-item:hover {
- transform: scale(1);
- background: var(--sco-theme);
- border: var(--style-border-hover);
- box-shadow: var(--sco-shadow-main)
+.article-sort {
+ margin-left: 0;
+ padding-left: 0
}
-.gallery-group figcaption p {
- line-height: 1.5 !important
+.article-sort-title {
+ margin-left: 0;
+ padding-bottom: 0;
+ padding-left: 0;
+ font-weight: 700;
+ font-size: 2em
}
-.flink#article-container .site-card .info .title {
- color: var(--sco-fontcolor);
- text-align: left
+.article-sort-title sup {
+ margin-left: 4px;
+ font-size: 16px;
+ font-weight: 700;
+ opacity: .4;
+ top: -1em
}
-.flink#article-container .site-card:hover .info .title {
- color: var(--sco-white)
+.article-sort-item {
+ margin: 0 0 1rem 0;
+ overflow: hidden;
+ border-radius: 12px
}
-.flink#article-container .site-card:hover .info {
- height: 120px
+@media screen and (max-width: 768px) {
+ .article-sort-item-info a {
+ white-space: inherit !important
+ }
}
-.flink#article-container .site-card .site-card-text {
- display: flex;
- flex-direction: column;
- align-items: flex-start
+.article-sort-item.year {
+ font-size: .8rem;
+ color: var(--sco-secondtext);
+ margin-bottom: .2rem
}
-.flink#article-container .site-card .info .desc {
- font-size: .7rem;
- color: var(--sco-fontcolor);
- opacity: .7;
- transition: .3s;
- text-align: left
+.article-sort-item-img img:hover {
+ transform: scale(1)
}
-.flink#article-container .site-card:hover .info .desc {
- color: var(--sco-white)
+.article-sort-item-info {
+ padding: 0 .8rem;
+ display: flex;
+ flex-direction: column
}
-@media screen and (min-width: 768px) {
- .flink#article-container .site-card:hover .info .desc {
- -webkit-line-clamp: 4
- }
-
- .flink#article-container .site-card:hover .info .desc {
- transition: .3s;
- color: var(--sco-white);
- width: 100%
- }
+.article-sort-item-time {
+ order: 1;
+ margin-top: 4px;
+ color: var(--sco-secondtext)
+}
- .flink#article-container .site-card:hover .info {
- background: var(--sco-theme)
- }
+.article-sort-item-title {
+ order: 0;
+ font-weight: 700
}
-.flink#article-container .site-card {
- border: var(--style-border);
- border-radius: 12px;
- transition: .3s;
- transition-timing-function: ease-in-out;
- overflow: hidden;
- height: 200px;
- position: relative;
- width: calc(100% / 7 - 16px);
- background: var(--sco-card-bg);
- box-shadow: var(--sco-shadow-border)
+.article-sort-item-title:hover {
+ transform: translateX(0);
+ color: var(--sco-hovertext)
}
.site-card-tag {
@@ -12358,85 +11137,6 @@ figure.gallery-group:hover .gallery-group-name::after {
box-shadow: var(--sco-shadow-green)
}
-.flink#article-container .site-card:hover .site-card-tag {
- left: -50px
-}
-
-.flink-list-item:hover .site-card-tag {
- left: -70px
-}
-
-.flink#article-container .site-card .info {
- display: flex;
- border: none;
- padding: .5rem;
- width: 100%;
- height: 90px;
- margin: 0;
- border-radius: 0 0 12px 12px
-}
-
-.flink#article-container .site-card .img img {
- border-radius: 0;
- transform: scale(1.03);
- transition: .3s;
- margin: 0;
- max-width: 100%
-}
-
-@media screen and (min-width: 769px) {
- .flink#article-container .site-card:hover .img img {
- transform: scale(1.1);
- filter: brightness(.3)
- }
-
- .flink#article-container .site-card:hover .img {
- height: 80px
- }
-}
-
-#cf-more i {
- font-style: normal
-}
-
-.flink#article-container .site-card .img {
- -webkit-mask-image: -webkit-radial-gradient(center, #fff, #000);
- border-radius: 0;
- height: 120px;
- width: 100%;
- display: flex;
- border: none;
- padding: 0 !important
-}
-
-.flink#article-container .site-card .info img {
- border-radius: 32px;
- transition: .3s !important;
- margin: 2px 8px 0 0;
- width: 20px;
- height: 20px;
- min-width: 20px;
- min-height: 20px;
- background: var(--sco-secondbg)
-}
-
-.flink#article-container .site-card-group {
- padding: 20px 0
-}
-
-.flink#article-container .site-card:hover .info img {
- width: 0;
- height: 0;
- opacity: 0;
- min-width: 0;
- min-height: 0
-}
-
-.flink#article-container .site-card:hover {
- border: var(--style-border-hover);
- box-shadow: var(--sco-shadow-main)
-}
-
.article-sort-item-info a {
margin-right: auto;
overflow: hidden;
@@ -12655,13 +11355,6 @@ div#sco-footer-bar .footer-bar-description {
}
}
-.timeline ul .list {
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- justify-content: space-between
-}
-
.bb-info {
display: inline;
float: right;
@@ -12858,187 +11551,67 @@ a.bb-link-info:hover {
flex-direction: column
}
-.moments_post_time {
- display: none
-}
-
-.moments_post_time i {
- margin-right: 8px
-}
-
-.chart {
- align-items: flex-start;
- flex: 1;
- width: 100px;
- height: 60px;
- margin: 20px
-}
-
-.moments-item-title {
- font-weight: 700
-}
-
-.moments_post_info_number {
- float: right
-}
-
-@media screen and (max-width: 500px) {
- #info_user_pool {
- padding: 10px;
- flex-direction: column;
- max-height: 200px
- }
-
- .chart {
- flex: 0;
- width: 100%;
- height: 160px;
- margin: 0
- }
-}
-
-.moments-item-img {
- width: 60px !important;
- height: 60px !important
-}
-
-.moments-item-img img {
- border-radius: 99px;
- width: 80px;
- height: 80px;
- overflow: hidden
-}
-
-#info_user_pool {
- background: var(--sco-secondbg);
- border-radius: 12px !important;
- margin-top: 1rem;
- box-shadow: none !important
-}
-
-.moments-item {
- margin-left: 0 !important;
- box-shadow: none !important
-}
-
-.hexo-douban-item {
- border-bottom: none !important;
- background: var(--sco-card-bg);
- border: var(--style-border);
- box-shadow: var(--sco-shadow-border);
- border-radius: 12px;
- margin: 8px 0;
- height: 160px;
- min-height: 160px !important;
- width: 49%;
- overflow: hidden
-}
-
-@media screen and (min-width: 1300px) {
- .hexo-douban-item {
- width: 32%
- }
-}
-
-#hexo-douban-item3 {
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- justify-content: space-between
-}
-
-.hexo-douban-item .hexo-douban-picture a {
- padding: 0 !important
-}
-
-.hexo-douban-item .hexo-douban-picture img {
- margin: 0 !important;
- height: 100% !important
-}
-
-.hexo-douban-tabs {
- display: none
-}
-
-.hexo-douban-title a {
- border-bottom: 0 !important
-}
-
-.hexo-douban-title {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap
-}
-
-.hexo-douban-title a:hover {
- color: var(--sco-lighttext) !important;
- background: var(--sco-none) !important
+.moments_post_time {
+ display: none
}
-.hexo-douban-pagination {
- margin: auto;
- width: 100%;
- display: flex;
- justify-content: center;
- align-items: center
+.moments_post_time i {
+ margin-right: 8px
}
-span.hexo-douban-pagenum {
- margin: 0 .5rem
+.chart {
+ align-items: flex-start;
+ flex: 1;
+ width: 100px;
+ height: 60px;
+ margin: 20px
}
-.hexo-douban-title {
- font-size: 1rem;
- line-height: 1
+.moments-item-title {
+ font-weight: 700
}
-.hexo-douban-title a {
- padding: 0 !important
+.moments_post_info_number {
+ float: right
}
-.hexo-douban-info {
- padding-left: 130px !important;
- margin-right: .5rem
-}
+@media screen and (max-width: 500px) {
+ #info_user_pool {
+ padding: 10px;
+ flex-direction: column;
+ max-height: 200px
+ }
-.hexo-douban-meta {
- font-size: .7rem !important;
- color: var(--sco-secondtext);
- margin-top: .3rem;
- line-height: 1.05
+ .chart {
+ flex: 0;
+ width: 100%;
+ height: 160px;
+ margin: 0
+ }
}
-.hexo-douban-comments {
- line-height: 1.2;
- margin-top: .5rem;
- font-size: .8rem !important;
- -webkit-line-clamp: 3;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-box-orient: vertical
+.moments-item-img {
+ width: 60px !important;
+ height: 60px !important
}
-.hexo-douban-picture {
- height: 100%;
- top: 0 !important;
- padding: 10px 0 10px 10px
+.moments-item-img img {
+ border-radius: 99px;
+ width: 80px;
+ height: 80px;
+ overflow: hidden
}
-.hexo-douban-picture a img {
- border-radius: 8px !important
+#info_user_pool {
+ background: var(--sco-secondbg);
+ border-radius: 12px !important;
+ margin-top: 1rem;
+ box-shadow: none !important
}
-.hexo-douban-button {
- width: 4rem;
- height: 2rem;
- line-height: 1.9rem;
- border-radius: 8px !important;
- background: var(--sco-card-bg);
- box-shadow: var(--sco-shadow-lightblack);
- border: var(--style-border);
- margin: 0 .2rem;
- border-bottom: var(--style-border) !important
+.moments-item {
+ margin-left: 0 !important;
+ box-shadow: none !important
}
.article-sort-item-time {
@@ -14247,7 +12820,6 @@ video.author-content-video {
.author-content-item.single.like-movie {
height: 19rem;
- background: url(https://p.zhheo.com/202391f23ec6a5aea2a7ca8bd5ad79d0e9b5082502.png) no-repeat top;
background-size: cover;
color: var(--sco-white);
overflow: hidden
@@ -14310,34 +12882,6 @@ video.author-content-video {
.author-content.author-content-item.toolPage {
height: 19rem;
- background: url(https://p.zhheo.com/2023331f5bb47c063ef770c13ed9d1c2912b083802.png) no-repeat top;
- background-size: cover;
- color: var(--sco-white);
- overflow: hidden;
- margin-top: 0
-}
-
-.author-content.author-content-item.momentsPage {
- height: 19rem;
- background: url(https://p.zhheo.com/20234860bdbab0f500c3b0e0f1a21d3c166e081002.png) no-repeat top;
- background-size: cover;
- color: var(--sco-white);
- overflow: hidden;
- margin-top: 0
-}
-
-.author-content.author-content-item.essayPage {
- height: 19rem;
- background: url(https://p.zhheo.com/2023e02cff7c3ddef5c06b908fef079fbcfe081902.png) no-repeat center;
- background-size: cover;
- color: var(--sco-white);
- overflow: hidden;
- margin-top: 0
-}
-
-.author-content.author-content-item.equipment {
- height: 19rem;
- background: url(https://p.zhheo.com/kPJnWT22990681686042509223.png) no-repeat top;
background-size: cover;
color: var(--sco-white);
overflow: hidden;
@@ -14822,112 +13366,6 @@ video.author-content-video {
}
}
-.rss-plan-list {
- display: flex;
- width: 100%;
- flex-direction: row;
- flex-wrap: wrap;
- margin: 0 -4px;
- position: relative
-}
-
-.rss-plan-item.rss-plan-wechat {
- background: #27c125;
- overflow: hidden
-}
-
-.rss-plan-item.rss-plan-mail {
- background: var(--sco-blue)
-}
-
-.rss-plan-item.rss-plan-rss {
- background: var(--sco-orange)
-}
-
-.rss-plan-item {
- border-radius: 12px;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- min-width: 240px;
- height: 240px;
- margin: 4px auto;
- overflow: hidden;
- text-decoration: none;
- width: calc(100% / 3 - 8px);
- filter: brightness(1);
- transition: .3s
-}
-
-.rss-plan-item:hover {
- filter: brightness(1.1)
-}
-
-@media screen and (max-width: 1024px) {
- .rss-plan-item {
- width: calc(100% / 2 - 4px)
- }
-
- .rss-plan-item:first-child {
- width: 100%
- }
-}
-
-@media screen and (max-width: 768px) {
- .rss-plan-item {
- width: 100%
- }
-}
-
-.rss-plan-item:visited {
- color: var(--sco-white)
-}
-
-.rss-plan-description {
- font-size: 16px;
- color: var(--sco-white);
- margin: 26px 0 0 30px;
- line-height: 20px
-}
-
-img.rss-plan-icon {
- position: absolute;
- bottom: -50px;
- right: -20px;
- height: 140px;
- user-select: none;
- -webkit-user-drag: none;
- transition: all 1.2s cubic-bezier(.39, .575, .565, 1);
- transform-origin: bottom right;
- filter: blur(8px);
- opacity: .6
-}
-
-.rss-plan-item:hover img.rss-plan-icon {
- bottom: -40px;
- right: -10px;
- filter: blur(0);
- opacity: 1
-}
-
-.rss-plan-info-group {
- position: relative;
- margin: 0 0 26px 30px;
- color: var(--sco-white)
-}
-
-.rss-plan-title {
- font-size: 36px;
- font-weight: 700;
- width: fit-content;
- line-height: 1
-}
-
-.rss-plan-info {
- width: fit-content;
- opacity: .6
-}
-
.pagination input {
width: 40px;
height: 40px;
@@ -15019,127 +13457,4 @@ a#toPageButton.haveValue:hover {
.highlight .code pre .line span {
font-size: 8px
}
-}
-
-.equipment-item-content {
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- margin: 0 -8px
-}
-
-.equipment-item-content-item {
- width: calc(25% - 12px);
- border-radius: 12px;
- border: var(--style-border-always);
- overflow: hidden;
- margin: 8px 6px;
- background: var(--sco-card-bg);
- box-shadow: var(--sco-shadow-border);
- min-height: 400px;
- position: relative
-}
-
-@media screen and (max-width: 1200px) {
- .equipment-item-content-item {
- width: calc(50% - 12px)
- }
-}
-
-@media screen and (max-width: 768px) {
- .equipment-item-content-item {
- width: 100%
- }
-}
-
-.equipment-item-content-item-info {
- padding: 8px 16px 16px 16px;
- margin-top: 12px
-}
-
-.equipment-item-content-item-name {
- font-size: 18px;
- font-weight: 700;
- line-height: 1;
- margin-bottom: 8px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- cursor: pointer;
- width: fit-content
-}
-
-.equipment-item-content-item-name:hover {
- color: var(--sco-main)
-}
-
-.equipment-item-content-item-specification {
- font-size: 12px;
- color: var(--sco-secondtext);
- line-height: 1;
- margin-bottom: 12px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis
-}
-
-.equipment-item-content-item-description {
- line-height: 20px;
- color: var(--sco-secondtext);
- height: 60px;
- display: -webkit-box;
- overflow: hidden;
- -webkit-line-clamp: 3;
- -webkit-box-orient: vertical;
- font-size: 14px
-}
-
-a.equipment-item-content-item-link {
- font-size: 12px;
- background: var(--sco-gray-op);
- padding: 4px 8px;
- border-radius: 8px;
- cursor: pointer
-}
-
-a.equipment-item-content-item-link:hover {
- background: var(--sco-main);
- color: var(--sco-white)
-}
-
-h2.equipment-item-title {
- line-height: 1
-}
-
-.equipment-item-description {
- line-height: 1;
- margin: 4px 0 8px 0;
- color: var(--sco-secondtext)
-}
-
-.equipment-item-content-item-cover {
- width: 100%;
- height: 200px;
- background: var(--sco-secondbg);
- display: flex;
- justify-content: center
-}
-
-img.equipment-item-content-item-image {
- object-fit: cover;
- height: 100%
-}
-
-div#equipment {
- margin-top: 26px
-}
-
-.equipment-item-content-item-toolbar {
- display: flex;
- justify-content: space-between;
- position: absolute;
- bottom: 12px;
- left: 0;
- width: 100%;
- padding: 0 16px
}
\ No newline at end of file
From 4b76bf188e1124f299e70be7559eeca89943819d Mon Sep 17 00:00:00 2001
From: yife68 <2714344056@qq.com>
Date: Wed, 15 Nov 2023 20:39:05 +0800
Subject: [PATCH 07/43] =?UTF-8?q?=E4=BE=A7=E8=BE=B9=E6=A0=8F=20-=20?=
=?UTF-8?q?=E5=85=AC=E4=BC=97=E5=8F=B7=E6=A8=A1=E5=9D=97?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 同步更新为Heo最新样式
---
layout/partial/compoment/aside/asideFlipCard.ejs | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/layout/partial/compoment/aside/asideFlipCard.ejs b/layout/partial/compoment/aside/asideFlipCard.ejs
index 500e46ec..5dfa8407 100755
--- a/layout/partial/compoment/aside/asideFlipCard.ejs
+++ b/layout/partial/compoment/aside/asideFlipCard.ejs
@@ -19,11 +19,13 @@
top: 0;
background: url("<%- theme.aside.flip.favicon || 'https://img.meuicat.com/blog/14.webp' %>") center center no-repeat;
content: '';
- background-size: cover
+ background-size: cover;
+ transition: .2s cubic-bezier(.45,.04,.43,1.21)
}
#aside-content .card-widget.card-platform:hover:before {
- filter: blur(12px) saturate(1.5);
- transition: .3s
+ top: 100%;
+ opacity: 0;
+ transition: .3s ease-out
}
#aside-content .card-widget #flip-wrapper {
perspective: 1000;
From ed024181c1de0345e7b70c71fa933be1bf2c3001 Mon Sep 17 00:00:00 2001
From: yife68 <2714344056@qq.com>
Date: Wed, 15 Nov 2023 23:17:16 +0800
Subject: [PATCH 08/43] =?UTF-8?q?=E5=8D=B3=E5=88=BB=E7=9F=AD=E6=96=87?=
=?UTF-8?q?=E6=A0=B7=E5=BC=8F=E6=96=B0=E5=A2=9E?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 新增Leonus样式切换
注意:已更改主题配置项,在使用时需要打开对应开关
---
_config.yml | 4 +-
layout/index.ejs | 2 +-
layout/page/not_configured.ejs | 13 +
layout/page/says.ejs | 43 +-
layout/partial/compoment/inject/body.ejs | 2 +-
layout/partial/compoment/inject/head.ejs | 2 +-
layout/partial/compoment/says/banner.ejs | 2 +-
layout/partial/compoment/says/saysMeta.ejs | 10 +
source/css/_page/homepage.styl | 3 +
source/css/_page/says.styl | 585 +++++++++++----------
source/css/index.styl | 16 +-
source/css/main.css | 13 -
12 files changed, 377 insertions(+), 318 deletions(-)
create mode 100644 layout/page/not_configured.ejs
create mode 100644 layout/partial/compoment/says/saysMeta.ejs
create mode 100644 source/css/_page/homepage.styl
diff --git a/_config.yml b/_config.yml
index db05fd87..7838c8cc 100755
--- a/_config.yml
+++ b/_config.yml
@@ -74,7 +74,6 @@ icon:
# 首页顶部样式
hometop:
- bbtime: false # 即刻顶部是否开启
banner:
enable: false # 是否打开顶部banner
title: 宁静致远
热爱生活 # 左上角显示文字
@@ -427,7 +426,8 @@ pwa:
says:
- enable: true
+ enable: false
+ home_mini: false # 主页的即刻轮播条
style: 1 # 1:张洪heo样式 / 2:Leonus样式
diff --git a/layout/index.ejs b/layout/index.ejs
index 36dea13b..14c04ed1 100755
--- a/layout/index.ejs
+++ b/layout/index.ejs
@@ -1,5 +1,5 @@
- <% if(theme.hometop.bbtime){ %>
+ <% if(theme.says.home_mini){ %>
<%- partial('partial/compoment/hometop/bbTimeList') %>
<% } %>
<% if(theme.hometop.banner.enable){ %>
diff --git a/layout/page/not_configured.ejs b/layout/page/not_configured.ejs
new file mode 100644
index 00000000..950053dd
--- /dev/null
+++ b/layout/page/not_configured.ejs
@@ -0,0 +1,13 @@
+
+
请前往主题配置文件 进行配置
\ No newline at end of file
diff --git a/layout/page/says.ejs b/layout/page/says.ejs
index 1209686e..0c8af7b3 100755
--- a/layout/page/says.ejs
+++ b/layout/page/says.ejs
@@ -1,17 +1,26 @@
-<%- partial('partial/compoment/says/banner') %>
-
-
-
- <% for(let i in site.data.essay.essay_list){ %>
- <% const item = site.data.essay.essay_list[i];if(i >= 30)break; %>
-
- <%- partial('partial/compoment/says/saysContent', {item:item}) %>
- <%- partial('partial/compoment/says/saysFunction', {item:item}) %>
-
- <%- partial('partial/compoment/says/saysBottom', {item:item}) %>
-
- <% }; %>
-
-
-
-
- 只展示最近30条短文 -
+<% if (theme.says.enable === false) { %>
+ <%- partial('not_configured') %>
+<% } else { %>
+ <%- partial('partial/compoment/says/banner') %>
+
+
+
+ <% for(let i in site.data.essay.essay_list){ %>
+ <% const item = site.data.essay.essay_list[i];if(i >= 30)break; %>
+
+ <% if (theme.says.style === 2) { %>
+ <%- partial('partial/compoment/says/saysMeta', {item:item}) %>
+ <% } %>
+ <%- partial('partial/compoment/says/saysContent', {item:item}) %>
+ <%- partial('partial/compoment/says/saysFunction', {item:item}) %>
+ <% if (theme.says.style === 1) { %>
+
+ <%- partial('partial/compoment/says/saysBottom', {item:item}) %>
+ <% } %>
+
+ <% }; %>
+
+
+
+
- 只展示最近30条短文 -
+<% } %>
\ No newline at end of file
diff --git a/layout/partial/compoment/inject/body.ejs b/layout/partial/compoment/inject/body.ejs
index 27c71a51..09a68e21 100755
--- a/layout/partial/compoment/inject/body.ejs
+++ b/layout/partial/compoment/inject/body.ejs
@@ -7,7 +7,7 @@
<% if(theme.lightbox){ %>
<%- js(cdn.viewimagejs) %>
<% } %>
-<% if(theme.hometop.bbtime || theme.aside.history.enable){ %>
+<% if(theme.says.home_mini || theme.aside.history.enable){ %>
<%- js(cdn.swiperjs) %>
<% } %>
<%- js('/js/utils') %>
diff --git a/layout/partial/compoment/inject/head.ejs b/layout/partial/compoment/inject/head.ejs
index a6f3ff46..6b607fbf 100755
--- a/layout/partial/compoment/inject/head.ejs
+++ b/layout/partial/compoment/inject/head.ejs
@@ -20,7 +20,7 @@
<% if(theme.thirdparty.aplayer.enable){%>
<%- css(cdn.aplayercss) %>
<%} %>
-<% if(theme.hometop.bbtime || theme.aside.history.enable){ %>
+<% if(theme.says.home_mini || theme.aside.history.enable){ %>
<%- css(cdn.swipercss) %>
<% } %>
<% } %>
From 654c3cb63078d9b616cd94594c4dff502ead614d Mon Sep 17 00:00:00 2001
From: Jose wan
Date: Fri, 17 Nov 2023 19:48:50 +0800
Subject: [PATCH 15/43] Bug Repair
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
支持Hexo7.0.0
---
layout/page/categories.ejs | 8 ++---
layout/page/tags.ejs | 8 ++---
layout/partial/compoment/aside/asideTag.ejs | 5 ++--
.../compoment/home/homeCategoryBar.ejs | 10 +++----
layout/partial/compoment/nav/left.ejs | 2 +-
.../third-party/comments/twikoo_k.ejs | 29 -------------------
layout/partial/console.ejs | 14 ++++-----
layout/partial/sidebar.ejs | 8 ++---
layout/tag.ejs | 12 ++++----
9 files changed, 34 insertions(+), 62 deletions(-)
delete mode 100755 layout/partial/compoment/third-party/comments/twikoo_k.ejs
diff --git a/layout/page/categories.ejs b/layout/page/categories.ejs
index b1c602f2..58ea000d 100755
--- a/layout/page/categories.ejs
+++ b/layout/page/categories.ejs
@@ -1,11 +1,11 @@
<%= __('page.category') %>
diff --git a/layout/page/tags.ejs b/layout/page/tags.ejs
index ba57a7ff..8296a7cd 100755
--- a/layout/page/tags.ejs
+++ b/layout/page/tags.ejs
@@ -1,11 +1,11 @@
<%= __('page.tag') %>
diff --git a/layout/partial/compoment/aside/asideTag.ejs b/layout/partial/compoment/aside/asideTag.ejs
index 9b41cb2c..00ccb5c6 100755
--- a/layout/partial/compoment/aside/asideTag.ejs
+++ b/layout/partial/compoment/aside/asideTag.ejs
@@ -1,5 +1,6 @@
\ No newline at end of file
diff --git a/layout/partial/compoment/home/homeCategoryBar.ejs b/layout/partial/compoment/home/homeCategoryBar.ejs
index d16e5ff0..6f6617de 100755
--- a/layout/partial/compoment/home/homeCategoryBar.ejs
+++ b/layout/partial/compoment/home/homeCategoryBar.ejs
@@ -2,10 +2,10 @@
- <% for(const item of site.categories.data){ %>
-
-
更多
+
更多
\ No newline at end of file
diff --git a/layout/partial/compoment/nav/left.ejs b/layout/partial/compoment/nav/left.ejs
index 32f63922..b65d96d4 100755
--- a/layout/partial/compoment/nav/left.ejs
+++ b/layout/partial/compoment/nav/left.ejs
@@ -9,7 +9,7 @@
<% for(const y in groupData){ %>
<% const data=groupData[y] %>
@@ -38,13 +38,13 @@
- <% }%>
+ <% } %>
\ No newline at end of file
diff --git a/layout/partial/sidebar.ejs b/layout/partial/sidebar.ejs
index 85eedcfc..54627a0a 100755
--- a/layout/partial/sidebar.ejs
+++ b/layout/partial/sidebar.ejs
@@ -20,10 +20,10 @@