@howssatoshi/quantumcss 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,362 @@
1
+ /*!
2
+ * QuantumCSS Responsive Design System
3
+ * Advanced responsive utilities with container queries and modern breakpoints
4
+ */
5
+
6
+ /* Modern Responsive Breakpoints */
7
+ /* Using logical properties and container queries */
8
+
9
+ @custom-media --sm (min-width: 640px);
10
+ @custom-media --md (min-width: 768px);
11
+ @custom-media --lg (min-width: 1024px);
12
+ @custom-media --xl (min-width: 1280px);
13
+ @custom-media --2xl (min-width: 1536px);
14
+
15
+ /* Container Query Support */
16
+ @container (min-width: 320px) {
17
+ .container\:flex { display: flex; }
18
+ .container\:grid { display: grid; }
19
+ .container\:hidden { display: none; }
20
+ }
21
+
22
+ @container (min-width: 640px) {
23
+ .container\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
24
+ .container\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
25
+ .container\:p-6 { padding: var(--space-6); }
26
+ }
27
+
28
+ @container (min-width: 768px) {
29
+ .container\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
30
+ .container\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
31
+ .container\:p-8 { padding: var(--space-8); }
32
+ }
33
+
34
+ @container (min-width: 1024px) {
35
+ .container\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
36
+ .container\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
37
+ }
38
+
39
+ /* Standard Responsive Utilities */
40
+ @media (--sm) {
41
+ .sm\:block { display: block; }
42
+ .sm\:inline-block { display: inline-block; }
43
+ .sm\:inline { display: inline; }
44
+ .sm\:flex { display: flex; }
45
+ .sm\:grid { display: grid; }
46
+ .sm\:hidden { display: none; }
47
+
48
+ .sm\:flex-row { flex-direction: row; }
49
+ .sm\:flex-col { flex-direction: column; }
50
+
51
+ .sm\:items-start { align-items: flex-start; }
52
+ .sm\:items-center { align-items: center; }
53
+ .sm\:items-end { align-items: flex-end; }
54
+
55
+ .sm\:justify-start { justify-content: flex-start; }
56
+ .sm\:justify-center { justify-content: center; }
57
+ .sm\:justify-end { justify-content: flex-end; }
58
+ .sm\:justify-between { justify-content: space-between; }
59
+
60
+ .sm\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
61
+ .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
62
+ .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
63
+
64
+ .sm\:text-xs { font-size: 0.75rem; line-height: 1rem; }
65
+ .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
66
+ .sm\:text-base { font-size: 1rem; line-height: 1.5rem; }
67
+ .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
68
+ .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
69
+ .sm\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
70
+
71
+ .sm\:m-0 { margin: var(--space-0); }
72
+ .sm\:m-1 { margin: var(--space-1); }
73
+ .sm\:m-2 { margin: var(--space-2); }
74
+ .sm\:m-3 { margin: var(--space-3); }
75
+ .sm\:m-4 { margin: var(--space-4); }
76
+ .sm\:m-6 { margin: var(--space-6); }
77
+ .sm\:m-8 { margin: var(--space-8); }
78
+ .sm\:mx-auto { margin-left: auto; margin-right: auto; }
79
+
80
+ .sm\:p-0 { padding: var(--space-0); }
81
+ .sm\:p-1 { padding: var(--space-1); }
82
+ .sm\:p-2 { padding: var(--space-2); }
83
+ .sm\:p-3 { padding: var(--space-3); }
84
+ .sm\:p-4 { padding: var(--space-4); }
85
+ .sm\:p-6 { padding: var(--space-6); }
86
+ .sm\:p-8 { padding: var(--space-8); }
87
+
88
+ .sm\:w-full { width: 100%; }
89
+ .sm\:w-auto { width: auto; }
90
+ .sm\:h-full { height: 100%; }
91
+ .sm\:h-auto { height: auto; }
92
+ }
93
+
94
+ @media (--md) {
95
+ .md\:block { display: block; }
96
+ .md\:inline-block { display: inline-block; }
97
+ .md\:inline { display: inline; }
98
+ .md\:flex { display: flex; }
99
+ .md\:grid { display: grid; }
100
+ .md\:hidden { display: none; }
101
+
102
+ .md\:flex-row { flex-direction: row; }
103
+ .md\:flex-col { flex-direction: column; }
104
+
105
+ .md\:items-start { align-items: flex-start; }
106
+ .md\:items-center { align-items: center; }
107
+ .md\:items-end { align-items: flex-end; }
108
+
109
+ .md\:justify-start { justify-content: flex-start; }
110
+ .md\:justify-center { justify-content: center; }
111
+ .md\:justify-end { justify-content: flex-end; }
112
+ .md\:justify-between { justify-content: space-between; }
113
+
114
+ .md\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
115
+ .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
116
+ .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
117
+ .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
118
+
119
+ .md\:text-xs { font-size: 0.75rem; line-height: 1rem; }
120
+ .md\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
121
+ .md\:text-base { font-size: 1rem; line-height: 1.5rem; }
122
+ .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
123
+ .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
124
+ .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
125
+ .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
126
+
127
+ .md\:m-0 { margin: var(--space-0); }
128
+ .md\:m-1 { margin: var(--space-1); }
129
+ .md\:m-2 { margin: var(--space-2); }
130
+ .md\:m-3 { margin: var(--space-3); }
131
+ .md\:m-4 { margin: var(--space-4); }
132
+ .md\:m-6 { margin: var(--space-6); }
133
+ .md\:m-8 { margin: var(--space-8); }
134
+ .md\:m-12 { margin: var(--space-12); }
135
+ .md\:mx-auto { margin-left: auto; margin-right: auto; }
136
+
137
+ .md\:p-0 { padding: var(--space-0); }
138
+ .md\:p-1 { padding: var(--space-1); }
139
+ .md\:p-2 { padding: var(--space-2); }
140
+ .md\:p-3 { padding: var(--space-3); }
141
+ .md\:p-4 { padding: var(--space-4); }
142
+ .md\:p-6 { padding: var(--space-6); }
143
+ .md\:p-8 { padding: var(--space-8); }
144
+ .md\:p-12 { padding: var(--space-12); }
145
+
146
+ .md\:w-full { width: 100%; }
147
+ .md\:w-auto { width: auto; }
148
+ .md\:w-1\/2 { width: 50%; }
149
+ .md\:w-1\/3 { width: 33.333333%; }
150
+ .md\:w-2\/3 { width: 66.666667%; }
151
+ .md\:w-1\/4 { width: 25%; }
152
+ .md\:w-3\/4 { width: 75%; }
153
+
154
+ .md\:h-full { height: 100%; }
155
+ .md\:h-auto { height: auto; }
156
+ .md\:h-screen { height: 100vh; }
157
+ }
158
+
159
+ @media (--lg) {
160
+ .lg\:block { display: block; }
161
+ .lg\:inline-block { display: inline-block; }
162
+ .lg\:inline { display: inline; }
163
+ .lg\:flex { display: flex; }
164
+ .lg\:grid { display: grid; }
165
+ .lg\:hidden { display: none; }
166
+
167
+ .lg\:flex-row { flex-direction: row; }
168
+ .lg\:flex-col { flex-direction: column; }
169
+
170
+ .lg\:items-start { align-items: flex-start; }
171
+ .lg\:items-center { align-items: center; }
172
+ .lg\:items-end { align-items: flex-end; }
173
+ .lg\:items-stretch { align-items: stretch; }
174
+
175
+ .lg\:justify-start { justify-content: flex-start; }
176
+ .lg\:justify-center { justify-content: center; }
177
+ .lg\:justify-end { justify-content: flex-end; }
178
+ .lg\:justify-between { justify-content: space-between; }
179
+ .lg\:justify-around { justify-content: space-around; }
180
+
181
+ .lg\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
182
+ .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
183
+ .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
184
+ .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
185
+ .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
186
+ .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
187
+
188
+ .lg\:text-xs { font-size: 0.75rem; line-height: 1rem; }
189
+ .lg\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
190
+ .lg\:text-base { font-size: 1rem; line-height: 1.5rem; }
191
+ .lg\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
192
+ .lg\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
193
+ .lg\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
194
+ .lg\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
195
+ .lg\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
196
+
197
+ .lg\:m-0 { margin: var(--space-0); }
198
+ .lg\:m-1 { margin: var(--space-1); }
199
+ .lg\:m-2 { margin: var(--space-2); }
200
+ .lg\:m-3 { margin: var(--space-3); }
201
+ .lg\:m-4 { margin: var(--space-4); }
202
+ .lg\:m-6 { margin: var(--space-6); }
203
+ .lg\:m-8 { margin: var(--space-8); }
204
+ .lg\:m-12 { margin: var(--space-12); }
205
+ .lg\:m-16 { margin: var(--space-16); }
206
+ .lg\:mx-auto { margin-left: auto; margin-right: auto; }
207
+
208
+ .lg\:p-0 { padding: var(--space-0); }
209
+ .lg\:p-1 { padding: var(--space-1); }
210
+ .lg\:p-2 { padding: var(--space-2); }
211
+ .lg\:p-3 { padding: var(--space-3); }
212
+ .lg\:p-4 { padding: var(--space-4); }
213
+ .lg\:p-6 { padding: var(--space-6); }
214
+ .lg\:p-8 { padding: var(--space-8); }
215
+ .lg\:p-12 { padding: var(--space-12); }
216
+ .lg\:p-16 { padding: var(--space-16); }
217
+
218
+ .lg\:w-full { width: 100%; }
219
+ .lg\:w-auto { width: auto; }
220
+ .lg\:w-1\/2 { width: 50%; }
221
+ .lg\:w-1\/3 { width: 33.333333%; }
222
+ .lg\:w-2\/3 { width: 66.666667%; }
223
+ .lg\:w-1\/4 { width: 25%; }
224
+ .lg\:w-3\/4 { width: 75%; }
225
+ .lg\:w-1\/5 { width: 20%; }
226
+ .lg\:w-2\/5 { width: 40%; }
227
+ .lg\:w-3\/5 { width: 60%; }
228
+ .lg\:w-4\/5 { width: 80%; }
229
+
230
+ .lg\:h-full { height: 100%; }
231
+ .lg\:h-auto { height: auto; }
232
+ .lg\:h-screen { height: 100vh; }
233
+ }
234
+
235
+ @media (--xl) {
236
+ .xl\:block { display: block; }
237
+ .xl\:inline-block { display: inline-block; }
238
+ .xl\:inline { display: inline; }
239
+ .xl\:flex { display: flex; }
240
+ .xl\:grid { display: grid; }
241
+ .xl\:hidden { display: none; }
242
+
243
+ .xl\:flex-row { flex-direction: row; }
244
+ .xl\:flex-col { flex-direction: column; }
245
+
246
+ .xl\:items-start { align-items: flex-start; }
247
+ .xl\:items-center { align-items: center; }
248
+ .xl\:items-end { align-items: flex-end; }
249
+ .xl\:items-stretch { align-items: stretch; }
250
+
251
+ .xl\:justify-start { justify-content: flex-start; }
252
+ .xl\:justify-center { justify-content: center; }
253
+ .xl\:justify-end { justify-content: flex-end; }
254
+ .xl\:justify-between { justify-content: space-between; }
255
+ .xl\:justify-around { justify-content: space-around; }
256
+ .xl\:justify-evenly { justify-content: space-evenly; }
257
+
258
+ .xl\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
259
+ .xl\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
260
+ .xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
261
+ .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
262
+ .xl\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
263
+ .xl\:grid-cols-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
264
+ .xl\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
265
+
266
+ .xl\:text-xs { font-size: 0.75rem; line-height: 1rem; }
267
+ .xl\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
268
+ .xl\:text-base { font-size: 1rem; line-height: 1.5rem; }
269
+ .xl\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
270
+ .xl\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
271
+ .xl\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
272
+ .xl\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
273
+ .xl\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
274
+ .xl\:text-5xl { font-size: 3rem; line-height: 1; }
275
+
276
+ .xl\:m-0 { margin: var(--space-0); }
277
+ .xl\:m-1 { margin: var(--space-1); }
278
+ .xl\:m-2 { margin: var(--space-2); }
279
+ .xl\:m-3 { margin: var(--space-3); }
280
+ .xl\:m-4 { margin: var(--space-4); }
281
+ .xl\:m-6 { margin: var(--space-6); }
282
+ .xl\:m-8 { margin: var(--space-8); }
283
+ .xl\:m-12 { margin: var(--space-12); }
284
+ .xl\:m-16 { margin: var(--space-16); }
285
+ .xl\:m-20 { margin: var(--space-20); }
286
+ .xl\:mx-auto { margin-left: auto; margin-right: auto; }
287
+
288
+ .xl\:p-0 { padding: var(--space-0); }
289
+ .xl\:p-1 { padding: var(--space-1); }
290
+ .xl\:p-2 { padding: var(--space-2); }
291
+ .xl\:p-3 { padding: var(--space-3); }
292
+ .xl\:p-4 { padding: var(--space-4); }
293
+ .xl\:p-6 { padding: var(--space-6); }
294
+ .xl\:p-8 { padding: var(--space-8); }
295
+ .xl\:p-12 { padding: var(--space-12); }
296
+ .xl\:p-16 { padding: var(--space-16); }
297
+ .xl\:p-20 { padding: var(--space-20); }
298
+
299
+ .xl\:w-full { width: 100%; }
300
+ .xl\:w-auto { width: auto; }
301
+ .xl\:w-1\/2 { width: 50%; }
302
+ .xl\:w-1\/3 { width: 33.333333%; }
303
+ .xl\:w-2\/3 { width: 66.666667%; }
304
+ .xl\:w-1\/4 { width: 25%; }
305
+ .xl\:w-3\/4 { width: 75%; }
306
+ .xl\:w-1\/5 { width: 20%; }
307
+ .xl\:w-2\/5 { width: 40%; }
308
+ .xl\:w-3\/5 { width: 60%; }
309
+ .xl\:w-4\/5 { width: 80%; }
310
+
311
+ .xl\:h-full { height: 100%; }
312
+ .xl\:h-auto { height: auto; }
313
+ .xl\:h-screen { height: 100vh; }
314
+ }
315
+
316
+ /* Landscape/Portrait Orientation Utilities */
317
+ @media (orientation: landscape) {
318
+ .landscape\:flex-row { flex-direction: row; }
319
+ .landscape\:hidden { display: none; }
320
+ }
321
+
322
+ @media (orientation: portrait) {
323
+ .portrait\:flex-col { flex-direction: column; }
324
+ .portrait\:hidden { display: none; }
325
+ }
326
+
327
+ /* High DPI Display Utilities */
328
+ @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
329
+ .retina\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
330
+ .retina\:border { border-width: 0.5px; }
331
+ }
332
+
333
+ /* Reduced Motion Support */
334
+ @media (prefers-reduced-motion: reduce) {
335
+ .motion-reduce\:transition-none {
336
+ transition-property: none;
337
+ }
338
+ }
339
+
340
+ /* Dark Mode Utilities */
341
+ @media (prefers-color-scheme: dark) {
342
+ .dark\:text-white { color: #ffffff; }
343
+ .dark\:text-gray-200 { color: #e5e7eb; }
344
+ .dark\:text-gray-300 { color: #d1d5db; }
345
+ .dark\:bg-gray-900 { background-color: #111827; }
346
+ .dark\:bg-gray-800 { background-color: #1f2937; }
347
+ .dark\:bg-gray-700 { background-color: #374151; }
348
+ .dark\:border-gray-700 { border-color: #374151; }
349
+ .dark\:border-gray-600 { border-color: #4b5563; }
350
+ }
351
+
352
+ /* Light Mode Utilities */
353
+ @media (prefers-color-scheme: light) {
354
+ .light\:text-black { color: #000000; }
355
+ .light\:text-gray-800 { color: #1f2937; }
356
+ .light\:text-gray-700 { color: #374151; }
357
+ .light\:bg-white { background-color: #ffffff; }
358
+ .light\:bg-gray-50 { background-color: #f9fafb; }
359
+ .light\:bg-gray-100 { background-color: #f3f4f6; }
360
+ .light\:border-gray-300 { border-color: #d1d5db; }
361
+ .light\:border-gray-200 { border-color: #e5e7eb; }
362
+ }