Create styles.css
Browse files- styles.css +197 -0
styles.css
ADDED
@@ -0,0 +1,197 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
:root {
|
2 |
+
--primary-color: #FB7F0D;
|
3 |
+
--secondary-color: #ff9a8b;
|
4 |
+
--accent-color: #FF6B6B;
|
5 |
+
--background-color: #FFFFFF;
|
6 |
+
--card-bg: #ffffff;
|
7 |
+
--text-color: #334155;
|
8 |
+
--border-radius: 18px;
|
9 |
+
--shadow: 0 8px 30px rgba(251, 127, 13, 0.08);
|
10 |
+
}
|
11 |
+
|
12 |
+
body {
|
13 |
+
font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
|
14 |
+
background-color: var(--background-color);
|
15 |
+
color: var(--text-color);
|
16 |
+
line-height: 1.6;
|
17 |
+
margin: 0;
|
18 |
+
padding: 0;
|
19 |
+
}
|
20 |
+
|
21 |
+
/* ํธํฐ ์จ๊น ์ค์ ์ถ๊ฐ */
|
22 |
+
footer {
|
23 |
+
visibility: hidden;
|
24 |
+
}
|
25 |
+
|
26 |
+
.gradio-container {
|
27 |
+
width: 100%;
|
28 |
+
margin: 0 auto;
|
29 |
+
padding: 20px;
|
30 |
+
background-color: var(--background-color);
|
31 |
+
}
|
32 |
+
|
33 |
+
/* ํค๋ ์คํ์ผ - ์ฃผํฉ์ ๋ฐ์ค ํํ */
|
34 |
+
.custom-header {
|
35 |
+
background: #FF7F00;
|
36 |
+
padding: 2rem;
|
37 |
+
border-radius: 15px;
|
38 |
+
margin-bottom: 20px;
|
39 |
+
box-shadow: var(--shadow);
|
40 |
+
text-align: center;
|
41 |
+
}
|
42 |
+
|
43 |
+
.custom-header h1 {
|
44 |
+
margin: 0;
|
45 |
+
font-size: 2.5rem;
|
46 |
+
font-weight: 700;
|
47 |
+
color: black;
|
48 |
+
}
|
49 |
+
|
50 |
+
.custom-header p {
|
51 |
+
margin: 10px 0 0;
|
52 |
+
font-size: 1.2rem;
|
53 |
+
color: black;
|
54 |
+
}
|
55 |
+
|
56 |
+
/* ์ฝํ
์ธ ๋ฐ์ค (ํ๋ ์) ์คํ์ผ */
|
57 |
+
.custom-frame {
|
58 |
+
background-color: var(--card-bg);
|
59 |
+
border: 1px solid rgba(0, 0, 0, 0.04);
|
60 |
+
border-radius: var(--border-radius);
|
61 |
+
padding: 20px;
|
62 |
+
margin: 10px 0;
|
63 |
+
box-shadow: var(--shadow);
|
64 |
+
}
|
65 |
+
|
66 |
+
/* ์น์
๊ทธ๋ฃน ์คํ์ผ */
|
67 |
+
.custom-section-group {
|
68 |
+
margin-top: 20px;
|
69 |
+
padding: 0;
|
70 |
+
border: none;
|
71 |
+
border-radius: 0;
|
72 |
+
background-color: var(--background-color);
|
73 |
+
box-shadow: none !important;
|
74 |
+
}
|
75 |
+
|
76 |
+
/* ๋ฒํผ ์คํ์ผ */
|
77 |
+
.custom-button {
|
78 |
+
border-radius: 30px !important;
|
79 |
+
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
|
80 |
+
color: white !important;
|
81 |
+
font-size: 18px !important;
|
82 |
+
padding: 10px 20px !important;
|
83 |
+
border: none;
|
84 |
+
box-shadow: 0 4px 8px rgba(251, 127, 13, 0.25);
|
85 |
+
transition: transform 0.3s ease;
|
86 |
+
}
|
87 |
+
|
88 |
+
.custom-button:hover {
|
89 |
+
transform: translateY(-2px);
|
90 |
+
box-shadow: 0 6px 12px rgba(251, 127, 13, 0.3);
|
91 |
+
}
|
92 |
+
|
93 |
+
/* ์ ๋ชฉ ์คํ์ผ */
|
94 |
+
.custom-title {
|
95 |
+
font-size: 28px;
|
96 |
+
font-weight: bold;
|
97 |
+
margin-bottom: 10px;
|
98 |
+
color: var(--text-color);
|
99 |
+
border-bottom: 2px solid var(--primary-color);
|
100 |
+
padding-bottom: 5px;
|
101 |
+
}
|
102 |
+
|
103 |
+
/* ์
๋ ฅ ํ๋ ์คํ์ผ */
|
104 |
+
.gr-input, .gr-text-input, .gr-sample-inputs {
|
105 |
+
border-radius: var(--border-radius) !important;
|
106 |
+
border: 1px solid #dddddd !important;
|
107 |
+
padding: 12px !important;
|
108 |
+
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05) !important;
|
109 |
+
transition: all 0.3s ease !important;
|
110 |
+
}
|
111 |
+
|
112 |
+
.gr-input:focus, .gr-text-input:focus {
|
113 |
+
border-color: var(--primary-color) !important;
|
114 |
+
outline: none !important;
|
115 |
+
box-shadow: 0 0 0 2px rgba(251, 127, 13, 0.2) !important;
|
116 |
+
}
|
117 |
+
|
118 |
+
/* ๋ฉ์ธ ์ปจํ
์ธ ์คํฌ๋กค๋ฐ */
|
119 |
+
::-webkit-scrollbar {
|
120 |
+
width: 8px;
|
121 |
+
height: 8px;
|
122 |
+
}
|
123 |
+
|
124 |
+
::-webkit-scrollbar-track {
|
125 |
+
background: rgba(0, 0, 0, 0.05);
|
126 |
+
border-radius: 10px;
|
127 |
+
}
|
128 |
+
|
129 |
+
::-webkit-scrollbar-thumb {
|
130 |
+
background: var(--primary-color);
|
131 |
+
border-radius: 10px;
|
132 |
+
}
|
133 |
+
|
134 |
+
/* ์ ๋๋ฉ์ด์
์คํ์ผ */
|
135 |
+
@keyframes fadeIn {
|
136 |
+
from { opacity: 0; transform: translateY(10px); }
|
137 |
+
to { opacity: 1; transform: translateY(0); }
|
138 |
+
}
|
139 |
+
|
140 |
+
.fade-in {
|
141 |
+
animation: fadeIn 0.5s ease-out;
|
142 |
+
}
|
143 |
+
|
144 |
+
/* ์น์
์ ๋ชฉ ์คํ์ผ */
|
145 |
+
.section-title {
|
146 |
+
display: flex;
|
147 |
+
align-items: center;
|
148 |
+
font-size: 20px;
|
149 |
+
font-weight: 700;
|
150 |
+
color: #333333;
|
151 |
+
margin-bottom: 10px;
|
152 |
+
padding-bottom: 5px;
|
153 |
+
border-bottom: 2px solid #FB7F0D;
|
154 |
+
font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
|
155 |
+
}
|
156 |
+
|
157 |
+
.section-title img {
|
158 |
+
margin-right: 10px;
|
159 |
+
width: 24px;
|
160 |
+
height: 24px;
|
161 |
+
}
|
162 |
+
|
163 |
+
/* ๊ทธ๋ฃน ๋ํผ ๋ฐฐ๊ฒฝ */
|
164 |
+
.custom-section-group,
|
165 |
+
.gr-block.gr-group {
|
166 |
+
background-color: var(--background-color) !important;
|
167 |
+
box-shadow: none !important;
|
168 |
+
}
|
169 |
+
|
170 |
+
.custom-section-group::before,
|
171 |
+
.custom-section-group::after,
|
172 |
+
.gr-block.gr-group::before,
|
173 |
+
.gr-block.gr-group::after {
|
174 |
+
display: none !important;
|
175 |
+
content: none !important;
|
176 |
+
}
|
177 |
+
|
178 |
+
/* ์ฒดํฌ๋ฐ์ค ์คํ์ผ */
|
179 |
+
.gr-checkbox {
|
180 |
+
font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
|
181 |
+
}
|
182 |
+
|
183 |
+
/* ํ์ผ ๋ค์ด๋ก๋ ๋ฒํผ ์คํ์ผ */
|
184 |
+
.gr-file-preview .download-link {
|
185 |
+
border-radius: 20px;
|
186 |
+
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
|
187 |
+
color: white;
|
188 |
+
padding: 6px 12px;
|
189 |
+
border: none;
|
190 |
+
}
|
191 |
+
|
192 |
+
/* ํ
์คํธ ์์ญ ์คํ์ผ */
|
193 |
+
.gr-textarea {
|
194 |
+
font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
|
195 |
+
border-radius: var(--border-radius) !important;
|
196 |
+
border: 1px solid #dddddd !important;
|
197 |
+
}
|