diff options
author | Volpeon <git@volpeon.ink> | 2023-01-10 09:04:11 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2023-01-10 09:04:11 +0100 |
commit | d8bda573008ab1f23e30cb4f1533468090e5dddb (patch) | |
tree | 4d7e7f7c115e0bbe0c92787fd40d180d81f30fab /content/assets | |
parent | Update (diff) | |
download | volpeon.ink-d8bda573008ab1f23e30cb4f1533468090e5dddb.tar.gz volpeon.ink-d8bda573008ab1f23e30cb4f1533468090e5dddb.tar.bz2 volpeon.ink-d8bda573008ab1f23e30cb4f1533468090e5dddb.zip |
Better asset handling; paragraph fix for new Pandoc versions; updated emojis
Diffstat (limited to 'content/assets')
170 files changed, 199 insertions, 0 deletions
diff --git a/content/assets/emojis/drgn.png b/content/assets/emojis/drgn.png new file mode 100755 index 0000000..b8cde00 --- /dev/null +++ b/content/assets/emojis/drgn.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_0_0.png b/content/assets/emojis/drgn_0_0.png new file mode 100755 index 0000000..cbb66c9 --- /dev/null +++ b/content/assets/emojis/drgn_0_0.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_3c.png b/content/assets/emojis/drgn_3c.png new file mode 100755 index 0000000..a300865 --- /dev/null +++ b/content/assets/emojis/drgn_3c.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_3c_evil.png b/content/assets/emojis/drgn_3c_evil.png new file mode 100755 index 0000000..186afac --- /dev/null +++ b/content/assets/emojis/drgn_3c_evil.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn__w_.png b/content/assets/emojis/drgn__w_.png new file mode 100755 index 0000000..a9680d6 --- /dev/null +++ b/content/assets/emojis/drgn__w_.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_angel.png b/content/assets/emojis/drgn_angel.png new file mode 100755 index 0000000..a6f2082 --- /dev/null +++ b/content/assets/emojis/drgn_angel.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_angel_blep.png b/content/assets/emojis/drgn_angel_blep.png new file mode 100755 index 0000000..86a1a29 --- /dev/null +++ b/content/assets/emojis/drgn_angel_blep.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_angel_happy.png b/content/assets/emojis/drgn_angel_happy.png new file mode 100755 index 0000000..3e7b059 --- /dev/null +++ b/content/assets/emojis/drgn_angel_happy.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_angel_mlem.png b/content/assets/emojis/drgn_angel_mlem.png new file mode 100755 index 0000000..39f4d35 --- /dev/null +++ b/content/assets/emojis/drgn_angel_mlem.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_angel_pleading.png b/content/assets/emojis/drgn_angel_pleading.png new file mode 100755 index 0000000..5721e52 --- /dev/null +++ b/content/assets/emojis/drgn_angel_pleading.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_angry.png b/content/assets/emojis/drgn_angry.png new file mode 100755 index 0000000..49d8bfa --- /dev/null +++ b/content/assets/emojis/drgn_angry.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_aww.png b/content/assets/emojis/drgn_aww.png new file mode 100755 index 0000000..e9b4502 --- /dev/null +++ b/content/assets/emojis/drgn_aww.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_blep.png b/content/assets/emojis/drgn_blep.png new file mode 100755 index 0000000..df05989 --- /dev/null +++ b/content/assets/emojis/drgn_blep.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_blush.png b/content/assets/emojis/drgn_blush.png new file mode 100755 index 0000000..484a132 --- /dev/null +++ b/content/assets/emojis/drgn_blush.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_boop.png b/content/assets/emojis/drgn_boop.png new file mode 100755 index 0000000..b46fc67 --- /dev/null +++ b/content/assets/emojis/drgn_boop.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_bread.png b/content/assets/emojis/drgn_bread.png new file mode 100755 index 0000000..7714a90 --- /dev/null +++ b/content/assets/emojis/drgn_bread.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_comfy.png b/content/assets/emojis/drgn_comfy.png new file mode 100755 index 0000000..5c4311a --- /dev/null +++ b/content/assets/emojis/drgn_comfy.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_comfy__w_.png b/content/assets/emojis/drgn_comfy__w_.png new file mode 100755 index 0000000..f517fcf --- /dev/null +++ b/content/assets/emojis/drgn_comfy__w_.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_comfy_blep.png b/content/assets/emojis/drgn_comfy_blep.png new file mode 100755 index 0000000..85fe87c --- /dev/null +++ b/content/assets/emojis/drgn_comfy_blep.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_comfy_cup.png b/content/assets/emojis/drgn_comfy_cup.png new file mode 100755 index 0000000..bc7cca0 --- /dev/null +++ b/content/assets/emojis/drgn_comfy_cup.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_comfy_cup_mlem.png b/content/assets/emojis/drgn_comfy_cup_mlem.png new file mode 100755 index 0000000..258696d --- /dev/null +++ b/content/assets/emojis/drgn_comfy_cup_mlem.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_comfy_cute.png b/content/assets/emojis/drgn_comfy_cute.png new file mode 100755 index 0000000..25cf65f --- /dev/null +++ b/content/assets/emojis/drgn_comfy_cute.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_comfy_drowsy.png b/content/assets/emojis/drgn_comfy_drowsy.png new file mode 100755 index 0000000..5333563 --- /dev/null +++ b/content/assets/emojis/drgn_comfy_drowsy.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_comfy_evil.png b/content/assets/emojis/drgn_comfy_evil.png new file mode 100755 index 0000000..9a9523e --- /dev/null +++ b/content/assets/emojis/drgn_comfy_evil.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_comfy_happy.png b/content/assets/emojis/drgn_comfy_happy.png new file mode 100755 index 0000000..badee70 --- /dev/null +++ b/content/assets/emojis/drgn_comfy_happy.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_comfy_mlem.png b/content/assets/emojis/drgn_comfy_mlem.png new file mode 100755 index 0000000..a019ab7 --- /dev/null +++ b/content/assets/emojis/drgn_comfy_mlem.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_comfy_owo.png b/content/assets/emojis/drgn_comfy_owo.png new file mode 100755 index 0000000..36a5f19 --- /dev/null +++ b/content/assets/emojis/drgn_comfy_owo.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_comfy_smug.png b/content/assets/emojis/drgn_comfy_smug.png new file mode 100755 index 0000000..5795817 --- /dev/null +++ b/content/assets/emojis/drgn_comfy_smug.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_confused.png b/content/assets/emojis/drgn_confused.png new file mode 100755 index 0000000..195a1f0 --- /dev/null +++ b/content/assets/emojis/drgn_confused.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_cool.png b/content/assets/emojis/drgn_cool.png new file mode 100755 index 0000000..c31f79c --- /dev/null +++ b/content/assets/emojis/drgn_cool.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_cool_fingergun.png b/content/assets/emojis/drgn_cool_fingergun.png new file mode 100755 index 0000000..7e3601a --- /dev/null +++ b/content/assets/emojis/drgn_cool_fingergun.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_cool_reject.png b/content/assets/emojis/drgn_cool_reject.png new file mode 100755 index 0000000..c6a21c9 --- /dev/null +++ b/content/assets/emojis/drgn_cool_reject.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_cry.png b/content/assets/emojis/drgn_cry.png new file mode 100755 index 0000000..d567663 --- /dev/null +++ b/content/assets/emojis/drgn_cry.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_cry_loud.png b/content/assets/emojis/drgn_cry_loud.png new file mode 100755 index 0000000..578ac8b --- /dev/null +++ b/content/assets/emojis/drgn_cry_loud.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_cup.png b/content/assets/emojis/drgn_cup.png new file mode 100755 index 0000000..9b3d371 --- /dev/null +++ b/content/assets/emojis/drgn_cup.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_cup_drowsy.png b/content/assets/emojis/drgn_cup_drowsy.png new file mode 100755 index 0000000..8b296c5 --- /dev/null +++ b/content/assets/emojis/drgn_cup_drowsy.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_cup_mlem.png b/content/assets/emojis/drgn_cup_mlem.png new file mode 100755 index 0000000..ed5612a --- /dev/null +++ b/content/assets/emojis/drgn_cup_mlem.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_cute.png b/content/assets/emojis/drgn_cute.png new file mode 100755 index 0000000..9447d67 --- /dev/null +++ b/content/assets/emojis/drgn_cute.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_dark.png b/content/assets/emojis/drgn_dark.png new file mode 100755 index 0000000..0467761 --- /dev/null +++ b/content/assets/emojis/drgn_dark.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_dark_mlem.png b/content/assets/emojis/drgn_dark_mlem.png new file mode 100755 index 0000000..fa510bf --- /dev/null +++ b/content/assets/emojis/drgn_dark_mlem.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_dizzy.png b/content/assets/emojis/drgn_dizzy.png new file mode 100755 index 0000000..c06fcaa --- /dev/null +++ b/content/assets/emojis/drgn_dizzy.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_drool.png b/content/assets/emojis/drgn_drool.png new file mode 100755 index 0000000..5944502 --- /dev/null +++ b/content/assets/emojis/drgn_drool.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_drowsy.png b/content/assets/emojis/drgn_drowsy.png new file mode 100755 index 0000000..9b936e0 --- /dev/null +++ b/content/assets/emojis/drgn_drowsy.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_evil.png b/content/assets/emojis/drgn_evil.png new file mode 100755 index 0000000..43b8c99 --- /dev/null +++ b/content/assets/emojis/drgn_evil.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_fingergun.png b/content/assets/emojis/drgn_fingergun.png new file mode 100755 index 0000000..ed808d2 --- /dev/null +++ b/content/assets/emojis/drgn_fingergun.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_fire.png b/content/assets/emojis/drgn_fire.png new file mode 100755 index 0000000..02f1104 --- /dev/null +++ b/content/assets/emojis/drgn_fire.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_fire_blue.png b/content/assets/emojis/drgn_fire_blue.png new file mode 100755 index 0000000..5840012 --- /dev/null +++ b/content/assets/emojis/drgn_fire_blue.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_flat.png b/content/assets/emojis/drgn_flat.png new file mode 100755 index 0000000..4a4dc51 --- /dev/null +++ b/content/assets/emojis/drgn_flat.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_flat_blep.png b/content/assets/emojis/drgn_flat_blep.png new file mode 100755 index 0000000..55d0814 --- /dev/null +++ b/content/assets/emojis/drgn_flat_blep.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_flat_blush.png b/content/assets/emojis/drgn_flat_blush.png new file mode 100755 index 0000000..9b6445e --- /dev/null +++ b/content/assets/emojis/drgn_flat_blush.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_flat_happy.png b/content/assets/emojis/drgn_flat_happy.png new file mode 100755 index 0000000..e08eba9 --- /dev/null +++ b/content/assets/emojis/drgn_flat_happy.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_flat_heart.png b/content/assets/emojis/drgn_flat_heart.png new file mode 100755 index 0000000..b09b7b7 --- /dev/null +++ b/content/assets/emojis/drgn_flat_heart.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_flat_nervous.png b/content/assets/emojis/drgn_flat_nervous.png new file mode 100755 index 0000000..7752425 --- /dev/null +++ b/content/assets/emojis/drgn_flat_nervous.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_flat_owo.png b/content/assets/emojis/drgn_flat_owo.png new file mode 100755 index 0000000..dbc2c28 --- /dev/null +++ b/content/assets/emojis/drgn_flat_owo.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_flat_pleading.png b/content/assets/emojis/drgn_flat_pleading.png new file mode 100755 index 0000000..3206734 --- /dev/null +++ b/content/assets/emojis/drgn_flat_pleading.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_flat_sleep.png b/content/assets/emojis/drgn_flat_sleep.png new file mode 100755 index 0000000..1a0de71 --- /dev/null +++ b/content/assets/emojis/drgn_flat_sleep.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_flat_sob.png b/content/assets/emojis/drgn_flat_sob.png new file mode 100755 index 0000000..9e50f63 --- /dev/null +++ b/content/assets/emojis/drgn_flat_sob.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_flat_sob_heart.png b/content/assets/emojis/drgn_flat_sob_heart.png new file mode 100755 index 0000000..a5c33f4 --- /dev/null +++ b/content/assets/emojis/drgn_flat_sob_heart.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_flat_x_x.png b/content/assets/emojis/drgn_flat_x_x.png new file mode 100755 index 0000000..b410be8 --- /dev/null +++ b/content/assets/emojis/drgn_flat_x_x.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_flush.png b/content/assets/emojis/drgn_flush.png new file mode 100755 index 0000000..05a68e7 --- /dev/null +++ b/content/assets/emojis/drgn_flush.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_glare.png b/content/assets/emojis/drgn_glare.png new file mode 100755 index 0000000..e9b52e8 --- /dev/null +++ b/content/assets/emojis/drgn_glare.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_glare_sob.png b/content/assets/emojis/drgn_glare_sob.png new file mode 100755 index 0000000..11072c6 --- /dev/null +++ b/content/assets/emojis/drgn_glare_sob.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_glasses.png b/content/assets/emojis/drgn_glasses.png new file mode 100755 index 0000000..8876052 --- /dev/null +++ b/content/assets/emojis/drgn_glasses.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_happy.png b/content/assets/emojis/drgn_happy.png new file mode 100755 index 0000000..b30b01b --- /dev/null +++ b/content/assets/emojis/drgn_happy.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_happy_blep.png b/content/assets/emojis/drgn_happy_blep.png new file mode 100755 index 0000000..a402240 --- /dev/null +++ b/content/assets/emojis/drgn_happy_blep.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_happy_mlem.png b/content/assets/emojis/drgn_happy_mlem.png new file mode 100755 index 0000000..0d61950 --- /dev/null +++ b/content/assets/emojis/drgn_happy_mlem.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_heart.png b/content/assets/emojis/drgn_heart.png new file mode 100755 index 0000000..748a2ba --- /dev/null +++ b/content/assets/emojis/drgn_heart.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_hide.png b/content/assets/emojis/drgn_hide.png new file mode 100755 index 0000000..d5ce08d --- /dev/null +++ b/content/assets/emojis/drgn_hide.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_hide_blush.png b/content/assets/emojis/drgn_hide_blush.png new file mode 100755 index 0000000..7057b07 --- /dev/null +++ b/content/assets/emojis/drgn_hide_blush.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_hide_nervous.png b/content/assets/emojis/drgn_hide_nervous.png new file mode 100755 index 0000000..38f0c84 --- /dev/null +++ b/content/assets/emojis/drgn_hide_nervous.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_hyper.png b/content/assets/emojis/drgn_hyper.png new file mode 100755 index 0000000..6e9cfee --- /dev/null +++ b/content/assets/emojis/drgn_hyper.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_knife.png b/content/assets/emojis/drgn_knife.png new file mode 100755 index 0000000..8c3f2dc --- /dev/null +++ b/content/assets/emojis/drgn_knife.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_knife_angry.png b/content/assets/emojis/drgn_knife_angry.png new file mode 100755 index 0000000..c126c00 --- /dev/null +++ b/content/assets/emojis/drgn_knife_angry.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_laser_end.png b/content/assets/emojis/drgn_laser_end.png new file mode 100755 index 0000000..cd441fc --- /dev/null +++ b/content/assets/emojis/drgn_laser_end.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_laser_end_hit.png b/content/assets/emojis/drgn_laser_end_hit.png new file mode 100755 index 0000000..d9d527a --- /dev/null +++ b/content/assets/emojis/drgn_laser_end_hit.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_laser_mid.png b/content/assets/emojis/drgn_laser_mid.png new file mode 100755 index 0000000..0488b4b --- /dev/null +++ b/content/assets/emojis/drgn_laser_mid.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_laser_start.png b/content/assets/emojis/drgn_laser_start.png new file mode 100755 index 0000000..767ba2d --- /dev/null +++ b/content/assets/emojis/drgn_laser_start.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_lick.png b/content/assets/emojis/drgn_lick.png new file mode 100755 index 0000000..205f248 --- /dev/null +++ b/content/assets/emojis/drgn_lick.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_lol.png b/content/assets/emojis/drgn_lol.png new file mode 100755 index 0000000..4f9626c --- /dev/null +++ b/content/assets/emojis/drgn_lol.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_lol_nervous.png b/content/assets/emojis/drgn_lol_nervous.png new file mode 100755 index 0000000..1e6e92e --- /dev/null +++ b/content/assets/emojis/drgn_lol_nervous.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_lol_tear.png b/content/assets/emojis/drgn_lol_tear.png new file mode 100755 index 0000000..3266347 --- /dev/null +++ b/content/assets/emojis/drgn_lol_tear.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_lurk.png b/content/assets/emojis/drgn_lurk.png new file mode 100755 index 0000000..93ff514 --- /dev/null +++ b/content/assets/emojis/drgn_lurk.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_lurk__w_.png b/content/assets/emojis/drgn_lurk__w_.png new file mode 100755 index 0000000..b6ecd30 --- /dev/null +++ b/content/assets/emojis/drgn_lurk__w_.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_lurk_blep.png b/content/assets/emojis/drgn_lurk_blep.png new file mode 100755 index 0000000..0712975 --- /dev/null +++ b/content/assets/emojis/drgn_lurk_blep.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_lurk_cute.png b/content/assets/emojis/drgn_lurk_cute.png new file mode 100755 index 0000000..c6fd523 --- /dev/null +++ b/content/assets/emojis/drgn_lurk_cute.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_lurk_nervous.png b/content/assets/emojis/drgn_lurk_nervous.png new file mode 100755 index 0000000..c71ec3c --- /dev/null +++ b/content/assets/emojis/drgn_lurk_nervous.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_lurk_notice.png b/content/assets/emojis/drgn_lurk_notice.png new file mode 100755 index 0000000..d1d10ff --- /dev/null +++ b/content/assets/emojis/drgn_lurk_notice.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_lurk_owo.png b/content/assets/emojis/drgn_lurk_owo.png new file mode 100755 index 0000000..f11fc03 --- /dev/null +++ b/content/assets/emojis/drgn_lurk_owo.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_lurk_pleading.png b/content/assets/emojis/drgn_lurk_pleading.png new file mode 100755 index 0000000..05056b9 --- /dev/null +++ b/content/assets/emojis/drgn_lurk_pleading.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_lurk_sob.png b/content/assets/emojis/drgn_lurk_sob.png new file mode 100755 index 0000000..bc77821 --- /dev/null +++ b/content/assets/emojis/drgn_lurk_sob.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_mlem.png b/content/assets/emojis/drgn_mlem.png new file mode 100755 index 0000000..85faf05 --- /dev/null +++ b/content/assets/emojis/drgn_mlem.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_music.png b/content/assets/emojis/drgn_music.png new file mode 100755 index 0000000..d3f2323 --- /dev/null +++ b/content/assets/emojis/drgn_music.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_nauseated.png b/content/assets/emojis/drgn_nauseated.png new file mode 100755 index 0000000..97f7f65 --- /dev/null +++ b/content/assets/emojis/drgn_nauseated.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_nervous.png b/content/assets/emojis/drgn_nervous.png new file mode 100755 index 0000000..cf3979f --- /dev/null +++ b/content/assets/emojis/drgn_nervous.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_neutral.png b/content/assets/emojis/drgn_neutral.png new file mode 100755 index 0000000..e290dfe --- /dev/null +++ b/content/assets/emojis/drgn_neutral.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_nom_book.png b/content/assets/emojis/drgn_nom_book.png new file mode 100755 index 0000000..dc6df73 --- /dev/null +++ b/content/assets/emojis/drgn_nom_book.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_nom_bread.png b/content/assets/emojis/drgn_nom_bread.png new file mode 100755 index 0000000..1a91a49 --- /dev/null +++ b/content/assets/emojis/drgn_nom_bread.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_nom_bread_2.png b/content/assets/emojis/drgn_nom_bread_2.png new file mode 100755 index 0000000..19c4490 --- /dev/null +++ b/content/assets/emojis/drgn_nom_bread_2.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_nom_burger.png b/content/assets/emojis/drgn_nom_burger.png new file mode 100755 index 0000000..d294fa6 --- /dev/null +++ b/content/assets/emojis/drgn_nom_burger.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_nom_cookie.png b/content/assets/emojis/drgn_nom_cookie.png new file mode 100755 index 0000000..43381ac --- /dev/null +++ b/content/assets/emojis/drgn_nom_cookie.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_nom_donut.png b/content/assets/emojis/drgn_nom_donut.png new file mode 100755 index 0000000..e25cb77 --- /dev/null +++ b/content/assets/emojis/drgn_nom_donut.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_nom_egg.png b/content/assets/emojis/drgn_nom_egg.png new file mode 100755 index 0000000..044ecb4 --- /dev/null +++ b/content/assets/emojis/drgn_nom_egg.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_nom_fries.png b/content/assets/emojis/drgn_nom_fries.png new file mode 100755 index 0000000..8bf8473 --- /dev/null +++ b/content/assets/emojis/drgn_nom_fries.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_nom_melon.png b/content/assets/emojis/drgn_nom_melon.png new file mode 100755 index 0000000..400ae79 --- /dev/null +++ b/content/assets/emojis/drgn_nom_melon.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_nom_pita.png b/content/assets/emojis/drgn_nom_pita.png new file mode 100755 index 0000000..7bf5561 --- /dev/null +++ b/content/assets/emojis/drgn_nom_pita.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_nom_pizza.png b/content/assets/emojis/drgn_nom_pizza.png new file mode 100755 index 0000000..88feef5 --- /dev/null +++ b/content/assets/emojis/drgn_nom_pizza.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_nom_verified.png b/content/assets/emojis/drgn_nom_verified.png new file mode 100755 index 0000000..78e3505 --- /dev/null +++ b/content/assets/emojis/drgn_nom_verified.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_nom_waffle.png b/content/assets/emojis/drgn_nom_waffle.png new file mode 100755 index 0000000..eb0e317 --- /dev/null +++ b/content/assets/emojis/drgn_nom_waffle.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_notice.png b/content/assets/emojis/drgn_notice.png new file mode 100755 index 0000000..60926c4 --- /dev/null +++ b/content/assets/emojis/drgn_notice.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_nuzzle.png b/content/assets/emojis/drgn_nuzzle.png new file mode 100755 index 0000000..3217000 --- /dev/null +++ b/content/assets/emojis/drgn_nuzzle.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_o_o.png b/content/assets/emojis/drgn_o_o.png new file mode 100755 index 0000000..990511c --- /dev/null +++ b/content/assets/emojis/drgn_o_o.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_outage.png b/content/assets/emojis/drgn_outage.png new file mode 100755 index 0000000..3f984f6 --- /dev/null +++ b/content/assets/emojis/drgn_outage.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_owo.png b/content/assets/emojis/drgn_owo.png new file mode 100755 index 0000000..f952a2e --- /dev/null +++ b/content/assets/emojis/drgn_owo.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_pat.png b/content/assets/emojis/drgn_pat.png new file mode 100755 index 0000000..eaaba16 --- /dev/null +++ b/content/assets/emojis/drgn_pat.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_pat_blush.png b/content/assets/emojis/drgn_pat_blush.png new file mode 100755 index 0000000..9b9940a --- /dev/null +++ b/content/assets/emojis/drgn_pat_blush.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_pat_cry.png b/content/assets/emojis/drgn_pat_cry.png new file mode 100755 index 0000000..7ed1bd8 --- /dev/null +++ b/content/assets/emojis/drgn_pat_cry.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_pat_flat.png b/content/assets/emojis/drgn_pat_flat.png new file mode 100755 index 0000000..5d85308 --- /dev/null +++ b/content/assets/emojis/drgn_pat_flat.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_pat_sob.png b/content/assets/emojis/drgn_pat_sob.png new file mode 100755 index 0000000..52c22e7 --- /dev/null +++ b/content/assets/emojis/drgn_pat_sob.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_pat_up.png b/content/assets/emojis/drgn_pat_up.png new file mode 100755 index 0000000..e28daad --- /dev/null +++ b/content/assets/emojis/drgn_pat_up.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_pleading.png b/content/assets/emojis/drgn_pleading.png new file mode 100755 index 0000000..3b97ae1 --- /dev/null +++ b/content/assets/emojis/drgn_pleading.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_pout.png b/content/assets/emojis/drgn_pout.png new file mode 100755 index 0000000..0ac9513 --- /dev/null +++ b/content/assets/emojis/drgn_pout.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_rainbow.png b/content/assets/emojis/drgn_rainbow.png new file mode 100755 index 0000000..8ede665 --- /dev/null +++ b/content/assets/emojis/drgn_rainbow.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_reject.png b/content/assets/emojis/drgn_reject.png new file mode 100755 index 0000000..1e0875a --- /dev/null +++ b/content/assets/emojis/drgn_reject.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_sad.png b/content/assets/emojis/drgn_sad.png new file mode 100755 index 0000000..1084044 --- /dev/null +++ b/content/assets/emojis/drgn_sad.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_science.png b/content/assets/emojis/drgn_science.png new file mode 100755 index 0000000..e5476bb --- /dev/null +++ b/content/assets/emojis/drgn_science.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_scream.png b/content/assets/emojis/drgn_scream.png new file mode 100755 index 0000000..df8c418 --- /dev/null +++ b/content/assets/emojis/drgn_scream.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_scream_angry.png b/content/assets/emojis/drgn_scream_angry.png new file mode 100755 index 0000000..1da7219 --- /dev/null +++ b/content/assets/emojis/drgn_scream_angry.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_scream_stare.png b/content/assets/emojis/drgn_scream_stare.png new file mode 100755 index 0000000..f4c625f --- /dev/null +++ b/content/assets/emojis/drgn_scream_stare.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_shocked.png b/content/assets/emojis/drgn_shocked.png new file mode 100755 index 0000000..d8d8585 --- /dev/null +++ b/content/assets/emojis/drgn_shocked.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_sleep.png b/content/assets/emojis/drgn_sleep.png new file mode 100755 index 0000000..90c9092 --- /dev/null +++ b/content/assets/emojis/drgn_sleep.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_smol.png b/content/assets/emojis/drgn_smol.png new file mode 100755 index 0000000..f792b6f --- /dev/null +++ b/content/assets/emojis/drgn_smol.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_smug.png b/content/assets/emojis/drgn_smug.png new file mode 100755 index 0000000..ffacd7d --- /dev/null +++ b/content/assets/emojis/drgn_smug.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_smug2.png b/content/assets/emojis/drgn_smug2.png new file mode 100755 index 0000000..b5853dc --- /dev/null +++ b/content/assets/emojis/drgn_smug2.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_sob.png b/content/assets/emojis/drgn_sob.png new file mode 100755 index 0000000..9be3640 --- /dev/null +++ b/content/assets/emojis/drgn_sob.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_sparkle.png b/content/assets/emojis/drgn_sparkle.png new file mode 100755 index 0000000..fe43f21 --- /dev/null +++ b/content/assets/emojis/drgn_sparkle.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_stare.png b/content/assets/emojis/drgn_stare.png new file mode 100755 index 0000000..f4c625f --- /dev/null +++ b/content/assets/emojis/drgn_stare.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_tail.png b/content/assets/emojis/drgn_tail.png new file mode 100755 index 0000000..1b1cc12 --- /dev/null +++ b/content/assets/emojis/drgn_tail.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_think.png b/content/assets/emojis/drgn_think.png new file mode 100755 index 0000000..b52b111 --- /dev/null +++ b/content/assets/emojis/drgn_think.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_think__w_.png b/content/assets/emojis/drgn_think__w_.png new file mode 100755 index 0000000..0c6050b --- /dev/null +++ b/content/assets/emojis/drgn_think__w_.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_think_confused.png b/content/assets/emojis/drgn_think_confused.png new file mode 100755 index 0000000..e7b6197 --- /dev/null +++ b/content/assets/emojis/drgn_think_confused.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_think_cool.png b/content/assets/emojis/drgn_think_cool.png new file mode 100755 index 0000000..36896cf --- /dev/null +++ b/content/assets/emojis/drgn_think_cool.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_think_evil.png b/content/assets/emojis/drgn_think_evil.png new file mode 100755 index 0000000..91693e6 --- /dev/null +++ b/content/assets/emojis/drgn_think_evil.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_think_owo.png b/content/assets/emojis/drgn_think_owo.png new file mode 100755 index 0000000..e076fa4 --- /dev/null +++ b/content/assets/emojis/drgn_think_owo.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_think_science.png b/content/assets/emojis/drgn_think_science.png new file mode 100755 index 0000000..55420df --- /dev/null +++ b/content/assets/emojis/drgn_think_science.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_think_smug.png b/content/assets/emojis/drgn_think_smug.png new file mode 100755 index 0000000..21014b8 --- /dev/null +++ b/content/assets/emojis/drgn_think_smug.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_think_woozy.png b/content/assets/emojis/drgn_think_woozy.png new file mode 100755 index 0000000..00a6ce6 --- /dev/null +++ b/content/assets/emojis/drgn_think_woozy.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_thumbsdown.png b/content/assets/emojis/drgn_thumbsdown.png new file mode 100755 index 0000000..097d85b --- /dev/null +++ b/content/assets/emojis/drgn_thumbsdown.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_thumbsup.png b/content/assets/emojis/drgn_thumbsup.png new file mode 100755 index 0000000..525b1ed --- /dev/null +++ b/content/assets/emojis/drgn_thumbsup.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_tooth.png b/content/assets/emojis/drgn_tooth.png new file mode 100755 index 0000000..fa22359 --- /dev/null +++ b/content/assets/emojis/drgn_tooth.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_up.png b/content/assets/emojis/drgn_up.png new file mode 100755 index 0000000..fd30f42 --- /dev/null +++ b/content/assets/emojis/drgn_up.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_up_blep.png b/content/assets/emojis/drgn_up_blep.png new file mode 100755 index 0000000..d27c343 --- /dev/null +++ b/content/assets/emojis/drgn_up_blep.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_up_cup.png b/content/assets/emojis/drgn_up_cup.png new file mode 100755 index 0000000..9732b5d --- /dev/null +++ b/content/assets/emojis/drgn_up_cup.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_up_cute.png b/content/assets/emojis/drgn_up_cute.png new file mode 100755 index 0000000..bbca3e5 --- /dev/null +++ b/content/assets/emojis/drgn_up_cute.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_up_happy.png b/content/assets/emojis/drgn_up_happy.png new file mode 100755 index 0000000..66ce1c2 --- /dev/null +++ b/content/assets/emojis/drgn_up_happy.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_uwu.png b/content/assets/emojis/drgn_uwu.png new file mode 100755 index 0000000..8cd3896 --- /dev/null +++ b/content/assets/emojis/drgn_uwu.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_verified.png b/content/assets/emojis/drgn_verified.png new file mode 100755 index 0000000..48b5fdb --- /dev/null +++ b/content/assets/emojis/drgn_verified.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_wave.png b/content/assets/emojis/drgn_wave.png new file mode 100755 index 0000000..0ddf6a0 --- /dev/null +++ b/content/assets/emojis/drgn_wave.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_weary.png b/content/assets/emojis/drgn_weary.png new file mode 100755 index 0000000..7f054fa --- /dev/null +++ b/content/assets/emojis/drgn_weary.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_weary_sob.png b/content/assets/emojis/drgn_weary_sob.png new file mode 100755 index 0000000..83ceeeb --- /dev/null +++ b/content/assets/emojis/drgn_weary_sob.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_woozy.png b/content/assets/emojis/drgn_woozy.png new file mode 100755 index 0000000..0d42fab --- /dev/null +++ b/content/assets/emojis/drgn_woozy.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_x_x.png b/content/assets/emojis/drgn_x_x.png new file mode 100755 index 0000000..95aebd5 --- /dev/null +++ b/content/assets/emojis/drgn_x_x.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_yell.png b/content/assets/emojis/drgn_yell.png new file mode 100755 index 0000000..f5ac730 --- /dev/null +++ b/content/assets/emojis/drgn_yell.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_yoshi_end.png b/content/assets/emojis/drgn_yoshi_end.png new file mode 100755 index 0000000..5c57625 --- /dev/null +++ b/content/assets/emojis/drgn_yoshi_end.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_yoshi_mid.png b/content/assets/emojis/drgn_yoshi_mid.png new file mode 100755 index 0000000..41c9f5d --- /dev/null +++ b/content/assets/emojis/drgn_yoshi_mid.png | |||
Binary files differ | |||
diff --git a/content/assets/emojis/drgn_yoshi_start.png b/content/assets/emojis/drgn_yoshi_start.png new file mode 100755 index 0000000..cf7cd00 --- /dev/null +++ b/content/assets/emojis/drgn_yoshi_start.png | |||
Binary files differ | |||
diff --git a/content/assets/favicon.ico b/content/assets/favicon.ico new file mode 100644 index 0000000..3c399ff --- /dev/null +++ b/content/assets/favicon.ico | |||
Binary files differ | |||
diff --git a/content/assets/lightbox.js b/content/assets/lightbox.js new file mode 100644 index 0000000..39a5074 --- /dev/null +++ b/content/assets/lightbox.js | |||
@@ -0,0 +1,137 @@ | |||
1 | (() => { | ||
2 | const mainEl = document.querySelector("main"); | ||
3 | const lightboxContainerEl = document.querySelector(".js-lightbox"); | ||
4 | const lightboxEl = lightboxContainerEl.classList.contains("o-lightbox") | ||
5 | ? lightboxContainerEl | ||
6 | : lightboxContainerEl.querySelector(".o-lightbox"); | ||
7 | const lightboxCloseEl = lightboxEl.querySelector(".o-lightbox__close-btn"); | ||
8 | const lightboxPrevEl = lightboxEl.querySelector(".o-lightbox__nav-btn--prev"); | ||
9 | const lightboxNextEl = lightboxEl.querySelector(".o-lightbox__nav-btn--next"); | ||
10 | const lightboxImgEl = lightboxEl.querySelector(".o-lightbox__img"); | ||
11 | const lightboxThumbnailsEl = lightboxEl.querySelector(".o-lightbox__thumbnails"); | ||
12 | const figureEls = Array.from(mainEl.querySelectorAll(".js-lightbox__image")); | ||
13 | |||
14 | const standalone = lightboxContainerEl.classList.contains("js-lightbox--standalone"); | ||
15 | let currentIndex = 0; | ||
16 | let visible = !lightboxContainerEl.classList.contains("u-d-none"); | ||
17 | let mouseDown = false; | ||
18 | |||
19 | const show = () => { | ||
20 | visible = true; | ||
21 | lightboxContainerEl.classList.remove("u-d-none"); | ||
22 | } | ||
23 | |||
24 | const hide = () => { | ||
25 | if (!standalone) { | ||
26 | visible = false; | ||
27 | lightboxContainerEl.classList.add("u-d-none"); | ||
28 | } | ||
29 | } | ||
30 | |||
31 | const setIndex = (i) => { | ||
32 | if (i < 0 || i >= images.length) { | ||
33 | return; | ||
34 | } | ||
35 | images[currentIndex].thumbnailEl.classList.remove("is-selected"); | ||
36 | currentIndex = i; | ||
37 | lightboxImgEl.src = figureEls[i].firstElementChild.href; | ||
38 | lightboxImgEl.alt = images[currentIndex].description; | ||
39 | images[i].thumbnailEl.classList.add("is-selected"); | ||
40 | }; | ||
41 | |||
42 | const prev = () => setIndex(currentIndex > 0 ? currentIndex - 1 : figureEls.length - 1); | ||
43 | |||
44 | const next = () => setIndex(currentIndex < figureEls.length - 1 ? currentIndex + 1 : 0); | ||
45 | |||
46 | lightboxCloseEl?.addEventListener("click", hide); | ||
47 | lightboxPrevEl.addEventListener("click", prev); | ||
48 | lightboxNextEl.addEventListener("click", next); | ||
49 | |||
50 | const images = figureEls.map((figureEl, i) => { | ||
51 | const go = e => { | ||
52 | e.preventDefault(); | ||
53 | show(); | ||
54 | setIndex(i); | ||
55 | }; | ||
56 | |||
57 | const imgEl = figureEl.querySelector("img"); | ||
58 | const captionEl = figureEl.querySelector("figcaption"); | ||
59 | |||
60 | const src = imgEl.src; | ||
61 | const description = captionEl?.innerHTML ?? ""; | ||
62 | |||
63 | const thumbnailButtonEl = document.createElement("button"); | ||
64 | const thumbnailImgEl = document.createElement("img"); | ||
65 | |||
66 | thumbnailImgEl.classList.add("o-lightbox__thumbnail-img"); | ||
67 | thumbnailImgEl.src = src; | ||
68 | |||
69 | thumbnailButtonEl.classList.add("o-lightbox__thumbnail"); | ||
70 | thumbnailButtonEl.appendChild(thumbnailImgEl); | ||
71 | thumbnailButtonEl.addEventListener("click", go); | ||
72 | |||
73 | lightboxThumbnailsEl.appendChild(thumbnailButtonEl); | ||
74 | |||
75 | if (!standalone) { | ||
76 | figureEl.firstElementChild.addEventListener("click", go); | ||
77 | } | ||
78 | |||
79 | return { | ||
80 | thumbnailEl: thumbnailButtonEl, | ||
81 | description, | ||
82 | }; | ||
83 | }); | ||
84 | |||
85 | setIndex(0); | ||
86 | |||
87 | if (figureEls.length <= 1) { | ||
88 | lightboxPrevEl.remove(); | ||
89 | lightboxNextEl.remove(); | ||
90 | lightboxThumbnailsEl.remove(); | ||
91 | } | ||
92 | |||
93 | if (!standalone) { | ||
94 | document.addEventListener('mousedown', (e) => { | ||
95 | if (visible) { | ||
96 | mouseDown = !lightboxEl.contains(e.target) || lightboxEl === e.target; | ||
97 | } | ||
98 | }); | ||
99 | |||
100 | document.addEventListener('click', (e) => { | ||
101 | if (visible && mouseDown) { | ||
102 | mouseDown = false; | ||
103 | e.preventDefault(); | ||
104 | e.stopPropagation(); | ||
105 | hide(); | ||
106 | } | ||
107 | }, { capture: true }); | ||
108 | } | ||
109 | |||
110 | window.addEventListener("keydown", e => { | ||
111 | if (e.defaultPrevented || !visible) { | ||
112 | return; | ||
113 | } | ||
114 | |||
115 | switch (e.key) { | ||
116 | case "Left": | ||
117 | case "ArrowLeft": | ||
118 | prev(); | ||
119 | break; | ||
120 | |||
121 | case "Right": | ||
122 | case "ArrowRight": | ||
123 | next(); | ||
124 | break; | ||
125 | |||
126 | case "Esc": | ||
127 | case "Escape": | ||
128 | hide(); | ||
129 | break; | ||
130 | |||
131 | default: | ||
132 | return; | ||
133 | } | ||
134 | |||
135 | e.preventDefault(); | ||
136 | }, true); | ||
137 | })(); | ||
diff --git a/content/assets/main.js b/content/assets/main.js new file mode 100644 index 0000000..7189312 --- /dev/null +++ b/content/assets/main.js | |||
@@ -0,0 +1,23 @@ | |||
1 | (() => { | ||
2 | document.body.classList.remove('t-no-js'); | ||
3 | document.body.classList.add('t-js'); | ||
4 | |||
5 | const enableFocusIndicator = e => { | ||
6 | if (e.key !== 'Tab') { | ||
7 | return; | ||
8 | } | ||
9 | |||
10 | document.body.classList.add('t-keyboard'); | ||
11 | document.removeEventListener('keydown', enableFocusIndicator); | ||
12 | document.addEventListener('mousedown', disableFocusIndicator); | ||
13 | } | ||
14 | |||
15 | const disableFocusIndicator = () => { | ||
16 | document.body.classList.remove('t-keyboard'); | ||
17 | |||
18 | document.removeEventListener('mousedown', disableFocusIndicator); | ||
19 | document.addEventListener('keydown', enableFocusIndicator); | ||
20 | } | ||
21 | |||
22 | document.addEventListener('keydown', enableFocusIndicator); | ||
23 | })(); | ||
diff --git a/content/assets/snow.js b/content/assets/snow.js new file mode 100644 index 0000000..562e9c0 --- /dev/null +++ b/content/assets/snow.js | |||
@@ -0,0 +1,30 @@ | |||
1 | (() => { | ||
2 | function createSnowFlake() { | ||
3 | setTimeout(() => createSnowFlake(), 50 / Math.log10(window.innerWidth / 1000 + 1)); | ||
4 | |||
5 | if (document.hidden) { | ||
6 | return; | ||
7 | } | ||
8 | |||
9 | const snowFlake = document.createElementNS("http://www.w3.org/2000/svg", "svg"); | ||
10 | const snowFlakeInner = document.createElementNS("http://www.w3.org/2000/svg", "use"); | ||
11 | const aniDuration = (Math.random() * 3 + 2) * 1000; | ||
12 | |||
13 | snowFlakeInner.setAttribute("href", "/icons.svg#asterisk"); | ||
14 | |||
15 | snowFlake.classList.add("o-icon", "o-icon--snow"); | ||
16 | snowFlake.setAttribute("aria-hidden", "true"); | ||
17 | |||
18 | snowFlake.style.fontSize = Math.random() * 0.5 + 0.7 + 'em'; | ||
19 | snowFlake.style.left = Math.random() * 100 + '%'; | ||
20 | snowFlake.style.animationDuration = aniDuration + 'ms'; | ||
21 | snowFlake.style.opacity = Math.random(); | ||
22 | |||
23 | setTimeout(() => snowFlake.remove(), aniDuration); | ||
24 | |||
25 | snowFlake.appendChild(snowFlakeInner); | ||
26 | document.body.appendChild(snowFlake); | ||
27 | } | ||
28 | |||
29 | createSnowFlake(); | ||
30 | })(); | ||
diff --git a/content/assets/symbols.svg b/content/assets/symbols.svg new file mode 100644 index 0000000..4995ee2 --- /dev/null +++ b/content/assets/symbols.svg | |||
@@ -0,0 +1,9 @@ | |||
1 | <svg version="1.1" xmlns="http://www.w3.org/2000/svg"> | ||
2 | <defs> | ||
3 | <symbol id="logo" viewBox="0 0 16 16" preserveAspectRatio="xMinYMid"> | ||
4 | <path fill="currentColor" stroke="none" d="M 3.879982,13 H 6.0160181 L 2.6160361,3 H 0.48 Z" /> | ||
5 | <path fill="currentColor" stroke="none" d="m 9.91599,13 h 2.168035 L 8.584018,3 H 6.4159819 Z" /> | ||
6 | <path fill="currentColor" stroke="none" d="M 9.915975,13 H 12.08401 L 15.584018,3 h -2.168036 z" /> | ||
7 | </symbol> | ||
8 | </defs> | ||
9 | </svg> | ||