Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -194,28 +194,28 @@ COLOR = "#F1F1F1"
|
|
| 194 |
|
| 195 |
st.markdown(f"""
|
| 196 |
<style>
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
|
| 200 |
-
section.main .block-container [data-testid="stHorizontalBlock"],
|
| 201 |
-
section.main .block-container [data-testid="stForm"],
|
| 202 |
-
section.main .block-container [data-testid="stForm"] > div,
|
| 203 |
-
section.main .block-container [data-testid="stMarkdownContainer"] {{
|
| 204 |
-
background: {COLOR} !important;
|
| 205 |
-
box-shadow: none !important;
|
| 206 |
}}
|
| 207 |
|
| 208 |
-
/*
|
| 209 |
-
|
| 210 |
-
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
|
|
|
|
|
|
|
| 214 |
|
| 215 |
-
/*
|
| 216 |
-
|
| 217 |
-
|
|
|
|
|
|
|
| 218 |
}}
|
|
|
|
|
|
|
| 219 |
</style>
|
| 220 |
""", unsafe_allow_html=True)
|
| 221 |
|
|
|
|
| 194 |
|
| 195 |
st.markdown(f"""
|
| 196 |
<style>
|
| 197 |
+
html, body {{
|
| 198 |
+
height: 100%;
|
| 199 |
+
margin: 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 200 |
}}
|
| 201 |
|
| 202 |
+
/* ์๋จยท๋ฐฐ๊ฒฝ ํฌ๋ช
์ฒ๋ฆฌ */
|
| 203 |
+
header[data-testid="stHeader"],
|
| 204 |
+
[data-testid="stAppViewContainer"],
|
| 205 |
+
main, section.main {{ background: transparent !important; }}
|
| 206 |
+
|
| 207 |
+
/* ๋จ์์์ ์ ์๋ ๋ ์ด์ด ์ ๊ฑฐ */
|
| 208 |
+
.stApp::before, .stApp::after,
|
| 209 |
+
.block-container::before, .block-container::after {{ content:none !important; }}
|
| 210 |
|
| 211 |
+
/* ์ค์ ์ปฌ๋ผ์๋ง ๋จ์ ๋ฐฐ๊ฒฝ */
|
| 212 |
+
.block-container {{
|
| 213 |
+
position: relative;
|
| 214 |
+
min-height: 100%;
|
| 215 |
+
background: {COLOR} !important;
|
| 216 |
}}
|
| 217 |
+
|
| 218 |
+
.block-container > * {{ position: relative; z-index: 1; }}
|
| 219 |
</style>
|
| 220 |
""", unsafe_allow_html=True)
|
| 221 |
|