Spaces:
Running
Running
File size: 2,078 Bytes
6e4c2c6 dd1b723 6e4c2c6 dd1b723 6e4c2c6 dd1b723 6e4c2c6 ab9f226 6e4c2c6 ab9f226 6e4c2c6 dd1b723 6e4c2c6 dd1b723 6e4c2c6 dd1b723 6e4c2c6 ab9f226 6e4c2c6 ab9f226 6e4c2c6 ab9f226 dd1b723 6e4c2c6 dd1b723 6e4c2c6 dd1b723 6e4c2c6 dd1b723 6e4c2c6 dd1b723 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 | /* style.css */
* {
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #f7f9fc;
color: #333;
line-height: 1.6;
margin: 0;
padding: 0;
}
.container {
max-width: 900px;
margin: 2rem auto;
padding: 2rem;
background-color: white;
border-radius: 12px;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
h1 {
text-align: center;
color: #2c3e50;
margin-bottom: 1rem;
}
p {
text-align: center;
color: #7f8c8d;
margin-bottom: 2rem;
}
.input-section,
.options-section,
.player-section,
.output-section {
margin-bottom: 1.8rem;
}
label {
display: block;
margin-bottom: 0.6rem;
font-weight: 600;
color: #2c3e50;
}
#audioInput {
width: 100%;
padding: 0.6rem;
border: 1px solid #bdc3c7;
border-radius: 8px;
font-size: 1rem;
}
#useSample {
margin-top: 0.8rem;
padding: 0.6rem 1rem;
background-color: #3498db;
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
font-size: 0.95rem;
transition: background-color 0.2s;
}
#useSample:hover {
background-color: #2980b9;
}
.options {
display: flex;
gap: 1rem;
flex-wrap: wrap;
}
.options label {
font-weight: normal;
display: flex;
align-items: center;
font-size: 0.95rem;
}
.player-section audio {
width: 100%;
}
#status {
margin-bottom: 1rem;
padding: 0.8rem;
background-color: #f1f1f1;
border-radius: 8px;
font-size: 0.95rem;
color: #555;
text-align: center;
}
.output-section h2 {
margin-bottom: 0.8rem;
color: #2c3e50;
font-size: 1.2rem;
}
#output {
background-color: #2c3e50;
color: #ecf0f1;
padding: 1.2rem;
border-radius: 8px;
font-family: 'Courier New', Courier, monospace;
font-size: 0.9rem;
max-height: 400px;
overflow-y: auto;
white-space: pre-wrap;
}
/* Responsive */
@media (max-width: 600px) {
.container {
padding: 1.2rem;
margin: 1rem;
border-radius: 8px;
}
h1 {
font-size: 1.5rem;
}
.options {
flex-direction: column;
gap: 0.5rem;
}
#useSample {
font-size: 0.9rem;
}
} |