shadowkinga commited on
Commit
a8b6aad
·
verified ·
1 Parent(s): 0ecd61a

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +35 -17
style.css CHANGED
@@ -1,28 +1,46 @@
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  }
5
 
6
  h1 {
7
- font-size: 16px;
8
- margin-top: 0;
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
 
 
 
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
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
  }