Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
@@ -1,28 +1,46 @@
|
|
1 |
body {
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
}
|
5 |
|
6 |
h1 {
|
7 |
-
|
8 |
-
margin-top: 0;
|
9 |
}
|
10 |
|
11 |
-
p {
|
12 |
-
|
13 |
-
font-size: 15px;
|
14 |
-
margin-bottom: 10px;
|
15 |
-
margin-top: 5px;
|
16 |
}
|
17 |
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
|
|
|
|
|
|
24 |
}
|
25 |
|
26 |
-
|
27 |
-
|
28 |
}
|
|
|
1 |
body {
|
2 |
+
font-family: Arial, sans-serif;
|
3 |
+
background-color: #f4f4f4;
|
4 |
+
margin: 0;
|
5 |
+
padding: 0;
|
6 |
+
}
|
7 |
+
|
8 |
+
.container {
|
9 |
+
max-width: 800px;
|
10 |
+
margin: 50px auto;
|
11 |
+
padding: 20px;
|
12 |
+
background: white;
|
13 |
+
border-radius: 10px;
|
14 |
+
box-shadow: 0 0 10px rgba(0,0,0,0.1);
|
15 |
+
}
|
16 |
+
|
17 |
+
.page {
|
18 |
+
display: none; /* 隐藏所有页面 */
|
19 |
+
}
|
20 |
+
|
21 |
+
.page.active {
|
22 |
+
display: block; /* 仅显示活动页面 */
|
23 |
}
|
24 |
|
25 |
h1 {
|
26 |
+
color: #333;
|
|
|
27 |
}
|
28 |
|
29 |
+
p, ul, ol {
|
30 |
+
line-height: 1.6;
|
|
|
|
|
|
|
31 |
}
|
32 |
|
33 |
+
button {
|
34 |
+
margin-top: 20px;
|
35 |
+
padding: 10px 15px;
|
36 |
+
border: none;
|
37 |
+
background-color: #5cb85c;
|
38 |
+
color: white;
|
39 |
+
cursor: pointer;
|
40 |
+
border-radius: 5px;
|
41 |
+
font-size: 16px;
|
42 |
}
|
43 |
|
44 |
+
button:hover {
|
45 |
+
background-color: #4cae4c;
|
46 |
}
|