hyerong commited on
Commit
cede887
ยท
verified ยท
1 Parent(s): 96c4f2e

Upload src/style.css with huggingface_hub

Browse files
Files changed (1) hide show
  1. src/style.css +88 -0
src/style.css ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ /* 1. ํฐํŠธ ๋ฐ ๊ธฐ๋ณธ ๋ฐฐ๊ฒฝ ์„ค์ • */
3
+ @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');
4
+
5
+ html, body, [data-testid="stAppViewContainer"] {
6
+ background: #1A1A2E !important;
7
+ font-family: 'Noto Sans KR', sans-serif !important;
8
+ color: #FFFFFF !important;
9
+ }
10
+
11
+ /* 2. ์‚ฌ์ด๋“œ๋ฐ” ๋””์ž์ธ */
12
+ [data-testid="stSidebar"] {
13
+ background: #16213E !important;
14
+ border-right: 1px solid #2A3550;
15
+ }
16
+
17
+ /* 3. ์ž…๋ ฅ์ฐฝ ์ปจํ…Œ์ด๋„ˆ ๋ฐ ํ…์ŠคํŠธ ์˜์—ญ */
18
+ .input-title {
19
+ background: #16213E;
20
+ border: 1px solid #2A3550;
21
+ border-bottom: none;
22
+ border-radius: 12px 12px 0 0;
23
+ padding: 14px 22px 10px 22px;
24
+ font-size: 0.74rem; font-weight: 600;
25
+ color: #8892A4; letter-spacing: 1.5px; text-transform: uppercase;
26
+ }
27
+
28
+ [data-testid="stVerticalBlockBorderWrapper"] {
29
+ background: #16213E !important;
30
+ border: 1px solid #2A3550 !important;
31
+ border-top: none !important;
32
+ border-radius: 0 0 12px 12px !important;
33
+ padding: 16px 20px 20px !important;
34
+ margin-bottom: 14px !important;
35
+ }
36
+
37
+ /* 4. KT ์ „์šฉ ๋ ˆ๋“œ ๋ฒ„ํŠผ ์Šคํƒ€์ผ */
38
+ [data-testid="stButton"] > button {
39
+ background: #E3000B !important; color: white !important;
40
+ border: none !important; border-radius: 8px !important;
41
+ font-family: 'Noto Sans KR', sans-serif !important;
42
+ font-weight: 600 !important; font-size: 0.9rem !important;
43
+ padding: 10px 24px !important; transition: all 0.2s !important;
44
+ width: 100%;
45
+ }
46
+
47
+ [data-testid="stButton"] > button:hover {
48
+ background: #c0000a !important;
49
+ box-shadow: 0 4px 16px rgba(227,0,11,0.4) !important;
50
+ transform: translateY(-1px) !important;
51
+ }
52
+
53
+ /* 5. ํ…์ŠคํŠธ ์ž…๋ ฅ ๋ฐ ํ…์ŠคํŠธ ์˜์—ญ ์Šคํƒ€์ผ */
54
+ [data-testid="stTextArea"] textarea,
55
+ [data-testid="stTextInput"] input {
56
+ background: rgba(15,33,62,0.9) !important;
57
+ border: 1px solid #2A3550 !important;
58
+ color: #FFFFFF !important; border-radius: 8px !important;
59
+ }
60
+
61
+ /* 6. ํƒญ(Tabs) ๋””์ž์ธ */
62
+ [data-testid="stTabs"] [data-baseweb="tab-list"] {
63
+ background: #16213E !important; border-bottom: 1px solid #2A3550 !important;
64
+ }
65
+ [data-testid="stTabs"] [data-baseweb="tab"] {
66
+ color: #8892A4 !important;
67
+ }
68
+ [data-testid="stTabs"] [aria-selected="true"] {
69
+ color: #FFFFFF !important; border-bottom: 2px solid #E3000B !important;
70
+ }
71
+
72
+ /* 7. ํ—ค๋” ๋ฐ ์—ฌ๋ฐฑ ์ œ๊ฑฐ (Hugging Face ์ตœ์ ํ™”) */
73
+ [data-testid="stHeader"] { background: transparent !important; }
74
+ [data-testid="stAppViewContainer"] > .main { padding-top: 1rem !important; }
75
+
76
+ /* 8. ๊ธ€์ž ํ”๋“ค๋ฆผ ๋ฐฉ์ง€ ๋ฐ ๊ฐ€๋…์„ฑ ์„ค์ • */
77
+ p, .stMarkdown p {
78
+ color: #F0F4F8 !important;
79
+ transition: none !important; /* ๋ฆฌ์‚ฌ์ด์ง• ์‹œ ์• ๋‹ˆ๋ฉ”์ด์…˜ ์ œ๊ฑฐ */
80
+ word-break: keep-all;
81
+ }
82
+
83
+ /* 9. ์‚ฌ์ด๋“œ๋ฐ” ๋ผ๋ฒจ ์ „์šฉ */
84
+ .sb-label {
85
+ font-size: 0.7rem; color: #8892A4;
86
+ letter-spacing: 1.2px; text-transform: uppercase;
87
+ margin: 4px 0 8px 0;
88
+ }