Spaces:
Sleeping
Sleeping
Commit
·
3c8b728
1
Parent(s):
0474f44
modified the .gitignore file and added mobile responsiveness
Browse files- .gitignore +5 -1
- static/styles.css +86 -0
.gitignore
CHANGED
@@ -1,3 +1,7 @@
|
|
1 |
__pycache__
|
2 |
Fake
|
3 |
-
Real
|
|
|
|
|
|
|
|
|
|
1 |
__pycache__
|
2 |
Fake
|
3 |
+
Real
|
4 |
+
.vercel
|
5 |
+
vercel.json
|
6 |
+
.vercel
|
7 |
+
temp_audio.wav
|
static/styles.css
CHANGED
@@ -119,3 +119,89 @@ ul {
|
|
119 |
list-style-type: none;
|
120 |
padding-left: 0; /* Optional: removes default left padding */
|
121 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
list-style-type: none;
|
120 |
padding-left: 0; /* Optional: removes default left padding */
|
121 |
}
|
122 |
+
|
123 |
+
/* Mobile Responsive Styles */
|
124 |
+
@media (max-width: 768px) {
|
125 |
+
/* Container adjustments for smaller screens */
|
126 |
+
.container {
|
127 |
+
width: 90%;
|
128 |
+
height: auto;
|
129 |
+
padding: 15px;
|
130 |
+
}
|
131 |
+
|
132 |
+
/* Title font size for better readability */
|
133 |
+
.title {
|
134 |
+
font-size: 1.5em;
|
135 |
+
}
|
136 |
+
|
137 |
+
/* Form layout adjustments */
|
138 |
+
.upload-form {
|
139 |
+
gap: 0.75rem;
|
140 |
+
}
|
141 |
+
|
142 |
+
.file-label {
|
143 |
+
font-size: 1em;
|
144 |
+
}
|
145 |
+
|
146 |
+
.file-input {
|
147 |
+
padding: 6px;
|
148 |
+
font-size: 0.9em;
|
149 |
+
}
|
150 |
+
|
151 |
+
/* Button adjustments */
|
152 |
+
.submit-button,
|
153 |
+
.return-button {
|
154 |
+
padding: 8px 16px;
|
155 |
+
font-size: 0.9em;
|
156 |
+
}
|
157 |
+
|
158 |
+
/* Results section adjustments */
|
159 |
+
.result-section {
|
160 |
+
padding: 1rem;
|
161 |
+
}
|
162 |
+
|
163 |
+
.result-title {
|
164 |
+
font-size: 1.3em;
|
165 |
+
}
|
166 |
+
|
167 |
+
.result-text {
|
168 |
+
font-size: 1em;
|
169 |
+
}
|
170 |
+
|
171 |
+
.result-image {
|
172 |
+
max-width: 90%;
|
173 |
+
}
|
174 |
+
|
175 |
+
/* Fake Frame Intervals list spacing */
|
176 |
+
.intervals-list ul {
|
177 |
+
padding-left: 10px; /* Adds a bit of space to the left */
|
178 |
+
}
|
179 |
+
|
180 |
+
/* Plot container adjustments */
|
181 |
+
.plot-container {
|
182 |
+
overflow-x: auto; /* Allows horizontal scrolling if plot exceeds screen width */
|
183 |
+
}
|
184 |
+
}
|
185 |
+
|
186 |
+
/* Extra Small Screens (Phones) */
|
187 |
+
@media (max-width: 480px) {
|
188 |
+
.title {
|
189 |
+
font-size: 1.3em;
|
190 |
+
}
|
191 |
+
|
192 |
+
.file-label,
|
193 |
+
.result-text {
|
194 |
+
font-size: 0.9em;
|
195 |
+
}
|
196 |
+
|
197 |
+
.file-input {
|
198 |
+
padding: 5px;
|
199 |
+
font-size: 0.8em;
|
200 |
+
}
|
201 |
+
|
202 |
+
.submit-button,
|
203 |
+
.return-button {
|
204 |
+
padding: 6px 12px;
|
205 |
+
font-size: 0.8em;
|
206 |
+
}
|
207 |
+
}
|