streamlit / src /style.css
kbg05204's picture
Upload src/style.css with huggingface_hub
ec8402e verified
Raw History Blame Contribute Delete
3.24 kB
/* 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. ํ—ค๋” ํƒ€์ดํ‹€ ์ปจํ…Œ์ด๋„ˆ (app.py์˜ HTML๊ณผ ์—ฐ๋™) */
.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. ์ž…๋ ฅ์ฐฝ ์ปจํ…Œ์ด๋„ˆ (col2 ๋‚ด๋ถ€ ๋ฐ•์Šค ๋””์ž์ธ) */
.input-title {
background: #16213E;
border: 1px solid #2A3550;
border-bottom: none;
border-radius: 12px 12px 0 0;
padding: 14px 22px 10px 22px;
font-size: 0.85rem; font-weight: 600;
color: #FFFFFF; letter-spacing: 1.5px;
}
[data-testid="stVerticalBlockBorderWrapper"] {
background: #F8F9FA !important; /* [์ˆ˜์ •] ์ž…๋ ฅ์ฐฝ ๋‚ด๋ถ€ ๋ฐฐ๊ฒฝ์€ ์—ฐํ•œ ํšŒ์ƒ‰์œผ๋กœ */
border: 1px solid #E0E0E0 !important;
border-top: none !important;
border-radius: 0 0 12px 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: #E3000B !important; /* KT ๋ ˆ๋“œ */
color: #FFFFFF !important; /* [์ˆ˜์ •] ๊ฐ€๋…์„ฑ์„ ์œ„ํ•ด ๋ฒ„ํŠผ ๊ธ€์ž๋Š” ํฐ์ƒ‰ (๋˜๋Š” ๊ฒ€์ •์€ #000000) */
border: none !important; border-radius: 8px !important;
font-family: 'Noto Sans KR', sans-serif !important;
font-weight: 600 !important; font-size: 1.1rem !important; /* [์ˆ˜์ •] ๋ฒ„ํŠผ ํ…์ŠคํŠธ ํ‚ค์›€ */
padding: 12px 40px !important;
transition: all 0.2s !important;
width: auto !important; /* [์ˆ˜์ •] ๊ฐ€๋กœ ์ „์ฒด๊ฐ€ ์•„๋‹Œ ๋‚ด์šฉ๋งŒํผ๋งŒ */
min-width: 200px;
}
[data-testid="stButton"] > button:hover {
background: #c0000a !important;
box-shadow: 0 4px 16px rgba(227,0,11,0.4) !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"] [data-baseweb="tab"] {
color: #888888 !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;
}