footer页脚

themes/butterfly/layout/includes目录下找到footer.pug文件,添加如下代码(注意缩进)。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#footer-bar
.footer-bar-links
.footer-bar-left
#footer-bar-tips
.copyright
| ©2023 - 2023 By 
a.footer-bar-link(href="https://icemyst.github.io" target="_blank" rel="external nofollow") 冰刻无痕
.footer-bar-right
a.footer-bar-link(href="/rss/" data-pjax-state="") 订阅
a.footer-bar-link(href="https://beian.miit.gov.cn/#/Integrated/index" target="_blank" rel="noopener external nofollow noreferrer noopener") 赣ICP备2021010104号
a.footer-bar-link.cc(href="/cc/" title="cc协议" data-pjax-state="")
i.iconfont.icon-a-Iconcopyright-line
i.iconfont.icon-creative-commons-by-line
i.iconfont.icon-creative-commons-nc-line
i.iconfont.icon-creative-commons-nd-line

css

根据自己的需要进行调整,适配自己的主题。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
@charset "UTF-8";

:root {
--icemyst-white: #fff;
--icemyst-white-op: rgba(255, 255, 255, 0.2);
--icemyst-black: #000;
--icemyst-black-op: rgba(0, 0, 0, 0.2);
--icemyst-none: #00000000;
--icemyst-gray: #999999;
--icemyst-gray-op: #9999992b;
--icemyst-vip: #e5a80d;
--icemyst-main: var(--icemyst-theme);
--icemyst-main-op: var(--icemyst-theme-op);
--icemyst-main-op-deep: var(--icemyst-theme-op-deep);
--icemyst-main-none: var(--icemyst-theme-none);
--icemyst-shadow-theme: 0 8px 12px -3px var(--icemyst-theme-op);
--icemyst-shadow-blackdeep: 0 2px 16px -3px rgba(0, 0, 0, .15);
--icemyst-shadow-main: 0 8px 12px -3px var(--icemyst-main-op);
--icemyst-shadow-blue: 0 8px 12px -3px rgba(40, 109, 234, .20);
--icemyst-shadow-white: 0 8px 12px -3px rgba(255, 255, 255, .20);
--icemyst-shadow-black: 0 0 12px 4px rgba(0, 0, 0, .05);
--icemyst-shadow-yellow: 0px 38px 77px -26px rgba(255, 201, 62, .12);
--icemyst-shadow-red: 0 8px 12px -3px #ee7d7936;
--icemyst-shadow-green: 0 8px 12px -3px #87ee7936;
--icemyst-logo-color: linear-gradient(215deg, #4584ff 0%, #cf0db9 100%);
--icemyst-snackbar-time: 5s;
}

::selection {
background: var(--icemyst-fontcolor);
color: var(--icemyst-background);
}

[data-theme=light] {
--icemyst-theme: #425AEF;
--icemyst-theme-op: #4259ef23;
--icemyst-theme-op-deep: #4259efdd;
--icemyst-theme-none: #4259ef01;
--icemyst-blue: #425AEF;
--icemyst-red: #f04a63;
--icemyst-pink: #FF7C7C;
--icemyst-green: #57bd6a;
--icemyst-yellow: #c28b00;
--icemyst-yellow-op: #d99c001a;
--icemyst-orange: #e38100;
--icemyst-fontcolor: #363636;
--icemyst-background: #f7f9fe;
--icemyst-reverse: #000;
--icemyst-maskbg: rgba(255, 255, 255, 0.6);
--icemyst-maskbgdeep: rgba(255, 255, 255, 0.85);
--icemyst-hovertext: var(--icemyst-main);
--icemyst-ahoverbg: #F7F7FA;
--icemyst-lighttext: var(--icemyst-main);
--icemyst-secondtext: rgba(60, 60, 67, 0.8);
--icemyst-scrollbar: rgba(60, 60, 67, 0.4);
--icemyst-card-btn-bg: #edf0f7;
--icemyst-post-blockquote-bg: #fafcff;
--icemyst-post-tabs-bg: #f2f5f8;
--icemyst-secondbg: #f1f3f8;
--icemyst-shadow-nav: 0 5px 12px -5px rgba(102, 68, 68, 0.05);
--icemyst-card-bg: #fff;
--icemyst-card-bg-op: var(--icemyst-black-op);
--icemyst-card-bg-none: rgba(255, 255, 255, 0);
--icemyst-shadow-lightblack: 0 5px 12px -5px rgba(102, 68, 68, 0.00);
--icemyst-shadow-light2black: 0 5px 12px -5px rgba(102, 68, 68, 0.00);
--icemyst-card-border: #e3e8f7;
--icemyst-shadow-border: 0 8px 16px -4px #2c2d300c;
--style-border: 1px solid var(--icemyst-card-border);
--style-border-always: 1px solid var(--icemyst-card-border);
--style-border-hover: 1px solid var(--icemyst-main);
--style-border-hover-always: 1px solid var(--icemyst-main);
--style-border-dashed: 1px dashed var(--icemyst-theme-op);
--style-border-forever: 2px solid var(--icemyst-main);
}

[data-theme=dark] {
--icemyst-theme: #f2b94b;
--icemyst-theme-op: #f2b94b23;
--icemyst-theme-op-deep: #f2b94bdd;
--icemyst-theme-none: #f2b94b00;
--icemyst-blue: #0084FF;
--icemyst-red: #FF3842;
--icemyst-pink: #d44040;
--icemyst-green: #3e9f50;
--icemyst-yellow: #ffc93e;
--icemyst-yellow-op: #ffc93e30;
--icemyst-orange: #ff953e;
--icemyst-fontcolor: #F7F7FA;
--icemyst-background: #18171d;
--icemyst-reverse: #fff;
--icemyst-maskbg: rgba(0, 0, 0, 0.6);
--icemyst-maskbgdeep: rgba(0, 0, 0, 0.85);
--icemyst-hovertext: #0A84FF;
--icemyst-ahoverbg: #fff;
--icemyst-lighttext: var(--icemyst-theme);
--icemyst-secondtext: #a1a2b8;
--icemyst-scrollbar: rgba(200, 200, 223, 0.4);
--icemyst-card-btn-bg: #30343f;
--icemyst-post-blockquote-bg: #000;
--icemyst-post-tabs-bg: #121212;
--icemyst-secondbg: #30343f;
--icemyst-shadow-nav: 0 5px 20px 0px rgba(28, 28, 28, 0.4);
--icemyst-card-bg: #1d1e22;
--icemyst-card-bg-op: var(--icemyst-white-op);
--icemyst-card-bg-none: #1d1b2600;
--icemyst-shadow-lightblack: 0 5px 12px -5px rgba(102, 68, 68, 0.0);
--icemyst-shadow-light2black: 0 5px 12px -5px rgba(102, 68, 68, 0.0);
--icemyst-card-border: #3d3d3f;
--icemyst-shadow-border: 0 8px 16px -4px #00000050;
--style-border: 1px solid var(--icemyst-card-border);
--style-border-always: 1px solid var(--icemyst-card-border);
--style-border-hover: 1px solid var(--icemyst-theme);
--style-border-hover-always: 1px solid var(--icemyst-theme);
--style-border-dashed: 1px dashed var(--icemyst-theme-op);
--style-border-forever: 2px solid var(--icemyst-lighttext);
}

#footer-bar {
padding: 1rem;
color: var(--icemyst-fontcolor);
margin-top: 1rem;
background: var(--icemyst-secondbg);
display: flex;
overflow: hidden;
z-index: 1002;
transition: 0.3s;
}

