Spaces:
Sleeping
Sleeping
Jonas Wiesli
commited on
Commit
·
4320378
1
Parent(s):
432c83d
added bg image
Browse files- app.py +3 -2
- img/bg.png +0 -0
- style.css +3 -0
app.py
CHANGED
|
@@ -8,8 +8,9 @@ theme = gr.themes.Monochrome(
|
|
| 8 |
text_size="lg"
|
| 9 |
)
|
| 10 |
css = "@import url(https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&display=swap);#component-3," \
|
| 11 |
-
"#component-4{margin-bottom:10px}.gradio-container{" \
|
| 12 |
-
"background-color:#cda678;font-family
|
|
|
|
| 13 |
"margin-top:auto}.tabs.svelte-btpldm{height:100%}.tabitem{background-color:#002366;border:1px solid " \
|
| 14 |
"#fff}#component-17,#component-25,#component-33,#component-41,#component-9{" \
|
| 15 |
"min-height:650px;max-height:650px}.secondary.svelte-58yet2{" \
|
|
|
|
| 8 |
text_size="lg"
|
| 9 |
)
|
| 10 |
css = "@import url(https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&display=swap);#component-3," \
|
| 11 |
+
"#component-4{margin-bottom:10px}.gradio-container{background-image:url(" \
|
| 12 |
+
"\"file/bg.png\");background-size:contain;background-position:top;background-color:#cda678;font-family" \
|
| 13 |
+
":Silkscreen;position:relative}#component-4{" \
|
| 14 |
"margin-top:auto}.tabs.svelte-btpldm{height:100%}.tabitem{background-color:#002366;border:1px solid " \
|
| 15 |
"#fff}#component-17,#component-25,#component-33,#component-41,#component-9{" \
|
| 16 |
"min-height:650px;max-height:650px}.secondary.svelte-58yet2{" \
|
img/bg.png
ADDED
|
style.css
CHANGED
|
@@ -1,6 +1,9 @@
|
|
| 1 |
@import url('https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&display=swap');
|
| 2 |
|
| 3 |
.gradio-container {
|
|
|
|
|
|
|
|
|
|
| 4 |
background-color: #cda678;
|
| 5 |
font-family: "Silkscreen";
|
| 6 |
position: relative;
|
|
|
|
| 1 |
@import url('https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&display=swap');
|
| 2 |
|
| 3 |
.gradio-container {
|
| 4 |
+
background-image: url(\"file/bg.png\");
|
| 5 |
+
background-size: contain;
|
| 6 |
+
background-position: top;
|
| 7 |
background-color: #cda678;
|
| 8 |
font-family: "Silkscreen";
|
| 9 |
position: relative;
|