hexo-theme-solitude 2.0.1 → 2.0.3
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/CODE_OF_CONDUCT.md +92 -47
- package/README.md +2 -4
- package/{README_zh_CN.md → README_zh-Hans.md} +0 -2
- package/README_zh-Hant.md +1 -3
- package/_config.yml +5 -5
- package/package.json +1 -1
- package/scripts/event/merge_config.js +4 -0
- package/source/css/_layout/header.styl +10 -10
- package/source/css/_page/_about/myphoto.styl +1 -1
- package/source/css/_page/_about/oneself.styl +2 -2
- package/source/css/_page/_about/personalities.styl +1 -1
- package/source/css/_page/_about/skills.styl +1 -1
- package/source/css/_page/_about/statistic.styl +1 -1
- package/source/img/pwa/favicon.png +0 -0
- package/source/img/pwa/favicon_16.png +0 -0
- package/source/img/pwa/favicon_32.png +0 -0
- package/source/img/pwa/favicon.ico +0 -0
- package/source/img/pwa/favicon_16.ico +0 -0
- package/source/img/pwa/favicon_32.ico +0 -0
package/CODE_OF_CONDUCT.md
CHANGED
@@ -1,85 +1,130 @@
|
|
1
1
|
|
2
|
-
#
|
2
|
+
# Contributor Covenant Code of Conduct
|
3
3
|
|
4
|
-
##
|
4
|
+
## Our Pledge
|
5
5
|
|
6
|
-
|
6
|
+
We as members, contributors, and leaders pledge to make participation in our
|
7
|
+
community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
9
|
+
identity and expression, level of experience, education, socio-economic status,
|
10
|
+
nationality, personal appearance, race, caste, color, religion, or sexual
|
11
|
+
identity and orientation.
|
7
12
|
|
8
|
-
|
13
|
+
We pledge to act and interact in ways that contribute to an open, welcoming,
|
14
|
+
diverse, inclusive, and healthy community.
|
9
15
|
|
10
|
-
##
|
16
|
+
## Our Standards
|
11
17
|
|
12
|
-
|
18
|
+
Examples of behavior that contributes to a positive environment for our
|
19
|
+
community include:
|
13
20
|
|
14
|
-
*
|
15
|
-
*
|
16
|
-
*
|
17
|
-
*
|
18
|
-
|
21
|
+
* Demonstrating empathy and kindness toward other people
|
22
|
+
* Being respectful of differing opinions, viewpoints, and experiences
|
23
|
+
* Giving and gracefully accepting constructive feedback
|
24
|
+
* Accepting responsibility and apologizing to those affected by our mistakes,
|
25
|
+
and learning from the experience
|
26
|
+
* Focusing on what is best not just for us as individuals, but for the overall
|
27
|
+
community
|
19
28
|
|
20
|
-
|
29
|
+
Examples of unacceptable behavior include:
|
21
30
|
|
22
|
-
*
|
23
|
-
|
24
|
-
*
|
25
|
-
*
|
26
|
-
*
|
31
|
+
* The use of sexualized language or imagery, and sexual attention or advances of
|
32
|
+
any kind
|
33
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks
|
34
|
+
* Public or private harassment
|
35
|
+
* Publishing others' private information, such as a physical or email address,
|
36
|
+
without their explicit permission
|
37
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
38
|
+
professional setting
|
27
39
|
|
28
|
-
##
|
40
|
+
## Enforcement Responsibilities
|
29
41
|
|
30
|
-
|
42
|
+
Community leaders are responsible for clarifying and enforcing our standards of
|
43
|
+
acceptable behavior and will take appropriate and fair corrective action in
|
44
|
+
response to any behavior that they deem inappropriate, threatening, offensive,
|
45
|
+
or harmful.
|
31
46
|
|
32
|
-
|
47
|
+
Community leaders have the right and responsibility to remove, edit, or reject
|
48
|
+
comments, commits, code, wiki edits, issues, and other contributions that are
|
49
|
+
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
50
|
+
decisions when appropriate.
|
33
51
|
|
34
|
-
##
|
52
|
+
## Scope
|
35
53
|
|
36
|
-
|
54
|
+
This Code of Conduct applies within all community spaces, and also applies when
|
55
|
+
an individual is officially representing the community in public spaces.
|
56
|
+
Examples of representing our community include using an official email address,
|
57
|
+
posting via an official social media account, or acting as an appointed
|
58
|
+
representative at an online or offline event.
|
37
59
|
|
38
|
-
|
60
|
+
## Enforcement
|
39
61
|
|
40
|
-
|
62
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
63
|
+
reported to the community leaders responsible for enforcement at
|
64
|
+
[INSERT CONTACT METHOD].
|
65
|
+
All complaints will be reviewed and investigated promptly and fairly.
|
41
66
|
|
42
|
-
|
43
|
-
|
67
|
+
All community leaders are obligated to respect the privacy and security of the
|
68
|
+
reporter of any incident.
|
44
69
|
|
45
|
-
|
70
|
+
## Enforcement Guidelines
|
46
71
|
|
47
|
-
|
72
|
+
Community leaders will follow these Community Impact Guidelines in determining
|
73
|
+
the consequences for any action they deem in violation of this Code of Conduct:
|
48
74
|
|
49
|
-
|
75
|
+
### 1. Correction
|
50
76
|
|
51
|
-
|
77
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed
|
78
|
+
unprofessional or unwelcome in the community.
|
52
79
|
|
53
|
-
|
80
|
+
**Consequence**: A private, written warning from community leaders, providing
|
81
|
+
clarity around the nature of the violation and an explanation of why the
|
82
|
+
behavior was inappropriate. A public apology may be requested.
|
54
83
|
|
55
|
-
|
84
|
+
### 2. Warning
|
56
85
|
|
57
|
-
|
86
|
+
**Community Impact**: A violation through a single incident or series of
|
87
|
+
actions.
|
58
88
|
|
59
|
-
|
89
|
+
**Consequence**: A warning with consequences for continued behavior. No
|
90
|
+
interaction with the people involved, including unsolicited interaction with
|
91
|
+
those enforcing the Code of Conduct, for a specified period of time. This
|
92
|
+
includes avoiding interactions in community spaces as well as external channels
|
93
|
+
like social media. Violating these terms may lead to a temporary or permanent
|
94
|
+
ban.
|
60
95
|
|
61
|
-
|
96
|
+
### 3. Temporary Ban
|
62
97
|
|
63
|
-
|
98
|
+
**Community Impact**: A serious violation of community standards, including
|
99
|
+
sustained inappropriate behavior.
|
64
100
|
|
65
|
-
|
101
|
+
**Consequence**: A temporary ban from any sort of interaction or public
|
102
|
+
communication with the community for a specified period of time. No public or
|
103
|
+
private interaction with the people involved, including unsolicited interaction
|
104
|
+
with those enforcing the Code of Conduct, is allowed during this period.
|
105
|
+
Violating these terms may lead to a permanent ban.
|
66
106
|
|
67
|
-
|
107
|
+
### 4. Permanent Ban
|
68
108
|
|
69
|
-
|
109
|
+
**Community Impact**: Demonstrating a pattern of violation of community
|
110
|
+
standards, including sustained inappropriate behavior, harassment of an
|
111
|
+
individual, or aggression toward or disparagement of classes of individuals.
|
70
112
|
|
71
|
-
|
113
|
+
**Consequence**: A permanent ban from any sort of public interaction within the
|
114
|
+
community.
|
72
115
|
|
73
|
-
|
116
|
+
## Attribution
|
74
117
|
|
75
|
-
|
118
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
119
|
+
version 2.1, available at
|
120
|
+
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
|
76
121
|
|
77
|
-
|
122
|
+
Community Impact Guidelines were inspired by
|
123
|
+
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
|
78
124
|
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
其他语言翻译参见 [https://www.contributor-covenant.org/translations][translations]。
|
125
|
+
For answers to common questions about this code of conduct, see the FAQ at
|
126
|
+
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
|
127
|
+
[https://www.contributor-covenant.org/translations][translations].
|
83
128
|
|
84
129
|
[homepage]: https://www.contributor-covenant.org
|
85
130
|
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
|
package/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
English丨[简体中文](
|
1
|
+
English丨[简体中文](README_zh-Hans)丨[繁体中文](README_zh-Hant.md)
|
2
2
|
|
3
3
|
<div align="center">
|
4
4
|
|
@@ -69,11 +69,9 @@ Check out the [Documentation](https://solitude.js.org/) for more information.
|
|
69
69
|
|
70
70
|
## Sponsors
|
71
71
|
|
72
|
-
[](https://www.buymeacoffee.com/everfu)
|
73
|
-
|
74
72
|
<p align="center">
|
75
73
|
<a href="https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg">
|
76
|
-
<img src='https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg'/>
|
74
|
+
<img src='https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg' alt="sponsor"/>
|
77
75
|
</a>
|
78
76
|
</p>
|
79
77
|
|
@@ -70,8 +70,6 @@
|
|
70
70
|
|
71
71
|
## 赞助者
|
72
72
|
|
73
|
-
[](https://www.buymeacoffee.com/everfu)
|
74
|
-
|
75
73
|
<p align="center">
|
76
74
|
<a href="https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg">
|
77
75
|
<img src='https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg' alt="赞助者"/>
|
package/README_zh-Hant.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
[English](README.md)丨[简体中文](
|
1
|
+
[English](README.md)丨[简体中文](README_zh-Hans)丨繁体中文
|
2
2
|
|
3
3
|
<div align="center">
|
4
4
|
|
@@ -67,8 +67,6 @@
|
|
67
67
|
|
68
68
|
## 贊助者
|
69
69
|
|
70
|
-
[](https://www.buymeacoffee.com/everfu)
|
71
|
-
|
72
70
|
<p align="center">
|
73
71
|
<a href="https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg">
|
74
72
|
<img src='https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg'/>
|
package/_config.yml
CHANGED
@@ -492,11 +492,11 @@ pwa:
|
|
492
492
|
enable: false
|
493
493
|
manifest: /manifest.json # manifest.json 文件路径
|
494
494
|
theme_color: "#006a73" # 主题颜色
|
495
|
-
mask_icon: /img/pwa/favicon.
|
496
|
-
apple_touch_icon: /img/pwa/favicon.
|
497
|
-
bookmark_icon: /img/pwa/favicon.
|
498
|
-
favicon_32_32: /img/pwa/favicon_32.
|
499
|
-
favicon_16_16: /img/pwa/favicon_16.
|
495
|
+
mask_icon: /img/pwa/favicon.png # 遮罩图标
|
496
|
+
apple_touch_icon: /img/pwa/favicon.png # 苹果触摸图标
|
497
|
+
bookmark_icon: /img/pwa/favicon.png # 书签图标
|
498
|
+
favicon_32_32: /img/pwa/favicon_32.png # 32x32图标
|
499
|
+
favicon_16_16: /img/pwa/favicon_16.png # 16x16图标
|
500
500
|
|
501
501
|
google_adsense:
|
502
502
|
enable: false
|
package/package.json
CHANGED
@@ -177,6 +177,7 @@
|
|
177
177
|
.center
|
178
178
|
width .5rem
|
179
179
|
height .3rem
|
180
|
+
|
180
181
|
.right
|
181
182
|
width .3rem
|
182
183
|
height 100%
|
@@ -394,16 +395,15 @@
|
|
394
395
|
opacity: 1
|
395
396
|
|
396
397
|
i.fa-solid.fa-home
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
color var(--efu-card-bg)
|
398
|
+
opacity 0
|
399
|
+
position absolute
|
400
|
+
display flex
|
401
|
+
z-index 1
|
402
|
+
align-items center
|
403
|
+
justify-content center
|
404
|
+
font-size 22px
|
405
|
+
line-height 1
|
406
|
+
color var(--efu-card-bg)
|
407
407
|
|
408
408
|
if hexo-config('site.name.class') == i_class
|
409
409
|
i
|
@@ -3,14 +3,14 @@
|
|
3
3
|
&.column
|
4
4
|
display flex
|
5
5
|
flex-direction column
|
6
|
-
width
|
6
|
+
width calc(50% - (.5rem / 2))
|
7
7
|
justify-content space-between
|
8
8
|
|
9
9
|
+maxWidth768()
|
10
10
|
width 100% !important
|
11
11
|
|
12
12
|
&.mapAndInfo
|
13
|
-
width
|
13
|
+
width calc(60% - (.5rem / 2))
|
14
14
|
gap .5rem
|
15
15
|
|
16
16
|
.author-content-item
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|