Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -192,9 +192,6 @@ BG_URL = "https://plus.unsplash.com/premium_photo-1679830513869-cd3648acb1db?q=8
|
|
| 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;
|
|
@@ -204,7 +201,7 @@ st.markdown(f"""
|
|
| 204 |
content: "";
|
| 205 |
position: absolute; inset: 0; /* 컬럼 영역에만 덮기 */
|
| 206 |
background: url('{BG_URL}') center / cover no-repeat;
|
| 207 |
-
opacity: .
|
| 208 |
pointer-events: none;
|
| 209 |
border-radius: 0px; /* 모서리 둥글게(원하면 제거) */
|
| 210 |
z-index: 0;
|
|
|
|
| 192 |
|
| 193 |
st.markdown(f"""
|
| 194 |
<style>
|
|
|
|
|
|
|
|
|
|
| 195 |
/* 1) 가운데 컬럼(.block-container)만 배경 사용 */
|
| 196 |
.block-container {{
|
| 197 |
position: relative;
|
|
|
|
| 201 |
content: "";
|
| 202 |
position: absolute; inset: 0; /* 컬럼 영역에만 덮기 */
|
| 203 |
background: url('{BG_URL}') center / cover no-repeat;
|
| 204 |
+
opacity: .2; /* 투명도 80% */
|
| 205 |
pointer-events: none;
|
| 206 |
border-radius: 0px; /* 모서리 둥글게(원하면 제거) */
|
| 207 |
z-index: 0;
|