Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
|
@@ -1,24 +1,16 @@
|
|
| 1 |
-
/* --- Page background:
|
| 2 |
html, body {
|
| 3 |
background-color: rgb(40,9,109) !important;
|
| 4 |
background-image:
|
| 5 |
url('https://huggingface.co/spaces/ESCP/RX12WorkshopTemplate/resolve/main/background_top.png'),
|
| 6 |
-
url('https://huggingface.co/spaces/ESCP/RX12WorkshopTemplate/resolve/main/background_bottom.png'),
|
| 7 |
url('https://huggingface.co/spaces/ESCP/RX12WorkshopTemplate/resolve/main/background_mid.png') !important;
|
| 8 |
background-position:
|
| 9 |
top center,
|
| 10 |
-
bottom center,
|
| 11 |
top center !important;
|
| 12 |
background-repeat:
|
| 13 |
-
no-repeat,
|
| 14 |
no-repeat,
|
| 15 |
repeat-y !important;
|
| 16 |
-
background-attachment:
|
| 17 |
-
scroll,
|
| 18 |
-
fixed,
|
| 19 |
-
scroll !important;
|
| 20 |
background-size:
|
| 21 |
-
100% auto,
|
| 22 |
100% auto,
|
| 23 |
100% auto !important;
|
| 24 |
margin: 0 !important;
|
|
@@ -26,13 +18,29 @@ html, body {
|
|
| 26 |
min-height: 100vh !important;
|
| 27 |
}
|
| 28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
/* --- Main container: float over the banner --- */
|
| 30 |
.gradio-container {
|
| 31 |
max-width: 1400px !important;
|
| 32 |
width: 94vw !important;
|
| 33 |
margin: 0 auto !important;
|
| 34 |
padding-top: 220px !important;
|
| 35 |
-
padding-bottom:
|
| 36 |
background: transparent !important;
|
| 37 |
}
|
| 38 |
|
|
|
|
| 1 |
+
/* --- Page background: Top header + mid repeating --- */
|
| 2 |
html, body {
|
| 3 |
background-color: rgb(40,9,109) !important;
|
| 4 |
background-image:
|
| 5 |
url('https://huggingface.co/spaces/ESCP/RX12WorkshopTemplate/resolve/main/background_top.png'),
|
|
|
|
| 6 |
url('https://huggingface.co/spaces/ESCP/RX12WorkshopTemplate/resolve/main/background_mid.png') !important;
|
| 7 |
background-position:
|
| 8 |
top center,
|
|
|
|
| 9 |
top center !important;
|
| 10 |
background-repeat:
|
|
|
|
| 11 |
no-repeat,
|
| 12 |
repeat-y !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
background-size:
|
|
|
|
| 14 |
100% auto,
|
| 15 |
100% auto !important;
|
| 16 |
margin: 0 !important;
|
|
|
|
| 18 |
min-height: 100vh !important;
|
| 19 |
}
|
| 20 |
|
| 21 |
+
/* --- Fixed bottom banner using ::after on body --- */
|
| 22 |
+
body::after {
|
| 23 |
+
content: '' !important;
|
| 24 |
+
position: fixed !important;
|
| 25 |
+
bottom: 0 !important;
|
| 26 |
+
left: 0 !important;
|
| 27 |
+
right: 0 !important;
|
| 28 |
+
height: 130px !important;
|
| 29 |
+
background-image: url('https://huggingface.co/spaces/ESCP/RX12WorkshopTemplate/resolve/main/background_bottom.png') !important;
|
| 30 |
+
background-size: 100% 100% !important;
|
| 31 |
+
background-repeat: no-repeat !important;
|
| 32 |
+
background-position: bottom center !important;
|
| 33 |
+
pointer-events: none !important;
|
| 34 |
+
z-index: 9999 !important;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
/* --- Main container: float over the banner --- */
|
| 38 |
.gradio-container {
|
| 39 |
max-width: 1400px !important;
|
| 40 |
width: 94vw !important;
|
| 41 |
margin: 0 auto !important;
|
| 42 |
padding-top: 220px !important;
|
| 43 |
+
padding-bottom: 150px !important; /* Space for bottom banner */
|
| 44 |
background: transparent !important;
|
| 45 |
}
|
| 46 |
|