Spaces:
Runtime error
Runtime error
Create style.css
Browse files
style.css
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
body {
|
| 2 |
+
font-family: 'Segoe UI', sans-serif;
|
| 3 |
+
background-color: #888888; /* Changed to grey background */
|
| 4 |
+
color: #cccccc; /* Changed text color to grey tone */
|
| 5 |
+
margin: 0;
|
| 6 |
+
padding: 20px;
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
.container {
|
| 10 |
+
max-width: 800px;
|
| 11 |
+
background: #000; /* Changed to black */
|
| 12 |
+
margin: 20px auto;
|
| 13 |
+
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
|
| 14 |
+
padding: 20px;
|
| 15 |
+
border-radius: 8px;
|
| 16 |
+
border: 2px solid #007bff; /* Added blue border */
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
h1, h2, h3, h4 {
|
| 20 |
+
color: #cccccc; /* Changed heading color to grey tone */
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
.markdown {
|
| 24 |
+
line-height: 1.6;
|
| 25 |
+
color: #cccccc; /* Ensured markdown text is also grey tone */
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
/* Styles for Gradio interface elements */
|
| 29 |
+
.audio, .image, .textbox, .button {
|
| 30 |
+
margin-bottom: 20px;
|
| 31 |
+
background: #000; /* Background black for inputs and outputs */
|
| 32 |
+
border: 1px solid #007bff; /* Blue border for inputs and outputs */
|
| 33 |
+
color: #cccccc; /* Grey tone text for inputs and outputs */
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
/* Modified input boxes, buttons, and outputs for better visibility */
|
| 37 |
+
.audio input, .textbox input, .button, .gradio-output {
|
| 38 |
+
width: 100%;
|
| 39 |
+
padding: 10px;
|
| 40 |
+
margin-top: 5px;
|
| 41 |
+
box-sizing: border-box;
|
| 42 |
+
border-radius: 5px;
|
| 43 |
+
border: 1px solid #007bff; /* Blue border */
|
| 44 |
+
background: #000; /* Background black */
|
| 45 |
+
color: #cccccc; /* Text grey tone */
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
.button {
|
| 49 |
+
background-color: #0056b3;
|
| 50 |
+
color: white;
|
| 51 |
+
cursor: pointer;
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
.button:hover {
|
| 55 |
+
background-color: #003d82;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
/* Aligning visual elements (waveform, spectrogram) horizontally */
|
| 59 |
+
.gr-row > div {
|
| 60 |
+
flex: 1;
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
/* Specific styles for images to ensure they are visible */
|
| 64 |
+
.image img {
|
| 65 |
+
max-width: 100%;
|
| 66 |
+
height: auto;
|
| 67 |
+
display: block;
|
| 68 |
+
margin: auto;
|
| 69 |
+
border-radius: 5px;
|
| 70 |
+
}
|