-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.css
More file actions
73 lines (63 loc) · 1.25 KB
/
404.css
File metadata and controls
73 lines (63 loc) · 1.25 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: '微软雅黑', sans-serif;
transition: background-color 0.3s, color 0.3s;
}
body {
background-color: #f0f0f0;
color: #333;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
text-align: center;
}
.container {
background-color: white;
padding: 2rem;
border-radius: 10px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
margin: 1rem;
}
.error-img {
max-width: 300px;
margin-bottom: 1.5rem;
}
.error-title {
font-size: 2.5rem;
margin-bottom: 0.5rem;
}
.error-text {
font-size: 1.2rem;
color: #666;
margin-bottom: 1.5rem;
}
.back-btn {
display: inline-block;
padding: 0.8rem 2rem;
background-color: #4CAF50;
color: white;
text-decoration: none;
border-radius: 5px;
font-size: 1.1rem;
transition: background-color 0.3s;
}
.back-btn:hover {
background-color: #45a049;
}
/* 深色模式样式 */
@media (prefers-color-scheme: dark) {
body {
background-color: #1a1a1a;
color: #f0f0f0;
}
.container {
background-color: #2a2a2a;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}
.error-text {
color: #ccc;
}
}