YUVALON commited on
Commit
ebcf4d7
·
verified ·
1 Parent(s): 03140c5

Create Style.css

Browse files
Files changed (1) hide show
  1. Style.css +307 -0
Style.css ADDED
@@ -0,0 +1,307 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Import Google Fonts */
2
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
3
+
4
+ /* Main gradient background - Instagram inspired */
5
+ .gradio-container {
6
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
7
+ font-family: 'Poppins', sans-serif !important;
8
+ min-height: 100vh !important;
9
+ }
10
+
11
+ /* Alternative Instagram gradients */
12
+ .gradio-container.alt-gradient-1 {
13
+ background: linear-gradient(45deg, #f093fb 0%, #f5576c 100%) !important;
14
+ }
15
+
16
+ .gradio-container.alt-gradient-2 {
17
+ background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%) !important;
18
+ }
19
+
20
+ .gradio-container.alt-gradient-3 {
21
+ background: linear-gradient(45deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%) !important;
22
+ }
23
+
24
+ /* Glass morphism container */
25
+ .contain {
26
+ background: rgba(255, 255, 255, 0.1) !important;
27
+ backdrop-filter: blur(10px) !important;
28
+ border-radius: 20px !important;
29
+ border: 1px solid rgba(255, 255, 255, 0.2) !important;
30
+ box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37) !important;
31
+ margin: 20px !important;
32
+ padding: 30px !important;
33
+ }
34
+
35
+ /* Title styling with Instagram colors */
36
+ h1 {
37
+ background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #f9ca24) !important;
38
+ -webkit-background-clip: text !important;
39
+ -webkit-text-fill-color: transparent !important;
40
+ background-clip: text !important;
41
+ text-align: center !important;
42
+ font-weight: 700 !important;
43
+ font-size: 2.5rem !important;
44
+ margin-bottom: 1rem !important;
45
+ text-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
46
+ animation: titleGlow 2s ease-in-out infinite alternate !important;
47
+ }
48
+
49
+ @keyframes titleGlow {
50
+ from { filter: drop-shadow(0 0 10px rgba(255, 107, 107, 0.3)); }
51
+ to { filter: drop-shadow(0 0 20px rgba(78, 205, 196, 0.4)); }
52
+ }
53
+
54
+ /* Input styling with Instagram vibes */
55
+ .gr-textbox {
56
+ background: rgba(255, 255, 255, 0.9) !important;
57
+ border-radius: 25px !important;
58
+ border: 2px solid transparent !important;
59
+ background-clip: padding-box !important;
60
+ box-shadow: 0 4px 16px rgba(0,0,0,0.1) !important;
61
+ font-size: 16px !important;
62
+ padding: 15px 20px !important;
63
+ transition: all 0.3s ease !important;
64
+ font-family: 'Poppins', sans-serif !important;
65
+ }
66
+
67
+ .gr-textbox:focus {
68
+ border: 2px solid #4ecdc4 !important;
69
+ box-shadow: 0 4px 20px rgba(78, 205, 196, 0.3) !important;
70
+ transform: translateY(-2px) !important;
71
+ background: rgba(255, 255, 255, 0.95) !important;
72
+ }
73
+
74
+ .gr-textbox::placeholder {
75
+ color: #999 !important;
76
+ font-style: italic !important;
77
+ }
78
+
79
+ /* Button styling with Instagram gradient */
80
+ .gr-button {
81
+ background: linear-gradient(45deg, #ff6b6b, #4ecdc4) !important;
82
+ border: none !important;
83
+ border-radius: 25px !important;
84
+ color: white !important;
85
+ font-weight: 600 !important;
86
+ font-size: 18px !important;
87
+ padding: 15px 30px !important;
88
+ box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3) !important;
89
+ transition: all 0.3s ease !important;
90
+ text-transform: uppercase !important;
91
+ letter-spacing: 1px !important;
92
+ cursor: pointer !important;
93
+ font-family: 'Poppins', sans-serif !important;
94
+ }
95
+
96
+ .gr-button:hover {
97
+ transform: translateY(-3px) !important;
98
+ box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4) !important;
99
+ background: linear-gradient(45deg, #ff5252, #26a69a) !important;
100
+ }
101
+
102
+ .gr-button:active {
103
+ transform: translateY(-1px) !important;
104
+ }
105
+
106
+ /* Output textbox styling */
107
+ .gr-textbox[data-testid="textbox"] {
108
+ background: rgba(255, 255, 255, 0.95) !important;
109
+ border-radius: 20px !important;
110
+ border: 1px solid rgba(255, 255, 255, 0.3) !important;
111
+ font-size: 16px !important;
112
+ line-height: 1.6 !important;
113
+ padding: 20px !important;
114
+ box-shadow: inset 0 2px 4px rgba(0,0,0,0.1) !important;
115
+ }
116
+
117
+ /* Examples styling */
118
+ .gr-examples {
119
+ background: rgba(255, 255, 255, 0.1) !important;
120
+ border-radius: 15px !important;
121
+ padding: 20px !important;
122
+ backdrop-filter: blur(5px) !important;
123
+ border: 1px solid rgba(255, 255, 255, 0.2) !important;
124
+ }
125
+
126
+ .gr-examples .gr-button {
127
+ background: rgba(255, 255, 255, 0.2) !important;
128
+ border: 1px solid rgba(255, 255, 255, 0.3) !important;
129
+ border-radius: 20px !important;
130
+ color: white !important;
131
+ transition: all 0.3s ease !important;
132
+ font-size: 14px !important;
133
+ padding: 10px 20px !important;
134
+ margin: 5px !important;
135
+ }
136
+
137
+ .gr-examples .gr-button:hover {
138
+ background: rgba(255, 255, 255, 0.3) !important;
139
+ transform: translateY(-1px) !important;
140
+ }
141
+
142
+ /* Labels styling */
143
+ .gr-label {
144
+ color: white !important;
145
+ font-weight: 500 !important;
146
+ font-size: 16px !important;
147
+ margin-bottom: 8px !important;
148
+ font-family: 'Poppins', sans-serif !important;
149
+ }
150
+
151
+ /* Markdown styling */
152
+ .gr-markdown {
153
+ color: white !important;
154
+ font-size: 16px !important;
155
+ line-height: 1.6 !important;
156
+ font-family: 'Poppins', sans-serif !important;
157
+ }
158
+
159
+ .gr-markdown h3 {
160
+ color: #4ecdc4 !important;
161
+ font-weight: 600 !important;
162
+ margin-top: 20px !important;
163
+ text-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
164
+ }
165
+
166
+ .gr-markdown strong {
167
+ color: #ff6b6b !important;
168
+ font-weight: 600 !important;
169
+ }
170
+
171
+ /* Copy button styling */
172
+ .gr-copy-button {
173
+ background: linear-gradient(45deg, #45b7d1, #f9ca24) !important;
174
+ border: none !important;
175
+ border-radius: 10px !important;
176
+ color: white !important;
177
+ font-weight: 500 !important;
178
+ transition: all 0.3s ease !important;
179
+ }
180
+
181
+ .gr-copy-button:hover {
182
+ background: linear-gradient(45deg, #2196f3, #ff9800) !important;
183
+ transform: scale(1.05) !important;
184
+ }
185
+
186
+ /* Scrollbar styling */
187
+ ::-webkit-scrollbar {
188
+ width: 8px;
189
+ }
190
+
191
+ ::-webkit-scrollbar-track {
192
+ background: rgba(255, 255, 255, 0.1);
193
+ border-radius: 10px;
194
+ }
195
+
196
+ ::-webkit-scrollbar-thumb {
197
+ background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
198
+ border-radius: 10px;
199
+ }
200
+
201
+ ::-webkit-scrollbar-thumb:hover {
202
+ background: linear-gradient(45deg, #ff5252, #26a69a);
203
+ }
204
+
205
+ /* Loading animation */
206
+ @keyframes pulse {
207
+ 0% { opacity: 1; }
208
+ 50% { opacity: 0.5; }
209
+ 100% { opacity: 1; }
210
+ }
211
+
212
+ .gr-button.loading {
213
+ animation: pulse 1.5s ease-in-out infinite;
214
+ }
215
+
216
+ /* Floating animation for buttons */
217
+ @keyframes float {
218
+ 0% { transform: translateY(0px); }
219
+ 50% { transform: translateY(-10px); }
220
+ 100% { transform: translateY(0px); }
221
+ }
222
+
223
+ .gr-button {
224
+ animation: float 3s ease-in-out infinite;
225
+ }
226
+
227
+ /* Row and column spacing */
228
+ .gr-row {
229
+ gap: 20px !important;
230
+ }
231
+
232
+ .gr-column {
233
+ padding: 10px !important;
234
+ }
235
+
236
+ /* Mobile responsiveness */
237
+ @media (max-width: 768px) {
238
+ .contain {
239
+ margin: 10px !important;
240
+ padding: 20px !important;
241
+ }
242
+
243
+ h1 {
244
+ font-size: 2rem !important;
245
+ }
246
+
247
+ .gr-button {
248
+ font-size: 16px !important;
249
+ padding: 12px 25px !important;
250
+ }
251
+
252
+ .gr-textbox {
253
+ font-size: 14px !important;
254
+ }
255
+ }
256
+
257
+ /* Success and error states */
258
+ .success {
259
+ border-left: 4px solid #4caf50 !important;
260
+ background: rgba(76, 175, 80, 0.1) !important;
261
+ }
262
+
263
+ .error {
264
+ border-left: 4px solid #f44336 !important;
265
+ background: rgba(244, 67, 54, 0.1) !important;
266
+ }
267
+
268
+ /* Hover effects for containers */
269
+ .contain:hover {
270
+ transform: translateY(-2px) !important;
271
+ box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.5) !important;
272
+ transition: all 0.3s ease !important;
273
+ }
274
+
275
+ /* Gradient text for special elements */
276
+ .gradient-text {
277
+ background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #f9ca24) !important;
278
+ -webkit-background-clip: text !important;
279
+ -webkit-text-fill-color: transparent !important;
280
+ background-clip: text !important;
281
+ font-weight: 600 !important;
282
+ }
283
+
284
+ /* Icon styling */
285
+ .icon {
286
+ font-size: 1.2em !important;
287
+ margin-right: 8px !important;
288
+ vertical-align: middle !important;
289
+ }
290
+
291
+ /* Notification styling */
292
+ .notification {
293
+ position: fixed;
294
+ top: 20px;
295
+ right: 20px;
296
+ background: rgba(255, 255, 255, 0.9);
297
+ border-radius: 15px;
298
+ padding: 15px 20px;
299
+ box-shadow: 0 4px 20px rgba(0,0,0,0.1);
300
+ z-index: 1000;
301
+ animation: slideIn 0.3s ease-out;
302
+ }
303
+
304
+ @keyframes slideIn {
305
+ from { transform: translateX(100%); opacity: 0; }
306
+ to { transform: translateX(0); opacity: 1; }
307
+ }