DHEIVER commited on
Commit
4d0ad85
·
verified ·
1 Parent(s): 1774bb4

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +160 -164
style.css CHANGED
@@ -5,271 +5,257 @@
5
  }
6
 
7
  body {
8
- font-family: 'Inter', sans-serif;
9
- background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%);
10
- color: #e0e0e0;
11
  min-height: 100vh;
12
- overflow-x: hidden;
13
  }
14
 
15
  .container {
16
- max-width: 1400px;
17
  margin: 0 auto;
18
  padding: 20px;
19
  }
20
 
21
  /* Header */
22
  .header {
23
- position: relative;
24
- text-align: center;
25
- padding: 60px 20px;
26
- background: rgba(255, 255, 255, 0.05);
27
- backdrop-filter: blur(12px);
28
- border-radius: 20px;
29
- margin-bottom: 40px;
30
- box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
31
- animation: fadeIn 1s ease-out;
32
- }
33
-
34
- .header h1 {
35
- font-size: 3em;
36
  font-weight: 800;
37
- background: linear-gradient(45deg, #00ddeb, #ff007a);
38
- -webkit-background-clip: text;
39
- background-clip: text;
40
- color: transparent;
41
  }
42
 
43
- .header p {
44
- font-size: 1.2em;
45
- color: #a0a0a0;
46
- margin-top: 10px;
47
  }
48
 
49
- .theme-toggle {
50
- position: absolute;
51
- top: 20px;
52
- right: 20px;
53
  }
54
 
55
- #theme-switch {
56
  background: none;
57
  border: none;
58
- font-size: 1.5em;
59
- color: #e0e0e0;
60
  cursor: pointer;
61
- transition: transform 0.3s;
 
 
 
 
 
 
 
62
  }
63
 
64
- #theme-switch:hover {
65
- transform: rotate(180deg);
 
 
66
  }
67
 
68
- /* Main Grid */
69
- .main-grid {
70
  display: grid;
71
- grid-template-columns: 2fr 1fr;
72
- gap: 30px;
73
- padding-bottom: 40px;
74
- }
75
-
76
- /* Card Styling */
77
- .card {
78
- background: rgba(255, 255, 255, 0.05);
79
- backdrop-filter: blur(10px);
80
- border-radius: 20px;
81
- padding: 25px;
82
- box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
83
  transition: transform 0.3s ease, box-shadow 0.3s ease;
84
  }
85
 
86
- .card:hover {
87
- transform: translateY(-5px);
88
- box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
89
  }
90
 
91
- .card h2 {
92
- font-size: 1.6em;
93
  font-weight: 600;
94
- margin-bottom: 20px;
95
- color: #00ddeb;
96
  }
97
 
98
- /* Query Card */
99
- .query-card textarea {
100
- width: 100%;
101
- background: rgba(255, 255, 255, 0.1);
102
- border: 1px solid rgba(255, 255, 255, 0.2);
103
- border-radius: 10px;
104
- padding: 15px;
 
 
 
 
 
105
  font-size: 1em;
106
- color: #e0e0e0;
107
- resize: vertical;
108
- transition: border-color 0.3s;
 
109
  }
110
 
111
- .query-card textarea:focus {
112
  outline: none;
113
- border-color: #00ddeb;
114
  }
115
 
116
  /* Buttons */
