waveshaker commited on
Commit
fb3aaa3
·
verified ·
1 Parent(s): 1b87469

Create style.css

Browse files
Files changed (1) hide show
  1. demos/demo2/style.css +40 -0
demos/demo2/style.css ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Demo 2 专属样式 */
2
+ body {
3
+ background: #fef2f2; /* 浅红色背景 */
4
+ padding: 40px;
5
+ font-family: sans-serif;
6
+ }
7
+ .demo2-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
+ .grid-layout {
16
+ display: flex;
17
+ gap: 10px;
18
+ margin-bottom: 20px;
19
+ }
20
+ input[type="text"] {
21
+ flex-grow: 1;
22
+ padding: 10px;
23
+ border: 1px solid #ccc;
24
+ border-radius: 5px;
25
+ }
26
+ .btn-dark {
27
+ background: #1e293b;
28
+ color: white;
29
+ border: none;
30
+ padding: 10px 20px;
31
+ border-radius: 5px;
32
+ cursor: pointer;
33
+ }
34
+ .btn-dark:hover { background: #0f172a; }
35
+ #output-display {
36
+ padding: 15px;
37
+ background: #f1f5f9;
38
+ border-left: 4px solid #1e293b;
39
+ border-radius: 4px;
40
+ }