tonyassi commited on
Commit
74dd972
·
verified ·
1 Parent(s): a867576

Delete static/styles.css

Browse files
Files changed (1) hide show
  1. static/styles.css +0 -320
static/styles.css DELETED
@@ -1,320 +0,0 @@
1
- /* General Reset */
2
- * {
3
- margin: 0;
4
- padding: 10px 0;
5
- box-sizing: border-box;
6
- }
7
-
8
- body {
9
- font-family: Arial, sans-serif;
10
- background-color: #f8f8f8;
11
- color: #333;
12
- margin: 0;
13
- display: flex;
14
- justify-content: center; /* Center horizontally */
15
- align-items: flex-start; /* Align to the top */
16
- min-height: 100vh;
17
- overflow-y: auto; /* Allow scrolling when content overflows */
18
- }
19
- .container {
20
- display: flex;
21
- flex-direction: column;
22
- align-items: center; /* Center horizontally */
23
- justify-content: flex-start; /* Align to the top */
24
- width: 100%;
25
- max-width: 1000px;
26
- padding: 20px;
27
- /* margin: 20px 20px; */ /* Add vertical margin */
28
- box-sizing: border-box;
29
- }
30
-
31
- /* Title */
32
- .title {
33
- font-size: 2.5rem;
34
- font-weight: bold;
35
- color: #333;
36
- text-align: center;
37
- width: 100%;
38
- }
39
-
40
- /* Key Input and Get Key Button */
41
- .key-container {
42
- display: flex;
43
- align-items: center;
44
- gap: 10px;
45
- /* margin-bottom: 20px; */
46
- }
47
-
48
- .key-input {
49
- width: 300px;
50
- padding: 10px;
51
- border: 2px solid #ccc;
52
- border-radius: 5px;
53
- font-size: 1rem;
54
- text-align: center;
55
- }
56
-
57
- .get-key-btn {
58
- padding: 10px 20px;
59
- background-color: #28a745;
60
- color: #fff;
61
- border: none;
62
- border-radius: 5px;
63
- cursor: pointer;
64
- }
65
-
66
- .get-key-btn:hover {
67
- background-color: #218838;
68
- }
69
-
70
- /* Form Layout */
71
- form {
72
- width: 100%;
73
- }
74
-
75
- .input-container {
76
- display: flex;
77
- flex-wrap: wrap;
78
- justify-content: flex-start;
79
- align-items: flex-start;
80
- gap: 20px;
81
- width: 100%;
82
- }
83
-
84
- /* Drag and Drop Box */
85
- .drag-drop-box {
86
- border: 2px dashed #aaa;
87
- border-radius: 10px;
88
- width: 300px;
89
- height: 400px;
90
- position: relative;
91
- background-color: #f9f9f9;
92
- overflow: hidden;
93
- cursor: pointer;
94
- transition: background-color 0.3s ease, border-color 0.3s ease;
95
- display: flex;
96
- align-items: center;
97
- justify-content: center;
98
- }
99
-
100
- .drag-drop-box p {
101
- position: absolute;
102
- margin: 0;
103
- color: #666;
104
- pointer-events: none;
105
- text-align: center;
106
- width: 80%;
107
- }
108
-
109
- .drag-drop-box input[type="file"] {
110
- position: absolute;
111
- opacity: 0;
112
- width: 100%;
113
- height: 100%;
114
- cursor: pointer;
115
- }
116
-
117
- .drag-drop-box.drag-over {
118
- background-color: #e8f4ff;
119
- border-color: #007bff;
120
- }
121
-
122
- /* Image Preview */
123
- .preview {
124
- max-width: 100%;
125
- max-height: 100%;
126
- object-fit: contain;
127
- position: absolute;
128
- border-radius: 5px;
129
- }
130
-
131
- /* Output Container */
132
- .output-container {
133
- display: flex;
134
- flex-direction: column;
135
- align-items: center;
136
- gap: 10px;
137
- width: 300px;
138
- }
139
-
140
- .output-box {
141
- border: 2px solid #ccc;
142
- border-radius: 10px;
143
- width: 300px;
144
- height: 400px;
145
- background-color: #fff;
146
- overflow: hidden;
147
- position: relative;
148
- display: flex;
149
- align-items: center;
150
- justify-content: center;
151
- }
152
-
153
- .output-box img {
154
- max-width: 100%;
155
- max-height: 100%;
156
- object-fit: contain;
157
- border-radius: 5px;
158
- }
159
-
160
- /* Generate Button */
161
- .generate-btn {
162
- width: 100%;
163
- padding: 10px;
164
- background-color: #007bff;
165
- color: #fff;
166
- border: none;
167
- border-radius: 5px;
168
- font-size: 16px;
169
- cursor: pointer;
170
- }
171
-
172
- .generate-btn:hover {
173
- background-color: #0056b3;
174
- }
175
-
176
- /* Popup Styles */
177
- .popup {
178
- display: none;
179
- position: fixed;
180
- z-index: 1000;
181
- left: 0;
182
- top: 0;
183
- width: 100%;
184
- height: 100%;
185
- overflow: auto;
186
- background-color: rgba(0,0,0,0.5);
187
- }
188
-
189
- .popup-content {
190
- background-color: #fff;
191
- margin: 10% auto;
192
- padding: 20px;
193
- border: 1px solid #888;
194
- width: 90%;
195
- max-width: 400px;
196
- text-align: center;
197
- position: relative;
198
- border-radius: 10px;
199
-
200
- display: flex;
201
- flex-direction: column;
202
- align-items: center; /* Center content horizontally */
203
- justify-content: center; /* Center content vertically (optional) */
204
- }
205
-
206
- .close-btn {
207
- position: absolute;
208
- top: 10px;
209
- right: 15px;
210
- color: #aaa;
211
- font-size: 28px;
212
- font-weight: bold;
213
- cursor: pointer;
214
- }
215
-
216
- .close-btn:hover,
217
- .close-btn:focus {
218
- color: black;
219
- text-decoration: none;
220
- cursor: pointer;
221
- }
222
-
223
- .popup-input {
224
- width: 80%;
225
- padding: 10px;
226
- margin-top: 15px;
227
- margin-bottom: 15px;
228
- border: 2px solid #ccc;
229
- border-radius: 5px;
230
- font-size: 1rem;
231
- }
232
-
233
- .submit-btn {
234
- padding: 10px 20px;
235
- background-color: #28a745;
236
- color: #fff;
237
- border: none;
238
- border-radius: 5px;
239
- cursor: pointer;
240
- }
241
-
242
- .submit-btn:hover {
243
- background-color: #218838;
244
- }
245
- .remove-btn {
246
- position: absolute;
247
- top: 5px;
248
- right: 5px;
249
- background-color: gray;
250
- color: white;
251
- border: none;
252
- border-radius: 50%;
253
- width: 20px;
254
- height: 20px;
255
- text-align: center;
256
- font-size: 16px;
257
- cursor: pointer;
258
- line-height: 20px;
259
- display: flex;
260
- align-items: center;
261
- justify-content: center;
262
- }
263
- .box-wrapper {
264
- display: flex;
265
- flex-direction: column;
266
- align-items: center;
267
- width: 100%; /* Ensure full width on smaller screens */
268
- max-width: 300px; /* Limit the maximum width for better proportions */
269
- min-width: 250px; /* Prevent boxes from becoming too narrow */
270
- margin: 10px auto; /* Center the box and add spacing */
271
- }
272
-
273
-
274
-
275
- .image-container {
276
- display: flex;
277
- flex-direction: row; /* Force row layout on desktop */
278
- justify-content: center;
279
- border: 2px solid #aaa;
280
- /* padding: 10px; */
281
- border-radius: 10px;
282
- gap: 10px;
283
- max-width: 100%;
284
- margin: 10px;
285
- }
286
-
287
- .image-container img {
288
- width: 30%; /* Each image takes 30% of the container width */
289
- height: auto;
290
- box-sizing: border-box;
291
- }
292
-
293
- @media (max-width: 768px) {
294
- .image-container {
295
- flex-direction: column; /* Stack images vertically on mobile */
296
- align-items: center;
297
- }
298
-
299
- .image-container img {
300
- width: 100%; /* Full width for each image on mobile */
301
- }
302
- }
303
-
304
-
305
-
306
-
307
-
308
- /* Responsive Layout */
309
- @media (max-width: 768px) {
310
- .input-container {
311
- flex-direction: column;
312
- align-items: center;
313
- gap: 20px;
314
- }
315
-
316
- .drag-drop-box,
317
- .output-box {
318
- width: 100%;
319
- }
320
- }