waveshaker commited on
Commit
f7f34ca
·
verified ·
1 Parent(s): 5cd362f

Create style.css

Browse files
Files changed (1) hide show
  1. demos/demo1/style.css +33 -0
demos/demo1/style.css ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Demo 1 专属样式 */
2
+ body {
3
+ background: #f0fdf4; /* 浅绿色背景,与其他 Demo 区分 */
4
+ padding: 40px;
5
+ font-family: sans-serif;
6
+ }
7
+ .demo1-card {
8
+ background: white;
9
+ padding: 30px;
10
+ border-radius: 8px;
11
+ box-shadow: 0 4px 6px rgba(0,0,0,0.05);
12
+ max-width: 600px;
13
+ margin: 0 auto;
14
+ }
15
+ .btn {
16
+ background: #22c55e;
17
+ color: white;
18
+ border: none;
19
+ padding: 10px 20px;
20
+ border-radius: 5px;
21
+ cursor: pointer;
22
+ font-size: 16px;
23
+ }
24
+ .btn:hover { background: #16a34a; }
25
+ #result-box {
26
+ margin-top: 20px;
27
+ padding: 15px;
28
+ background: #1e293b;
29
+ color: #38bdf8;
30
+ border-radius: 5px;
31
+ min-height: 50px;
32
+ white-space: pre-wrap;
33
+ }