@jsb188/css 1.0.4 → 1.1.2

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.
package/css/_sizing.css CHANGED
@@ -1,574 +1,1861 @@
1
-
2
1
  /* Page elements */
3
2
 
4
- .page_ht { min-height: 100vh; }
5
- .rel { position: relative; }
6
- .sticky { position: sticky; top: 0; left: 0; right: 0; }
7
- .fixed { position: fixed; }
8
- .g_fill { grid-column: 1 / -1; }
3
+ .sticky_top {
4
+ position: sticky;
5
+ top: 0;
6
+ left: 0;
7
+ right: 0;
8
+ }
9
+ .sticky_toolbar {
10
+ position: sticky;
11
+ top: var(--toolbar-ht);
12
+ left: 0;
13
+ right: 0;
14
+ }
15
+ .sticky_bottom {
16
+ position: sticky;
17
+ bottom: 0;
18
+ left: 0;
19
+ right: 0;
20
+ }
21
+ .sticky_left {
22
+ position: sticky;
23
+ top: 0;
24
+ left: 0;
25
+ bottom: 0;
26
+ }
27
+ .sticky_right {
28
+ position: sticky;
29
+ top: 0;
30
+ right: 0;
31
+ bottom: 0;
32
+ }
9
33
 
10
- .abs {
11
- position: absolute;
34
+ .abs_l_center,
35
+ .abs_r_center,
36
+ .abs,
37
+ .abs_l,
38
+ .abs_r,
39
+ .abs_t,
40
+ .abs_b,
41
+ .abs_full,
42
+ .abs_tl,
43
+ .abs_tl_xs,
44
+ .abs_tl_sm,
45
+ .abs_tl_df,
46
+ .abs_tl_md,
47
+ .abs_tr,
48
+ .abs_tr_xs,
49
+ .abs_tr_sm,
50
+ .abs_tr_df,
51
+ .abs_tr_md {
52
+ position: absolute;
12
53
  }
13
54
 
14
- .abs_full {
15
- position: absolute;
16
- top: 0; left: 0; right: 0; bottom: 0;
55
+ .fixed,
56
+ .fixed_l,
57
+ .fixed_r,
58
+ .fixed_t,
59
+ .fixed_b,
60
+ .fixed_full,
61
+ .fixed_tl,
62
+ .fixed_tl_xs,
63
+ .fixed_tl_sm,
64
+ .fixed_tl_df,
65
+ .fixed_tl_md,
66
+ .fixed_tr,
67
+ .fixed_tr_xs,
68
+ .fixed_tr_sm,
69
+ .fixed_tr_df,
70
+ .fixed_tr_md {
71
+ position: fixed;
17
72
  }
18
73
 
19
- .abs_l {
20
- position: absolute;
21
- top: 0;
22
- bottom: 0;
23
- left: 0;
74
+ .abs_full,
75
+ .fixed_full {
76
+ top: 0;
77
+ left: 0;
78
+ right: 0;
79
+ bottom: 0;
24
80
  }
25
81
 
26
- .abs_r {
27
- position: absolute;
28
- top: 0;
29
- bottom: 0;
30
- right: 0;
82
+ .abs_l,
83
+ .fixed_l {
84
+ top: 0;
85
+ left: 0;
86
+ bottom: 0;
87
+ }
88
+ .abs_r,
89
+ .fixed_r {
90
+ top: 0;
91
+ right: 0;
92
+ bottom: 0;
93
+ }
94
+ .abs_t,
95
+ .fixed_t {
96
+ top: 0;
97
+ left: 0;
98
+ right: 0;
99
+ }
100
+ .abs_b,
101
+ .fixed_b {
102
+ left: 0;
103
+ right: 0;
104
+ bottom: 0;
31
105
  }
32
106
 
33
- .abs_corner {
34
- position: absolute;
35
- top: 0; right: 0;
107
+ .abs_tl,
108
+ .fixed_tl {
109
+ top: 0;
110
+ left: 0;
111
+ }
112
+ .abs_tl_xs,
113
+ .fixed_tl_xs {
114
+ top: var(--rem-xsmall);
115
+ left: var(--rem-xsmall);
116
+ }
117
+ .abs_tl_sm,
118
+ .fixed_tl_sm {
119
+ top: var(--rem-small);
120
+ left: var(--rem-small);
121
+ }
122
+ .abs_tl_df,
123
+ .fixed_tl_df {
124
+ top: var(--rem-default);
125
+ left: var(--rem-default);
126
+ }
127
+ .abs_tl_md,
128
+ .fixed_tl_md {
129
+ top: var(--rem-medium);
130
+ left: var(--rem-medium);
36
131
  }
37
132
 
38
- .abs_corner_1 {
39
- position: absolute;
40
- top: 4px; right: -4px;
133
+ .abs_tr,
134
+ .fixed_tr {
135
+ top: 0;
136
+ right: 0;
137
+ }
138
+ .abs_tr_xs,
139
+ .fixed_tr_xs {
140
+ top: var(--rem-xsmall);
141
+ right: var(--rem-xsmall);
142
+ }
143
+ .abs_tr_sm,
144
+ .fixed_tr_sm {
145
+ top: var(--rem-small);
146
+ right: var(--rem-small);
147
+ }
148
+ .abs_tr_df,
149
+ .fixed_tr_df {
150
+ top: var(--rem-default);
151
+ right: var(--rem-default);
152
+ }
153
+ .abs_tr_md,
154
+ .fixed_tr_md {
155
+ top: var(--rem-medium);
156
+ right: var(--rem-medium);
41
157
  }
42
158
 
43
- .abs_corner_2 {
44
- position: absolute;
45
- top: 4px; right: 4px;
159
+ .abs_l_center {
160
+ top: 50%;
161
+ left: 0;
162
+ transform: translateY(-50%);
46
163
  }
47
164
 
48
- .corner_x {
49
- position: absolute;
50
- top: -6px;
51
- right: -6px;
52
- box-shadow: 0 0 5px var(--color-bg), 0 0 1px var(--color-bg);
165
+ .abs_r_center {
166
+ top: 50%;
167
+ right: 0;
168
+ transform: translateY(-50%);
53
169
  }
54
170
 
55
171
  /* Typography */
56
172
 
57
- h1, h2, h3, h4, h5, h6 {
58
- font-family: var(--font-heading);
59
- font-weight: normal;
60
- line-height: 1.3;
173
+ h1,
174
+ h2,
175
+ h3,
176
+ h4,
177
+ h5,
178
+ h6 {
179
+ font-weight: normal;
180
+ font-size: 2em; /* This is em (not rem) on purpose */
181
+ line-height: 1.3;
182
+ box-sizing: border-box;
183
+ padding: 0.5em 0 0.25em;
184
+ margin: 0;
185
+ word-wrap: break-word;
186
+ }
187
+
188
+ h1,
189
+ h2,
190
+ h3,
191
+ h4,
192
+ h5,
193
+ h6,
194
+ h1.ft_semibold,
195
+ h2.ft_semibold,
196
+ h3.ft_semibold,
197
+ h4.ft_semibold,
198
+ h5.ft_semibold,
199
+ h6.ft_semibold {
200
+ letter-spacing: -0.04em;
201
+ }
202
+
203
+ h1.ft_medium,
204
+ h2.ft_medium,
205
+ h3.ft_medium,
206
+ h4.ft_medium,
207
+ h5.ft_medium,
208
+ h6.ft_medium,
209
+ h1.ft_normal,
210
+ h2.ft_normal,
211
+ h3.ft_normal,
212
+ h4.ft_normal,
213
+ h5.ft_normal,
214
+ h6.ft_normal,
215
+ h1.ft_light,
216
+ h2.ft_light,
217
+ h3.ft_light,
218
+ h4.ft_light,
219
+ h5.ft_light,
220
+ h6.ft_light {
221
+ letter-spacing: -0.0375em;
222
+ }
223
+
224
+ h1,
225
+ h2,
226
+ h3,
227
+ h4,
228
+ h5,
229
+ h6,
230
+ strong,
231
+ .ft_semibold {
232
+ font-family: var(--font-sans-semibold);
233
+ font-weight: normal;
234
+ }
235
+
236
+ .ft_bold {
237
+ font-family: var(--font-sans-bold);
238
+ }
61
239
 
62
- padding: .7em 0 .4em;
63
- margin: 0;
64
- word-wrap: break-word;
240
+ strong,
241
+ .ft_bold,
242
+ .ft_semibold {
243
+ letter-spacing: -0.0075em;
65
244
  }
66
245
 
67
- strong, .bold {
68
- font-family: var(--font-sans-bold);
69
- font-weight: normal;
246
+ .ft_medium {
247
+ font-family: var(--font-sans-medium);
248
+ font-weight: normal;
70
249
  }
71
250
 
72
251
  .ft_normal {
73
- font-family: var(--font-sans);
252
+ font-family: var(--font-sans);
74
253
  }
75
254
 
76
- p {
77
- padding: 0;
78
- margin: 0 0 .64em;
255
+ .ft_light {
256
+ font-family: var(--font-sans-light);
79
257
  }
80
258
 
81
- div, p {
82
- word-wrap: break-word;
259
+ .ft_italic {
260
+ font-style: italic;
83
261
  }
84
262
 
85
- .ft_xt { font-size: var(--text-xxsmall); }
86
- .ft_t { font-size: var(--text-xsmall); }
87
- .ft_s { font-size: var(--text-small); }
88
- .ft_d { font-size: var(--text-default); }
89
- .ft_m { font-size: var(--text-medium); }
90
- .ft_l { font-size: var(--text-large); }
91
- .ft_xl { font-size: var(--text-xlarge); }
263
+ p {
264
+ padding: 0;
265
+ margin: 0 0 0.5em;
266
+ }
92
267
 
93
- .lh_t { line-height: 1.1; }
94
- .lh_s { line-height: 1.3; }
95
- .lh_d { line-height: 1.5; }
96
- .lh_m { line-height: 1.7; }
97
- .lh_l { line-height: 1.9; }
268
+ div,
269
+ p {
270
+ word-wrap: break-word;
271
+ }
98
272
 
99
- h1, h2, h3, h4, h5, h6 {
100
- font-size: 2em; /* This is em (not rem) on purpose */
101
- letter-spacing: -.01em;
102
- text-indent: -.02em;
273
+ h1.ft_xxs,
274
+ h2.ft_xxs,
275
+ h3.ft_xxs,
276
+ h4.ft_xxs,
277
+ h5.ft_xxs,
278
+ h6.ft_xxs {
279
+ font-size: var(--heading-xxsmall);
280
+ }
281
+ h1.ft_xs,
282
+ h2.ft_xs,
283
+ h3.ft_xs,
284
+ h4.ft_xs,
285
+ h5.ft_xs,
286
+ h6.ft_xs {
287
+ font-size: var(--heading-xsmall);
288
+ }
289
+ h1.ft_sm,
290
+ h2.ft_sm,
291
+ h3.ft_sm,
292
+ h4.ft_sm,
293
+ h5.ft_sm,
294
+ h6.ft_sm {
295
+ font-size: var(--heading-small);
296
+ }
297
+ h1.ft_df,
298
+ h2.ft_df,
299
+ h3.ft_df,
300
+ h4.ft_df,
301
+ h5.ft_df,
302
+ h6.ft_df {
303
+ font-size: var(--heading-default);
304
+ }
305
+ h1.ft_md,
306
+ h2.ft_md,
307
+ h3.ft_md,
308
+ h4.ft_md,
309
+ h5.ft_md,
310
+ h6.ft_md {
311
+ font-size: var(--heading-medium);
312
+ }
313
+ h1.ft_lg,
314
+ h2.ft_lg,
315
+ h3.ft_lg,
316
+ h4.ft_lg,
317
+ h5.ft_lg,
318
+ h6.ft_lg {
319
+ font-size: var(--heading-large);
320
+ }
321
+ h1.ft_xl,
322
+ h2.ft_xl,
323
+ h3.ft_xl,
324
+ h4.ft_xl,
325
+ h5.ft_xl,
326
+ h6.ft_xl {
327
+ font-size: var(--heading-xlarge);
328
+ }
329
+ h1.ft_xxl,
330
+ h2.ft_xxl,
331
+ h3.ft_xxl,
332
+ h4.ft_xxl,
333
+ h5.ft_xxl,
334
+ h6.ft_xxl {
335
+ font-size: var(--heading-xxlarge);
103
336
  }
104
337
 
105
- h1.ft_xt, h2.ft_xt, h3.ft_xt, h4.ft_xt, h5.ft_xt, h6.ft_xt { font-size: var(--heading-xxsmall); }
106
- h1.ft_t, h2.ft_t, h3.ft_t, h4.ft_t, h5.ft_t, h6.ft_t { font-size: var(--heading-tiny); }
107
- h1.ft_s, h2.ft_s, h3.ft_s, h4.ft_s, h5.ft_s, h6.ft_s { font-size: var(--heading-small); }
108
- h1.ft_d, h2.ft_d, h3.ft_d, h4.ft_d, h5.ft_d, h6.ft_d { font-size: var(--heading-default); }
109
- h1.ft_m, h2.ft_m, h3.ft_m, h4.ft_m, h5.ft_m, h6.ft_m { font-size: var(--heading-medium); }
110
- h1.ft_l, h2.ft_l, h3.ft_l, h4.ft_l, h5.ft_l, h6.ft_l { font-size: var(--heading-large); }
338
+ /*
339
+ Responsive headings: full size from 1100px wide, then shrinking steadily with the screen width.
340
+ Smaller headings shrink less (to about 85% for ft_xxs, down to about 60% for ft_lg), so every size
341
+ stays larger than the one below it.
342
+ */
343
+
344
+ h1.responsive.ft_xxs,
345
+ h2.responsive.ft_xxs,
346
+ h3.responsive.ft_xxs,
347
+ h4.responsive.ft_xxs,
348
+ h5.responsive.ft_xxs,
349
+ h6.responsive.ft_xxs {
350
+ font-size: clamp(
351
+ calc(var(--heading-xxsmall) * 0.9),
352
+ calc(var(--heading-xxsmall) - (1100px - 100vw) * 0.005),
353
+ var(--heading-xxsmall)
354
+ );
355
+ }
356
+ h1.responsive.ft_xs,
357
+ h2.responsive.ft_xs,
358
+ h3.responsive.ft_xs,
359
+ h4.responsive.ft_xs,
360
+ h5.responsive.ft_xs,
361
+ h6.responsive.ft_xs {
362
+ font-size: clamp(calc(var(--heading-xsmall) * 0.825), calc(var(--heading-xsmall) - (1100px - 100vw) * 0.0075), var(--heading-xsmall));
363
+ }
364
+ h1.responsive.ft_sm,
365
+ h2.responsive.ft_sm,
366
+ h3.responsive.ft_sm,
367
+ h4.responsive.ft_sm,
368
+ h5.responsive.ft_sm,
369
+ h6.responsive.ft_sm {
370
+ font-size: clamp(calc(var(--heading-small) * 0.75), calc(var(--heading-small) - (1100px - 100vw) * 0.0116), var(--heading-small));
371
+ }
372
+ h1.responsive.ft_df,
373
+ h2.responsive.ft_df,
374
+ h3.responsive.ft_df,
375
+ h4.responsive.ft_df,
376
+ h5.responsive.ft_df,
377
+ h6.responsive.ft_df {
378
+ font-size: clamp(
379
+ calc(var(--heading-default) * 0.7),
380
+ calc(var(--heading-default) - (1100px - 100vw) * 0.016),
381
+ var(--heading-default)
382
+ );
383
+ }
384
+ h1.responsive.ft_md,
385
+ h2.responsive.ft_md,
386
+ h3.responsive.ft_md,
387
+ h4.responsive.ft_md,
388
+ h5.responsive.ft_md,
389
+ h6.responsive.ft_md {
390
+ font-size: clamp(calc(var(--heading-medium) * 0.62), calc(var(--heading-medium) - (1100px - 100vw) * 0.02), var(--heading-medium));
391
+ }
392
+ h1.responsive.ft_lg,
393
+ h2.responsive.ft_lg,
394
+ h3.responsive.ft_lg,
395
+ h4.responsive.ft_lg,
396
+ h5.responsive.ft_lg,
397
+ h6.responsive.ft_lg {
398
+ font-size: clamp(calc(var(--heading-large) * 0.6), calc(var(--heading-large) - (1100px - 100vw) * 0.024), var(--heading-large));
399
+ }
400
+ h1.responsive.ft_xl,
401
+ h2.responsive.ft_xl,
402
+ h3.responsive.ft_xl,
403
+ h4.responsive.ft_xl,
404
+ h5.responsive.ft_xl,
405
+ h6.responsive.ft_xl {
406
+ font-size: clamp(calc(var(--heading-xlarge) * 0.62), calc(var(--heading-xlarge) - (1100px - 100vw) * 0.026), var(--heading-xlarge));
407
+ }
408
+
409
+ /*
410
+ Responsive text (not headings, which the rules above override): the same start at 1100px wide,
411
+ but shrinking far less, to a floor of about 85-90% (never below the default text size), so
412
+ body copy stays readable on phones.
413
+ */
414
+
415
+ .responsive.ft_md {
416
+ font-size: clamp(calc(var(--text-medium) * 0.9), calc(var(--text-medium) - (1100px - 100vw) * 0.0026), var(--text-medium));
417
+ }
418
+ .responsive.ft_lg {
419
+ font-size: clamp(calc(var(--text-large) * 0.88), calc(var(--text-large) - (1100px - 100vw) * 0.0033), var(--text-large));
420
+ }
421
+ .responsive.ft_xl {
422
+ font-size: clamp(calc(var(--text-xlarge) * 0.85), calc(var(--text-xlarge) - (1100px - 100vw) * 0.0045), var(--text-xlarge));
423
+ }
111
424
 
112
425
  /* Icon */
113
426
 
114
- .icon_cnt { display: flex; justify-content: center; align-items: center; }
115
- .icon { display: block; font-size: 1.3em; }
116
- .ic_xxxl .icon { font-size: var(--ic-xxxlarge); }
117
- .ic_xxl .icon { font-size: var(--ic-xxlarge); }
118
- .ic_xl .icon { font-size: var(--ic-xlarge); }
119
- .ic_lg .icon { font-size: var(--ic-large); }
120
- .ic_md .icon { font-size: var(--ic-medium); }
121
- .ic_df .icon { font-size: var(--ic-default); }
122
- .ic_sm .icon { font-size: var(--ic-small); }
123
- .ic_xs .icon { font-size: var(--ic-xsmall); }
124
-
125
- .ic_special { width: 18px; height: 18px; display: block; } /* default size */
126
- .ic_xxxl .ic_special { width: 72px; height: 72px; }
127
- .ic_xxl .ic_special { width: 60px; height: 60px; }
128
- .ic_xl .ic_special { width: 48px; height: 48px; }
129
- .ic_lg .ic_special { width: 29px; height: 28px; }
130
- .ic_md .ic_special { width: 24px; height: 24px; }
131
- .ic_df .ic_special { width: 20px; height: 20px; }
132
- .ic_sm .ic_special { width: 14px; height: 14px; }
133
-
134
- .shift_up { transform: translateY(-1px); }
135
- .shift_dn { transform: translateY(1px); }
427
+ .icon_cnt {
428
+ display: flex;
429
+ justify-content: center;
430
+ align-items: center;
431
+ }
432
+ .icon {
433
+ display: block;
434
+ font-size: 1.3em;
435
+ flex-shrink: 0;
436
+ }
437
+ .ic_xxxl .icon {
438
+ font-size: var(--ic-xxxlarge);
439
+ }
440
+ .ic_xxl .icon {
441
+ font-size: var(--ic-xxlarge);
442
+ }
443
+ .ic_xl .icon {
444
+ font-size: var(--ic-xlarge);
445
+ }
446
+ .ic_lg .icon {
447
+ font-size: var(--ic-large);
448
+ }
449
+ .ic_md .icon {
450
+ font-size: var(--ic-medium);
451
+ }
452
+ .ic_df .icon {
453
+ font-size: var(--ic-default);
454
+ }
455
+ .ic_sm .icon {
456
+ font-size: var(--ic-small);
457
+ }
458
+ .ic_xs .icon {
459
+ font-size: var(--ic-xsmall);
460
+ }
461
+
462
+ .ic_special {
463
+ width: 18px;
464
+ height: 18px;
465
+ display: block;
466
+ } /* default size */
467
+ .ic_xxxl .ic_special {
468
+ width: 72px;
469
+ height: 72px;
470
+ }
471
+ .ic_xxl .ic_special {
472
+ width: 60px;
473
+ height: 60px;
474
+ }
475
+ .ic_xl .ic_special {
476
+ width: 48px;
477
+ height: 48px;
478
+ }
479
+ .ic_lg .ic_special {
480
+ width: 29px;
481
+ height: 28px;
482
+ }
483
+ .ic_md .ic_special {
484
+ width: 24px;
485
+ height: 24px;
486
+ }
487
+ .ic_df .ic_special {
488
+ width: 20px;
489
+ height: 20px;
490
+ }
491
+ .ic_sm .ic_special {
492
+ width: 14px;
493
+ height: 14px;
494
+ }
136
495
 
137
496
  .icon {
138
- width: 1em;
139
- height: 1em;
497
+ width: 1em;
498
+ height: 1em;
499
+ }
500
+ .ic_abs {
501
+ position: relative;
502
+ }
503
+ .ic_abs .icon {
504
+ position: absolute;
505
+ top: 50%;
506
+ transform: translateY(-55%);
507
+ }
508
+
509
+ /* Transforms */
510
+
511
+ .shift_half_up {
512
+ transform: translateY(-0.5px);
513
+ }
514
+ .shift_half_down {
515
+ transform: translateY(0.5px);
516
+ }
517
+ .shift_half_left {
518
+ transform: translateX(-0.5px);
519
+ }
520
+ .shift_half_right {
521
+ transform: translateX(0.5px);
140
522
  }
141
523
 
142
- .icon .back_fill {
143
- fill: var(--color-bg-alt);
524
+ .shift_up {
525
+ transform: translateY(-1px);
526
+ }
527
+ .shift_down {
528
+ transform: translateY(1px);
529
+ }
530
+ .shift_left {
531
+ transform: translateX(-1px);
532
+ }
533
+ .shift_right {
534
+ transform: translateX(1px);
535
+ }
536
+
537
+ .shift_up_2 {
538
+ transform: translateY(-2px);
539
+ }
540
+ .shift_down_2 {
541
+ transform: translateY(2px);
542
+ }
543
+ .shift_left_2 {
544
+ transform: translateX(-2px);
545
+ }
546
+ .shift_right_2 {
547
+ transform: translateX(2px);
548
+ }
549
+
550
+ .shift_up_3 {
551
+ transform: translateY(-3px);
552
+ }
553
+ .shift_down_3 {
554
+ transform: translateY(3px);
555
+ }
556
+ .shift_left_3 {
557
+ transform: translateX(-3px);
558
+ }
559
+ .shift_right_3 {
560
+ transform: translateX(3px);
561
+ }
562
+
563
+ .move_up {
564
+ transform: translateY(-4px);
565
+ }
566
+ .move_down {
567
+ transform: translateY(4px);
568
+ }
569
+ .move_left {
570
+ transform: translateX(-4px);
571
+ }
572
+ .move_right {
573
+ transform: translateX(4px);
574
+ }
575
+
576
+ .tf_rotate_0 {
577
+ transform: rotate(0deg);
578
+ }
579
+ .tf_rotate_15 {
580
+ transform: rotate(15deg);
581
+ }
582
+ .tf_rotate_30 {
583
+ transform: rotate(30deg);
584
+ }
585
+ .tf_rotate_45 {
586
+ transform: rotate(45deg);
587
+ }
588
+ .tf_rotate_60 {
589
+ transform: rotate(60deg);
590
+ }
591
+ .tf_rotate_75 {
592
+ transform: rotate(75deg);
593
+ }
594
+ .tf_rotate_90 {
595
+ transform: rotate(90deg);
596
+ }
597
+ .tf_rotate_105 {
598
+ transform: rotate(105deg);
599
+ }
600
+ .tf_rotate_120 {
601
+ transform: rotate(120deg);
602
+ }
603
+ .tf_rotate_135 {
604
+ transform: rotate(135deg);
605
+ }
606
+ .tf_rotate_150 {
607
+ transform: rotate(150deg);
608
+ }
609
+ .tf_rotate_165 {
610
+ transform: rotate(165deg);
611
+ }
612
+ .tf_rotate_180 {
613
+ transform: rotate(180deg);
614
+ }
615
+ .tf_rotate_195 {
616
+ transform: rotate(195deg);
617
+ }
618
+ .tf_rotate_210 {
619
+ transform: rotate(210deg);
620
+ }
621
+ .tf_rotate_225 {
622
+ transform: rotate(225deg);
623
+ }
624
+ .tf_rotate_240 {
625
+ transform: rotate(240deg);
626
+ }
627
+ .tf_rotate_255 {
628
+ transform: rotate(255deg);
629
+ }
630
+ .tf_rotate_270 {
631
+ transform: rotate(270deg);
632
+ }
633
+ .tf_rotate_285 {
634
+ transform: rotate(285deg);
635
+ }
636
+ .tf_rotate_300 {
637
+ transform: rotate(300deg);
638
+ }
639
+ .tf_rotate_315 {
640
+ transform: rotate(315deg);
641
+ }
642
+ .tf_rotate_330 {
643
+ transform: rotate(330deg);
644
+ }
645
+ .tf_rotate_345 {
646
+ transform: rotate(345deg);
647
+ }
648
+ .tf_rotate_360 {
649
+ transform: rotate(360deg);
650
+ }
651
+
652
+ .tf_center {
653
+ transform: translate(50%, -50%);
144
654
  }
145
655
 
146
656
  /* Emojis */
147
657
 
148
658
  .noto_emoji {
149
- font-family: 'Noto Color Emoji', sans-serif;
150
- font-weight: 400;
151
- font-style: normal;
659
+ /* display: inline-block; */
660
+ font-family: "Noto Color Emoji", sans-serif;
661
+ font-weight: 400;
662
+ font-style: normal;
663
+ line-height: 1;
664
+ /* transform: translateY(-.5px); */
665
+ /* margin: 0 .15em; */
666
+ }
667
+
668
+ .noto_emoji:first-child {
669
+ margin-left: 0;
152
670
  }
153
671
 
154
- .ft_l .noto_emoji {
155
- display: inline-block;
156
- transform: translateY(-2px);
672
+ .noto_emoji:last-child {
673
+ margin-right: 0;
674
+ }
675
+
676
+ .ft_lg .noto_emoji {
677
+ display: inline-block;
678
+ transform: translateY(-2px);
157
679
  }
158
680
 
159
681
  .emoji {
160
- position: relative;
161
- display: inline-block;
162
- width: 1em;
163
- height: 1em;
164
- margin: 0 .1em;
165
- line-height: 1;
682
+ position: relative;
683
+ display: inline-block;
684
+ width: 1em;
685
+ height: 1em;
686
+ margin: 0 0.1em;
687
+ line-height: 1;
166
688
  }
167
689
 
168
690
  .emoji img {
169
- position: absolute;
170
- /* top: 0; left: 0; right: 0; bottom: 0; */
171
- /* top: -25%; left: -25%; right: -25%; bottom: -25%; */
172
- top: 0; left: 0; right: 0; bottom: 0;
173
- width: 1.25em;
174
- height: 1.25em;
691
+ position: absolute;
692
+ /* top: 0; left: 0; right: 0; bottom: 0; */
693
+ /* top: -25%; left: -25%; right: -25%; bottom: -25%; */
694
+ top: 0;
695
+ left: 0;
696
+ right: 0;
697
+ bottom: 0;
698
+ width: 1.25em;
699
+ height: 1.25em;
175
700
  }
176
701
 
177
- /* Padding */
178
-
179
- .p_n { padding: 0 !important; }
180
-
181
- .p_xxs { padding: 3px; }
182
- .py_xxs { padding-top: 3px; padding-bottom: 3px; }
183
- .px_xxs { padding-left: 3px; padding-right: 3px; }
184
-
185
- .p_xs { padding: var(--rem-xsmall); }
186
- .py_xs { padding-top: var(--rem-xsmall); padding-bottom: var(--rem-xsmall); }
187
- .px_xs { padding-left: var(--rem-xsmall); padding-right: var(--rem-xsmall); }
188
-
189
- .p_sm { padding: var(--rem-small); }
190
- .py_sm { padding-top: var(--rem-small); padding-bottom: var(--rem-small); }
191
- .px_sm { padding-left: var(--rem-small); padding-right: var(--rem-small); }
192
-
193
- .p_df { padding: var(--rem-default); }
194
- .py_df { padding-top: var(--rem-default); padding-bottom: var(--rem-default); }
195
- .px_df { padding-left: var(--rem-default); padding-right: var(--rem-default); }
196
-
197
- .p_md { padding: var(--rem-medium); }
198
- .py_md { padding-top: var(--rem-medium); padding-bottom: var(--rem-medium); }
199
- .px_md { padding-left: var(--rem-medium); padding-right: var(--rem-medium); }
200
-
201
- .p_lg { padding: var(--rem-large); }
202
- .py_lg { padding-top: var(--rem-large); padding-bottom: var(--rem-large); }
203
- .px_lg { padding-left: var(--rem-large); padding-right: var(--rem-large); }
204
-
205
- .pt_xxs { padding-top: 3px; }
206
- .pr_xxs { padding-right: 3px; }
207
- .pb_xxs { padding-bottom: 3px; }
208
- .pl_xxs { padding-left: 3px; }
209
-
210
- .pt_xs { padding-top: var(--rem-xsmall); }
211
- .pr_xs { padding-right: var(--rem-xsmall); }
212
- .pb_xs { padding-bottom: var(--rem-xsmall); }
213
- .pl_xs { padding-left: var(--rem-xsmall); }
214
-
215
- .pt_sm { padding-top: var(--rem-small); }
216
- .pr_sm { padding-right: var(--rem-small); }
217
- .pb_sm { padding-bottom: var(--rem-small); }
218
- .pl_sm { padding-left: var(--rem-small); }
219
-
220
- .pt_df { padding-top: var(--rem-default); }
221
- .pr_df { padding-right: var(--rem-default); }
222
- .pb_df { padding-bottom: var(--rem-default); }
223
- .pl_df { padding-left: var(--rem-default); }
224
-
225
- .pt_md { padding-top: var(--rem-medium); }
226
- .pr_md { padding-right: var(--rem-medium); }
227
- .pb_md { padding-bottom: var(--rem-medium); }
228
- .pl_md { padding-left: var(--rem-medium); }
229
-
230
- .pt_lg { padding-top: var(--rem-large); }
231
- .pr_lg { padding-right: var(--rem-large); }
232
- .pb_lg { padding-bottom: var(--rem-large); }
233
- .pl_lg { padding-left: var(--rem-large); }
234
-
235
- /* Margin */
236
-
237
- .m_n { margin: 0 !important; }
238
-
239
- .m_xxs { margin: 3px; }
240
- .my_xxs { margin-top: 3px; margin-bottom: 3px; }
241
- .mx_xxs { margin-left: 3px; margin-right: 3px; }
242
-
243
- .m_xxs { margin: var(--rem-xsmall); }
244
- .my_xs { margin-top: var(--rem-xsmall); margin-bottom: var(--rem-xsmall); }
245
- .mx_xs { margin-left: var(--rem-xsmall); margin-right: var(--rem-xsmall); }
246
-
247
- .m_sm { margin: var(--rem-small); }
248
- .my_sm { margin-top: var(--rem-small); margin-bottom: var(--rem-small); }
249
- .mx_sm { margin-left: var(--rem-small); margin-right: var(--rem-small); }
250
-
251
- .m_df { margin: var(--rem-default); }
252
- .my_df { margin-top: var(--rem-default); margin-bottom: var(--rem-default); }
253
- .mx_df { margin-left: var(--rem-default); margin-right: var(--rem-default); }
254
-
255
- .m_md { margin: var(--rem-medium); }
256
- .my_md { margin-top: var(--rem-medium); margin-bottom: var(--rem-medium); }
257
- .mx_md { margin-left: var(--rem-medium); margin-right: var(--rem-medium); }
258
-
259
- .m_lg { margin: var(--rem-large); }
260
- .my_lg { margin-top: var(--rem-large); margin-bottom: var(--rem-large); }
261
- .mx_lg { margin-left: var(--rem-large); margin-right: var(--rem-large); }
262
-
263
- .mt_xxs { margin-top: 3px; }
264
- .mr_xxs { margin-right: 3px; }
265
- .mb_xxs { margin-bottom: 3px; }
266
- .ml_xxs { margin-left: 3px; }
267
-
268
- .mt_xs { margin-top: var(--rem-xsmall); }
269
- .mr_xs { margin-right: var(--rem-xsmall); }
270
- .mb_xs { margin-bottom: var(--rem-xsmall); }
271
- .ml_xs { margin-left: var(--rem-xsmall); }
702
+ /* Gap */
272
703
 
273
- .mt_sm { margin-top: var(--rem-small); }
274
- .mr_sm { margin-right: var(--rem-small); }
275
- .mb_sm { margin-bottom: var(--rem-small); }
276
- .ml_sm { margin-left: var(--rem-small); }
277
-
278
- .mt_df { margin-top: var(--rem-default); }
279
- .mr_df { margin-right: var(--rem-default); }
280
- .mb_df { margin-bottom: var(--rem-default); }
281
- .ml_df { margin-left: var(--rem-default); }
282
-
283
- .mt_md { margin-top: var(--rem-medium); }
284
- .mr_md { margin-right: var(--rem-medium); }
285
- .mb_md { margin-bottom: var(--rem-medium); }
286
- .ml_md { margin-left: var(--rem-medium); }
287
-
288
- .mt_lg { margin-top: var(--rem-large); }
289
- .mr_lg { margin-right: var(--rem-large); }
290
- .mb_lg { margin-bottom: var(--rem-large); }
291
- .ml_lg { margin-left: var(--rem-large); }
704
+ .gap_1 {
705
+ gap: 1px;
706
+ }
707
+ .gap_2 {
708
+ gap: 2px;
709
+ }
710
+ .gap_3 {
711
+ gap: 3px;
712
+ }
713
+ .gap_4 {
714
+ gap: 4px;
715
+ }
716
+ .gap_5 {
717
+ gap: 5px;
718
+ }
719
+ .gap_6 {
720
+ gap: 6px;
721
+ }
722
+ .gap_7 {
723
+ gap: 7px;
724
+ }
725
+ .gap_8 {
726
+ gap: 8px;
727
+ }
728
+ .gap_9 {
729
+ gap: 9px;
730
+ }
731
+ .gap_10 {
732
+ gap: 10px;
733
+ }
734
+ .gap_15 {
735
+ gap: 15px;
736
+ }
737
+ .gap_20 {
738
+ gap: 20px;
739
+ }
740
+ .gap_25 {
741
+ gap: 25px;
742
+ }
743
+ .gap_30 {
744
+ gap: 30px;
745
+ }
746
+ .gap_40 {
747
+ gap: 40px;
748
+ }
749
+ .gap_50 {
750
+ gap: 50px;
751
+ }
752
+ .gap_60 {
753
+ gap: 60px;
754
+ }
755
+ .gap_70 {
756
+ gap: 70px;
757
+ }
292
758
 
293
- /* Radius */
759
+ .gap_xs {
760
+ gap: var(--rem-xsmall);
761
+ }
762
+ .gap_sm {
763
+ gap: var(--rem-small);
764
+ }
765
+ .gap_df {
766
+ gap: var(--rem-default);
767
+ }
768
+ .gap_md {
769
+ gap: var(--rem-medium);
770
+ }
771
+ .gap_lg {
772
+ gap: var(--rem-large);
773
+ }
774
+ .gap_xl {
775
+ gap: var(--rem-xlarge);
776
+ }
294
777
 
295
- .r, .r .img_auto { border-radius: 100vmax; }
296
- .rl { border-top-left-radius: 100vmax; border-bottom-left-radius: 100vmax; }
297
- .rr { border-top-right-radius: 100vmax; border-bottom-right-radius: 100vmax; }
778
+ /* Radius */
298
779
 
299
- .r_sm { border-radius: var(--radius-small); }
300
- .rt_sm { border-top-left-radius: var(--radius-small); border-top-right-radius: var(--radius-small); }
301
- .rb_sm { border-bottom-left-radius: var(--radius-small); border-bottom-right-radius: var(--radius-small);}
302
- .rl_sm { border-top-left-radius: var(--radius-small); border-bottom-left-radius: var(--radius-small);}
303
- .rr_sm { border-top-right-radius: var(--radius-small); border-bottom-right-radius: var(--radius-small);}
780
+ .r,
781
+ .r .img_auto {
782
+ border-radius: 100vmax;
783
+ }
784
+ .rl {
785
+ border-top-left-radius: 100vmax;
786
+ border-bottom-left-radius: 100vmax;
787
+ }
788
+ .rr {
789
+ border-top-right-radius: 100vmax;
790
+ border-bottom-right-radius: 100vmax;
791
+ }
304
792
 
305
- .r_df { border-radius: var(--radius-default); }
306
- .rt_df { border-top-left-radius: var(--radius-default); border-top-right-radius: var(--radius-default); }
307
- .rb_df { border-bottom-left-radius: var(--radius-default); border-bottom-right-radius: var(--radius-default);}
793
+ .r_2 {
794
+ border-radius: 2px;
795
+ }
796
+ .rtl_2 {
797
+ border-top-left-radius: 2px;
798
+ }
799
+ .rbl_2 {
800
+ border-bottom-left-radius: 2px;
801
+ }
802
+ .rtr_2 {
803
+ border-top-right-radius: 2px;
804
+ }
805
+ .rbr_2 {
806
+ border-bottom-right-radius: 2px;
807
+ }
808
+ .rt_2 {
809
+ border-top-left-radius: 2px;
810
+ border-top-right-radius: 2px;
811
+ }
812
+ .rb_2 {
813
+ border-bottom-left-radius: 2px;
814
+ border-bottom-right-radius: 2px;
815
+ }
816
+ .rl_2 {
817
+ border-top-left-radius: 2px;
818
+ border-bottom-left-radius: 2px;
819
+ }
820
+ .rr_2 {
821
+ border-top-right-radius: 2px;
822
+ border-bottom-right-radius: 2px;
823
+ }
308
824
 
309
- .r_md { border-radius: var(--radius-medium); }
310
- .rt_md { border-top-left-radius: var(--radius-medium); border-top-right-radius: var(--radius-medium); }
311
- .rb_md { border-bottom-left-radius: var(--radius-medium); border-bottom-right-radius: var(--radius-medium);}
825
+ .r_3 {
826
+ border-radius: 3px;
827
+ }
828
+ .rtl_3 {
829
+ border-top-left-radius: 4px;
830
+ }
831
+ .rbl_3 {
832
+ border-bottom-left-radius: 3px;
833
+ }
834
+ .rtr_3 {
835
+ border-top-right-radius: 3px;
836
+ }
837
+ .rbr_3 {
838
+ border-bottom-right-radius: 3px;
839
+ }
840
+ .rt_3 {
841
+ border-top-left-radius: 3px;
842
+ border-top-right-radius: 3px;
843
+ }
844
+ .rb_3 {
845
+ border-bottom-left-radius: 3px;
846
+ border-bottom-right-radius: 3px;
847
+ }
848
+ .rl_3 {
849
+ border-top-left-radius: 3px;
850
+ border-bottom-left-radius: 3px;
851
+ }
852
+ .rr_3 {
853
+ border-top-right-radius: 3px;
854
+ border-bottom-right-radius: 3px;
855
+ }
312
856
 
313
- .r_lg { border-radius: var(--radius-large); }
314
- .rt_lg { border-top-left-radius: var(--radius-large); border-top-right-radius: var(--radius-large); }
315
- .rb_lg { border-bottom-left-radius: var(--radius-large); border-bottom-right-radius: var(--radius-large);}
857
+ .r_4 {
858
+ border-radius: 4px;
859
+ }
860
+ .rtl_4 {
861
+ border-top-left-radius: 4px;
862
+ }
863
+ .rbl_4 {
864
+ border-bottom-left-radius: 4px;
865
+ }
866
+ .rtr_4 {
867
+ border-top-right-radius: 4px;
868
+ }
869
+ .rbr_4 {
870
+ border-bottom-right-radius: 4px;
871
+ }
872
+ .rt_4 {
873
+ border-top-left-radius: 4px;
874
+ border-top-right-radius: 4px;
875
+ }
876
+ .rb_4 {
877
+ border-bottom-left-radius: 4px;
878
+ border-bottom-right-radius: 4px;
879
+ }
880
+ .rl_4 {
881
+ border-top-left-radius: 4px;
882
+ border-bottom-left-radius: 4px;
883
+ }
884
+ .rr_4 {
885
+ border-top-right-radius: 4px;
886
+ border-bottom-right-radius: 4px;
887
+ }
316
888
 
317
- /* Avatar */
889
+ .r_xs {
890
+ border-radius: var(--radius-xsmall);
891
+ }
892
+ .rtl_xs {
893
+ border-top-left-radius: var(--radius-xsmall);
894
+ }
895
+ .rbl_xs {
896
+ border-bottom-left-radius: var(--radius-xsmall);
897
+ }
898
+ .rtr_xs {
899
+ border-top-right-radius: var(--radius-xsmall);
900
+ }
901
+ .rbr_xs {
902
+ border-bottom-right-radius: var(--radius-xsmall);
903
+ }
904
+ .rt_xs {
905
+ border-top-left-radius: var(--radius-xsmall);
906
+ border-top-right-radius: var(--radius-xsmall);
907
+ }
908
+ .rb_xs {
909
+ border-bottom-left-radius: var(--radius-xsmall);
910
+ border-bottom-right-radius: var(--radius-xsmall);
911
+ }
912
+ .rl_xs {
913
+ border-top-left-radius: var(--radius-xsmall);
914
+ border-bottom-left-radius: var(--radius-xsmall);
915
+ }
916
+ .rr_xs {
917
+ border-top-right-radius: var(--radius-xsmall);
918
+ border-bottom-right-radius: var(--radius-xsmall);
919
+ }
318
920
 
319
- .av_xxxs { width: 1.25rem; height: 1.25rem; }
320
- .av_xxs { width: 1.5rem; height: 1.5rem; }
321
- .av_xs, svg.av_xs foreignObject { width: var(--av-xsmall); height: var(--av-xsmall); }
322
- .av_sm, svg.av_sm foreignObject { width: var(--av-small); height: var(--av-small); }
323
- .av_df, svg.av_df foreignObject { width: var(--av-default); height: var(--av-default); }
324
- .av_md, svg.av_md foreignObject { width: var(--av-medium); height: var(--av-medium); }
325
- .av_lg, svg.av_lg foreignObject { width: var(--av-large); height: var(--av-large); }
326
- .av_xl, svg.av_xl foreignObject { width: var(--av-xlarge); height: var(--av-xlarge); }
327
-
328
- .av_w_xs { width: var(--av-xsmall); }
329
- .av_w_sm { width: var(--av-small); }
330
- .av_w_df { width: var(--av-default); }
331
- .av_w_md { width: var(--av-medium); }
332
- .av_w_lg { width: var(--av-large); }
333
- .av_w_xl { width: var(--av-xlarge); }
334
-
335
- .av_h_xs { height: var(--av-xsmall); }
336
- .av_h_sm { height: var(--av-small); }
337
- .av_h_df { height: var(--av-default); }
338
- .av_h_md { height: var(--av-medium); }
339
- .av_h_lg { height: var(--av-large); }
340
- .av_h_xl { height: var(--av-xlarge); }
921
+ .r_sm {
922
+ border-radius: var(--radius-small);
923
+ }
924
+ .rtl_sm {
925
+ border-top-left-radius: var(--radius-small);
926
+ }
927
+ .rbl_sm {
928
+ border-bottom-left-radius: var(--radius-small);
929
+ }
930
+ .rtr_sm {
931
+ border-top-right-radius: var(--radius-small);
932
+ }
933
+ .rbr_sm {
934
+ border-bottom-right-radius: var(--radius-small);
935
+ }
936
+ .rt_sm {
937
+ border-top-left-radius: var(--radius-small);
938
+ border-top-right-radius: var(--radius-small);
939
+ }
940
+ .rb_sm {
941
+ border-bottom-left-radius: var(--radius-small);
942
+ border-bottom-right-radius: var(--radius-small);
943
+ }
944
+ .rl_sm {
945
+ border-top-left-radius: var(--radius-small);
946
+ border-bottom-left-radius: var(--radius-small);
947
+ }
948
+ .rr_sm {
949
+ border-top-right-radius: var(--radius-small);
950
+ border-bottom-right-radius: var(--radius-small);
951
+ }
341
952
 
342
- .av img {
343
- background-color: var(--color-bg-active);
953
+ .r_smw {
954
+ border-radius: var(--radius-small-wrap);
955
+ }
956
+ .rtl_smw {
957
+ border-top-left-radius: var(--radius-small-wrap);
958
+ }
959
+ .rbl_smw {
960
+ border-bottom-left-radius: var(--radius-small-wrap);
961
+ }
962
+ .rtr_smw {
963
+ border-top-right-radius: var(--radius-small-wrap);
964
+ }
965
+ .rbr_smw {
966
+ border-bottom-right-radius: var(--radius-small-wrap);
967
+ }
968
+ .rt_smw {
969
+ border-top-left-radius: var(--radius-small-wrap);
970
+ border-top-right-radius: var(--radius-small-wrap);
971
+ }
972
+ .rb_smw {
973
+ border-bottom-left-radius: var(--radius-small-wrap);
974
+ border-bottom-right-radius: var(--radius-small-wrap);
975
+ }
976
+ .rl_smw {
977
+ border-top-left-radius: var(--radius-small-wrap);
978
+ border-bottom-left-radius: var(--radius-small-wrap);
979
+ }
980
+ .rr_smw {
981
+ border-top-right-radius: var(--radius-small-wrap);
982
+ border-bottom-right-radius: var(--radius-small-wrap);
344
983
  }
345
984
 
346
- /* viewBox cannot be controlled by CSS; but it doesn't seem necessary, so it's okay */
347
- /* svg.av_sm {
348
- viewBox: 0 0 var(--av-small) var(--av-small);
349
- } */
985
+ .r_df {
986
+ border-radius: var(--radius-default);
987
+ }
988
+ .rtl_df {
989
+ border-top-left-radius: var(--radius-default);
990
+ }
991
+ .rbl_df {
992
+ border-bottom-left-radius: var(--radius-default);
993
+ }
994
+ .rtr_df {
995
+ border-top-right-radius: var(--radius-default);
996
+ }
997
+ .rbr_df {
998
+ border-bottom-right-radius: var(--radius-default);
999
+ }
1000
+ .rt_df {
1001
+ border-top-left-radius: var(--radius-default);
1002
+ border-top-right-radius: var(--radius-default);
1003
+ }
1004
+ .rb_df {
1005
+ border-bottom-left-radius: var(--radius-default);
1006
+ border-bottom-right-radius: var(--radius-default);
1007
+ }
1008
+ .rl_df {
1009
+ border-top-left-radius: var(--radius-default);
1010
+ border-bottom-left-radius: var(--radius-default);
1011
+ }
1012
+ .rr_df {
1013
+ border-top-right-radius: var(--radius-default);
1014
+ border-bottom-right-radius: var(--radius-default);
1015
+ }
350
1016
 
351
- svg.av_xs .s_dot {
352
- width: 0.6872727344rem; height: 0.6872727344rem;
353
- x: 1.07636079995rem; y: 1.07636079995rem;
1017
+ .r_dfw {
1018
+ border-radius: var(--radius-default-wrap);
1019
+ }
1020
+ .rtl_dfw {
1021
+ border-top-left-radius: var(--radius-default-wrap);
1022
+ }
1023
+ .rbl_dfw {
1024
+ border-bottom-left-radius: var(--radius-default-wrap);
1025
+ }
1026
+ .rtr_dfw {
1027
+ border-top-right-radius: var(--radius-default-wrap);
1028
+ }
1029
+ .rbr_dfw {
1030
+ border-bottom-right-radius: var(--radius-default-wrap);
1031
+ }
1032
+ .rt_dfw {
1033
+ border-top-left-radius: var(--radius-default-wrap);
1034
+ border-top-right-radius: var(--radius-default-wrap);
1035
+ }
1036
+ .rb_dfw {
1037
+ border-bottom-left-radius: var(--radius-default-wrap);
1038
+ border-bottom-right-radius: var(--radius-default-wrap);
1039
+ }
1040
+ .rl_dfw {
1041
+ border-top-left-radius: var(--radius-default-wrap);
1042
+ border-bottom-left-radius: var(--radius-default-wrap);
1043
+ }
1044
+ .rr_dfw {
1045
+ border-top-right-radius: var(--radius-default-wrap);
1046
+ border-bottom-right-radius: var(--radius-default-wrap);
354
1047
  }
355
1048
 
356
- svg.av_sm .s_dot {
357
- width: 0.75757576rem; height: 0.75757576rem;
358
- x: 1.546875rem; y: 1.546875rem;
1049
+ .r_md {
1050
+ border-radius: var(--radius-medium);
1051
+ }
1052
+ .rtl_md {
1053
+ border-top-left-radius: var(--radius-medium);
1054
+ }
1055
+ .rbl_md {
1056
+ border-bottom-left-radius: var(--radius-medium);
1057
+ }
1058
+ .rtr_md {
1059
+ border-top-right-radius: var(--radius-medium);
1060
+ }
1061
+ .rbr_md {
1062
+ border-bottom-right-radius: var(--radius-medium);
1063
+ }
1064
+ .rt_md {
1065
+ border-top-left-radius: var(--radius-medium);
1066
+ border-top-right-radius: var(--radius-medium);
1067
+ }
1068
+ .rb_md {
1069
+ border-bottom-left-radius: var(--radius-medium);
1070
+ border-bottom-right-radius: var(--radius-medium);
1071
+ }
1072
+ .rl_md {
1073
+ border-top-left-radius: var(--radius-medium);
1074
+ border-bottom-left-radius: var(--radius-medium);
1075
+ }
1076
+ .rr_md {
1077
+ border-top-right-radius: var(--radius-medium);
1078
+ border-bottom-right-radius: var(--radius-medium);
359
1079
  }
360
1080
 
361
- /* 1.71875rem - 1.51515152rem = 0.20359848rem */
362
- /* svg.av_df {
363
- viewBox: 0 0 var(--av-default) var(--av-default);
364
- } */
1081
+ .r_lg {
1082
+ border-radius: var(--radius-large);
1083
+ }
1084
+ .rtl_lg {
1085
+ border-top-left-radius: var(--radius-large);
1086
+ }
1087
+ .rbl_lg {
1088
+ border-bottom-left-radius: var(--radius-large);
1089
+ }
1090
+ .rtr_lg {
1091
+ border-top-right-radius: var(--radius-large);
1092
+ }
1093
+ .rbr_lg {
1094
+ border-bottom-right-radius: var(--radius-large);
1095
+ }
1096
+ .rt_lg {
1097
+ border-top-left-radius: var(--radius-large);
1098
+ border-top-right-radius: var(--radius-large);
1099
+ }
1100
+ .rb_lg {
1101
+ border-bottom-left-radius: var(--radius-large);
1102
+ border-bottom-right-radius: var(--radius-large);
1103
+ }
1104
+ .rl_lg {
1105
+ border-top-left-radius: var(--radius-large);
1106
+ border-bottom-left-radius: var(--radius-large);
1107
+ }
1108
+ .rr_lg {
1109
+ border-top-right-radius: var(--radius-large);
1110
+ border-bottom-right-radius: var(--radius-large);
1111
+ }
365
1112
 
366
- svg.av_df .s_dot {
367
- width: 0.90909091rem; height: 0.90909091rem; /* size / 3.3 */
368
- x: 2.06rem; y: 2.06rem; /* size / 1.45454545 */
1113
+ .r_5 {
1114
+ border-radius: 5px;
1115
+ }
1116
+ .r_10 {
1117
+ border-radius: 10px;
1118
+ }
1119
+ .r_15 {
1120
+ border-radius: 15px;
1121
+ }
1122
+ .r_20 {
1123
+ border-radius: 20px;
1124
+ }
1125
+ .r_25 {
1126
+ border-radius: 25px;
369
1127
  }
370
1128
 
371
- /* svg.av_md {
372
- viewBox: 0 0 var(--av-medium) var(--av-medium);
373
- } */
1129
+ /* Avatar */
374
1130
 
375
- svg.av_md .s_dot {
376
- width: 1.21212121rem; height: 1.21212121rem;
377
- x: 3.78125rem; y: 3.78125rem;
1131
+ .av_xxxs,
1132
+ .av_xxs,
1133
+ .av_xs,
1134
+ .av_sm,
1135
+ .av_df,
1136
+ .av_md,
1137
+ .av_lg,
1138
+ .av_xl,
1139
+ .av_w_xs,
1140
+ .av_w_sm,
1141
+ .av_w_df,
1142
+ .av_w_md,
1143
+ .av_w_lg,
1144
+ .av_w_xl {
1145
+ flex-shrink: 0;
378
1146
  }
379
1147
 
380
- /* svg.av_lg {
381
- viewBox: 0 0 var(--av-large) var(--av-large);
382
- } */
1148
+ .av_xxxs {
1149
+ width: 1.5rem;
1150
+ height: 1.5rem;
1151
+ }
1152
+ .av_xxs {
1153
+ width: 1.75rem;
1154
+ height: 1.75rem;
1155
+ }
1156
+ .av_xs {
1157
+ width: var(--av-xsmall);
1158
+ height: var(--av-xsmall);
1159
+ }
1160
+ .av_sm {
1161
+ width: var(--av-small);
1162
+ height: var(--av-small);
1163
+ }
1164
+ .av_df {
1165
+ width: var(--av-default);
1166
+ height: var(--av-default);
1167
+ }
1168
+ .av_md {
1169
+ width: var(--av-medium);
1170
+ height: var(--av-medium);
1171
+ }
1172
+ .av_lg {
1173
+ width: var(--av-large);
1174
+ height: var(--av-large);
1175
+ }
1176
+ .av_xl {
1177
+ width: var(--av-xlarge);
1178
+ height: var(--av-xlarge);
1179
+ }
383
1180
 
384
- svg.av_lg .s_dot {
385
- width: 1.78977272rem; height: 1.78977272rem;
386
- x: 6rem; y: 6rem;
1181
+ .av_w_xs {
1182
+ width: var(--av-xsmall);
1183
+ }
1184
+ .av_w_sm {
1185
+ width: var(--av-small);
1186
+ }
1187
+ .av_w_df {
1188
+ width: var(--av-default);
1189
+ }
1190
+ .av_w_md {
1191
+ width: var(--av-medium);
1192
+ }
1193
+ .av_w_lg {
1194
+ width: var(--av-large);
1195
+ }
1196
+ .av_w_xl {
1197
+ width: var(--av-xlarge);
1198
+ }
1199
+
1200
+ .av_h_xs {
1201
+ height: var(--av-xsmall);
1202
+ }
1203
+ .av_h_sm {
1204
+ height: var(--av-small);
1205
+ }
1206
+ .av_h_df {
1207
+ height: var(--av-default);
1208
+ }
1209
+ .av_h_md {
1210
+ height: var(--av-medium);
1211
+ }
1212
+ .av_h_lg {
1213
+ height: var(--av-large);
1214
+ }
1215
+ .av_h_xl {
1216
+ height: var(--av-xlarge);
387
1217
  }
388
1218
 
389
- svg.av_xl .s_dot {
390
- width: 2.05823863rem; height: 2.05823863rem;
391
- x: 8.5rem; y: 8.5rem;
1219
+ .av img {
1220
+ background-color: rgb(var(--color-bg-active));
392
1221
  }
393
1222
 
394
1223
  .av {
395
- flex-shrink: 0;
1224
+ flex-shrink: 0;
1225
+ box-sizing: border-box;
396
1226
  }
397
1227
 
398
1228
  .av_btn .click_hover {
399
- background-color: var(--color-contrast-opaque);
1229
+ background-color: var(--color-contrast-opaque);
400
1230
  }
401
1231
 
402
1232
  .av_btn .click_hover.w_text {
403
- padding-bottom: 5%;
1233
+ padding-bottom: 5%;
404
1234
  }
405
1235
 
406
1236
  .av_btn:not(.disabled):hover .click_hover {
407
- visibility: visible !important;
1237
+ visibility: visible !important;
408
1238
  }
409
1239
 
410
1240
  .av_btn:not(.disabled):hover .av.main {
411
- opacity: .2;
1241
+ opacity: 0.2;
412
1242
  }
413
1243
 
414
1244
  .av_btn .pill {
415
- position: absolute;
416
- bottom: 0;
417
- left: 50%;
418
- min-width: 40px;
419
- transform: translate(-50%, 25%);
420
- box-shadow: 0 0 8px rgba(0,0,0,.25);
1245
+ position: absolute;
1246
+ bottom: 0;
1247
+ left: 50%;
1248
+ min-width: 40px;
1249
+ transform: translate(-50%, 25%);
1250
+ box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
421
1251
  }
422
1252
 
423
1253
  .av_btn_text_shift {
424
- padding-bottom: 10%;
1254
+ padding-bottom: 10%;
1255
+ }
1256
+
1257
+ .th_item {
1258
+ position: relative;
1259
+ padding: 100% 0 0;
425
1260
  }
426
1261
 
427
1262
  /* Typing dots */
428
1263
 
429
1264
  .s_typing_dots {
430
- position: absolute;
431
- bottom: -3px;
432
- right: 7px;
1265
+ position: absolute;
1266
+ bottom: -3px;
1267
+ right: 7px;
433
1268
  }
434
1269
 
435
1270
  .s_typing_dots.dots_df {
436
- width: 30px;
437
- height: 16px;
438
- border-radius: 8px;
1271
+ width: 30px;
1272
+ height: 16px;
1273
+ border-radius: 8px;
439
1274
  }
440
1275
 
441
1276
  /* Pills */
442
1277
 
443
1278
  .pill {
444
- position: relative;
445
- display: block;
446
- white-space: nowrap;
447
- user-select: none;
448
- }
449
-
450
- .pill.bg_active, .pill.bg_alt, .pill.bg {
451
- color: var(--color-text);
1279
+ position: relative;
1280
+ display: block;
1281
+ white-space: nowrap;
1282
+ user-select: none;
452
1283
  }
453
1284
 
454
1285
  .pill.loading {
455
- color: transparent !important;
1286
+ color: transparent !important;
456
1287
  }
457
1288
 
458
1289
  .pill.loading .shortcut {
459
- visibility: hidden;
1290
+ visibility: hidden;
460
1291
  }
461
1292
 
462
1293
  .pill_xs {
463
- min-width: 1.85rem;
1294
+ /* min-width: 1.85rem;
464
1295
  height: 1.85rem;
1296
+ padding-left: .475em;
1297
+ padding-right: .475em; */
1298
+ min-width: 1.9rem;
1299
+ height: 1.9rem;
1300
+ padding-left: 0.55em;
1301
+ padding-right: 0.55em;
1302
+ /* min-width: 2rem;
1303
+ height: 2rem;
465
1304
  padding-left: .55em;
466
- padding-right: .55em;
1305
+ padding-right: .55em; */
467
1306
  }
468
1307
 
469
1308
  .pill_sm {
470
- min-width: var(--av-small);
471
- height: var(--av-small);
472
- padding-left: .7em;
473
- padding-right: .7em;
1309
+ min-width: 36px;
1310
+ height: 36px;
1311
+ padding-left: 0.7em;
1312
+ padding-right: 0.7em;
474
1313
  }
475
1314
 
476
1315
  .pill_df {
477
- min-width: var(--av-default);
478
- height: var(--av-default);
479
- padding-left: .9em;
480
- padding-right: .9em;
1316
+ min-width: 44px;
1317
+ height: 44px;
1318
+ padding-left: 0.9em;
1319
+ padding-right: 0.9em;
481
1320
  }
482
1321
 
483
1322
  .pill_md {
484
- min-width: 4rem;
485
- height: 4rem;
486
- padding-left: 1.15em;
487
- padding-right: 1.15em;
488
- font-size: var(--text-medium);
1323
+ min-width: 3.75rem;
1324
+ height: 3.75rem;
1325
+ padding-left: 0.9em;
1326
+ padding-right: 0.9em;
1327
+ font-size: var(--text-medium);
489
1328
  }
490
1329
 
491
1330
  .pill_lg {
492
- min-width: 4.7rem;
493
- height: 4.7rem;
494
- padding-left: 1.15em;
495
- padding-right: 1.15em;
496
- padding-bottom: 2px;
497
- font-size: 1.5rem;
1331
+ position: relative;
1332
+ min-width: 4.2rem;
1333
+ height: 4.2rem;
1334
+ padding-left: 1em;
1335
+ padding-right: 1em;
1336
+ padding-bottom: 2px;
1337
+ font-size: var(--text-xlarge);
1338
+ }
1339
+
1340
+ /* Font size overrides; keep this at bottom for priority */
1341
+
1342
+ .ft_xxxs {
1343
+ font-size: 12px;
1344
+ }
1345
+ .ft_xxs {
1346
+ font-size: var(--text-xxsmall);
1347
+ }
1348
+ .ft_xs {
1349
+ font-size: var(--text-xsmall);
1350
+ }
1351
+ .ft_sm {
1352
+ font-size: var(--text-small);
1353
+ }
1354
+ .ft_df {
1355
+ font-size: var(--text-default);
1356
+ }
1357
+ .ft_md {
1358
+ font-size: var(--text-medium);
1359
+ }
1360
+ .ft_lg {
1361
+ font-size: var(--text-large);
1362
+ }
1363
+ .ft_xl {
1364
+ font-size: var(--text-xlarge);
1365
+ }
1366
+ .ft_xxl {
1367
+ font-size: var(--text-xxlarge);
1368
+ }
1369
+
1370
+ .ft_1 {
1371
+ font-size: 1.1em;
1372
+ }
1373
+ .ft_2 {
1374
+ font-size: 1.35em;
1375
+ }
1376
+ .ft_3 {
1377
+ font-size: 1.6em;
1378
+ }
1379
+ .ft_4 {
1380
+ font-size: 1.8em;
1381
+ }
1382
+
1383
+ .lh_1 {
1384
+ line-height: 1.1;
1385
+ }
1386
+ .lh_2 {
1387
+ line-height: 1.2;
1388
+ }
1389
+ .lh_3 {
1390
+ line-height: 1.3;
1391
+ }
1392
+ .lh_4 {
1393
+ line-height: 1.5;
1394
+ }
1395
+ .lh_5 {
1396
+ line-height: 1.7;
1397
+ }
1398
+
1399
+ .ls_1 {
1400
+ letter-spacing: -0.08em !important;
1401
+ }
1402
+ .ls_2 {
1403
+ letter-spacing: -0.0425em !important;
1404
+ } /* Use this when heading is .ft_normal */
1405
+ .ls_3 {
1406
+ letter-spacing: -0.03em !important;
1407
+ }
1408
+ .ls_4 {
1409
+ letter-spacing: -0.0175em !important;
1410
+ }
1411
+ .ls_5 {
1412
+ letter-spacing: -0.01em !important;
498
1413
  }
499
1414
 
500
1415
  /* Grid */
501
1416
 
502
1417
  .grid {
503
- display: grid;
504
- grid-template-rows: 1fr min-content;
505
- row-gap: 1rem;
506
- column-gap: 1rem;
1418
+ display: grid;
1419
+ /* This may be needed for some areas */
1420
+ /* grid-template-rows: 1fr min-content; */
1421
+ row-gap: 1rem;
1422
+ column-gap: 1rem;
507
1423
  }
508
1424
 
509
- .ggap_sm {
510
- row-gap: .5rem;
511
- column-gap: .5rem;
1425
+ .grid.gap_1 {
1426
+ row-gap: 1px;
1427
+ column-gap: 1px;
1428
+ }
1429
+ .grid.gap_2 {
1430
+ row-gap: 2px;
1431
+ column-gap: 2px;
1432
+ }
1433
+ .grid.gap_3 {
1434
+ row-gap: 3px;
1435
+ column-gap: 3px;
1436
+ }
1437
+ .grid.gap_4 {
1438
+ row-gap: 4px;
1439
+ column-gap: 4px;
1440
+ }
1441
+ .grid.gap_5 {
1442
+ row-gap: 5px;
1443
+ column-gap: 5px;
1444
+ }
1445
+ .grid.gap_6 {
1446
+ row-gap: 6px;
1447
+ column-gap: 6px;
1448
+ }
1449
+ .grid.gap_7 {
1450
+ row-gap: 7px;
1451
+ column-gap: 7px;
1452
+ }
1453
+ .grid.gap_8 {
1454
+ row-gap: 8px;
1455
+ column-gap: 8px;
1456
+ }
1457
+ .grid.gap_9 {
1458
+ row-gap: 9px;
1459
+ column-gap: 9px;
1460
+ }
1461
+ .grid.gap_10 {
1462
+ row-gap: 10px;
1463
+ column-gap: 10px;
1464
+ }
1465
+ .grid.gap_11 {
1466
+ row-gap: 11px;
1467
+ column-gap: 11px;
1468
+ }
1469
+ .grid.gap_12 {
1470
+ row-gap: 12px;
1471
+ column-gap: 12px;
1472
+ }
1473
+ .grid.gap_13 {
1474
+ row-gap: 13px;
1475
+ column-gap: 13px;
1476
+ }
1477
+ .grid.gap_14 {
1478
+ row-gap: 14px;
1479
+ column-gap: 14px;
1480
+ }
1481
+ .grid.gap_15 {
1482
+ row-gap: 15px;
1483
+ column-gap: 15px;
512
1484
  }
513
1485
 
514
- .ggap_md {
515
- row-gap: 2rem;
516
- column-gap: 2rem;
1486
+ .grid.gapx_1 {
1487
+ column-gap: 1px;
1488
+ }
1489
+ .grid.gapx_2 {
1490
+ column-gap: 2px;
1491
+ }
1492
+ .grid.gapx_3 {
1493
+ column-gap: 3px;
1494
+ }
1495
+ .grid.gapx_4 {
1496
+ column-gap: 4px;
1497
+ }
1498
+ .grid.gapx_5 {
1499
+ column-gap: 5px;
1500
+ }
1501
+ .grid.gapx_6 {
1502
+ column-gap: 6px;
1503
+ }
1504
+ .grid.gapx_7 {
1505
+ column-gap: 7px;
1506
+ }
1507
+ .grid.gapx_8 {
1508
+ column-gap: 8px;
1509
+ }
1510
+ .grid.gapx_9 {
1511
+ column-gap: 9px;
1512
+ }
1513
+ .grid.gapx_10 {
1514
+ column-gap: 10px;
1515
+ }
1516
+ .grid.gapx_11 {
1517
+ column-gap: 11px;
1518
+ }
1519
+ .grid.gapx_12 {
1520
+ column-gap: 12px;
1521
+ }
1522
+ .grid.gapx_13 {
1523
+ column-gap: 13px;
1524
+ }
1525
+ .grid.gapx_14 {
1526
+ column-gap: 14px;
1527
+ }
1528
+ .grid.gapx_15 {
1529
+ column-gap: 15px;
517
1530
  }
518
1531
 
519
- .ggap_n {
520
- row-gap: 0;
521
- column-gap: 0;
1532
+ .grid.gapy_1 {
1533
+ row-gap: 1px;
1534
+ }
1535
+ .grid.gapy_2 {
1536
+ row-gap: 2px;
1537
+ }
1538
+ .grid.gapy_3 {
1539
+ row-gap: 3px;
1540
+ }
1541
+ .grid.gapy_4 {
1542
+ row-gap: 4px;
1543
+ }
1544
+ .grid.gapy_5 {
1545
+ row-gap: 5px;
1546
+ }
1547
+ .grid.gapy_6 {
1548
+ row-gap: 6px;
1549
+ }
1550
+ .grid.gapy_7 {
1551
+ row-gap: 7px;
1552
+ }
1553
+ .grid.gapy_8 {
1554
+ row-gap: 8px;
1555
+ }
1556
+ .grid.gapy_9 {
1557
+ row-gap: 9px;
1558
+ }
1559
+ .grid.gapy_10 {
1560
+ row-gap: 10px;
1561
+ }
1562
+ .grid.gapy_11 {
1563
+ row-gap: 11px;
1564
+ }
1565
+ .grid.gapy_12 {
1566
+ row-gap: 12px;
1567
+ }
1568
+ .grid.gapy_13 {
1569
+ row-gap: 13px;
1570
+ }
1571
+ .grid.gapy_14 {
1572
+ row-gap: 14px;
1573
+ }
1574
+ .grid.gapy_15 {
1575
+ row-gap: 15px;
522
1576
  }
523
1577
 
524
- /* Grid; column spans */
1578
+ .grid.gap_xs {
1579
+ row-gap: var(--rem-xsmall);
1580
+ column-gap: var(--rem-xsmall);
1581
+ }
1582
+ .grid.gap_sm {
1583
+ row-gap: var(--rem-small);
1584
+ column-gap: var(--rem-small);
1585
+ }
1586
+ .grid.gap_df {
1587
+ row-gap: var(--rem-default);
1588
+ column-gap: var(--rem-default);
1589
+ }
1590
+ .grid.gap_md {
1591
+ row-gap: var(--rem-medium);
1592
+ column-gap: var(--rem-medium);
1593
+ }
1594
+ .grid.gap_lg {
1595
+ row-gap: var(--rem-large);
1596
+ column-gap: var(--rem-large);
1597
+ }
1598
+ .grid.gap_xl {
1599
+ row-gap: var(--rem-xlarge);
1600
+ column-gap: var(--rem-xlarge);
1601
+ }
525
1602
 
526
- .gcol_fill {
527
- grid-column: 1 / -1;
1603
+ .grid.gapx_xs {
1604
+ row-gap: 0;
1605
+ column-gap: var(--rem-xsmall);
1606
+ }
1607
+ .grid.gapx_sm {
1608
+ row-gap: 0;
1609
+ column-gap: var(--rem-small);
1610
+ }
1611
+ .grid.gapx_df {
1612
+ row-gap: 0;
1613
+ column-gap: var(--rem-default);
1614
+ }
1615
+ .grid.gapx_md {
1616
+ row-gap: 0;
1617
+ column-gap: var(--rem-medium);
1618
+ }
1619
+ .grid.gapx_lg {
1620
+ row-gap: 0;
1621
+ column-gap: var(--rem-large);
1622
+ }
1623
+ .grid.gapx_xl {
1624
+ row-gap: 0;
1625
+ column-gap: var(--rem-xlarge);
528
1626
  }
529
1627
 
530
- .gcol_span_2 {
531
- grid-column: span 2;
1628
+ .grid.gapy_xs {
1629
+ row-gap: var(--rem-xsmall);
1630
+ column-gap: 0;
1631
+ }
1632
+ .grid.gapy_sm {
1633
+ row-gap: var(--rem-small);
1634
+ column-gap: 0;
1635
+ }
1636
+ .grid.gapy_df {
1637
+ row-gap: var(--rem-default);
1638
+ column-gap: 0;
1639
+ }
1640
+ .grid.gapy_md {
1641
+ row-gap: var(--rem-medium);
1642
+ column-gap: 0;
1643
+ }
1644
+ .grid.gapy_lg {
1645
+ row-gap: var(--rem-large);
1646
+ column-gap: 0;
1647
+ }
1648
+ .grid.gapy_xl {
1649
+ row-gap: var(--rem-xlarge);
1650
+ column-gap: 0;
532
1651
  }
533
1652
 
534
- .gcol_span_3 {
535
- grid-column: span 3;
1653
+ .grid.gap_n {
1654
+ row-gap: 0;
1655
+ column-gap: 0;
1656
+ }
1657
+ .grid.gapx_n {
1658
+ column-gap: 0;
1659
+ }
1660
+ .grid.gapy_n {
1661
+ row-gap: 0;
536
1662
  }
537
1663
 
538
- .gcol_span_4 {
539
- grid-column: span 4;
1664
+ .grid.gap_1 {
1665
+ row-gap: 1px;
1666
+ column-gap: 1px;
1667
+ }
1668
+ .grid.gap_2 {
1669
+ row-gap: 2px;
1670
+ column-gap: 2px;
1671
+ }
1672
+ .grid.gap_3 {
1673
+ row-gap: 3px;
1674
+ column-gap: 3px;
1675
+ }
1676
+ .grid.gap_4 {
1677
+ row-gap: 4px;
1678
+ column-gap: 4px;
1679
+ }
1680
+ .grid.gap_5 {
1681
+ row-gap: 5px;
1682
+ column-gap: 5px;
1683
+ }
1684
+ .grid.gap_10 {
1685
+ row-gap: 10px;
1686
+ column-gap: 10px;
1687
+ }
1688
+ .grid.gap_15 {
1689
+ row-gap: 15px;
1690
+ column-gap: 15px;
1691
+ }
1692
+ .grid.gap_20 {
1693
+ row-gap: 20px;
1694
+ column-gap: 20px;
1695
+ }
1696
+ .grid.gap_25 {
1697
+ row-gap: 25px;
1698
+ column-gap: 25px;
1699
+ }
1700
+ .grid.gap_30 {
1701
+ row-gap: 30px;
1702
+ column-gap: 30px;
1703
+ }
1704
+ .grid.gap_40 {
1705
+ row-gap: 40px;
1706
+ column-gap: 40px;
1707
+ }
1708
+ .grid.gap_50 {
1709
+ row-gap: 50px;
1710
+ column-gap: 50px;
1711
+ }
1712
+ .grid.gap_60 {
1713
+ row-gap: 60px;
1714
+ column-gap: 60px;
1715
+ }
1716
+ .grid.gap_70 {
1717
+ row-gap: 70px;
1718
+ column-gap: 70px;
1719
+ }
1720
+
1721
+ /* Grid; column spans */
1722
+
1723
+ .g_fill {
1724
+ grid-column: 1 / -1;
1725
+ }
1726
+ .g_span_2 {
1727
+ grid-column: span 2;
1728
+ }
1729
+ .g_span_3 {
1730
+ grid-column: span 3;
1731
+ }
1732
+ .g_span_4 {
1733
+ grid-column: span 4;
1734
+ }
1735
+ .g_span_5 {
1736
+ grid-column: span 5;
540
1737
  }
541
1738
 
542
1739
  /* Grid; columns per row */
543
1740
 
544
- .grid.size_2 {
545
- grid-template-columns: repeat(2, 1fr);
1741
+ .grid.size_2,
1742
+ .table.size_2 {
1743
+ grid-template-columns: repeat(2, 1fr);
1744
+ }
1745
+
1746
+ .grid.size_3,
1747
+ .table.size_3 {
1748
+ grid-template-columns: repeat(3, 1fr);
546
1749
  }
547
1750
 
548
- .grid.size_3 {
549
- grid-template-columns: repeat(3, 1fr);
1751
+ .grid.size_4,
1752
+ .table.size_4 {
1753
+ grid-template-columns: repeat(4, 1fr);
550
1754
  }
551
1755
 
552
- .grid.size_4 {
553
- grid-template-columns: repeat(4, 1fr);
1756
+ .grid.size_5,
1757
+ .table.size_5 {
1758
+ grid-template-columns: repeat(5, 1fr);
554
1759
  }
555
1760
 
556
- .grid.size_5 {
557
- grid-template-columns: repeat(5, 1fr);
1761
+ .grid.size_6,
1762
+ .table.size_6 {
1763
+ grid-template-columns: repeat(6, 1fr);
558
1764
  }
559
1765
 
560
- .grid.size_6 {
561
- grid-template-columns: repeat(6, 1fr);
1766
+ .grid.size_7,
1767
+ .table.size_7 {
1768
+ grid-template-columns: repeat(7, 1fr);
1769
+ }
1770
+
1771
+ .grid.size_8,
1772
+ .table.size_8 {
1773
+ grid-template-columns: repeat(8, 1fr);
1774
+ }
1775
+
1776
+ .grid.size_9,
1777
+ .table.size_9 {
1778
+ grid-template-columns: repeat(9, 1fr);
1779
+ }
1780
+
1781
+ /* Table */
1782
+
1783
+ .table {
1784
+ display: grid;
1785
+ }
1786
+
1787
+ .trow {
1788
+ display: contents;
1789
+ }
1790
+
1791
+ /*
1792
+ Mobile responsive design
1793
+ NOTE: Do not change any of these media query widths because these values are used in other places.
1794
+ NOTE: var() doesn't work inside media queries, so we use fixed values.
1795
+ */
1796
+
1797
+ @media (max-width: 1100px) {
1798
+ .responsive.grid.size_3 {
1799
+ grid-template-columns: repeat(2, 1fr);
1800
+ }
562
1801
  }
563
1802
 
564
- .grid.size_7 {
565
- grid-template-columns: repeat(7, 1fr);
1803
+ @media (--responsive-mobile-portrait) {
1804
+ .responsive.grid.size_5 {
1805
+ grid-template-columns: repeat(3, 1fr);
1806
+ }
1807
+
1808
+ .responsive.p_lg {
1809
+ padding: var(--rem-medium);
1810
+ }
1811
+ .responsive.px_lg {
1812
+ padding-left: var(--rem-medium);
1813
+ padding-right: var(--rem-medium);
1814
+ }
1815
+ .responsive.py_lg {
1816
+ padding-top: var(--rem-medium);
1817
+ padding-bottom: var(--rem-medium);
1818
+ }
566
1819
  }
567
1820
 
568
- .grid.size_8 {
569
- grid-template-columns: repeat(8, 1fr);
1821
+ @media (--responsive-phone-wide) {
1822
+ .responsive.grid.size_5 {
1823
+ grid-template-columns: repeat(2, 1fr);
1824
+ }
1825
+ .responsive.grid.size_3 {
1826
+ grid-template-columns: repeat(1, 1fr);
1827
+ }
1828
+ .responsive.grid.size_2 {
1829
+ grid-template-columns: repeat(1, 1fr);
1830
+ }
1831
+
1832
+ .responsive.p_lg {
1833
+ padding: 1.5rem;
1834
+ }
1835
+ .responsive.px_lg {
1836
+ padding-left: 1.5rem;
1837
+ padding-right: 1.5rem;
1838
+ }
1839
+ .responsive.py_lg {
1840
+ padding-top: 1.5rem;
1841
+ padding-bottom: 1.5rem;
1842
+ }
570
1843
  }
571
1844
 
572
- .grid.size_9 {
573
- grid-template-columns: repeat(9, 1fr);
1845
+ @media (max-width: 530px) {
1846
+ .responsive.grid.size_5 {
1847
+ grid-template-columns: repeat(1, 1fr);
1848
+ }
1849
+
1850
+ .responsive.p_lg {
1851
+ padding: var(--rem-default);
1852
+ }
1853
+ .responsive.px_lg {
1854
+ padding-left: var(--rem-default);
1855
+ padding-right: var(--rem-default);
1856
+ }
1857
+ .responsive.py_lg {
1858
+ padding-top: var(--rem-default);
1859
+ padding-bottom: var(--rem-default);
1860
+ }
574
1861
  }