-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathemoji-counter-styles.css
472 lines (445 loc) · 15.1 KB
/
emoji-counter-styles.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
/** Emoji Counter Style Templates
* =============================
*
* @uses https://drafts.csswg.org/css-counter-styles/
* @extends https://github.com/w3c/predefined-counter-styles
* @author Christoph Päper [email protected]
*/
/** Ideas
* - `pointed-stars`: 4✦✧ 5★✩✪✫✬✭✮✯ 6✶✡ 8✴︎✴✴️✷✵✸ 12✹
* - `pointed-asterisks`: 4✢✣✤✥ 5*⁎∗⊛ ⁑ ⁂ 6✱✲✻✼✽❃❉ 8✳❊❋ 16✺
* - `hand`: –1…+5: –1👎 0✊/👊/👌 1👍 2✌️/👆 3🖖/👉 4🤘/🖕 5🖐/✋/👊
* - `smiley`: –2…+2 –2☹️😟😠😡 –1😕🙁 0😐😑 +1 😀🙂+2😃😍
*/
/** Decimal
* -------
*
* - `fingers`: 0…10: 0✊/👊/👌 1☝️(👆/🖕/👇/👈/👉) 2✌️ 3…/🖖 4…/🤘/✋ 5🖐/✋ 6=5+1 … 10👐
* - `decimal-symbols` various variants, e.g. cards
* 1. 🂡🂱🃁🃑
* 2. 🂢🂲🃂🃒
* 3. 🂣🂳🃃🃓
* 4. 🂤🂴🃄🃔
* 5. 🂥🂵🃅🃕
* 6. 🂦🂶🃆🃖
* 7. 🂧🂷🃇🃗
* 8. 🂨🂸🃈🃘
* 9. 🂩🂹🃉🃙
* 0. 🂪🂺🃊🃚
*/
/**
* Both emoji styles use standard emoji-style keycap digits with U+FE0F ‘Variation Selector-16’ and U+20E3 ‘Combining Enclosing Keycap’.
* @issue The suffix variant `keycap-decimal` probably only works properly for single-digit numbers.
*
* `emoji-numbers` only supports ten items
* > 1️⃣2️⃣3️⃣4️⃣5️⃣6️⃣7️⃣8️⃣9️⃣🔟
*
* `emoji-decimal`, `keycap-decimal` are truly numeric styles
* > 0️⃣1️⃣2️⃣3️⃣4️⃣5️⃣6️⃣7️⃣8️⃣9️⃣
*/
@counter-style emoji-numbers {
system: fixed;
range: 1 10;
symbols: '\31\FE0F\20E3' '\32\FE0F\20E3' '\33\FE0F\20E3' '\34\FE0F\20E3' '\35\FE0F\20E3' '\36\FE0F\20E3' '\37\FE0F\20E3' '\38\FE0F\20E3' '\39\FE0F\20E3' '\1F51F';
}
@counter-style emoji-decimal {
system: numeric;
symbols: '\30\FE0F\20E3' '\31\FE0F\20E3' '\32\FE0F\20E3' '\33\FE0F\20E3' '\34\FE0F\20E3' '\35\FE0F\20E3' '\36\FE0F\20E3' '\37\FE0F\20E3' '\38\FE0F\20E3' '\39\FE0F\20E3';
}
@counter-style keycap-decimal {
system: extends decimal;
suffix: "\FE0F\20E3";
}
/**
* Dozenal / Dodecimal
* -------------------
* 12 items
*/
/**
* `clock-face` shows full hours on an analog clock face
* > 🕐🕑🕒🕓🕔🕕🕖🕗🕘🕙🕚🕛
*
* @issue start with 1 or 0=12?
*/
@counter-style clock-face {
system: cyclic;
symbols: '\1F550' '\1F551' '\1F552' '\1F553' '\1F554' '\1F555' '\1F556' '\1F557' '\1F558' '\1F559' '\1F55A' '\1F55B';
}
/**
* `zodiac-emoji` do *not* use abstracted conventional symbols but picturesque ones
* @see `zodiac` etc. in [scientific counter styles](scientific-counter-styles.css)
*
* 1. April ♈ Aries (Ram): 🐏 Ram U+1F40F, 🐑 Sheep U+1F411
* 2. May ♉ Taurus (Bull): 🐮 Cow Head U+1F42E, 🐂 Ox U+1F402, 🐃 Water Buffalo U+1F403, 🐄 Cow U+1F404
* 3. June ♊ Gemini (Twins): 👯 U+1F46F, 👫 U+1F46B, 👬 U+1F46C, 👭 U+1F46D
* 4. July ♋ Cancer (Crab): 🦀 Crab U+1F980
* 5. August ♌ Leo (Lion): 🦁 Lion Head U+1F981
* 6. September ♍ Virgo (Virgin): 👰 Bride with Veil U+1F470, 👸 Princess U+1F478, 👧 Girl U+1F467
* 7. October ♎ Libra (Scales/Balance): ⚖ Scales U+2696
* 8. November ♏ Scorpius (Scorpion): 🦂 Scorpion U+1F982
* 9. December ♐ Sagittarius (Archer): 🏹 Bow and Arrow U+1F3F9
* 10. January ♑ Capricorn (Goat): 🐐 Goat U+1F410
* 11. February ♒ Aquarius (Water-bearer): 🏺 Amphora U+1F3FA
* 12. March ♓ Pisces (Fishes): 🐟 Fish U+1F41F, 🐠 U+1F420, 🐬 U+1F42C
*
* > 🐏 🐮 👯 🦀 🦁 👰 ⚖ 🦂 🏹 🐐 🏺 🐟
*
* @issue Virgo, Twins, (Capricorn, Aries, Taurus)
*/
@counter-style zodiac-emoji {
system: cyclic;
/*range: 1 12;*/
speak-as: zodiac-english;
symbols: '\1F40F' '\1F42E' '\1F46F'
'\1F980' '\1F981' '\1F470'
'\2696\FE0F' '\1F982' '\1F3F9'
'\1F410' '\1F3FA' '\1F41F';
}
/**
* Hexadecimal
* -----------
* 16 items
*
* - `hexdecimal-notes` ? 16 ♩ 8 ♪ 4 ♫ 2 ♬ 1 \2269…C
*/
/**
* Octal
* ----
*
* - `cloudy`: \2600 ☀️ \1F324 🌤 \26C5 ⛅️ \1F325 🌥 \2601 ☁️
*/
/**
* `lunar-phase` shows eight views of the Moon in a repeating sequence
*
* > 🌑 🌒 🌓 🌔 🌕 🌖 🌗 🌘
*
* @issue arbitrary start, selected by codepoint
* @see `lunar-face`
*/
@counter-style lunar-phase {
system: cyclic;
symbols: '\1F311' '\1F312' '\1F313' '\1F314' '\1F315' '\1F316' '\1F317' '\1F318';
}
/**
* `recycling` shows seven recycling symbols
* `octal-recycling` shows octal numbers within recycling symbols, zero is empty
*
* > ♳ ♴ ♵ ♶ ♷ ♸ ♹
* > ♳ ♴ ♵ ♶ ♷ ♸ ♹ ♳♺ ♳♳ ♳♴ …
*
* @issue not emoji
*/
@counter-style recycling {
system: fixed;
symbols: '\2673' '\2674' '\2675' '\2676' '\2677' '\2678' '\2679';
}
@counter-style octal-recycling {
system: numeric;
symbols: '\267A' '\2673' '\2674' '\2675' '\2676' '\2677' '\2678' '\2679';
}
/**
* Quadrenary / Quadruply?
* ----------------------
* 4 items
*
* - `mailbox`: \1F4EA…D: 📪 📫 📬 📭
* - `notes` ? ♩♪♫♬ \2269…C
*/
/**
* `lunar-face` shows four views of the Moon in a repeating sequence
*
* > 🌚 🌛 🌝 🌜
*
* @issue arbitrary start, selected by codepoint
* @see `lunar-phase`
*/
@counter-style lunar-face {
system: cyclic;
symbols: '\1F31A' '\1F31B' '\1F31D' '\1F31C';
}
/**
* Ternary
* -------
* 3 items
*/
/**
* `medals` shows gold, silver and bronze medals for the first 3 entries and digits else
*
* > 🥇 🥈 🥉 4. 5. …
*
* @issue chars new in Unicode 9:2016
* @issue fallback to generic sports medal at U+1F3C5 🏅?
*/
@counter-style medals {
system: fixed;
symbols: '\1F947' '\1F948' '\1F949';
fallback: decimal;
}
/**
* `globe` shows three views of the Earth in a repeating sequence
*
* > 🌍 🌎 🌏
*
* @issue arbitrary start, selected by codepoint
* @issue Pacific emoji missing
* @see flat map 🗺 U+1F5FA, ideographic globe 🌐 U+1F310
*/
@counter-style globe {
system: cyclic;
symbols: '\1F30D' '\1F30E' '\1F30F';
}
/**
* Binary
* ------
*
* - `braille`, `binary-braille`/`byte`
*/
/**
* `day-night` shows Sun and Moon alternating
*
* > 🌞 🌝
*
* @issue alternative: 🌅/🌄, 🌆, 🏙, 🌇, 🌆, 🌃; moon phase
*/
@counter-style day-night {
system: cyclic;
symbols: '\1F31E' '\1F31D';
}
/**
* `power` shows Off and On alternating
* `binary-power` shows Off and On symbols in sequence
*
* > ⭘ ⏽
* > ⭘ ⏽ ⭘⭘ ⭘⏽ ⏽⭘ ⏽⏽
*
* @issue Power On new in Unicode 9.0:2016; not emoji; Off switch ⏻, On/Off toggle ⏼, Standby ⏾
*/
@counter-style power {
system: cyclic;
symbols: '\2B58' '\23FD';
}
@counter-style binary-power {
system: alphabetic;
symbols: '\2B58' '\23FD';
}
/**
* `beers` shows a number of beer glasses
* `alcohol` adds other beverages
*
* > 🍺 🍻 🍻🍺 🍻🍻 🍻🍻🍺 …
*
* @issue Power On new in Unicode 9.0:2016; not emoji; Off switch ⏻, On/Off toggle ⏼, Standby ⏾
*/
@counter-style beers {
system: additive;
additive-symbols: 2 '\1F37B', 1 '\1F37A', 0 '\1F377';
}
@counter-style alcohol {
system: extends beers;
additive-symbols: 200 '\1F922', 100 '\1F376', 50 '\1F379', 20 '\1F378', 10 '\1F37E', 2 '\1F37B', 1 '\1F37A', 0 '\1F377';
}
/**
* Fixed / Cyclic
* --------------
*
* - `colored-hearts`/`hearts`: ❤️💛💚💙💜💝/💖/💘 \1F5A4 Black Heart \2661 White Heart Suit
* - `books`: \1F4D3 📓 \1F4D5 📕 \1F4D7 📗 \1F4D8 📘 \1F4D9 📙 \1F4D4 📔 \1F4D2 📒 \1F4DA 📚 \1F4D6
* - `balls`: \26BD ⚽️ \1F3C0 🏀 \26BE ⚾️ \1F3BE 🎾 \1F3D0 🏐 \1F3B1🎱 \1F3C8 🏈 \1F3C9 🏉
* - `daily-routine`
*/
/**
* `blood-type` without Rhesus factor
*
* > 🅾️🅰️🅱️🆎
*
* @issue Rhesus factor could be used as sign, \2795 ➕ and \2796 ➖
*/
@counter-style blood-type {
system: fixed;
symbols: '\1F17E' '\1F170' '\1F171' '\1F18E';
}
/**
* Games
* -----
*
* - `playing-cards`
* - `poker-suits` clubs < diamonds < hearts < spades ♣♢♡♠ \2663…0 or emoji ♠️♣️♥️♦️
* - `skat-suits` diamonds < hearts < spades < clubs ♢♡♠♣ or emoji ♦️️♥️♠️♣
* - `poker-cards` by *kicker* value 2 < 3 < 4 < 5 < 6 < 7 < 8 < 9 < 10 < J < Q < K < A
* - `poker-hands` 5-digits, single-deck
* - `skat-cards` 7…10 JQKA
* - `chess-white` fixed ♙♘♗♖♕♔
* - `chess-black` fixed ♟♞♝♜♛♚
* - `go`
* - `mahjong-tiles`
* - `mahjong-suits`
*/
/**
* Alphabetic
* ---------
*
* - `english-phonics`: 🐒 🐝 🐛 …
* - `alphabetic-symbols` various variants
* a) 🅰️🗼🖇🔼🔺🔒🎪👖🌲💩🈴
* b) 🅱️💪👍
* c) ©️☪🗜🌜🌘◀️📞
* d) 🌓🌛☝🌮▶️🆔🍺👂👌🐌
* e) 📧🍥💶
* f) 🎏🎋🗜☦🈂⏬
* g) ⛽️↪🌀
* h) ♓🏨🏩
* i) 🚹ℹ🕧🍾🕯📍🍿
* j) 🕗🗾⤴️🎷🎐🏒🏑⏰
* k) 🎋🏗
* l) 🕒📐💷🏫
* m) Ⓜ️〽️♏️♍️♒️⚖🎮
* n) 🈂️⁉️🎵🚧🍴
* o) 🅾️⭕️🍩🔘⏺💍📯💿📀⚙⚽️🏀⚾️🎾🏐🎱🍪☀️🌕🌝🕳
* p) 🅿️🚩
* q) 🎯🚫♎️🍭🔍👁🗨
* r) ®️🎋♌️💃👠
* s) 💲💰💵⚡️♋️
* t) ✝️🌴☂️➕⛏🗡👕
* u) ⛎🤘🌙🍉🗑
* v) 🖖✌️♈️✅🔽✔️☑️🔻🍕
* w) 👐〰️⚓️🔱
* x) ❎❌✖️🔀⚔🛠⚒✂️🎀
* y) 🏅🍸☢️❣️🔧💴💹🔌🈂️
* z) 💤
*/
/**
* `alphabetic-emoji-boxed`
*
* > 🅰🅱☪🆔📧☦↪♓ℹ🗾🏗🕒♏️🈂🅾🅿♎️♌️♋️✝️⛎♈️🔱❎☢️💤
* > 🅰🅱☪🆔☯️⏬↪♓ℹ️⤴️☮️🕒♏️♑️🅾🅿♎️♌️♋️✝️⛎♈️📛❎🈂️♊️
* @issue E, G, J, K, L, N, W, Y, Z
*/
@counter-style alphabetic-emoji-boxed {
system: alphabetic;
speak-as: upper-latin;
symbols: '\1F170' '\1F171' '\262A' '\1F194' '\262F' '\23EC'
'\21AA' '\2653' '\2139' '\2934' '\262E' '\1F552' '\264F'
'\2651'/*23F8/23E9/F*/ '\1F17E' '\1F17F' '\264E' '\264C' '\264B'
'\271D' '\26CE' '\2648' '\1F4DB' '\274E' '\1F202' '\264A';
suffix: '\FE0F '; /* VS-16 */
}
/**
* `spelling-nato`
*
* ITU, NATO, ICAO
*
* @issue historical variants
*/
@counter-style spelling-nato {
system: alphabetic;
speak-as: words;
symbols: 'Alfa' 'Beta' 'Charlie' 'Delta' 'Echo' 'Foxtrot'
'Golf' 'Hotel' 'India' 'Juliett' 'Kilo' 'Lima' 'Mike'
'November' 'Oscar' 'Papa' 'Quebec' 'Romeo' 'Sierra'
'Tango' 'Uniform' 'Victor' 'Whiskey' 'X-Ray' 'Yankee' 'Zulu';
}
/**
* `spelling-nato-emoji`
*
* ITU, NATO, ICAO
* > 🅰 ️🅱 ️🇻🇳 🔼 ↩️ 👣
* > ⛳️ 🏨 🇮🇳 🚺 ⚖ 🇵🇪 🎙
* > 🗓 🎞 👨 🇨🇦 🚹 🏜
* > 💃 💂 ✌️ 🍶 ☠️ 🇺🇸 🤓
* @issue Lima=>Chile, Quebec=>Canada, Oscar=>Movie, Kilo=>Scales, Zulu=>Nerd, Juliett/Romeo, Foxtrot/Tango, November=>Calendar
*/
@counter-style spelling-nato-emoji {
system: alphabetic;
speak-as: spelling-nato;
symbols: '\1F170\FE0F' '\1F171\FE0F' '\1F1FB\1F1F3'/*'\1F60E'😎*/ '\1F53C' '\21A9\FE0F' '\1F463'
/* 'Alfa' 'Beta' 'Charlie' 'Delta' 'Echo' 'Foxtrot' */
'\26F3\FE0F'/*'\1F3CC'🏌*/ '\1F3E8' '\1F1EE\1F1F3' '\1F6BA'/*'\1F491'💑*/ '\2696\FE0F' '\1F1F5\1F1EA' '\1F399'
/* 'Golf' 'Hotel' 'India' 'Juliett' 'Kilo' 'Lima' 'Mike' */
'\1F5D3' '\1F39E'/*'\1F3A6'🎦/'\1F3C6'🏆*/ '\1F468' '\1F1E8\1F1E6' '\1F6B9'/*'\1F48F'💏*/ '\1F3DC'
/* 'November' 'Oscar' 'Papa' 'Quebec' 'Romeo' 'Sierra' */
'\1F483' '\1F482' '\270C\FE0F' '\1F376' '\2620\FE0F' '\1F1FA\1F1F8' '\1F9130'
/* 'Tango' 'Uniform' 'Victor' 'Whiskey' 'X-Ray' 'Yankee' 'Zulu' */
}
/**
* `proto-sinaitic-emoji`
*
* ox house/floorplan jubilation/window handpalm water snake/fish eye head sun/tooth mark
* 🐮🐃🐂🐄♉️ 🏠🏡⬆🛐🗺 ️ 🙌☺️🙋👻/🖼🖥📺 ✋🖐 🌊💧💦♒️🚰 🐍/♓️🐠🐟🐡🐬🐳🐋🎣 👁👀 😀☺️👤😺🤖👽💀☠️🗣🗽🗿 🌞☀️/👄😬🤓👹 ✝️❌❎✖️➕
* => A B E K M N O PR S T
* @issue
*/
@counter-style proto-sinaitic-emoji {
system: alphabetic;
speak-as: proto-sinaitic-phonics;
symbols: '\1F42E'/*ox*/ '\1F3E0'/*house*/ '\1F64C'/*celebration*//*'\1F5BC'window*/
'\270B\FE0F'/*palm*/ '\1F30A'/*water*/ '\1F40D'/*snake*//*'\1F41F'fish*/
'\1F441'/*eye*/ '\1F5FF'/*head*/ '\2600\FE0F'/*sun*//*'\1F479'mouth*/
'\274C\FE0F'/*mark*/;
}
/**
* `proto-sinaitic-phonics`
*
* A B E K M N O PR S T
* @issue
*/
@counter-style proto-sinaitic-phonics {
system: alphabetic;
speak-as: words;
symbols: 'ʾalp' 'bet' 'hll' /*'he'*/
'kaf' 'mayim' 'hahš' /*'nun'*/
'ʿen' 'roʾš' 'šimš' /*'šin'*/
'tãw';
}
/**
* `phoenician-emoji`
*
* lang: phn-Phnx (language / script)
*
* 1. U+10900 ʾālep ox (also measuring tool dividers) 🐮🐃🐂🐄♉️
* 2. U+10901 bēt house 🏠🏡⬆🛐🎪
* 3. U+10902 gīml camel 🐫🐪
* 4. U+10903 dālet door 🚪
* 5. U+10904 hē window 🖼🖥📺
* 6. U+10905 wāw hook 🎣⚓️⛏
* 7. U+10906 zayin weapon 🗡⚔🔫
* 8. U+10907 ḥēt wall, courtyard 🏢🏛🕋⛩🏟🚧
* 9. U+10908 ṭēt wheel ☸️♿️🎡💿📀🏵🚲🔁🔄➰
* 10. U+10909 yōd hand 👋👍👎👊✊☝️👆👇👈👉🖕
* 11. U+1090A kāp palm (of a hand) ✋🖐
* 12. U+1090B lāmed goad 🕹🔧🚩📍📌
* 13. U+1090C mēm water 🌊💧💦♒️🚰
* 14. U+1090D nūn snake 🐍🐉
* 15. U+1090E sāmek support 👫👬👭🎗
* 16. U+1090F ʿayin eye 👁👀👓🕶🙄😳😎😍
* 17. U+10910 pē mouth 👄👅💋
* 18. U+10911 ṣādē hunt 💘♐️🎣
* 19. U+10912 qōp needle eye 📌📍🔒🔑🗝
* 20. U+10913 rēš head 😀☺️👤😺🤖👽💀☠️🗣🗽🗿
* 21. U+10914 šīn tooth 👄😬🤓👹
* 22. U+10915 tāw mark ✝️❌❎✖️➕
*
* > 🐮 🏠 🐫 🚪 🖼 ⚓️ 🗡 🚧 🏵 👆 ✋ 🚩 💧 🐍 🎗 👁 👄 💘 📍 👤 👹 ❌
*
* @issue
*/
@counter-style phoenician-emoji {
system: alphabetic;
speak-as: phoenician-phonics;
symbols: '\1F42E'/*ox*/ '\1F3E0'/*house*/ '\1F42B'/*camel*/ '\1F6AA'/*door*/ '\1F5BC'/*window*/
'\2693\FE0F'/*hook*/ '\1F5E1'/*weapon*/ '\1F6A7'/*wall*/ '\1F3F5'/*wheel*/ '\1F446'/*hand*/ '\270B\FE0F'/*palm*/
'\1F6A9'/*goad*/ '\1F4A7'/*water*/ '\1F40D'/*snake*/ '\1F397'/*support*/ '\1F441'/*eye*/
'\1F444'/*mouth*/ '\1F498'/*hunt*/ '\1F4CD'/*needle eye*/ '\1F464'/*head*/ '\1F479'/*tooth*/ '\274C\FE0F' /* mark*/;
}
/**
* `phoenician-phonics`
*
* @issue
*/
@counter-style phoenician-phonics {
system: alphabetic;
speak-as: words;
symbols: 'ʾālep' 'bēt' 'gīml' 'dālet' 'hē'
'wāw' 'zayin' 'ḥēt' 'ṭēt' 'yōd' 'kāp'
'lāmed' 'mēm' 'nūn' 'sāmek' 'ʿayin'
'pē' 'ṣādē' 'qōp' 'rēš' 'šīn' 'tāw';
}