Spaces:
Running
Running
ChenyuRabbitLove
commited on
Commit
•
a141d03
1
Parent(s):
ddb8489
fix: change bg image to body_background_fill
Browse files- css/style.css +1 -1
- theme.py +2 -0
css/style.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
.gradio-container {
|
2 |
-
background: url('file=medias/bg_clear.png')
|
3 |
background-size: cover;
|
4 |
background-position: center center;
|
5 |
background-repeat: no-repeat;
|
|
|
1 |
.gradio-container {
|
2 |
+
background: url('file=medias/bg_clear.png');
|
3 |
background-size: cover;
|
4 |
background-position: center center;
|
5 |
background-repeat: no-repeat;
|
theme.py
CHANGED
@@ -33,6 +33,8 @@ class Seafoam(Base):
|
|
33 |
font_mono=font_mono,
|
34 |
)
|
35 |
super().set(
|
|
|
|
|
36 |
body_text_color_dark="#333",
|
37 |
background_fill_primary_dark="rgba(255, 255, 255, 1)",
|
38 |
background_fill_secondary_dark="rgba(255, 255, 255, 0)",
|
|
|
33 |
font_mono=font_mono,
|
34 |
)
|
35 |
super().set(
|
36 |
+
body_background_fill="url('file=medias/bg_clear.png') no-repeat center center / cover",
|
37 |
+
body_background_fill_dark="url('file=medias/bg_clear.png') no-repeat center center / cover",
|
38 |
body_text_color_dark="#333",
|
39 |
background_fill_primary_dark="rgba(255, 255, 255, 1)",
|
40 |
background_fill_secondary_dark="rgba(255, 255, 255, 0)",
|