Spaces:
Sleeping
Sleeping
changed styles
Browse files
app.py
CHANGED
@@ -55,28 +55,29 @@ examples = [
|
|
55 |
css = """
|
56 |
body {
|
57 |
font-family: Arial, sans-serif;
|
58 |
-
background-color: #
|
59 |
margin: 0;
|
60 |
padding: 0;
|
|
|
61 |
}
|
62 |
|
63 |
#col-container {
|
64 |
margin: 0 auto;
|
65 |
max-width: 640px;
|
66 |
padding: 20px;
|
67 |
-
background-color:
|
68 |
border-radius: 8px;
|
69 |
-
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.
|
70 |
}
|
71 |
|
72 |
h1 {
|
73 |
-
color: #
|
74 |
text-align: center;
|
75 |
}
|
76 |
|
77 |
button {
|
78 |
-
background-color: #
|
79 |
-
color:
|
80 |
border: none;
|
81 |
padding: 10px 20px;
|
82 |
border-radius: 5px;
|
@@ -84,16 +85,17 @@ button {
|
|
84 |
}
|
85 |
|
86 |
button:hover {
|
87 |
-
background-color: #
|
88 |
}
|
89 |
|
90 |
.slider {
|
91 |
margin: 10px 0;
|
|
|
92 |
}
|
93 |
|
94 |
.gr-image {
|
95 |
margin-top: 20px;
|
96 |
-
border: 1px solid #
|
97 |
border-radius: 5px;
|
98 |
}
|
99 |
"""
|
@@ -187,4 +189,4 @@ with gr.Blocks(css=css) as demo:
|
|
187 |
)
|
188 |
|
189 |
if __name__ == "__main__":
|
190 |
-
demo.launch()
|
|
|
55 |
css = """
|
56 |
body {
|
57 |
font-family: Arial, sans-serif;
|
58 |
+
background-color: #343536; /* Dark background */
|
59 |
margin: 0;
|
60 |
padding: 0;
|
61 |
+
color: #bdc2c7; /* Light text color */
|
62 |
}
|
63 |
|
64 |
#col-container {
|
65 |
margin: 0 auto;
|
66 |
max-width: 640px;
|
67 |
padding: 20px;
|
68 |
+
background-color: #4a4c4d; /* Slightly lighter dark for the container */
|
69 |
border-radius: 8px;
|
70 |
+
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
|
71 |
}
|
72 |
|
73 |
h1 {
|
74 |
+
color: #bdc2c7; /* Light text color for headings */
|
75 |
text-align: center;
|
76 |
}
|
77 |
|
78 |
button {
|
79 |
+
background-color: #bdc2c7; /* Light button color */
|
80 |
+
color: #343536; /* Dark text color for buttons */
|
81 |
border: none;
|
82 |
padding: 10px 20px;
|
83 |
border-radius: 5px;
|
|
|
85 |
}
|
86 |
|
87 |
button:hover {
|
88 |
+
background-color: #a3a6a8; /* Slightly darker on hover */
|
89 |
}
|
90 |
|
91 |
.slider {
|
92 |
margin: 10px 0;
|
93 |
+
background-color: #4a4c4d; /* Dark background for sliders */
|
94 |
}
|
95 |
|
96 |
.gr-image {
|
97 |
margin-top: 20px;
|
98 |
+
border: 1px solid #bdc2c7; /* Light border for images */
|
99 |
border-radius: 5px;
|
100 |
}
|
101 |
"""
|
|
|
189 |
)
|
190 |
|
191 |
if __name__ == "__main__":
|
192 |
+
demo.launch()
|