Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -192,14 +192,20 @@ BG_URL = "https://plus.unsplash.com/premium_photo-1679830513869-cd3648acb1db?q=8
|
|
| 192 |
|
| 193 |
st.markdown(f"""
|
| 194 |
<style>
|
|
|
|
|
|
|
|
|
|
| 195 |
/* 1) ๊ฐ์ด๋ฐ ์ปฌ๋ผ(.block-container)๋ง ๋ฐฐ๊ฒฝ ์ฌ์ฉ */
|
| 196 |
.block-container {{
|
| 197 |
position: relative;
|
| 198 |
min-height: 100vh; /* ํ๋ฉด ๋์ด ๋งํผ๋ง(=๋นจ๊ฐ ๋ฐ์ค ๋์ด ๋๋) */
|
|
|
|
| 199 |
}}
|
| 200 |
.block-container::before {{
|
| 201 |
content: "";
|
| 202 |
-
position: absolute;
|
|
|
|
|
|
|
| 203 |
background: url('{BG_URL}') center / cover no-repeat;
|
| 204 |
background-position: center 45%;
|
| 205 |
opacity: .15; /* ํฌ๋ช
๋ 80% */
|
|
|
|
| 192 |
|
| 193 |
st.markdown(f"""
|
| 194 |
<style>
|
| 195 |
+
/* 0) ํน์ ๋จ์ ์๋ ์ ์ญ ๋ฐฐ๊ฒฝ์ด ์์ผ๋ฉด ๋๋๋ค (์ค๋ณต/๊ฒน์นจ ๋ฐฉ์ง) */
|
| 196 |
+
.stApp::before { content: none !important; } /* โฌ
๏ธ ์ถ๊ฐ */
|
| 197 |
+
|
| 198 |
/* 1) ๊ฐ์ด๋ฐ ์ปฌ๋ผ(.block-container)๋ง ๋ฐฐ๊ฒฝ ์ฌ์ฉ */
|
| 199 |
.block-container {{
|
| 200 |
position: relative;
|
| 201 |
min-height: 100vh; /* ํ๋ฉด ๋์ด ๋งํผ๋ง(=๋นจ๊ฐ ๋ฐ์ค ๋์ด ๋๋) */
|
| 202 |
+
overflow: visible !important; /* โฌ
๏ธ ์ถ๊ฐ: ์๋ฆผ ๋ฐฉ์ง */
|
| 203 |
}}
|
| 204 |
.block-container::before {{
|
| 205 |
content: "";
|
| 206 |
+
position: absolute;
|
| 207 |
+
/* โฌ๏ธ ๋ค์ ํ ์ค์ด ํต์ฌ: ๋์ด ์ ํ ์์ด ๋ค ๋ณ์ 0์ผ๋ก ๋ถ์ฌ ์ ์ฒด๋ฅผ ๋ฎ์ต๋๋ค */
|
| 208 |
+
inset: 0; /* top:0;right:0;bottom:0;left:0;์ ๋์ผ */
|
| 209 |
background: url('{BG_URL}') center / cover no-repeat;
|
| 210 |
background-position: center 45%;
|
| 211 |
opacity: .15; /* ํฌ๋ช
๋ 80% */
|