Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -194,36 +194,22 @@ COLOR = "#F1F1F1"
|
|
| 194 |
|
| 195 |
st.markdown(f"""
|
| 196 |
<style>
|
| 197 |
-
/*
|
| 198 |
header[data-testid="stHeader"],
|
| 199 |
[data-testid="stAppViewContainer"],
|
| 200 |
main, section.main {{ background: transparent !important; }}
|
| 201 |
|
| 202 |
-
/*
|
| 203 |
.stApp::before, .stApp::after,
|
| 204 |
.block-container::before, .block-container::after {{ content:none !important; }}
|
| 205 |
|
| 206 |
-
/* μ€μ 컬λΌλ§ λ¨μ
|
| 207 |
-
|
| 208 |
-
section.main div[data-testid="block-container"] {{
|
| 209 |
position: relative;
|
| 210 |
min-height: 100vh;
|
| 211 |
background: {COLOR} !important;
|
| 212 |
}}
|
| 213 |
-
|
| 214 |
-
/* λ΄λΆ λνΌλ€λ μ»¬λ¬ ν΅μΌ β κ²½κ³/λκΉ μ κ±° */
|
| 215 |
-
section.main .block-container [data-testid="stVerticalBlock"],
|
| 216 |
-
section.main .block-container [data-testid="stHorizontalBlock"],
|
| 217 |
-
section.main .block-container [data-testid="stForm"],
|
| 218 |
-
section.main .block-container [data-testid="stMarkdownContainer"],
|
| 219 |
-
section.main div[data-testid="block-container"] [data-testid="stVerticalBlock"],
|
| 220 |
-
section.main div[data-testid="block-container"] [data-testid="stHorizontalBlock"],
|
| 221 |
-
section.main div[data-testid="block-container"] [data-testid="stForm"],
|
| 222 |
-
section.main div[data-testid="block-container"] [data-testid="stMarkdownContainer"] {{
|
| 223 |
-
background: {COLOR} !important;
|
| 224 |
-
box-shadow: none !important;
|
| 225 |
-
border: 0 !important;
|
| 226 |
-
}}
|
| 227 |
</style>
|
| 228 |
""", unsafe_allow_html=True)
|
| 229 |
|
|
|
|
| 194 |
|
| 195 |
st.markdown(f"""
|
| 196 |
<style>
|
| 197 |
+
/* μλ¨Β·λ°°κ²½ ν¬λͺ
μ²λ¦¬ */
|
| 198 |
header[data-testid="stHeader"],
|
| 199 |
[data-testid="stAppViewContainer"],
|
| 200 |
main, section.main {{ background: transparent !important; }}
|
| 201 |
|
| 202 |
+
/* λ¨μμμ μ μλ λ μ΄μ΄ μ κ±° */
|
| 203 |
.stApp::before, .stApp::after,
|
| 204 |
.block-container::before, .block-container::after {{ content:none !important; }}
|
| 205 |
|
| 206 |
+
/* μ€μ 컬λΌμλ§ λ¨μ λ°°κ²½ */
|
| 207 |
+
.block-container {{
|
|
|
|
| 208 |
position: relative;
|
| 209 |
min-height: 100vh;
|
| 210 |
background: {COLOR} !important;
|
| 211 |
}}
|
| 212 |
+
.block-container > * {{ position: relative; z-index: 1; }}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 213 |
</style>
|
| 214 |
""", unsafe_allow_html=True)
|
| 215 |
|