generated from argyleink/vite-postcss-preset-env
-
Notifications
You must be signed in to change notification settings - Fork 192
/
durations.css
79 lines (72 loc) · 2.7 KB
/
durations.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
:where(html) {
--minute: 60s;
--hour: calc( 60 * var(--minute));
--day: calc( 24 * var(--hour));
--week: calc( 7 * var(--day));
--fortnight: calc( 14 * var(--day));
--month: calc( 30 * var(--day));
--quarter: calc( 13 * var(--week));
--year: calc(365 * var(--day));
--leap-year: calc(366 * var(--day));
--olympiad: calc( 4 * var(--year));
--decade: calc( 10 * var(--year));
--generation: calc( 3 * var(--decade));
--lifetime: calc( 8 * var(--decade));
--work-day: calc( 8 * var(--hour));
--work-week: calc( 5 * var(--day));
--blink: .1s;
--sneeze: .5s;
--brief-moment: 15s;
--pause: 10s;
--unhealthy-pause: 30s;
/*
* https://en.wikipedia.org/wiki/List_of_unusual_units_of_measurement
*/
--moment: 90s;
--kermit: calc(14.4 * var(--minute));
--microfortnight: 1.2096s;
/* Approximate astronomical durations */
--sidereal-day: calc((23 * var(--hour)) + (56 * var(--minute)) + 4.091s);
--iss-orbit: calc(91.5 * var(--minute));
--lunar-month: calc(29.5 * var(--day));
--venus-year: calc(225 * var(--day));
--sol: 88775s;
--mars-year: calc(668.5907 * var(--sol));
/*
* 10 Little-Known Units of Time
* https://www.mentalfloss.com/article/60080/10-little-known-units-time
*/
--atom: .15957s;
--ghurry: calc(24 * var(--minute));
--lustre: calc(5 * var(--year));
--mileway: calc(20 * var(--minute));
--nundine: calc(9 * var(--day));
--nychthemeron: var(--day);
--punct: calc(15 * var(--minute));
--quadrant: calc(6 * var(--hour));
--quinzieme: calc(15 * var(--day));
--scruple: calc(24 * var(--minute));
/*
* The Potrzebie System of Weights and Measures
* https://madcoversite.com/mad033-36.html
* https://webmadness.net/resources/The-Potrzebie-system-of-weights-and-measures.pdf
*
* There is an inconsistency in the definitions where 1 wolverton = 0.00001 clarke.
* Calculating fractions of clarkes suggests that a 1 wolverton = 0.00000001 clarke.
*/
--clarke: var(--sidereal-day);
--wood: calc(0.1 * var(--clarke));
--martin: calc(0.01 * var(--wood));
--kovac: calc(0.01 * var(--martin));
--wolverton: calc(0.001 * var(--kovac));
--mingo: calc(10 * var(--clarke));
--cowznofski: calc(10 * var(--mingo));
/*
* https://en.wikipedia.org/wiki/List_of_humorous_units_of_measurement
*/
--friedman: calc(6 * var(--month));
--jiffy: 0.01s;
--microcentury: calc((52 * var(--minute)) + 35.7s);
--nanocentury: 3.156s;
--scaramucci: calc(11 * var(--day));
}