117
  .btn {
118
  padding: 12px 24px;
119
  border: none;
120
- border-radius: 10px;
121
- font-size: 1em;
122
  font-weight: 600;
123
  cursor: pointer;
124
- transition: background 0.3s, transform 0.2s;
125
- }
126
-
127
- .btn-primary {
128
- background: linear-gradient(45deg, #00ddeb, #ff007a);
129
- color: white;
130
- }
131
-
132
- .btn-primary:hover {
133
- background: linear-gradient(45deg, #00b7c3, #e6006b);
134
- transform: translateY(-2px);
135
  }
136
 
137
- .btn-secondary {
138
- background: rgba(255, 255, 255, 0.1);
139
- color: #e0e0e0;
140
- width: 100%;
141
  }
142
 
143
- .btn-secondary:hover {
144
- background: rgba(255, 255, 255, 0.2);
145
  transform: translateY(-2px);
 
146
  }
147
 
148
- /* Output Boxes */
149
- .output-box {
150
- background: rgba(0, 0, 0, 0.2);
151
- border-radius: 10px;
152
  padding: 20px;
153
- min-height: 150px;
154
- font-size: 1em;
155
- line-height: 1.5;
156
- color: #c0c0c0;
157
  }
158
 
159
- /* Settings Card */
160
- .settings-card {
161
  grid-row: span 2;
162
  }
163
 
164
- .settings-grid {
165
- display: grid;
166
- gap: 20px;
167
- margin-bottom: 20px;
168
  }
169
 
170
- .setting-item label {
171
- display: block;
172
- font-size: 0.9em;
173
- font-weight: 400;
174
- color: #a0a0a0;
175
  margin-bottom: 8px;
 
176
  }
177
 
178
- .setting-item input,
179
- .setting-item select {
180
  width: 100%;
181
- background: rgba(255, 255, 255, 0.1);
182
- border: 1px solid rgba(255, 255, 255, 0.2);
183
- border-radius: 8px;
184
- padding: 10px;
185
  font-size: 0.9em;
186
- color: #e0e0e0;
187
- transition: border-color 0.3s;
 
188
  }
189
 
190
- .setting-item input:focus,
191
- .setting-item select:focus {
192
  outline: none;
193
- border-color: #00ddeb;
194
  }
195
 
196
  /* Footer */
197
  .footer {
198
  text-align: center;
199
  padding: 20px 0;
200
- color: #606060;
201
- font-size: 0.9em;
202
- border-top: 1px solid rgba(255, 255, 255, 0.1);
203
- }
204
-
205
- /* Animations */
206
- @keyframes fadeIn {
207
- from { opacity: 0; transform: translateY(20px); }
208
- to { opacity: 1; transform: translateY(0); }
209
- }
210
-
211
- .card, .footer {
212
- animation: fadeIn 0.8s ease-out forwards;
213
  }
214
 
215
  /* Light Theme */
216
  body.light {
217
- background: linear-gradient(180deg, #f0f0f0 0%, #e0e0e0 100%);
218
- color: #1a1a1a;
219
  }
220
 
221
  body.light .header,
222
- body.light .card {
223
- background: rgba(255, 255, 255, 0.7);
 
224
  }
225
 
226
- body.light .card h2 {
227
  color: #007bff;
228
  }
229
 
230
- body.light .query-card textarea,
231
- body.light .setting-item input,
232
- body.light .setting-item select {
233
- background: rgba(0, 0, 0, 0.05);
234
- border-color: rgba(0, 0, 0, 0.1);
235
- color: #1a1a1a;
 
236
  }
237
 
238
- body.light .output-box {
239
- background: rgba(0, 0, 0, 0.05);
240
- color: #333;
241
  }
242
 
243
- body.light .btn-secondary {
244
- background: rgba(0, 0, 0, 0.1);
245
- color: #1a1a1a;
246
  }
247
 
248
- body.light .btn-secondary:hover {
249
- background: rgba(0, 0, 0, 0.2);
250
  }
251
 
252
- body.light .footer {
253
- color: #666;
 
 
 
 
 
 
254
  }
255
 
256
  /* Responsive Design */
257
- @media (max-width: 900px) {
258
- .main-grid {
259
  grid-template-columns: 1fr;
260
  }
261
 
262
- .settings-card {
263
  grid-row: auto;
264
  }
265
-
266
- .header h1 {
267
- font-size: 2.2em;
268
- }
269
-
270
- .header p {
271
- font-size: 1em;
272
- }
273
  }
274
 
275
  @media (max-width: 600px) {
@@ -277,8 +263,18 @@ body.light .footer {
277
  padding: 10px;
278
  }
279
 
280
- .card {
281
  padding: 15px;
 
 
 
 
 
 
 
 
 
 
282
  }
283
 
284
  .btn {
 
5
  }
6
 
7
  body {
8
+ font-family: 'Manrope', sans-serif;
9
+ background: #0f0f1a;
10
+ color: #d9d9e6;
11
  min-height: 100vh;
12
+ transition: background 0.5s, color 0.5s;
13
  }
14
 
15
  .container {
16
+ max-width: 1440px;
17
  margin: 0 auto;
18
  padding: 20px;
19
  }
20
 
21
  /* Header */
22
  .header {
23
+ display: flex;
24
+ justify-content: space-between;
25
+ align-items: center;
26
+ padding: 20px 40px;
27
+ background: rgba(20, 20, 30, 0.7);
28
+ backdrop-filter: blur(15px);
29
+ border-radius: 16px;
30
+ margin-bottom: 30px;
31
+ }
32
+
33
+ .logo h1 {
34
+ font-size: 2em;
 
35
  font-weight: 800;
36
+ color: #00c4ff;
 
 
 
37
  }
38
 
39
+ .tagline {
40
+ font-size: 0.9em;
41
+ color: #8a8ab3;
42
+ margin-left: 10px;
43
  }
44
 
45
+ .nav {
46
+ display: flex;
47
+ align-items: center;
 
48
  }
49
 
50
+ #theme-toggle {
51
  background: none;
52
  border: none;
 
 
53
  cursor: pointer;
54
+ padding: 10px;
55
+ border-radius: 50%;
56
+ transition: background 0.3s, transform 0.3s;
57
+ }
58
+
59
+ #theme-toggle:hover {
60
+ background: rgba(255, 255, 255, 0.1);
61
+ transform: rotate(90deg);
62
  }
63
 
64
+ .icon {
65
+ width: 24px;
66
+ height: 24px;
67
+ stroke: #d9d9e6;
68
  }
69
 
70
+ /* Main Layout */
71
+ .main {
72
  display: grid;
73
+ grid-template-columns: 3fr 1fr;
74
+ gap: 20px;
75
+ min-height: calc(100vh - 200px);
76
+ }
77
+
78
+ /* Panels */
79
+ .panel {
80
+ background: #14141e;
81
+ border-radius: 16px;
82
+ padding: 24px;
83
+ box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.2), inset -2px -2px 4px rgba(255, 255, 255, 0.05);
 
84
  transition: transform 0.3s ease, box-shadow 0.3s ease;
85
  }
86
 
87
+ .panel:hover {
88
+ transform: translateY(-4px);
89
+ box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.3), inset -4px -4px 8px rgba(255, 255, 255, 0.1);
90
  }
