-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
80 lines (68 loc) · 1.21 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
69
70
71
72
73
74
75
76
77
78
79
80
body {
font-family: "Arial", sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
background-color: #f5f5f7;
color: #333;
}
header {
text-align: center;
padding: 20px;
background-color: #6f42c1; /* 主题色 */
color: white;
}
h1 {
margin: 0;
font-size: 2.5rem;
}
h2 {
color: #6f42c1; /* 主题色 */
margin-top: 20px;
}
section {
margin: 20px auto;
padding: 20px;
max-width: 800px;
background: white;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
ul {
list-style-type: none;
padding: 0;
}
li {
margin: 10px 0;
}
blockquote {
border-left: 4px solid #6f42c1; /* 主题色 */
padding-left: 20px;
margin: 20px 0;
font-style: italic;
}
footer {
text-align: center;
padding: 20px;
background-color: #6f42c1; /* 主题色 */
color: white;
border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-content {
max-width: 800px; /* 限制最大宽度 */
margin: 0 auto; /* 居中 */
}
footer a {
color: white; /* 链接颜色 */
text-decoration: none;
transition: color 0.3s;
}
footer a:hover {
color: #f5f5f7; /* 悬停时的颜色 */
}
video {
display: block;
margin: 20px auto; /* 居中视频 */
border-radius: 8px;
max-width: 80%;
}