Doubleupai commited on
Commit
457772d
1 Parent(s): 41c804f

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +65 -18
style.css CHANGED
@@ -1,28 +1,75 @@
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
+ display: flex;
7
+ justify-content: center;
8
+ align-items: center;
9
+ height: 100vh;
10
  }
11
 
12
+ .container {
13
+ background-color: #fff;
14
+ border-radius: 8px;
15
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
16
+ width: 80%;
17
+ max-width: 1200px;
18
+ padding: 20px;
19
+ text-align: center;
20
  }
21
 
22
+ h1, h2 {
23
+ color: #333;
24
+ margin-bottom: 20px;
 
 
25
  }
26
 
27
+ .keys {
28
+ display: flex;
29
+ justify-content: center;
 
 
 
30
  }
31
 
32
+ .key {
33
+ width: 50px;
34
+ height: 200px;
35
+ background-color: #fff;
36
+ border: 1px solid #000;
37
+ margin: 0 2px;
38
+ cursor: pointer;
39
+ transition: background-color 0.1s ease;
40
  }
41
+
42
+ .key:hover {
43
+ background-color: #ddd;
44
+ }
45
+
46
+ .key.black {
47
+ width: 30px;
48
+ height: 120px;
49
+ background-color: #000;
50
+ margin: 0 -15px;
51
+ z-index: 1;
52
+ }
53
+
54
+ button {
55
+ padding: 10px 20px;
56
+ background-color: #007BFF;
57
+ color: #fff;
58
+ border: none;
59
+ border-radius: 4px;
60
+ cursor: pointer;
61
+ transition: background-color 0.3s ease;
62
+ margin: 5px;
63
+ }
64
+
65
+ button:hover {
66
+ background-color: #0056b3;
67
+ }
68
+
69
+ .recorder button, .file-audio button {
70
+ background-color: #dc3545;
71
+ }
72
+
73
+ .recorder button:hover, .file-audio button:hover {
74
+ background-color: #c82333;
75
+ }