code-slicer commited on
Commit
754628e
Β·
verified Β·
1 Parent(s): ab5c834

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -19
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
- /* 쀑앙 컬럼만 단색 (두 μ…€λ ‰ν„° λͺ¨λ‘ λŒ€μ‘: 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"],
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