Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -194,24 +194,24 @@ 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 |
section.main .block-container,
|
| 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"],
|
|
@@ -219,19 +219,11 @@ 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 |
-
|
| 228 |
-
/* ์
๋ ฅ์ฐฝ ๋ํผ๋ ํค ๋จ์ ๋ฐฉ์ง์ฉ ํฌ๋ช
์ฒ๋ฆฌ(์ฑํ
/์ผ๋ฐ ๋ ๋ค) */
|
| 229 |
-
div[data-testid="stChatInput"],
|
| 230 |
-
div[data-testid="stTextInput"] {
|
| 231 |
-
background: transparent !important;
|
| 232 |
-
box-shadow: none !important;
|
| 233 |
-
border: 0 !important;
|
| 234 |
-
}
|
| 235 |
</style>
|
| 236 |
""", unsafe_allow_html=True)
|
| 237 |
|
|
|
|
| 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 |
+
/* ์ค์ ์ปฌ๋ผ๋ง ๋จ์ (๋ ์
๋ ํฐ ๋ชจ๋ ๋์: class / data-testid) */
|
| 207 |
section.main .block-container,
|
| 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"],
|
|
|
|
| 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 |
|