hexo-theme-shokax 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
package/layout/_mixin/card.pug
CHANGED
@@ -13,9 +13,10 @@ mixin CardRender(item)
|
|
13
13
|
div(class="info")
|
14
14
|
if item.link
|
15
15
|
- var postTitleIcon = '<i class="ic i-link-alt"></i>'
|
16
|
-
- var postText = itemname || item.link || __('post.untitled')
|
16
|
+
- var postText = itemname || item.link || item.path || __('post.untitled')
|
17
17
|
div(class="ribbon")
|
18
|
-
|
18
|
+
- var tempL = item.link || item.path
|
19
|
+
!= _url(tempL , postText + (postTitleIcon || ''), {itemprop: 'url', title: postText})
|
19
20
|
div(class="inner")
|
20
21
|
- var len = ''
|
21
22
|
if item.child
|
@@ -36,6 +36,7 @@ div(class="status")
|
|
36
36
|
a(target="_blank" href=`https://www.beian.gov.cn/portal/registerSystemInfo?recordcode=${RC}`)
|
37
37
|
img(src=theme.statics + theme.assets + '/' + theme.footer.icp.icon style="max-width: 2em;display:inline;")
|
38
38
|
!= beianN
|
39
|
+
!= shokax_inject('status')
|
39
40
|
|
40
41
|
!= shokax_inject('footer')
|
41
42
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "hexo-theme-shokax",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.6",
|
4
4
|
"description": "a hexo theme based on shoka",
|
5
5
|
"main": "index.js",
|
6
6
|
"repository": "https://github.com/zkz098/hexo-theme-shokaX",
|
@@ -10,22 +10,22 @@
|
|
10
10
|
"test": "cd ./source/js && tsc"
|
11
11
|
},
|
12
12
|
"devDependencies": {
|
13
|
-
"@types/animejs": "^3.1.
|
13
|
+
"@types/animejs": "^3.1.7",
|
14
14
|
"@types/fancybox": "^3.5.3",
|
15
15
|
"@types/hexo": "^3.8.8",
|
16
|
-
"@types/jquery": "^3.5.
|
16
|
+
"@types/jquery": "^3.5.16",
|
17
17
|
"@types/js-yaml": "^4.0.5",
|
18
18
|
"@types/lozad": "^1.16.1",
|
19
19
|
"@types/node": "^18.11.18",
|
20
20
|
"@types/shelljs": "^0.8.11",
|
21
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
22
|
-
"@typescript-eslint/parser": "^5.
|
23
|
-
"eslint": "^8.
|
21
|
+
"@typescript-eslint/eslint-plugin": "^5.49.0",
|
22
|
+
"@typescript-eslint/parser": "^5.49.0",
|
23
|
+
"eslint": "^8.32.0",
|
24
24
|
"eslint-config-standard": "^17.0.0",
|
25
|
-
"eslint-plugin-import": "^2.
|
26
|
-
"eslint-plugin-n": "^15.6.
|
25
|
+
"eslint-plugin-import": "^2.27.5",
|
26
|
+
"eslint-plugin-n": "^15.6.1",
|
27
27
|
"eslint-plugin-promise": "^6.1.1",
|
28
|
-
"eslint-plugin-vue": "^9.
|
28
|
+
"eslint-plugin-vue": "^9.9.0",
|
29
29
|
"typescript": "^4.9.4",
|
30
30
|
"vue": "^3.2.45"
|
31
31
|
},
|
@@ -9,8 +9,8 @@ $item {
|
|
9
9
|
|
10
10
|
&.show {
|
11
11
|
@extend .slide-up-big-in;
|
12
|
-
content-visibility: auto;
|
13
|
-
contain-intrinsic-size: 250px;
|
12
|
+
// content-visibility: auto;
|
13
|
+
// contain-intrinsic-size: 250px;
|
14
14
|
opacity: 1;
|
15
15
|
}
|
16
16
|
|
@@ -26,6 +26,9 @@ $item {
|
|
26
26
|
position: absolute;
|
27
27
|
bottom: 0;
|
28
28
|
right: 0;
|
29
|
+
transform-style: preserve-3d;
|
30
|
+
transform: translateZ(2rem);
|
31
|
+
backface-visibility: hidden;
|
29
32
|
padding: .3rem 1rem;
|
30
33
|
border-radius: 1rem 0;
|
31
34
|
color: var(--grey-0);
|
@@ -37,6 +40,9 @@ $item {
|
|
37
40
|
content: '';
|
38
41
|
height: calc(100% - 1rem);
|
39
42
|
width: calc(100% - 1rem);
|
43
|
+
transform-style: preserve-3d;
|
44
|
+
transform: translateZ(-2rem);
|
45
|
+
backface-visibility: hidden;
|
40
46
|
border-radius: 5rem;
|
41
47
|
left: .5rem;
|
42
48
|
top: .8rem;
|
@@ -53,7 +59,7 @@ $item {
|
|
53
59
|
}
|
54
60
|
}
|
55
61
|
|
56
|
-
|
62
|
+
/*.active .btn {
|
57
63
|
transform-style: preserve-3d;
|
58
64
|
transform: translateZ(2rem);
|
59
65
|
backface-visibility: hidden;
|
@@ -63,7 +69,7 @@ $item {
|
|
63
69
|
transform: translateZ(-2rem);
|
64
70
|
backface-visibility: hidden;
|
65
71
|
}
|
66
|
-
}
|
72
|
+
}*/
|
67
73
|
|
68
74
|
.meta {
|
69
75
|
font-size: $font-size-smaller;
|