Spaces:
Sleeping
Sleeping
Create style.css
Browse files
style.css
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Style for the main interface */
|
| 2 |
+
body {
|
| 3 |
+
background-color: #f4f4f9;
|
| 4 |
+
font-family: 'Arial', sans-serif;
|
| 5 |
+
margin: 0;
|
| 6 |
+
padding: 0;
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
/* Header customization */
|
| 10 |
+
h1, h2, h3 {
|
| 11 |
+
text-align: center;
|
| 12 |
+
color: #333;
|
| 13 |
+
margin-bottom: 10px;
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
/* Gradio interface styling */
|
| 17 |
+
.gradio-container {
|
| 18 |
+
background-color: #ffffff;
|
| 19 |
+
border-radius: 15px;
|
| 20 |
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
| 21 |
+
padding: 20px;
|
| 22 |
+
max-width: 600px;
|
| 23 |
+
margin: auto;
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
/* Button styling */
|
| 27 |
+
button {
|
| 28 |
+
background-color: #007BFF;
|
| 29 |
+
color: white;
|
| 30 |
+
border: none;
|
| 31 |
+
border-radius: 5px;
|
| 32 |
+
padding: 10px 15px;
|
| 33 |
+
font-size: 16px;
|
| 34 |
+
cursor: pointer;
|
| 35 |
+
transition: background-color 0.3s ease;
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
button:hover {
|
| 39 |
+
background-color: #0056b3;
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
/* File input styling */
|
| 43 |
+
input[type="file"] {
|
| 44 |
+
display: block;
|
| 45 |
+
margin: 10px auto;
|
| 46 |
+
font-size: 16px;
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
/* Link styling */
|
| 50 |
+
a {
|
| 51 |
+
color: #007BFF;
|
| 52 |
+
text-decoration: none;
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
a:hover {
|
| 56 |
+
text-decoration: underline;
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
/* Output container */
|
| 60 |
+
.gradio-output {
|
| 61 |
+
margin-top: 20px;
|
| 62 |
+
padding: 10px;
|
| 63 |
+
border: 1px solid #ddd;
|
| 64 |
+
border-radius: 10px;
|
| 65 |
+
}
|