Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
|
@@ -1,28 +1,75 @@
|
|
| 1 |
body {
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
margin-bottom: 10px;
|
| 15 |
-
margin-top: 5px;
|
| 16 |
}
|
| 17 |
|
| 18 |
-
.
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
padding: 16px;
|
| 22 |
-
border: 1px solid lightgray;
|
| 23 |
-
border-radius: 16px;
|
| 24 |
}
|
| 25 |
|
| 26 |
-
.
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
}
|