91
 
92
+ .panel h2 {
93
+ font-size: 1.4em;
94
  font-weight: 600;
95
+ color: #00c4ff;
96
+ margin-bottom: 16px;
97
  }
98
 
99
+ /* Query Panel */
100
+ .query-panel .input-group {
101
+ display: flex;
102
+ flex-direction: column;
103
+ gap: 12px;
104
+ }
105
+
106
+ #query-input {
107
+ background: #1a1a26;
108
+ border: none;
109
+ border-radius: 12px;
110
+ padding: 16px;
111
  font-size: 1em;
112
+ color: #d9d9e6;
113
+ resize: none;
114
+ box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.3);
115
+ transition: box-shadow 0.3s;
116
  }
117
 
118
+ #query-input:focus {
119
  outline: none;
120
+ box-shadow: inset 0 0 0 2px #00c4ff;
121
  }
122
 
123
  /* Buttons */
124
  .btn {
125
  padding: 12px 24px;
126
  border: none;
127
+ border-radius: 12px;
128
+ font-size: 0.95em;
129
  font-weight: 600;
130
  cursor: pointer;
131
+ transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
 
 
 
 
 
 
 
 
 
 
132
  }
133
 
134
+ .btn-action {
135
+ background: linear-gradient(135deg, #00c4ff, #ff007a);
136
+ color: #fff;
137
+ box-shadow: 0 4px 12px rgba(0, 196, 255, 0.3);
138
  }
139
 
140
+ .btn-action:hover {
 
141
  transform: translateY(-2px);
142
+ box-shadow: 0 6px 16px rgba(0, 196, 255, 0.5);
143
  }
144
 
145
+ /* Output Panels */
146
+ .output {
147
+ background: #1a1a26;
148
+ border-radius: 12px;
149
  padding: 20px;
150
+ min-height: 120px;
151
+ font-size: 0.95em;
152
+ color: #b0b0cc;
153
+ box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.3);
154
  }
