-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmyCss.css
More file actions
183 lines (155 loc) · 3.08 KB
/
myCss.css
File metadata and controls
183 lines (155 loc) · 3.08 KB
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
/*所有页面实现毛玻璃特效*/
.light #sideRight .rightBgColor,
.light #container-inner .article,
.light #container-inner .coverArticle {
background: rgba(255, 255, 255, 0.5);
backdrop-filter: blur(10px);
}
/*标题栏*/
#page-header.nav-visible #nav {
background: rgba(255, 255, 255, 0.5);
backdrop-filter: blur(50px);
}
/*搜索框美化*/
.search-dialog {
background: rgba(255, 255, 255, 0.5);
backdrop-filter: blur(10px);
border-radius: 0px;
}
#search-mask {
background: rgba(255, 255, 255, 0);
}
/*手机端毛玻璃优化*/
#sidebar #sidebar-menus.open {
background: rgba(255, 255, 255, 0.5);
backdrop-filter: blur(10px);
}
#sidebar #menu-mask {
background: rgba(255, 255, 255, 0);
}
/* 页脚footer */
/* 渐变色滚动动画 */
@-webkit-keyframes Gradient {
0% {
background-position: 0 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0 50%;
}
}
@-moz-keyframes Gradient {
0% {
background-position: 0 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0 50%;
}
}
@keyframes Gradient {
0% {
background-position: 0 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0 50%;
}
}
/* 滚动条 */
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-thumb {
background-color: #e58a8a;
background-image: -webkit-linear-gradient(
45deg,
rgba(255, 255, 255, 0.4) 25%,
transparent 25%,
transparent 50%,
rgba(255, 255, 255, 0.4) 50%,
rgba(255, 255, 255, 0.4) 75%,
transparent 75%,
transparent
);
border-radius: 2em;
}
::-webkit-scrollbar-corner {
background-color: transparent;
}
::-moz-selection {
color: #fff;
background-color: #e58a8a;
}
/* 鼠标图标 */
body {
cursor: url(https://cdn.jsdelivr.net/npm/kang-static/Hexo/img/default.cur),
default;
}
/*a标签*/
a,
button,
img {
cursor: url(https://cdn.jsdelivr.net/npm/kang-static/Hexo/img/pointer.cur),
default;
}
@keyframes gradientBG {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.light #wrapper {
background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
background-size: 400% 400%;
animation: gradientBG 15s ease infinite;
}
.light #wrapper {
background: linear-gradient(
90deg,
rgba(247, 149, 51, 0.1) 0,
rgba(243, 112, 85, 0.1) 15%,
rgba(239, 78, 123, 0.1) 30%,
rgba(161, 102, 171, 0.1) 44%,
rgba(80, 115, 184, 0.1) 58%,
rgba(16, 152, 173, 0.1) 72%,
rgba(7, 179, 155, 0.1) 86%,
rgba(109, 186, 130, 0.1) 100%
);
}
.smallVerse {
box-sizing: border-box;
padding: 20px;
border: 1px dashed var(--noticeFontColor, #969696);
color: var(--noticeFontColor, #969696);
position: relative;
display: flex;
align-items: center;
width: 100%;
background: var(--noticeBackgroundColor, #fbfbfb50);
border-radius: 10px;
}
#live2d-widget {
right: 50px !important;
}
.mr10 {
margin-right: 10px;
}
.ml10 {
margin-left: 10px;
}
.ml20 {
margin-left: 20px;
}