streamlit / src /style.css
kbg05204's picture
Upload src/style.css with huggingface_hub
f114b56 verified
/* 1. ํฐํŠธ ๋ฐ ๊ธฐ๋ณธ ๋ฐฐ๊ฒฝ ์„ค์ • */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700&family=Rajdhani:wght@500;600;700&display=swap');
html, body, [data-testid="stAppViewContainer"] {
background-color: #FFFFFF !important;
font-family: 'Noto Sans KR', sans-serif !important;
color: #333333 !important;
}
/* 2. ํ—ค๋” ํƒ€์ดํ‹€ ์ปจํ…Œ์ด๋„ˆ */
.title-container {
line-height: 1.2;
}
.main-title {
font-size: 2.2rem !important;
font-weight: 700 !important;
color: #FFFFFF !important;
}
.sub-title {
font-size: 1.0rem !important;
color: #E0E0E0 !important;
}
/* 3. ์ž…๋ ฅ์ฐฝ ์ปจํ…Œ์ด๋„ˆ */
[data-testid="stVerticalBlockBorderWrapper"] {
background: #F8F9FA !important;
border: 1px solid #E0E0E0 !important;
border-radius: 12px !important;
padding: 20px !important;
margin-bottom: 14px !important;
}
/* 4. ๋ฒ„ํŠผ ์Šคํƒ€์ผ ์ˆ˜์ • (๋ฐฐ๊ฒฝ: ํฐ์ƒ‰ / ๊ธ€์ž: ๊ฒ€์ • / ํ…Œ๋‘๋ฆฌ: KT ๋ ˆ๋“œ) */
div.stButton {
text-align: center !important;
margin-top: 10px;
}
[data-testid="stButton"] > button {
background: #FFFFFF !important; /* ๋ฐฐ๊ฒฝ ํฐ์ƒ‰ */
color: #000000 !important; /* ๊ธ€์ž ๊ฒ€์ • */
border: 2px solid #E3000B !important; /* ํ…Œ๋‘๋ฆฌ KT ๋ ˆ๋“œ */
border-radius: 8px !important;
font-family: 'Noto Sans KR', sans-serif !important;
font-weight: 600 !important;
font-size: 1.1rem !important;
padding: 10px 40px !important;
transition: all 0.2s ease-in-out !important;
width: auto !important;
min-width: 200px;
}
/* ๋ฒ„ํŠผ ๋งˆ์šฐ์Šค ํ˜ธ๋ฒ„ ์‹œ ์Šคํƒ€์ผ */
[data-testid="stButton"] > button:hover {
background: #E3000B !important; /* ํ˜ธ๋ฒ„ ์‹œ ๋ฐฐ๊ฒฝ ๋ ˆ๋“œ */
color: #FFFFFF !important; /* ํ˜ธ๋ฒ„ ์‹œ ๊ธ€์ž ํฐ์ƒ‰ */
box-shadow: 0 4px 12px rgba(227,0,11,0.2) !important;
}
/* 5. ํ…์ŠคํŠธ ์ž…๋ ฅ ์˜์—ญ */
[data-testid="stTextArea"] textarea,
[data-testid="stTextInput"] input {
background: #FFFFFF !important;
border: 1px solid #D0D0D0 !important;
color: #333333 !important;
border-radius: 8px !important;
}
/* 6. ํƒญ(Tabs) ๋””์ž์ธ */
[data-testid="stTabs"] [data-baseweb="tab-list"] {
background: #FFFFFF !important; border-bottom: 1px solid #E0E0E0 !important;
}
[data-testid="stTabs"] [aria-selected="true"] {
color: #E3000B !important; border-bottom: 2px solid #E3000B !important;
}
/* 7. ๊ธ€์ž ๊ฐ€๋…์„ฑ ์„ค์ • */
p, .stMarkdown p {
color: #333333 !important;
word-break: keep-all;
}