hexo-theme-solitude 1.1.3 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +674 -19
- package/_config.yml +244 -193
- package/languages/en-US.yml +1 -0
- package/languages/zh-CN.yml +8 -8
- package/layout/404.pug +24 -0
- package/layout/archive.pug +11 -0
- package/layout/category.pug +16 -0
- package/layout/includes/console.pug +42 -0
- package/layout/includes/footer.pug +71 -0
- package/layout/includes/head/config.pug +79 -0
- package/layout/includes/head/pwa.pug +59 -0
- package/layout/includes/head.pug +29 -0
- package/layout/includes/header.pug +4 -0
- package/layout/includes/inject/body.pug +68 -0
- package/layout/{partial/compoment/inject/head.ejs → includes/inject/head.pug} +61 -35
- package/layout/includes/layout.pug +35 -0
- package/layout/{partial/loading.ejs → includes/loading.pug} +19 -17
- package/layout/includes/mixins/articleSort.pug +14 -0
- package/layout/includes/mixins/pagination.pug +8 -0
- package/layout/includes/nav.pug +22 -0
- package/layout/includes/page/about.pug +10 -0
- package/layout/includes/page/categories.pug +8 -0
- package/layout/includes/page/default.pug +2 -0
- package/layout/includes/page/echarts.pug +7 -0
- package/layout/includes/page/equipment.pug +3 -0
- package/layout/includes/page/links.pug +35 -0
- package/layout/includes/page/moments.pug +5 -0
- package/layout/includes/page/rss.pug +22 -0
- package/layout/includes/page/says.pug +20 -0
- package/layout/includes/page/tags.pug +8 -0
- package/layout/includes/page/tlink.pug +9 -0
- package/layout/includes/recent-posts.pug +9 -0
- package/layout/includes/sidebar.pug +17 -0
- package/layout/includes/widgets/aside/aside.pug +18 -0
- package/layout/includes/widgets/aside/asideAllInfo.pug +8 -0
- package/layout/includes/widgets/aside/asideArchive.pug +9 -0
- package/layout/includes/widgets/aside/asideFlipCard.pug +5 -0
- package/layout/includes/widgets/aside/asideHistory.pug +8 -0
- package/layout/includes/widgets/aside/asideInfoCard.pug +22 -0
- package/layout/includes/widgets/aside/asideNewestPost.pug +16 -0
- package/layout/includes/widgets/aside/asidePower.pug +19 -0
- package/layout/includes/widgets/aside/asideSwitch.pug +26 -0
- package/layout/includes/widgets/aside/asideTag.pug +11 -0
- package/layout/includes/widgets/aside/asideToc.pug +5 -0
- package/layout/includes/widgets/aside/asideWebInfo.pug +40 -0
- package/layout/includes/widgets/aside/asideWelcome.pug +12 -0
- package/layout/includes/widgets/home/banner.pug +16 -0
- package/layout/includes/widgets/home/bbTimeList.pug +8 -0
- package/layout/includes/widgets/home/categoryBar.pug +10 -0
- package/layout/includes/widgets/home/categoryGroup.pug +9 -0
- package/layout/includes/widgets/home/hometop.pug +9 -0
- package/layout/includes/widgets/home/postList.pug +26 -0
- package/layout/includes/widgets/home/rencentPost.pug +26 -0
- package/layout/includes/widgets/home/topGroup.pug +27 -0
- package/layout/includes/widgets/nav/left.pug +10 -0
- package/layout/includes/widgets/nav/menu.pug +16 -0
- package/layout/includes/widgets/nav/right.pug +23 -0
- package/layout/includes/widgets/page/about/authorinfo.pug +12 -0
- package/layout/includes/widgets/page/about/award.pug +34 -0
- package/layout/includes/widgets/page/about/contentinfo.pug +38 -0
- package/layout/includes/widgets/page/about/hobbies.pug +33 -0
- package/layout/includes/widgets/page/about/motto.pug +19 -0
- package/layout/includes/widgets/page/about/other.pug +61 -0
- package/layout/includes/widgets/page/about/personalities.pug +16 -0
- package/layout/includes/widgets/page/about/skillsinfo.pug +41 -0
- package/layout/includes/widgets/page/banner.pug +14 -0
- package/layout/includes/widgets/page/equipment/content.pug +23 -0
- package/layout/includes/widgets/page/links/banner.pug +30 -0
- package/layout/includes/widgets/page/links/linksCard.pug +18 -0
- package/layout/includes/widgets/page/links/linksItem.pug +14 -0
- package/layout/includes/widgets/page/moments/angle.pug +24 -0
- package/layout/includes/widgets/page/moments/index.pug +18 -0
- package/layout/includes/widgets/page/says/saysBottom.pug +11 -0
- package/layout/includes/widgets/page/says/saysContent.pug +6 -0
- package/layout/includes/widgets/page/says/saysFunction.pug +10 -0
- package/layout/includes/widgets/page/says/saysMeta.pug +7 -0
- package/layout/includes/widgets/post/award.pug +48 -0
- package/layout/includes/widgets/post/copyright.pug +27 -0
- package/layout/includes/widgets/post/postMeta.pug +55 -0
- package/layout/includes/widgets/post/postNav.pug +25 -0
- package/layout/includes/widgets/post/wave.pug +9 -0
- package/layout/includes/widgets/randomlink.pug +32 -0
- package/layout/includes/widgets/rightside/index.pug +74 -0
- package/layout/includes/widgets/third-party/comments/comment.pug +14 -0
- package/layout/includes/widgets/third-party/comments/gitalk.pug +0 -0
- package/layout/{partial/compoment/third-party/comments/twikoo.ejs → includes/widgets/third-party/comments/twikoo.pug} +8 -9
- package/layout/includes/widgets/third-party/comments/valine.pug +0 -0
- package/layout/includes/widgets/third-party/music.pug +3 -0
- package/layout/includes/widgets/third-party/pjax.pug +30 -0
- package/layout/includes/widgets/third-party/search/algolia-search.pug +14 -0
- package/layout/includes/widgets/third-party/search/index.pug +7 -0
- package/layout/includes/widgets/third-party/search/local-search.pug +13 -0
- package/layout/index.pug +20 -0
- package/layout/page.pug +32 -0
- package/layout/post.pug +43 -0
- package/layout/tag.pug +19 -0
- package/package.json +4 -4
- package/scripts/event/page.js +20 -2
- package/scripts/filter/checkThemeConfig.js +0 -1
- package/scripts/filter/randomPosts.js +0 -1
- package/scripts/helper/{charts.js → echarts.js} +27 -28
- package/scripts/helper/stylus.js +23 -0
- package/scripts/tags/bvideo.js +1 -36
- package/source/css/_comment/index.styl +121 -0
- package/source/css/_comment/twikoo.styl +515 -0
- package/source/css/_extra/console.styl +354 -0
- package/source/css/_extra/rightmenu.styl +83 -0
- package/source/css/_global/animation.css +756 -0
- package/source/css/_global/function.styl +83 -0
- package/source/css/_global/index.styl +120 -0
- package/source/css/_global/var.styl +1 -0
- package/source/css/_layout/articleSort.styl +199 -0
- package/source/css/_layout/base.styl +392 -0
- package/source/css/_layout/footer.styl +359 -0
- package/source/css/_layout/header.styl +1331 -0
- package/source/css/_layout/index.styl +293 -0
- package/source/css/_layout/sidebar.styl +226 -0
- package/source/css/_mode/index.styl +52 -0
- package/source/css/_page/about.styl +835 -0
- package/source/css/_page/category.styl +141 -0
- package/source/css/_page/equipment.styl +101 -0
- package/source/css/_page/error.styl +161 -0
- package/source/css/_page/home.styl +58 -0
- package/source/css/_page/homeTop.styl +1035 -0
- package/source/css/_page/index.styl +131 -0
- package/source/css/_page/link.styl +433 -0
- package/source/css/_page/moment.styl +179 -0
- package/source/css/_page/rss.styl +87 -0
- package/source/css/_page/says.styl +347 -0
- package/source/css/_page/tag.styl +56 -0
- package/source/css/_post/commentBarrage.styl +149 -0
- package/source/css/_post/externalTags.styl +694 -0
- package/source/css/_post/highlight.styl +96 -0
- package/source/css/_post/index.styl +935 -0
- package/source/css/_post/pagination.styl +467 -0
- package/source/css/_post/postContent.styl +957 -0
- package/source/css/_post/relatedPost.styl +160 -0
- package/source/css/_post/reward.styl +217 -0
- package/source/css/_search/algolia-search.styl +154 -0
- package/source/css/_search/local-search.styl +131 -0
- package/source/css/_widgets/aside/allinfo.styl +134 -0
- package/source/css/_widgets/aside/flip.styl +68 -0
- package/source/css/_widgets/aside/history.styl +35 -0
- package/source/css/_widgets/aside/index.styl +156 -0
- package/source/css/_widgets/aside/info.styl +263 -0
- package/source/css/_widgets/aside/newPost.styl +55 -0
- package/source/css/_widgets/aside/power.styl +90 -0
- package/source/css/_widgets/aside/toc.styl +85 -0
- package/source/css/_widgets/aside/welcome.styl +14 -0
- package/source/css/_widgets/index.styl +3 -0
- package/source/css/index.styl +40 -0
- package/source/js/commentBarrage.js +8 -5
- package/source/js/extend/console/comment.js +60 -63
- package/source/js/extend/covercolor/local.js +1 -1
- package/source/js/extend/search/algolia-search.js +151 -134
- package/source/js/extend/search/local-search.js +137 -162
- package/source/js/main.js +655 -505
- package/source/js/utils.js +168 -145
- package/layout/404.ejs +0 -34
- package/layout/archive.ejs +0 -10
- package/layout/category.ejs +0 -18
- package/layout/index.ejs +0 -20
- package/layout/layout.ejs +0 -30
- package/layout/page/about.ejs +0 -15
- package/layout/page/categories.ejs +0 -12
- package/layout/page/circle.ejs +0 -5
- package/layout/page/echarts.ejs +0 -1
- package/layout/page/equipment.ejs +0 -2
- package/layout/page/links.ejs +0 -46
- package/layout/page/page.ejs +0 -3
- package/layout/page/rss.ejs +0 -39
- package/layout/page/says.ejs +0 -17
- package/layout/page/tags.ejs +0 -12
- package/layout/page/tlink.ejs +0 -11
- package/layout/page.ejs +0 -45
- package/layout/partial/body.ejs +0 -7
- package/layout/partial/compoment/about/authorinfo.ejs +0 -18
- package/layout/partial/compoment/about/award.ejs +0 -59
- package/layout/partial/compoment/about/contentinfo.ejs +0 -33
- package/layout/partial/compoment/about/hobbies.ejs +0 -53
- package/layout/partial/compoment/about/motto.ejs +0 -17
- package/layout/partial/compoment/about/other.ejs +0 -76
- package/layout/partial/compoment/about/personalities.ejs +0 -11
- package/layout/partial/compoment/about/skillsinfo.ejs +0 -62
- package/layout/partial/compoment/aside/aside.ejs +0 -28
- package/layout/partial/compoment/aside/asideAllInfo.ejs +0 -6
- package/layout/partial/compoment/aside/asideArchive.ejs +0 -11
- package/layout/partial/compoment/aside/asideFlipCard.ejs +0 -72
- package/layout/partial/compoment/aside/asideHistory.ejs +0 -49
- package/layout/partial/compoment/aside/asideInfoCard.ejs +0 -39
- package/layout/partial/compoment/aside/asideNewestPost.ejs +0 -31
- package/layout/partial/compoment/aside/asidePower.ejs +0 -31
- package/layout/partial/compoment/aside/asideSwitch.ejs +0 -41
- package/layout/partial/compoment/aside/asideTag.ejs +0 -5
- package/layout/partial/compoment/aside/asideToc.ejs +0 -11
- package/layout/partial/compoment/aside/asideWebInfo.ejs +0 -60
- package/layout/partial/compoment/aside/asideWelcome.ejs +0 -33
- package/layout/partial/compoment/circle/angle.ejs +0 -26
- package/layout/partial/compoment/circle/banner.ejs +0 -11
- package/layout/partial/compoment/circle/content.ejs +0 -19
- package/layout/partial/compoment/dorakika/rightmenu.ejs +0 -100
- package/layout/partial/compoment/equipment/list.ejs +0 -37
- package/layout/partial/compoment/home/homeCategoryBar.ejs +0 -11
- package/layout/partial/compoment/home/postList.ejs +0 -37
- package/layout/partial/compoment/hometop/bbTimeList.ejs +0 -15
- package/layout/partial/compoment/hometop/categoryGroup.ejs +0 -19
- package/layout/partial/compoment/hometop/groupTag.ejs +0 -30
- package/layout/partial/compoment/hometop/topGroup.ejs +0 -41
- package/layout/partial/compoment/inject/body.ejs +0 -70
- package/layout/partial/compoment/links/angle.ejs +0 -26
- package/layout/partial/compoment/links/banner.ejs +0 -42
- package/layout/partial/compoment/links/linksCard.ejs +0 -27
- package/layout/partial/compoment/links/linksItem.ejs +0 -21
- package/layout/partial/compoment/mixins/articleSort.ejs +0 -26
- package/layout/partial/compoment/mixins/pagination.ejs +0 -11
- package/layout/partial/compoment/nav/left.ejs +0 -22
- package/layout/partial/compoment/nav/menu.ejs +0 -25
- package/layout/partial/compoment/nav/right.ejs +0 -42
- package/layout/partial/compoment/post/award.ejs +0 -60
- package/layout/partial/compoment/post/copyright.ejs +0 -39
- package/layout/partial/compoment/post/postMeta.ejs +0 -85
- package/layout/partial/compoment/post/postNav.ejs +0 -41
- package/layout/partial/compoment/post/wave.ejs +0 -14
- package/layout/partial/compoment/says/banner.ejs +0 -10
- package/layout/partial/compoment/says/saysBottom.ejs +0 -18
- package/layout/partial/compoment/says/saysContent.ejs +0 -10
- package/layout/partial/compoment/says/saysFunction.ejs +0 -15
- package/layout/partial/compoment/third-party/comments/comment.ejs +0 -12
- package/layout/partial/compoment/third-party/comments/twikoo_k.ejs +0 -29
- package/layout/partial/compoment/third-party/music.ejs +0 -5
- package/layout/partial/compoment/third-party/pjax.ejs +0 -31
- package/layout/partial/compoment/third-party/search/algolia-search.ejs +0 -20
- package/layout/partial/compoment/third-party/search/index.ejs +0 -10
- package/layout/partial/compoment/third-party/search/local-search.ejs +0 -22
- package/layout/partial/compoment/tlink/banner.ejs +0 -10
- package/layout/partial/console.ejs +0 -68
- package/layout/partial/footer.ejs +0 -109
- package/layout/partial/head.ejs +0 -37
- package/layout/partial/header.ejs +0 -6
- package/layout/partial/hometop.ejs +0 -15
- package/layout/partial/nav.ejs +0 -34
- package/layout/partial/pwa.ejs +0 -40
- package/layout/partial/sidebar.ejs +0 -31
- package/layout/post.ejs +0 -52
- package/layout/tag.ejs +0 -19
- package/scripts/helper/randomLinks.js +0 -16
- package/scripts/helper/themeJsExport.js +0 -79
- package/source/css/commentBarrage.css +0 -174
- package/source/css/custom.css +0 -901
- package/source/css/main.css +0 -16285
- package/source/css/search/algolia-search.css +0 -141
- package/source/css/search/local-search.css +0 -138
- package/source/css/var.css +0 -189
- /package/source/js/{rightmenu.js → rightside.js} +0 -0
@@ -0,0 +1,467 @@
|
|
1
|
+
#pagination .pagination {
|
2
|
+
text-align: center
|
3
|
+
}
|
4
|
+
|
5
|
+
#pagination .page-number {
|
6
|
+
display: inline-block;
|
7
|
+
margin: 0 .2rem;
|
8
|
+
min-width: 1.2rem;
|
9
|
+
height: 1.2rem;
|
10
|
+
text-align: center;
|
11
|
+
line-height: 1.2rem;
|
12
|
+
cursor: pointer
|
13
|
+
}
|
14
|
+
|
15
|
+
#pagination .page-number.current {
|
16
|
+
background: #0079ff;
|
17
|
+
color: var(--sco-white);
|
18
|
+
cursor: default;
|
19
|
+
border-radius: 5px
|
20
|
+
}
|
21
|
+
|
22
|
+
#pagination img.next-cover, #pagination img.prev-cover {
|
23
|
+
position: absolute;
|
24
|
+
width: 100%;
|
25
|
+
height: 100%;
|
26
|
+
opacity: .4;
|
27
|
+
transition: all .6s ease 0s;
|
28
|
+
object-fit: cover
|
29
|
+
}
|
30
|
+
|
31
|
+
#pagination .pagination-info {
|
32
|
+
position: absolute;
|
33
|
+
top: 50%;
|
34
|
+
padding: 1rem 2rem;
|
35
|
+
width: 100%;
|
36
|
+
transform: translate(0, -50%)
|
37
|
+
}
|
38
|
+
|
39
|
+
#pagination .next_info, #pagination .prev_info {
|
40
|
+
color: var(--sco-white);
|
41
|
+
font-weight: 500
|
42
|
+
}
|
43
|
+
|
44
|
+
#pagination .next-post .pagination-info {
|
45
|
+
text-align: right
|
46
|
+
}
|
47
|
+
|
48
|
+
#pagination .pull-full {
|
49
|
+
width: 100% !important
|
50
|
+
}
|
51
|
+
|
52
|
+
#pagination .next-post .label, #pagination .prev-post .label {
|
53
|
+
color: var(--light-grey);
|
54
|
+
text-transform: uppercase;
|
55
|
+
font-size: 90%
|
56
|
+
}
|
57
|
+
|
58
|
+
#pagination .next-post, #pagination .prev-post {
|
59
|
+
width: 50%
|
60
|
+
}
|
61
|
+
|
62
|
+
@media screen and (max-width: 768px) {
|
63
|
+
#pagination .next-post, #pagination .prev-post {
|
64
|
+
width: 100%
|
65
|
+
}
|
66
|
+
}
|
67
|
+
|
68
|
+
#pagination .next-post a, #pagination .prev-post a {
|
69
|
+
position: relative;
|
70
|
+
display: block;
|
71
|
+
overflow: hidden;
|
72
|
+
height: 150px
|
73
|
+
}
|
74
|
+
|
75
|
+
#pagination .next-post:hover img.next-cover, #pagination .next-post:hover img.prev-cover, #pagination .prev-post:hover img.next-cover, #pagination .prev-post:hover img.prev-cover {
|
76
|
+
opacity: .8;
|
77
|
+
transform: scale(1.1)
|
78
|
+
}
|
79
|
+
|
80
|
+
#pagination.pagination-post {
|
81
|
+
margin-top: 1.5rem;
|
82
|
+
background: #000
|
83
|
+
}
|
84
|
+
|
85
|
+
#pagination {
|
86
|
+
width: 100%
|
87
|
+
}
|
88
|
+
|
89
|
+
@media screen and (max-width: 768px) {
|
90
|
+
#pagination {
|
91
|
+
margin-bottom: 0;
|
92
|
+
margin-top: 0
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
@media screen and (min-width: 1300px) {
|
97
|
+
#pagination {
|
98
|
+
margin-top: .25rem
|
99
|
+
}
|
100
|
+
}
|
101
|
+
|
102
|
+
#pagination .next-post, #pagination .prev-post, .next-post.pull-right, .prev-post.pull-left {
|
103
|
+
background: var(--sco-secondbg)
|
104
|
+
}
|
105
|
+
|
106
|
+
@media screen and (min-width: 768px) {
|
107
|
+
#pagination .next-post a {
|
108
|
+
border-left: var(--sco-main-op);
|
109
|
+
border-left-width: 1px;
|
110
|
+
border-left-style: solid;
|
111
|
+
display: flex;
|
112
|
+
align-items: flex-start;
|
113
|
+
height: 150px
|
114
|
+
}
|
115
|
+
|
116
|
+
#pagination .next-post.pull-full a {
|
117
|
+
border-left-width: 0
|
118
|
+
}
|
119
|
+
|
120
|
+
#pagination .prev-post a {
|
121
|
+
border-right: var(--sco-main-op);
|
122
|
+
border-right-width: 1px;
|
123
|
+
border-right-style: solid
|
124
|
+
}
|
125
|
+
|
126
|
+
#pagination .pagination-info {
|
127
|
+
padding: 1rem 1.5rem 1rem 1.5rem;
|
128
|
+
position: relative;
|
129
|
+
display: flex;
|
130
|
+
top: 0;
|
131
|
+
transform: none;
|
132
|
+
flex-direction: column;
|
133
|
+
justify-content: center;
|
134
|
+
margin: auto;
|
135
|
+
height: 100%
|
136
|
+
}
|
137
|
+
|
138
|
+
#pagination .next-post a:hover, #pagination .prev-post a:hover {
|
139
|
+
background: var(--sco-main)
|
140
|
+
}
|
141
|
+
|
142
|
+
#pagination .next-post a:hover div, #pagination .prev-post a:hover div {
|
143
|
+
color: var(--sco-white) !important
|
144
|
+
}
|
145
|
+
}
|
146
|
+
|
147
|
+
@media screen and (max-width: 768px) {
|
148
|
+
#pagination .next-post a:hover, #pagination .prev-post a:hover {
|
149
|
+
background: var(--sco-none)
|
150
|
+
}
|
151
|
+
}
|
152
|
+
|
153
|
+
#pagination img.next-cover, #pagination img.prev-cover {
|
154
|
+
opacity: .15;
|
155
|
+
transform: scale(1.03);
|
156
|
+
transition: .3s;
|
157
|
+
filter: blur(0);
|
158
|
+
-webkit-backface-visibility: hidden;
|
159
|
+
-webkit-transform-style: preserve-3d
|
160
|
+
}
|
161
|
+
|
162
|
+
#pagination .next-post:hover img.next-cover, #pagination .next-post:hover img.prev-cover, #pagination .prev-post:hover img.next-cover, #pagination .prev-post:hover img.prev-cover {
|
163
|
+
opacity: .25;
|
164
|
+
transform: scale(1.03);
|
165
|
+
filter: blur(5px)
|
166
|
+
}
|
167
|
+
|
168
|
+
#pagination .next-post .label, #post #pagination .prev-post .label {
|
169
|
+
color: var(--sco-fontcolor)
|
170
|
+
}
|
171
|
+
|
172
|
+
#pagination .next_info, #post #pagination .prev_info {
|
173
|
+
color: var(--sco-fontcolor);
|
174
|
+
font-weight: 700;
|
175
|
+
-webkit-line-clamp: 2;
|
176
|
+
white-space: normal;
|
177
|
+
line-height: 1.3;
|
178
|
+
font-size: .9rem;
|
179
|
+
display: -webkit-box;
|
180
|
+
-webkit-box-orient: vertical;
|
181
|
+
overflow: hidden;
|
182
|
+
margin-bottom: 10px
|
183
|
+
}
|
184
|
+
|
185
|
+
#post #pagination {
|
186
|
+
overflow: hidden;
|
187
|
+
position: inherit;
|
188
|
+
border: var(--style-border-always)
|
189
|
+
}
|
190
|
+
|
191
|
+
#pagination.pagination-post {
|
192
|
+
background: var(--sco-card-bg)
|
193
|
+
}
|
194
|
+
|
195
|
+
@media screen and (min-width: 1300px) {
|
196
|
+
#post #pagination {
|
197
|
+
position: fixed;
|
198
|
+
width: 300px;
|
199
|
+
bottom: -100px;
|
200
|
+
right: 20px;
|
201
|
+
height: fit-content;
|
202
|
+
transition: cubic-bezier(.42, 0, .3, 1.11) .3s;
|
203
|
+
border: var(--style-border);
|
204
|
+
border-radius: 12px;
|
205
|
+
overflow: hidden;
|
206
|
+
cursor: pointer;
|
207
|
+
opacity: 0;
|
208
|
+
z-index: 1002
|
209
|
+
}
|
210
|
+
|
211
|
+
#post #pagination.show-window {
|
212
|
+
bottom: 20px;
|
213
|
+
opacity: 1
|
214
|
+
}
|
215
|
+
|
216
|
+
#post #pagination:hover {
|
217
|
+
border: var(--style-border-hover)
|
218
|
+
}
|
219
|
+
|
220
|
+
#pagination .next-post a {
|
221
|
+
border: none;
|
222
|
+
height: fit-content;
|
223
|
+
padding: .5rem 0
|
224
|
+
}
|
225
|
+
|
226
|
+
#pagination.pagination-post {
|
227
|
+
border-radius: 0
|
228
|
+
}
|
229
|
+
|
230
|
+
#pagination .next_info, #post #pagination .prev_info {
|
231
|
+
font-size: 14px;
|
232
|
+
font-weight: 400;
|
233
|
+
margin-bottom: 0
|
234
|
+
}
|
235
|
+
|
236
|
+
#pagination .pagination-info {
|
237
|
+
padding: .5rem 1rem;
|
238
|
+
transform: none
|
239
|
+
}
|
240
|
+
|
241
|
+
#post #pagination {
|
242
|
+
background: 0 0
|
243
|
+
}
|
244
|
+
|
245
|
+
#pagination .next-post, #pagination .prev-post, .next-post.pull-right, .prev-post.pull-left {
|
246
|
+
background: var(--sco-maskbgdeep);
|
247
|
+
-webkit-backdrop-filter: blur(5px);
|
248
|
+
backdrop-filter: blur(5px);
|
249
|
+
transform: translateZ(0)
|
250
|
+
}
|
251
|
+
|
252
|
+
.prev-post.pull-left {
|
253
|
+
display: none
|
254
|
+
}
|
255
|
+
|
256
|
+
.next-post.pull-right {
|
257
|
+
width: 100% !important
|
258
|
+
}
|
259
|
+
|
260
|
+
#pagination .next-post .pagination-info {
|
261
|
+
text-align: left;
|
262
|
+
position: relative
|
263
|
+
}
|
264
|
+
|
265
|
+
#pagination .next-post .label, #post #pagination .prev-post .label {
|
266
|
+
color: var(--sco-fontcolor);
|
267
|
+
font-weight: 700;
|
268
|
+
font-size: 12px;
|
269
|
+
margin-bottom: .5rem;
|
270
|
+
border-bottom: var(--style-border);
|
271
|
+
line-height: 1;
|
272
|
+
padding-bottom: .5rem
|
273
|
+
}
|
274
|
+
}
|
275
|
+
|
276
|
+
@media screen and (max-width: 768px) {
|
277
|
+
.prev-post.pull-left {
|
278
|
+
border-bottom: var(--style-border-always)
|
279
|
+
}
|
280
|
+
|
281
|
+
#post #pagination {
|
282
|
+
border-radius: 12px;
|
283
|
+
border: var(--style-border-always);
|
284
|
+
box-shadow: var(--sco-shadow-border)
|
285
|
+
}
|
286
|
+
|
287
|
+
#pagination .next-post .label, #post #pagination .prev-post .label {
|
288
|
+
text-align: left
|
289
|
+
}
|
290
|
+
|
291
|
+
#pagination .next_info, #post #pagination .prev_info {
|
292
|
+
text-align: left
|
293
|
+
}
|
294
|
+
|
295
|
+
#pagination .next-post, #pagination .prev-post, .next-post.pull-right, .prev-post.pull-left {
|
296
|
+
background: var(--sco-card-bg)
|
297
|
+
}
|
298
|
+
}
|
299
|
+
|
300
|
+
@media screen and (max-width: 768px) {
|
301
|
+
#pagination .page-number {
|
302
|
+
display: none
|
303
|
+
}
|
304
|
+
|
305
|
+
#pagination .pagination .space {
|
306
|
+
display: none
|
307
|
+
}
|
308
|
+
|
309
|
+
#pagination .pagination .extend {
|
310
|
+
width: 100%;
|
311
|
+
height: 2.5rem;
|
312
|
+
margin: .2rem 1rem 1rem 1rem;
|
313
|
+
border-radius: 12px;
|
314
|
+
line-height: 2.5rem;
|
315
|
+
background: var(--sco-card-bg);
|
316
|
+
border: var(--style-border-always);
|
317
|
+
box-shadow: var(--sco-shadow-border)
|
318
|
+
}
|
319
|
+
|
320
|
+
#pagination .pagination .extend i {
|
321
|
+
display: none
|
322
|
+
}
|
323
|
+
|
324
|
+
#pagination .pagination .extend:hover {
|
325
|
+
background: var(--sco-theme);
|
326
|
+
color: var(--sco-white)
|
327
|
+
}
|
328
|
+
|
329
|
+
#pagination .pagination {
|
330
|
+
background: var(--sco-background);
|
331
|
+
transition: .3s;
|
332
|
+
display: flex
|
333
|
+
}
|
334
|
+
}
|
335
|
+
|
336
|
+
@media screen and (min-width: 768px) {
|
337
|
+
#pagination .page-number {
|
338
|
+
width: 2rem;
|
339
|
+
background: var(--sco-card-bg);
|
340
|
+
height: 2rem;
|
341
|
+
line-height: calc(2rem - 2px);
|
342
|
+
border-radius: 8px !important;
|
343
|
+
margin: 0 .3rem;
|
344
|
+
box-shadow: var(--sco-shadow-border);
|
345
|
+
border: var(--style-border);
|
346
|
+
transition: .3s
|
347
|
+
}
|
348
|
+
|
349
|
+
#pagination .page-number.current {
|
350
|
+
background: var(--sco-theme);
|
351
|
+
border: var(--style-border-hover);
|
352
|
+
box-shadow: var(--sco-shadow-theme)
|
353
|
+
}
|
354
|
+
|
355
|
+
#pagination .page-number.current:hover {
|
356
|
+
background: var(--sco-theme);
|
357
|
+
box-shadow: var(--sco-shadow-theme);
|
358
|
+
color: var(--sco-white)
|
359
|
+
}
|
360
|
+
|
361
|
+
#pagination .page-number:hover {
|
362
|
+
color: var(--sco-theme);
|
363
|
+
border: var(--style-border-hover);
|
364
|
+
box-shadow: var(--sco-shadow-main)
|
365
|
+
}
|
366
|
+
|
367
|
+
#pagination a.extend.next:hover, #pagination a.extend.prev:hover {
|
368
|
+
color: var(--sco-theme);
|
369
|
+
border: var(--style-border-hover);
|
370
|
+
box-shadow: var(--sco-shadow-main)
|
371
|
+
}
|
372
|
+
|
373
|
+
#pagination span.space {
|
374
|
+
margin: 0 .3rem
|
375
|
+
}
|
376
|
+
|
377
|
+
#pagination a.extend.next, #pagination a.extend.prev {
|
378
|
+
width: 4rem;
|
379
|
+
height: 2rem;
|
380
|
+
line-height: 1.9rem;
|
381
|
+
border-radius: 8px !important;
|
382
|
+
background: var(--sco-card-bg);
|
383
|
+
box-shadow: var(--sco-shadow-border);
|
384
|
+
position: absolute;
|
385
|
+
border: var(--style-border);
|
386
|
+
display: flex;
|
387
|
+
align-items: center;
|
388
|
+
justify-content: center;
|
389
|
+
overflow: hidden;
|
390
|
+
transition: .3s
|
391
|
+
}
|
392
|
+
|
393
|
+
#pagination a.extend.next i, #pagination a.extend.prev i {
|
394
|
+
transition: .3s
|
395
|
+
}
|
396
|
+
|
397
|
+
#pagination a.extend.next {
|
398
|
+
overflow: hidden
|
399
|
+
}
|
400
|
+
|
401
|
+
#pagination a.extend.next .pagination_tips_next {
|
402
|
+
margin-left: -32px;
|
403
|
+
transition: .3s;
|
404
|
+
opacity: 0
|
405
|
+
}
|
406
|
+
|
407
|
+
#pagination a.extend.next:hover .pagination_tips_next {
|
408
|
+
margin-left: 2px;
|
409
|
+
opacity: 1;
|
410
|
+
white-space: nowrap
|
411
|
+
}
|
412
|
+
|
413
|
+
#pagination a.extend.prev .pagination_tips_prev {
|
414
|
+
margin-right: -32px;
|
415
|
+
transition: .3s;
|
416
|
+
opacity: 0
|
417
|
+
}
|
418
|
+
|
419
|
+
#pagination a.extend.prev:hover .pagination_tips_prev {
|
420
|
+
margin-right: 2px;
|
421
|
+
opacity: 1;
|
422
|
+
white-space: nowrap
|
423
|
+
}
|
424
|
+
|
425
|
+
#pagination {
|
426
|
+
overflow: visible
|
427
|
+
}
|
428
|
+
|
429
|
+
#pagination .pagination {
|
430
|
+
position: relative;
|
431
|
+
display: flex;
|
432
|
+
justify-content: center
|
433
|
+
}
|
434
|
+
}
|
435
|
+
|
436
|
+
@media screen and (min-width: 768px) {
|
437
|
+
#pagination.pagination-post {
|
438
|
+
border-radius: 12px;
|
439
|
+
margin-top: 1rem
|
440
|
+
}
|
441
|
+
}
|
442
|
+
|
443
|
+
@media screen and (min-width: 1300px) {
|
444
|
+
#pagination.pagination-post {
|
445
|
+
border-radius: 0;
|
446
|
+
margin-top: 0
|
447
|
+
}
|
448
|
+
}
|
449
|
+
|
450
|
+
.pagination input {
|
451
|
+
width: 40px;
|
452
|
+
height: 40px;
|
453
|
+
border-radius: 8px;
|
454
|
+
border: var(--style-border-always);
|
455
|
+
transition: .3s;
|
456
|
+
outline-style: none;
|
457
|
+
font-size: 16px;
|
458
|
+
padding-left: 12px;
|
459
|
+
background: var(--sco-secondbg);
|
460
|
+
color: var(--sco-fontcolor)
|
461
|
+
}
|
462
|
+
|
463
|
+
.pagination .toPageGroup input:focus, .pagination .toPageGroup:hover input {
|
464
|
+
border: var(--style-border-hover-always);
|
465
|
+
outline-style: none;
|
466
|
+
width: 100px
|
467
|
+
}
|