-
Notifications
You must be signed in to change notification settings - Fork 52
/
style.css
68 lines (55 loc) · 1.07 KB
/
style.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
/*
WARNING: 不要使用格式化代码 (本文件内) / DON'T USE CODE FORMATTER HERE
*/
html {
font-size: 25px;
overflow: auto; /* 添加此行 */
}
rt {
font-size: 0.6em;
}
body, html {
margin: 0;
padding: 0;
height: 100%;
overflow: auto; /* 添加此行 */
}
a {
text-decoration: none;
}
body {
/* 背景图设置 */
background: url('{{ bg }}') no-repeat center center fixed;
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
}
.card {
background-color: rgba(255, 255, 255, {{ alpha }});
border-radius: 30px;
padding: 50px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
text-align: center;
}
.container {
display: flex;
flex-direction: column;
justify-content: space-between;
}
@media (max-width: 675px) {
body {
display: unset;
}
}
/* 以下为各种状态的颜色 */
.sleeping {
color: gray;
}
.awake {
color: rgb(16, 128, 0);
}
.error {
color: red;
}
/* 不建议删除上面的 .sleeping .awake .error 三个默认颜色 */