#footer-bar .footer-bar-links {
display: flex;
justify-content: space-between;
max-width: 1400px;
width: 100%;
margin: 0 auto;
flex-wrap: wrap;
align-items: center;
line-height: 1;
}

#footer-bar .footer-bar-left {
display: flex;
flex-wrap: wrap;
min-height: 32px;
align-items: center;
}

#footer-bar .footer-bar-link {
margin-top: 8px;
margin-bottom: 8px;
margin-right: 1rem;
color: var(--icemyst-fontcolor);
/*font-size: 0.8rem;*/
font-weight: bold;
white-space: nowrap;
}

#footer-bar .footer-bar-link.cc {
margin-right: 0rem;
}

#footer-bar .footer-bar-link.cc i {
margin-right: 0.5rem;
font-size: 18px;
}

#footer-bar .footer-bar-link:hover {
color: var(--icemyst-theme);
}

#footer-bar>div>div.footer-bar-left>span {
margin-right: 1rem;
}

#footer-bar .footer-bar-right a:hover {
color: var(--icemyst-lighttext);
}

#footer_deal i {
font-size: 0.9rem;
line-height: 0.9rem;
height: 0.9rem;
}


div#post-comment {
margin-top: 2rem;
}

#post-comment>div.comment-head>div.comment-privacy {
display: block;
justify-content: space-between;
margin-left: 8px;
font-size: 13px;
}

#post-comment>div.comment-head>div.comment-privacy a:hover {
color: var(--icemyst-theme);
}