155
 
156
+ /* Settings Panel */
157
+ .settings-panel {
158
  grid-row: span 2;
159
  }
160
 
161
+ .settings {
162
+ display: flex;
163
+ flex-direction: column;
164
+ gap: 16px;
165
  }
166
 
167
+ .control label {
168
+ font-size: 0.85em;
169
+ color: #8a8ab3;
 
 
170
  margin-bottom: 8px;
171
+ display: block;
172
  }
173
 
174
+ .control input,
175
+ .control select {
176
  width: 100%;
177
+ background: #1a1a26;
178
+ border: none;
179
+ border-radius: 10px;
180
+ padding: 12px;
181
  font-size: 0.9em;
182
+ color: #d9d9e6;
183
+ box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.3);
184
+ transition: box-shadow 0.3s;
185
  }
186
 
187
+ .control input:focus,
188
+ .control select:focus {
189
  outline: none;
190
+ box-shadow: inset 0 0 0 2px #00c4ff;
191
  }
192
 
193
  /* Footer */
194
  .footer {
195
  text-align: center;
196
  padding: 20px 0;
197
+ font-size: 0.85em;
198
+ color: #606080;
199
+ border-top: 1px solid rgba(255, 255, 255, 0.05);
200
+ margin-top: 20px;
 
 
 
 
 
 
 
 
 
201
  }
202
 
203
  /* Light Theme */
204
  body.light {
205
+ background: #f5f5fa;
206
+ color: #1a1a2e;
207
  }
208
 
209
  body.light .header,
210
+ body.light .panel {
211
+ background: #ffffff;
212
+ box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.1), inset -2px -2px 4px rgba(255, 255, 255, 0.3);
213
  }
214
 
215
+ body.light .panel h2 {
216
  color: #007bff;
217
  }
218
 
219
+ body.light .output,
220
+ body.light #query-input,
221
+ body.light .control input,
222
+ body.light .control select {
223
+ background: #f0f0f5;
224
+ color: #1a1a2e;
225
+ box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.1);
226
  }
227
 
228
+ body.light .control label {
229
+ color: #606080;
 
230
  }
231
 
232
+ body.light .footer {
233
+ color: #8080a0;
 
234
  }
235
 
236
+ body.light .icon {
237
+ stroke: #1a1a2e;
238
  }
239
 
240
+ /* Animations */
241
+ @keyframes slideIn {
242
+ from { opacity: 0; transform: translateY(10px); }
243
+ to { opacity: 1; transform: translateY(0); }
244
+ }
245
+
246
+ .panel, .footer {
247
+ animation: slideIn 0.5s ease-out forwards;
248
  }
249
 
250
  /* Responsive Design */
251
+ @media (max-width: 1024px) {
252
+ .main {
253
  grid-template-columns: 1fr;
254
  }
255
 
256
+ .settings-panel {
257
  grid-row: auto;
258
  }
 
 
 
 
 
 
 
 
259
  }
260
 
261
  @media (max-width: 600px) {
 
263
  padding: 10px;
264
  }
265
 
266
+ .header {
267
  padding: 15px;
268
+ flex-direction: column;
269
+ gap: 10px;
270
+ }
271
+
272
+ .logo h1 {
273
+ font-size: 1.5em;
274
+ }
275
+
276
+ .panel {
277
+ padding: 16px;
278
  }
279
 
280
  .btn {