From d8bda573008ab1f23e30cb4f1533468090e5dddb Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 10 Jan 2023 09:04:11 +0100 Subject: Better asset handling; paragraph fix for new Pandoc versions; updated emojis --- Makefile | 27 ++--- assets/css/_fonts.scss | 14 +-- content/assets/emojis/drgn.png | Bin 0 -> 22312 bytes content/assets/emojis/drgn_0_0.png | Bin 0 -> 24429 bytes content/assets/emojis/drgn_3c.png | Bin 0 -> 25407 bytes content/assets/emojis/drgn_3c_evil.png | Bin 0 -> 22105 bytes content/assets/emojis/drgn__w_.png | Bin 0 -> 21442 bytes content/assets/emojis/drgn_angel.png | Bin 0 -> 25269 bytes content/assets/emojis/drgn_angel_blep.png | Bin 0 -> 24232 bytes content/assets/emojis/drgn_angel_happy.png | Bin 0 -> 23950 bytes content/assets/emojis/drgn_angel_mlem.png | Bin 0 -> 24509 bytes content/assets/emojis/drgn_angel_pleading.png | Bin 0 -> 23973 bytes content/assets/emojis/drgn_angry.png | Bin 0 -> 24514 bytes content/assets/emojis/drgn_aww.png | Bin 0 -> 23173 bytes content/assets/emojis/drgn_blep.png | Bin 0 -> 22585 bytes content/assets/emojis/drgn_blush.png | Bin 0 -> 25235 bytes content/assets/emojis/drgn_boop.png | Bin 0 -> 6630 bytes content/assets/emojis/drgn_bread.png | Bin 0 -> 16005 bytes content/assets/emojis/drgn_comfy.png | Bin 0 -> 22435 bytes content/assets/emojis/drgn_comfy__w_.png | Bin 0 -> 21596 bytes content/assets/emojis/drgn_comfy_blep.png | Bin 0 -> 22615 bytes content/assets/emojis/drgn_comfy_cup.png | Bin 0 -> 21790 bytes content/assets/emojis/drgn_comfy_cup_mlem.png | Bin 0 -> 21810 bytes content/assets/emojis/drgn_comfy_cute.png | Bin 0 -> 23229 bytes content/assets/emojis/drgn_comfy_drowsy.png | Bin 0 -> 22879 bytes content/assets/emojis/drgn_comfy_evil.png | Bin 0 -> 22130 bytes content/assets/emojis/drgn_comfy_happy.png | Bin 0 -> 21941 bytes content/assets/emojis/drgn_comfy_mlem.png | Bin 0 -> 22605 bytes content/assets/emojis/drgn_comfy_owo.png | Bin 0 -> 22908 bytes content/assets/emojis/drgn_comfy_smug.png | Bin 0 -> 21726 bytes content/assets/emojis/drgn_confused.png | Bin 0 -> 23559 bytes content/assets/emojis/drgn_cool.png | Bin 0 -> 22399 bytes content/assets/emojis/drgn_cool_fingergun.png | Bin 0 -> 22678 bytes content/assets/emojis/drgn_cool_reject.png | Bin 0 -> 21711 bytes content/assets/emojis/drgn_cry.png | Bin 0 -> 22712 bytes content/assets/emojis/drgn_cry_loud.png | Bin 0 -> 22503 bytes content/assets/emojis/drgn_cup.png | Bin 0 -> 21804 bytes content/assets/emojis/drgn_cup_drowsy.png | Bin 0 -> 22793 bytes content/assets/emojis/drgn_cup_mlem.png | Bin 0 -> 21815 bytes content/assets/emojis/drgn_cute.png | Bin 0 -> 23081 bytes content/assets/emojis/drgn_dark.png | Bin 0 -> 18704 bytes content/assets/emojis/drgn_dark_mlem.png | Bin 0 -> 18041 bytes content/assets/emojis/drgn_dizzy.png | Bin 0 -> 26723 bytes content/assets/emojis/drgn_drool.png | Bin 0 -> 22679 bytes content/assets/emojis/drgn_drowsy.png | Bin 0 -> 22716 bytes content/assets/emojis/drgn_evil.png | Bin 0 -> 22013 bytes content/assets/emojis/drgn_fingergun.png | Bin 0 -> 21968 bytes content/assets/emojis/drgn_fire.png | Bin 0 -> 14326 bytes content/assets/emojis/drgn_fire_blue.png | Bin 0 -> 14922 bytes content/assets/emojis/drgn_flat.png | Bin 0 -> 15383 bytes content/assets/emojis/drgn_flat_blep.png | Bin 0 -> 15322 bytes content/assets/emojis/drgn_flat_blush.png | Bin 0 -> 20056 bytes content/assets/emojis/drgn_flat_happy.png | Bin 0 -> 16108 bytes content/assets/emojis/drgn_flat_heart.png | Bin 0 -> 18264 bytes content/assets/emojis/drgn_flat_nervous.png | Bin 0 -> 20036 bytes content/assets/emojis/drgn_flat_owo.png | Bin 0 -> 17008 bytes content/assets/emojis/drgn_flat_pleading.png | Bin 0 -> 16595 bytes content/assets/emojis/drgn_flat_sleep.png | Bin 0 -> 16950 bytes content/assets/emojis/drgn_flat_sob.png | Bin 0 -> 15585 bytes content/assets/emojis/drgn_flat_sob_heart.png | Bin 0 -> 17754 bytes content/assets/emojis/drgn_flat_x_x.png | Bin 0 -> 16304 bytes content/assets/emojis/drgn_flush.png | Bin 0 -> 25039 bytes content/assets/emojis/drgn_glare.png | Bin 0 -> 22048 bytes content/assets/emojis/drgn_glare_sob.png | Bin 0 -> 22452 bytes content/assets/emojis/drgn_glasses.png | Bin 0 -> 23042 bytes content/assets/emojis/drgn_happy.png | Bin 0 -> 21809 bytes content/assets/emojis/drgn_happy_blep.png | Bin 0 -> 22082 bytes content/assets/emojis/drgn_happy_mlem.png | Bin 0 -> 22324 bytes content/assets/emojis/drgn_heart.png | Bin 0 -> 23779 bytes content/assets/emojis/drgn_hide.png | Bin 0 -> 15643 bytes content/assets/emojis/drgn_hide_blush.png | Bin 0 -> 17391 bytes content/assets/emojis/drgn_hide_nervous.png | Bin 0 -> 17018 bytes content/assets/emojis/drgn_hyper.png | Bin 0 -> 26430 bytes content/assets/emojis/drgn_knife.png | Bin 0 -> 26332 bytes content/assets/emojis/drgn_knife_angry.png | Bin 0 -> 28008 bytes content/assets/emojis/drgn_laser_end.png | Bin 0 -> 1613 bytes content/assets/emojis/drgn_laser_end_hit.png | Bin 0 -> 2268 bytes content/assets/emojis/drgn_laser_mid.png | Bin 0 -> 1038 bytes content/assets/emojis/drgn_laser_start.png | Bin 0 -> 2871 bytes content/assets/emojis/drgn_lick.png | Bin 0 -> 21779 bytes content/assets/emojis/drgn_lol.png | Bin 0 -> 22568 bytes content/assets/emojis/drgn_lol_nervous.png | Bin 0 -> 26577 bytes content/assets/emojis/drgn_lol_tear.png | Bin 0 -> 23498 bytes content/assets/emojis/drgn_lurk.png | Bin 0 -> 19715 bytes content/assets/emojis/drgn_lurk__w_.png | Bin 0 -> 18831 bytes content/assets/emojis/drgn_lurk_blep.png | Bin 0 -> 19698 bytes content/assets/emojis/drgn_lurk_cute.png | Bin 0 -> 20512 bytes content/assets/emojis/drgn_lurk_nervous.png | Bin 0 -> 21674 bytes content/assets/emojis/drgn_lurk_notice.png | Bin 0 -> 20838 bytes content/assets/emojis/drgn_lurk_owo.png | Bin 0 -> 20040 bytes content/assets/emojis/drgn_lurk_pleading.png | Bin 0 -> 19148 bytes content/assets/emojis/drgn_lurk_sob.png | Bin 0 -> 18230 bytes content/assets/emojis/drgn_mlem.png | Bin 0 -> 22833 bytes content/assets/emojis/drgn_music.png | Bin 0 -> 22608 bytes content/assets/emojis/drgn_nauseated.png | Bin 0 -> 26130 bytes content/assets/emojis/drgn_nervous.png | Bin 0 -> 25045 bytes content/assets/emojis/drgn_neutral.png | Bin 0 -> 22350 bytes content/assets/emojis/drgn_nom_book.png | Bin 0 -> 25472 bytes content/assets/emojis/drgn_nom_bread.png | Bin 0 -> 26118 bytes content/assets/emojis/drgn_nom_bread_2.png | Bin 0 -> 26097 bytes content/assets/emojis/drgn_nom_burger.png | Bin 0 -> 25315 bytes content/assets/emojis/drgn_nom_cookie.png | Bin 0 -> 25267 bytes content/assets/emojis/drgn_nom_donut.png | Bin 0 -> 27368 bytes content/assets/emojis/drgn_nom_egg.png | Bin 0 -> 24922 bytes content/assets/emojis/drgn_nom_fries.png | Bin 0 -> 26115 bytes content/assets/emojis/drgn_nom_melon.png | Bin 0 -> 26057 bytes content/assets/emojis/drgn_nom_pita.png | Bin 0 -> 26473 bytes content/assets/emojis/drgn_nom_pizza.png | Bin 0 -> 26313 bytes content/assets/emojis/drgn_nom_verified.png | Bin 0 -> 25488 bytes content/assets/emojis/drgn_nom_waffle.png | Bin 0 -> 28510 bytes content/assets/emojis/drgn_notice.png | Bin 0 -> 23465 bytes content/assets/emojis/drgn_nuzzle.png | Bin 0 -> 21133 bytes content/assets/emojis/drgn_o_o.png | Bin 0 -> 22359 bytes content/assets/emojis/drgn_outage.png | Bin 0 -> 11339 bytes content/assets/emojis/drgn_owo.png | Bin 0 -> 22769 bytes content/assets/emojis/drgn_pat.png | Bin 0 -> 22887 bytes content/assets/emojis/drgn_pat_blush.png | Bin 0 -> 25897 bytes content/assets/emojis/drgn_pat_cry.png | Bin 0 -> 23947 bytes content/assets/emojis/drgn_pat_flat.png | Bin 0 -> 16441 bytes content/assets/emojis/drgn_pat_sob.png | Bin 0 -> 22469 bytes content/assets/emojis/drgn_pat_up.png | Bin 0 -> 22084 bytes content/assets/emojis/drgn_pleading.png | Bin 0 -> 21838 bytes content/assets/emojis/drgn_pout.png | Bin 0 -> 25145 bytes content/assets/emojis/drgn_rainbow.png | Bin 0 -> 24391 bytes content/assets/emojis/drgn_reject.png | Bin 0 -> 21055 bytes content/assets/emojis/drgn_sad.png | Bin 0 -> 21264 bytes content/assets/emojis/drgn_science.png | Bin 0 -> 25388 bytes content/assets/emojis/drgn_scream.png | Bin 0 -> 22325 bytes content/assets/emojis/drgn_scream_angry.png | Bin 0 -> 26477 bytes content/assets/emojis/drgn_scream_stare.png | Bin 0 -> 22860 bytes content/assets/emojis/drgn_shocked.png | Bin 0 -> 26186 bytes content/assets/emojis/drgn_sleep.png | Bin 0 -> 22394 bytes content/assets/emojis/drgn_smol.png | Bin 0 -> 27003 bytes content/assets/emojis/drgn_smug.png | Bin 0 -> 21589 bytes content/assets/emojis/drgn_smug2.png | Bin 0 -> 21908 bytes content/assets/emojis/drgn_sob.png | Bin 0 -> 21176 bytes content/assets/emojis/drgn_sparkle.png | Bin 0 -> 24728 bytes content/assets/emojis/drgn_stare.png | Bin 0 -> 22860 bytes content/assets/emojis/drgn_tail.png | Bin 0 -> 15410 bytes content/assets/emojis/drgn_think.png | Bin 0 -> 21223 bytes content/assets/emojis/drgn_think__w_.png | Bin 0 -> 21169 bytes content/assets/emojis/drgn_think_confused.png | Bin 0 -> 23367 bytes content/assets/emojis/drgn_think_cool.png | Bin 0 -> 22329 bytes content/assets/emojis/drgn_think_evil.png | Bin 0 -> 21731 bytes content/assets/emojis/drgn_think_owo.png | Bin 0 -> 22434 bytes content/assets/emojis/drgn_think_science.png | Bin 0 -> 25170 bytes content/assets/emojis/drgn_think_smug.png | Bin 0 -> 21299 bytes content/assets/emojis/drgn_think_woozy.png | Bin 0 -> 23436 bytes content/assets/emojis/drgn_thumbsdown.png | Bin 0 -> 21102 bytes content/assets/emojis/drgn_thumbsup.png | Bin 0 -> 21730 bytes content/assets/emojis/drgn_tooth.png | Bin 0 -> 22044 bytes content/assets/emojis/drgn_up.png | Bin 0 -> 21565 bytes content/assets/emojis/drgn_up_blep.png | Bin 0 -> 21463 bytes content/assets/emojis/drgn_up_cup.png | Bin 0 -> 18456 bytes content/assets/emojis/drgn_up_cute.png | Bin 0 -> 22313 bytes content/assets/emojis/drgn_up_happy.png | Bin 0 -> 21097 bytes content/assets/emojis/drgn_uwu.png | Bin 0 -> 22606 bytes content/assets/emojis/drgn_verified.png | Bin 0 -> 24130 bytes content/assets/emojis/drgn_wave.png | Bin 0 -> 21684 bytes content/assets/emojis/drgn_weary.png | Bin 0 -> 22683 bytes content/assets/emojis/drgn_weary_sob.png | Bin 0 -> 23165 bytes content/assets/emojis/drgn_woozy.png | Bin 0 -> 23587 bytes content/assets/emojis/drgn_x_x.png | Bin 0 -> 21880 bytes content/assets/emojis/drgn_yell.png | Bin 0 -> 22883 bytes content/assets/emojis/drgn_yoshi_end.png | Bin 0 -> 3804 bytes content/assets/emojis/drgn_yoshi_mid.png | Bin 0 -> 875 bytes content/assets/emojis/drgn_yoshi_start.png | Bin 0 -> 21686 bytes content/assets/favicon.ico | Bin 0 -> 15086 bytes content/assets/lightbox.js | 137 ++++++++++++++++++++++++++ content/assets/main.js | 23 +++++ content/assets/snow.js | 30 ++++++ content/assets/symbols.svg | 9 ++ content/emojis/drgn_0_0.png | Bin 22177 -> 0 bytes content/emojis/drgn_3c.png | Bin 24886 -> 0 bytes content/emojis/drgn_3c_evil.png | Bin 21762 -> 0 bytes content/emojis/drgn__w_.png | Bin 20923 -> 0 bytes content/emojis/drgn_angel.png | Bin 25121 -> 0 bytes content/emojis/drgn_angel_blep.png | Bin 25385 -> 0 bytes content/emojis/drgn_angel_cute.png | Bin 26171 -> 0 bytes content/emojis/drgn_angel_mlem.png | Bin 25415 -> 0 bytes content/emojis/drgn_angel_pleading.png | Bin 26118 -> 0 bytes content/emojis/drgn_angry.png | Bin 22706 -> 0 bytes content/emojis/drgn_annoyed.png | Bin 21268 -> 0 bytes content/emojis/drgn_aww.png | Bin 22582 -> 0 bytes content/emojis/drgn_blep.png | Bin 21995 -> 0 bytes content/emojis/drgn_blush.png | Bin 25968 -> 0 bytes content/emojis/drgn_boop.png | Bin 6629 -> 0 bytes content/emojis/drgn_bread.png | Bin 16594 -> 0 bytes content/emojis/drgn_confused.png | Bin 23055 -> 0 bytes content/emojis/drgn_cool.png | Bin 21796 -> 0 bytes content/emojis/drgn_cool_fingergun.png | Bin 22024 -> 0 bytes content/emojis/drgn_cool_reject.png | Bin 20670 -> 0 bytes content/emojis/drgn_cry.png | Bin 22841 -> 0 bytes content/emojis/drgn_cry_loud.png | Bin 21671 -> 0 bytes content/emojis/drgn_cup.png | Bin 21491 -> 0 bytes content/emojis/drgn_cup_drowsy.png | Bin 22453 -> 0 bytes content/emojis/drgn_cup_mlem.png | Bin 21061 -> 0 bytes content/emojis/drgn_cute.png | Bin 22222 -> 0 bytes content/emojis/drgn_cute_heart.png | Bin 24219 -> 0 bytes content/emojis/drgn_dead_inside.png | Bin 23122 -> 0 bytes content/emojis/drgn_determined.png | Bin 19875 -> 0 bytes content/emojis/drgn_disapprove.png | Bin 21852 -> 0 bytes content/emojis/drgn_dizzy.png | Bin 22240 -> 0 bytes content/emojis/drgn_drool.png | Bin 21874 -> 0 bytes content/emojis/drgn_drowsy.png | Bin 22580 -> 0 bytes content/emojis/drgn_evil.png | Bin 21399 -> 0 bytes content/emojis/drgn_excited.png | Bin 23364 -> 0 bytes content/emojis/drgn_eye.png | Bin 30521 -> 0 bytes content/emojis/drgn_fingergun.png | Bin 21344 -> 0 bytes content/emojis/drgn_fire.png | Bin 14317 -> 0 bytes content/emojis/drgn_fire_blue.png | Bin 14913 -> 0 bytes content/emojis/drgn_flat.png | Bin 15304 -> 0 bytes content/emojis/drgn_flat_blep.png | Bin 15329 -> 0 bytes content/emojis/drgn_flat_blush.png | Bin 21549 -> 0 bytes content/emojis/drgn_flat_heart.png | Bin 17675 -> 0 bytes content/emojis/drgn_flat_nervous.png | Bin 19631 -> 0 bytes content/emojis/drgn_flat_owo.png | Bin 16062 -> 0 bytes content/emojis/drgn_flat_pleading.png | Bin 16714 -> 0 bytes content/emojis/drgn_flat_scared.png | Bin 19691 -> 0 bytes content/emojis/drgn_flat_sob.png | Bin 15634 -> 0 bytes content/emojis/drgn_flat_x_x.png | Bin 15948 -> 0 bytes content/emojis/drgn_flush.png | Bin 25897 -> 0 bytes content/emojis/drgn_glare.png | Bin 21287 -> 0 bytes content/emojis/drgn_glare_sob.png | Bin 21776 -> 0 bytes content/emojis/drgn_glasses.png | Bin 22303 -> 0 bytes content/emojis/drgn_googly.png | Bin 22134 -> 0 bytes content/emojis/drgn_grumpy.png | Bin 21095 -> 0 bytes content/emojis/drgn_happy.png | Bin 21170 -> 0 bytes content/emojis/drgn_happy_blep.png | Bin 21409 -> 0 bytes content/emojis/drgn_happy_mlem.png | Bin 21436 -> 0 bytes content/emojis/drgn_heart.png | Bin 23217 -> 0 bytes content/emojis/drgn_heart_eyes.png | Bin 22796 -> 0 bytes content/emojis/drgn_hide.png | Bin 14767 -> 0 bytes content/emojis/drgn_hide_blush.png | Bin 17608 -> 0 bytes content/emojis/drgn_hide_nervous.png | Bin 16295 -> 0 bytes content/emojis/drgn_hood.png | Bin 17198 -> 0 bytes content/emojis/drgn_hood__w_.png | Bin 17053 -> 0 bytes content/emojis/drgn_hood_blep.png | Bin 16816 -> 0 bytes content/emojis/drgn_hood_cup.png | Bin 17348 -> 0 bytes content/emojis/drgn_hood_cup_mlem.png | Bin 17367 -> 0 bytes content/emojis/drgn_hood_happy.png | Bin 17342 -> 0 bytes content/emojis/drgn_hood_mlem.png | Bin 16773 -> 0 bytes content/emojis/drgn_hood_wizard.png | Bin 18032 -> 0 bytes content/emojis/drgn_hyper.png | Bin 26065 -> 0 bytes content/emojis/drgn_justright.png | Bin 21288 -> 0 bytes content/emojis/drgn_knife.png | Bin 24482 -> 0 bytes content/emojis/drgn_knife_cute.png | Bin 25381 -> 0 bytes content/emojis/drgn_laser_end.png | Bin 1612 -> 0 bytes content/emojis/drgn_laser_end_hit.png | Bin 2267 -> 0 bytes content/emojis/drgn_laser_mid.png | Bin 1037 -> 0 bytes content/emojis/drgn_laser_start.png | Bin 2870 -> 0 bytes content/emojis/drgn_laugh.png | Bin 21841 -> 0 bytes content/emojis/drgn_laugh_angry.png | Bin 23532 -> 0 bytes content/emojis/drgn_laugh_sweat.png | Bin 22684 -> 0 bytes content/emojis/drgn_laugh_tear.png | Bin 22660 -> 0 bytes content/emojis/drgn_lick.png | Bin 20965 -> 0 bytes content/emojis/drgn_look.png | Bin 21861 -> 0 bytes content/emojis/drgn_lurk.png | Bin 17516 -> 0 bytes content/emojis/drgn_lurk__w_.png | Bin 16799 -> 0 bytes content/emojis/drgn_lurk_blep.png | Bin 17523 -> 0 bytes content/emojis/drgn_lurk_cute.png | Bin 18119 -> 0 bytes content/emojis/drgn_lurk_nervous.png | Bin 19971 -> 0 bytes content/emojis/drgn_lurk_notice.png | Bin 18079 -> 0 bytes content/emojis/drgn_lurk_pleading.png | Bin 17967 -> 0 bytes content/emojis/drgn_lurk_sob.png | Bin 17098 -> 0 bytes content/emojis/drgn_mlem.png | Bin 21961 -> 0 bytes content/emojis/drgn_mug.png | Bin 17497 -> 0 bytes content/emojis/drgn_music.png | Bin 22775 -> 0 bytes content/emojis/drgn_nauseated.png | Bin 24767 -> 0 bytes content/emojis/drgn_nervous.png | Bin 24476 -> 0 bytes content/emojis/drgn_nom_book.png | Bin 23803 -> 0 bytes content/emojis/drgn_nom_bread.png | Bin 24510 -> 0 bytes content/emojis/drgn_nom_burger.png | Bin 23732 -> 0 bytes content/emojis/drgn_nom_controller.png | Bin 25068 -> 0 bytes content/emojis/drgn_nom_cookie.png | Bin 23403 -> 0 bytes content/emojis/drgn_nom_donut.png | Bin 25438 -> 0 bytes content/emojis/drgn_nom_egg.png | Bin 22720 -> 0 bytes content/emojis/drgn_nom_fries.png | Bin 24091 -> 0 bytes content/emojis/drgn_nom_heart.png | Bin 23041 -> 0 bytes content/emojis/drgn_nom_msteams.png | Bin 21615 -> 0 bytes content/emojis/drgn_nom_phone.png | Bin 22298 -> 0 bytes content/emojis/drgn_nom_pita.png | Bin 24660 -> 0 bytes content/emojis/drgn_nom_pizza.png | Bin 24144 -> 0 bytes content/emojis/drgn_nom_waffle.png | Bin 26377 -> 0 bytes content/emojis/drgn_nom_watermelon.png | Bin 24360 -> 0 bytes content/emojis/drgn_notice.png | Bin 22234 -> 0 bytes content/emojis/drgn_nuzzle.png | Bin 21540 -> 0 bytes content/emojis/drgn_o_o.png | Bin 21605 -> 0 bytes content/emojis/drgn_outage.png | Bin 10834 -> 0 bytes content/emojis/drgn_owo.png | Bin 21680 -> 0 bytes content/emojis/drgn_pat.png | Bin 21410 -> 0 bytes content/emojis/drgn_pat_cry.png | Bin 23198 -> 0 bytes content/emojis/drgn_pat_flat.png | Bin 15889 -> 0 bytes content/emojis/drgn_pat_googly.png | Bin 22160 -> 0 bytes content/emojis/drgn_pat_sob.png | Bin 21514 -> 0 bytes content/emojis/drgn_pat_up.png | Bin 20404 -> 0 bytes content/emojis/drgn_paw.png | Bin 12539 -> 0 bytes content/emojis/drgn_peek.png | Bin 9344 -> 0 bytes content/emojis/drgn_pensive.png | Bin 21555 -> 0 bytes content/emojis/drgn_pleading.png | Bin 22144 -> 0 bytes content/emojis/drgn_pout.png | Bin 24951 -> 0 bytes content/emojis/drgn_rainbow.png | Bin 23330 -> 0 bytes content/emojis/drgn_reject.png | Bin 20055 -> 0 bytes content/emojis/drgn_relax.png | Bin 15589 -> 0 bytes content/emojis/drgn_robe.png | Bin 20394 -> 0 bytes content/emojis/drgn_robe__w_.png | Bin 19621 -> 0 bytes content/emojis/drgn_robe_blep.png | Bin 20870 -> 0 bytes content/emojis/drgn_robe_cup.png | Bin 20098 -> 0 bytes content/emojis/drgn_robe_cup_mlem.png | Bin 20133 -> 0 bytes content/emojis/drgn_robe_happy.png | Bin 19924 -> 0 bytes content/emojis/drgn_robe_mlem.png | Bin 20806 -> 0 bytes content/emojis/drgn_robe_wizard.png | Bin 18880 -> 0 bytes content/emojis/drgn_sad.png | Bin 21360 -> 0 bytes content/emojis/drgn_scared.png | Bin 24286 -> 0 bytes content/emojis/drgn_science.png | Bin 25930 -> 0 bytes content/emojis/drgn_scream.png | Bin 21438 -> 0 bytes content/emojis/drgn_scream_angry.png | Bin 23044 -> 0 bytes content/emojis/drgn_scream_stare.png | Bin 21939 -> 0 bytes content/emojis/drgn_sigh.png | Bin 20063 -> 0 bytes content/emojis/drgn_sleep.png | Bin 16793 -> 0 bytes content/emojis/drgn_smirk.png | Bin 21157 -> 0 bytes content/emojis/drgn_smug.png | Bin 21088 -> 0 bytes content/emojis/drgn_smug2.png | Bin 21332 -> 0 bytes content/emojis/drgn_sob.png | Bin 21253 -> 0 bytes content/emojis/drgn_sparkle.png | Bin 24091 -> 0 bytes content/emojis/drgn_stare.png | Bin 21785 -> 0 bytes content/emojis/drgn_tail.png | Bin 15518 -> 0 bytes content/emojis/drgn_think.png | Bin 20877 -> 0 bytes content/emojis/drgn_think__w_.png | Bin 20585 -> 0 bytes content/emojis/drgn_think_confused.png | Bin 22789 -> 0 bytes content/emojis/drgn_think_cool.png | Bin 21546 -> 0 bytes content/emojis/drgn_think_googly.png | Bin 21538 -> 0 bytes content/emojis/drgn_think_happy.png | Bin 20863 -> 0 bytes content/emojis/drgn_think_o_o.png | Bin 21306 -> 0 bytes content/emojis/drgn_think_owo.png | Bin 21411 -> 0 bytes content/emojis/drgn_think_science.png | Bin 25646 -> 0 bytes content/emojis/drgn_think_smirk.png | Bin 20840 -> 0 bytes content/emojis/drgn_think_smug.png | Bin 20745 -> 0 bytes content/emojis/drgn_think_smug2.png | Bin 21053 -> 0 bytes content/emojis/drgn_thinking.png | Bin 22125 -> 0 bytes content/emojis/drgn_thumbsdown.png | Bin 21274 -> 0 bytes content/emojis/drgn_thumbsup.png | Bin 20717 -> 0 bytes content/emojis/drgn_tooth.png | Bin 21446 -> 0 bytes content/emojis/drgn_up.png | Bin 20897 -> 0 bytes content/emojis/drgn_up_cute.png | Bin 21238 -> 0 bytes content/emojis/drgn_up_happy.png | Bin 20411 -> 0 bytes content/emojis/drgn_up_happy_blep.png | Bin 20842 -> 0 bytes content/emojis/drgn_up_mug.png | Bin 18153 -> 0 bytes content/emojis/drgn_uwu.png | Bin 21604 -> 0 bytes content/emojis/drgn_water.png | Bin 17189 -> 0 bytes content/emojis/drgn_wave.png | Bin 20786 -> 0 bytes content/emojis/drgn_weary.png | Bin 22127 -> 0 bytes content/emojis/drgn_weary_cry.png | Bin 22143 -> 0 bytes content/emojis/drgn_x_x.png | Bin 21479 -> 0 bytes content/emojis/drgn_yell.png | Bin 21793 -> 0 bytes content/emojis/drgn_yoshi_end.png | Bin 3803 -> 0 bytes content/emojis/drgn_yoshi_mid.png | Bin 874 -> 0 bytes content/emojis/drgn_yoshi_start.png | Bin 20436 -> 0 bytes content/favicon.ico | Bin 15086 -> 0 bytes content/index.md | 3 +- content/lightbox.js | 137 -------------------------- content/main.js | 23 ----- content/snow.js | 30 ------ content/symbols.svg | 9 -- filters/emojis.lua | 2 +- scripts/lib/common.lua | 7 +- scripts/page.lua | 13 ++- templates/base.html | 16 +-- 368 files changed, 243 insertions(+), 237 deletions(-) create mode 100755 content/assets/emojis/drgn.png create mode 100755 content/assets/emojis/drgn_0_0.png create mode 100755 content/assets/emojis/drgn_3c.png create mode 100755 content/assets/emojis/drgn_3c_evil.png create mode 100755 content/assets/emojis/drgn__w_.png create mode 100755 content/assets/emojis/drgn_angel.png create mode 100755 content/assets/emojis/drgn_angel_blep.png create mode 100755 content/assets/emojis/drgn_angel_happy.png create mode 100755 content/assets/emojis/drgn_angel_mlem.png create mode 100755 content/assets/emojis/drgn_angel_pleading.png create mode 100755 content/assets/emojis/drgn_angry.png create mode 100755 content/assets/emojis/drgn_aww.png create mode 100755 content/assets/emojis/drgn_blep.png create mode 100755 content/assets/emojis/drgn_blush.png create mode 100755 content/assets/emojis/drgn_boop.png create mode 100755 content/assets/emojis/drgn_bread.png create mode 100755 content/assets/emojis/drgn_comfy.png create mode 100755 content/assets/emojis/drgn_comfy__w_.png create mode 100755 content/assets/emojis/drgn_comfy_blep.png create mode 100755 content/assets/emojis/drgn_comfy_cup.png create mode 100755 content/assets/emojis/drgn_comfy_cup_mlem.png create mode 100755 content/assets/emojis/drgn_comfy_cute.png create mode 100755 content/assets/emojis/drgn_comfy_drowsy.png create mode 100755 content/assets/emojis/drgn_comfy_evil.png create mode 100755 content/assets/emojis/drgn_comfy_happy.png create mode 100755 content/assets/emojis/drgn_comfy_mlem.png create mode 100755 content/assets/emojis/drgn_comfy_owo.png create mode 100755 content/assets/emojis/drgn_comfy_smug.png create mode 100755 content/assets/emojis/drgn_confused.png create mode 100755 content/assets/emojis/drgn_cool.png create mode 100755 content/assets/emojis/drgn_cool_fingergun.png create mode 100755 content/assets/emojis/drgn_cool_reject.png create mode 100755 content/assets/emojis/drgn_cry.png create mode 100755 content/assets/emojis/drgn_cry_loud.png create mode 100755 content/assets/emojis/drgn_cup.png create mode 100755 content/assets/emojis/drgn_cup_drowsy.png create mode 100755 content/assets/emojis/drgn_cup_mlem.png create mode 100755 content/assets/emojis/drgn_cute.png create mode 100755 content/assets/emojis/drgn_dark.png create mode 100755 content/assets/emojis/drgn_dark_mlem.png create mode 100755 content/assets/emojis/drgn_dizzy.png create mode 100755 content/assets/emojis/drgn_drool.png create mode 100755 content/assets/emojis/drgn_drowsy.png create mode 100755 content/assets/emojis/drgn_evil.png create mode 100755 content/assets/emojis/drgn_fingergun.png create mode 100755 content/assets/emojis/drgn_fire.png create mode 100755 content/assets/emojis/drgn_fire_blue.png create mode 100755 content/assets/emojis/drgn_flat.png create mode 100755 content/assets/emojis/drgn_flat_blep.png create mode 100755 content/assets/emojis/drgn_flat_blush.png create mode 100755 content/assets/emojis/drgn_flat_happy.png create mode 100755 content/assets/emojis/drgn_flat_heart.png create mode 100755 content/assets/emojis/drgn_flat_nervous.png create mode 100755 content/assets/emojis/drgn_flat_owo.png create mode 100755 content/assets/emojis/drgn_flat_pleading.png create mode 100755 content/assets/emojis/drgn_flat_sleep.png create mode 100755 content/assets/emojis/drgn_flat_sob.png create mode 100755 content/assets/emojis/drgn_flat_sob_heart.png create mode 100755 content/assets/emojis/drgn_flat_x_x.png create mode 100755 content/assets/emojis/drgn_flush.png create mode 100755 content/assets/emojis/drgn_glare.png create mode 100755 content/assets/emojis/drgn_glare_sob.png create mode 100755 content/assets/emojis/drgn_glasses.png create mode 100755 content/assets/emojis/drgn_happy.png create mode 100755 content/assets/emojis/drgn_happy_blep.png create mode 100755 content/assets/emojis/drgn_happy_mlem.png create mode 100755 content/assets/emojis/drgn_heart.png create mode 100755 content/assets/emojis/drgn_hide.png create mode 100755 content/assets/emojis/drgn_hide_blush.png create mode 100755 content/assets/emojis/drgn_hide_nervous.png create mode 100755 content/assets/emojis/drgn_hyper.png create mode 100755 content/assets/emojis/drgn_knife.png create mode 100755 content/assets/emojis/drgn_knife_angry.png create mode 100755 content/assets/emojis/drgn_laser_end.png create mode 100755 content/assets/emojis/drgn_laser_end_hit.png create mode 100755 content/assets/emojis/drgn_laser_mid.png create mode 100755 content/assets/emojis/drgn_laser_start.png create mode 100755 content/assets/emojis/drgn_lick.png create mode 100755 content/assets/emojis/drgn_lol.png create mode 100755 content/assets/emojis/drgn_lol_nervous.png create mode 100755 content/assets/emojis/drgn_lol_tear.png create mode 100755 content/assets/emojis/drgn_lurk.png create mode 100755 content/assets/emojis/drgn_lurk__w_.png create mode 100755 content/assets/emojis/drgn_lurk_blep.png create mode 100755 content/assets/emojis/drgn_lurk_cute.png create mode 100755 content/assets/emojis/drgn_lurk_nervous.png create mode 100755 content/assets/emojis/drgn_lurk_notice.png create mode 100755 content/assets/emojis/drgn_lurk_owo.png create mode 100755 content/assets/emojis/drgn_lurk_pleading.png create mode 100755 content/assets/emojis/drgn_lurk_sob.png create mode 100755 content/assets/emojis/drgn_mlem.png create mode 100755 content/assets/emojis/drgn_music.png create mode 100755 content/assets/emojis/drgn_nauseated.png create mode 100755 content/assets/emojis/drgn_nervous.png create mode 100755 content/assets/emojis/drgn_neutral.png create mode 100755 content/assets/emojis/drgn_nom_book.png create mode 100755 content/assets/emojis/drgn_nom_bread.png create mode 100755 content/assets/emojis/drgn_nom_bread_2.png create mode 100755 content/assets/emojis/drgn_nom_burger.png create mode 100755 content/assets/emojis/drgn_nom_cookie.png create mode 100755 content/assets/emojis/drgn_nom_donut.png create mode 100755 content/assets/emojis/drgn_nom_egg.png create mode 100755 content/assets/emojis/drgn_nom_fries.png create mode 100755 content/assets/emojis/drgn_nom_melon.png create mode 100755 content/assets/emojis/drgn_nom_pita.png create mode 100755 content/assets/emojis/drgn_nom_pizza.png create mode 100755 content/assets/emojis/drgn_nom_verified.png create mode 100755 content/assets/emojis/drgn_nom_waffle.png create mode 100755 content/assets/emojis/drgn_notice.png create mode 100755 content/assets/emojis/drgn_nuzzle.png create mode 100755 content/assets/emojis/drgn_o_o.png create mode 100755 content/assets/emojis/drgn_outage.png create mode 100755 content/assets/emojis/drgn_owo.png create mode 100755 content/assets/emojis/drgn_pat.png create mode 100755 content/assets/emojis/drgn_pat_blush.png create mode 100755 content/assets/emojis/drgn_pat_cry.png create mode 100755 content/assets/emojis/drgn_pat_flat.png create mode 100755 content/assets/emojis/drgn_pat_sob.png create mode 100755 content/assets/emojis/drgn_pat_up.png create mode 100755 content/assets/emojis/drgn_pleading.png create mode 100755 content/assets/emojis/drgn_pout.png create mode 100755 content/assets/emojis/drgn_rainbow.png create mode 100755 content/assets/emojis/drgn_reject.png create mode 100755 content/assets/emojis/drgn_sad.png create mode 100755 content/assets/emojis/drgn_science.png create mode 100755 content/assets/emojis/drgn_scream.png create mode 100755 content/assets/emojis/drgn_scream_angry.png create mode 100755 content/assets/emojis/drgn_scream_stare.png create mode 100755 content/assets/emojis/drgn_shocked.png create mode 100755 content/assets/emojis/drgn_sleep.png create mode 100755 content/assets/emojis/drgn_smol.png create mode 100755 content/assets/emojis/drgn_smug.png create mode 100755 content/assets/emojis/drgn_smug2.png create mode 100755 content/assets/emojis/drgn_sob.png create mode 100755 content/assets/emojis/drgn_sparkle.png create mode 100755 content/assets/emojis/drgn_stare.png create mode 100755 content/assets/emojis/drgn_tail.png create mode 100755 content/assets/emojis/drgn_think.png create mode 100755 content/assets/emojis/drgn_think__w_.png create mode 100755 content/assets/emojis/drgn_think_confused.png create mode 100755 content/assets/emojis/drgn_think_cool.png create mode 100755 content/assets/emojis/drgn_think_evil.png create mode 100755 content/assets/emojis/drgn_think_owo.png create mode 100755 content/assets/emojis/drgn_think_science.png create mode 100755 content/assets/emojis/drgn_think_smug.png create mode 100755 content/assets/emojis/drgn_think_woozy.png create mode 100755 content/assets/emojis/drgn_thumbsdown.png create mode 100755 content/assets/emojis/drgn_thumbsup.png create mode 100755 content/assets/emojis/drgn_tooth.png create mode 100755 content/assets/emojis/drgn_up.png create mode 100755 content/assets/emojis/drgn_up_blep.png create mode 100755 content/assets/emojis/drgn_up_cup.png create mode 100755 content/assets/emojis/drgn_up_cute.png create mode 100755 content/assets/emojis/drgn_up_happy.png create mode 100755 content/assets/emojis/drgn_uwu.png create mode 100755 content/assets/emojis/drgn_verified.png create mode 100755 content/assets/emojis/drgn_wave.png create mode 100755 content/assets/emojis/drgn_weary.png create mode 100755 content/assets/emojis/drgn_weary_sob.png create mode 100755 content/assets/emojis/drgn_woozy.png create mode 100755 content/assets/emojis/drgn_x_x.png create mode 100755 content/assets/emojis/drgn_yell.png create mode 100755 content/assets/emojis/drgn_yoshi_end.png create mode 100755 content/assets/emojis/drgn_yoshi_mid.png create mode 100755 content/assets/emojis/drgn_yoshi_start.png create mode 100644 content/assets/favicon.ico create mode 100644 content/assets/lightbox.js create mode 100644 content/assets/main.js create mode 100644 content/assets/snow.js create mode 100644 content/assets/symbols.svg delete mode 100755 content/emojis/drgn_0_0.png delete mode 100755 content/emojis/drgn_3c.png delete mode 100755 content/emojis/drgn_3c_evil.png delete mode 100755 content/emojis/drgn__w_.png delete mode 100755 content/emojis/drgn_angel.png delete mode 100755 content/emojis/drgn_angel_blep.png delete mode 100755 content/emojis/drgn_angel_cute.png delete mode 100755 content/emojis/drgn_angel_mlem.png delete mode 100755 content/emojis/drgn_angel_pleading.png delete mode 100755 content/emojis/drgn_angry.png delete mode 100755 content/emojis/drgn_annoyed.png delete mode 100755 content/emojis/drgn_aww.png delete mode 100755 content/emojis/drgn_blep.png delete mode 100755 content/emojis/drgn_blush.png delete mode 100755 content/emojis/drgn_boop.png delete mode 100755 content/emojis/drgn_bread.png delete mode 100755 content/emojis/drgn_confused.png delete mode 100755 content/emojis/drgn_cool.png delete mode 100755 content/emojis/drgn_cool_fingergun.png delete mode 100755 content/emojis/drgn_cool_reject.png delete mode 100755 content/emojis/drgn_cry.png delete mode 100755 content/emojis/drgn_cry_loud.png delete mode 100755 content/emojis/drgn_cup.png delete mode 100755 content/emojis/drgn_cup_drowsy.png delete mode 100755 content/emojis/drgn_cup_mlem.png delete mode 100755 content/emojis/drgn_cute.png delete mode 100755 content/emojis/drgn_cute_heart.png delete mode 100755 content/emojis/drgn_dead_inside.png delete mode 100755 content/emojis/drgn_determined.png delete mode 100755 content/emojis/drgn_disapprove.png delete mode 100755 content/emojis/drgn_dizzy.png delete mode 100755 content/emojis/drgn_drool.png delete mode 100755 content/emojis/drgn_drowsy.png delete mode 100755 content/emojis/drgn_evil.png delete mode 100755 content/emojis/drgn_excited.png delete mode 100755 content/emojis/drgn_eye.png delete mode 100755 content/emojis/drgn_fingergun.png delete mode 100755 content/emojis/drgn_fire.png delete mode 100755 content/emojis/drgn_fire_blue.png delete mode 100755 content/emojis/drgn_flat.png delete mode 100755 content/emojis/drgn_flat_blep.png delete mode 100755 content/emojis/drgn_flat_blush.png delete mode 100755 content/emojis/drgn_flat_heart.png delete mode 100755 content/emojis/drgn_flat_nervous.png delete mode 100755 content/emojis/drgn_flat_owo.png delete mode 100755 content/emojis/drgn_flat_pleading.png delete mode 100755 content/emojis/drgn_flat_scared.png delete mode 100755 content/emojis/drgn_flat_sob.png delete mode 100755 content/emojis/drgn_flat_x_x.png delete mode 100755 content/emojis/drgn_flush.png delete mode 100755 content/emojis/drgn_glare.png delete mode 100755 content/emojis/drgn_glare_sob.png delete mode 100755 content/emojis/drgn_glasses.png delete mode 100755 content/emojis/drgn_googly.png delete mode 100755 content/emojis/drgn_grumpy.png delete mode 100755 content/emojis/drgn_happy.png delete mode 100755 content/emojis/drgn_happy_blep.png delete mode 100755 content/emojis/drgn_happy_mlem.png delete mode 100755 content/emojis/drgn_heart.png delete mode 100755 content/emojis/drgn_heart_eyes.png delete mode 100755 content/emojis/drgn_hide.png delete mode 100755 content/emojis/drgn_hide_blush.png delete mode 100755 content/emojis/drgn_hide_nervous.png delete mode 100755 content/emojis/drgn_hood.png delete mode 100755 content/emojis/drgn_hood__w_.png delete mode 100755 content/emojis/drgn_hood_blep.png delete mode 100755 content/emojis/drgn_hood_cup.png delete mode 100755 content/emojis/drgn_hood_cup_mlem.png delete mode 100755 content/emojis/drgn_hood_happy.png delete mode 100755 content/emojis/drgn_hood_mlem.png delete mode 100755 content/emojis/drgn_hood_wizard.png delete mode 100755 content/emojis/drgn_hyper.png delete mode 100755 content/emojis/drgn_justright.png delete mode 100755 content/emojis/drgn_knife.png delete mode 100755 content/emojis/drgn_knife_cute.png delete mode 100755 content/emojis/drgn_laser_end.png delete mode 100755 content/emojis/drgn_laser_end_hit.png delete mode 100755 content/emojis/drgn_laser_mid.png delete mode 100755 content/emojis/drgn_laser_start.png delete mode 100755 content/emojis/drgn_laugh.png delete mode 100755 content/emojis/drgn_laugh_angry.png delete mode 100755 content/emojis/drgn_laugh_sweat.png delete mode 100755 content/emojis/drgn_laugh_tear.png delete mode 100755 content/emojis/drgn_lick.png delete mode 100755 content/emojis/drgn_look.png delete mode 100755 content/emojis/drgn_lurk.png delete mode 100755 content/emojis/drgn_lurk__w_.png delete mode 100755 content/emojis/drgn_lurk_blep.png delete mode 100755 content/emojis/drgn_lurk_cute.png delete mode 100755 content/emojis/drgn_lurk_nervous.png delete mode 100755 content/emojis/drgn_lurk_notice.png delete mode 100755 content/emojis/drgn_lurk_pleading.png delete mode 100755 content/emojis/drgn_lurk_sob.png delete mode 100755 content/emojis/drgn_mlem.png delete mode 100755 content/emojis/drgn_mug.png delete mode 100755 content/emojis/drgn_music.png delete mode 100755 content/emojis/drgn_nauseated.png delete mode 100755 content/emojis/drgn_nervous.png delete mode 100755 content/emojis/drgn_nom_book.png delete mode 100755 content/emojis/drgn_nom_bread.png delete mode 100755 content/emojis/drgn_nom_burger.png delete mode 100755 content/emojis/drgn_nom_controller.png delete mode 100755 content/emojis/drgn_nom_cookie.png delete mode 100755 content/emojis/drgn_nom_donut.png delete mode 100755 content/emojis/drgn_nom_egg.png delete mode 100755 content/emojis/drgn_nom_fries.png delete mode 100755 content/emojis/drgn_nom_heart.png delete mode 100755 content/emojis/drgn_nom_msteams.png delete mode 100755 content/emojis/drgn_nom_phone.png delete mode 100755 content/emojis/drgn_nom_pita.png delete mode 100755 content/emojis/drgn_nom_pizza.png delete mode 100755 content/emojis/drgn_nom_waffle.png delete mode 100755 content/emojis/drgn_nom_watermelon.png delete mode 100755 content/emojis/drgn_notice.png delete mode 100755 content/emojis/drgn_nuzzle.png delete mode 100755 content/emojis/drgn_o_o.png delete mode 100755 content/emojis/drgn_outage.png delete mode 100755 content/emojis/drgn_owo.png delete mode 100755 content/emojis/drgn_pat.png delete mode 100755 content/emojis/drgn_pat_cry.png delete mode 100755 content/emojis/drgn_pat_flat.png delete mode 100755 content/emojis/drgn_pat_googly.png delete mode 100755 content/emojis/drgn_pat_sob.png delete mode 100755 content/emojis/drgn_pat_up.png delete mode 100755 content/emojis/drgn_paw.png delete mode 100755 content/emojis/drgn_peek.png delete mode 100755 content/emojis/drgn_pensive.png delete mode 100755 content/emojis/drgn_pleading.png delete mode 100755 content/emojis/drgn_pout.png delete mode 100755 content/emojis/drgn_rainbow.png delete mode 100755 content/emojis/drgn_reject.png delete mode 100755 content/emojis/drgn_relax.png delete mode 100755 content/emojis/drgn_robe.png delete mode 100755 content/emojis/drgn_robe__w_.png delete mode 100755 content/emojis/drgn_robe_blep.png delete mode 100755 content/emojis/drgn_robe_cup.png delete mode 100755 content/emojis/drgn_robe_cup_mlem.png delete mode 100755 content/emojis/drgn_robe_happy.png delete mode 100755 content/emojis/drgn_robe_mlem.png delete mode 100755 content/emojis/drgn_robe_wizard.png delete mode 100755 content/emojis/drgn_sad.png delete mode 100755 content/emojis/drgn_scared.png delete mode 100755 content/emojis/drgn_science.png delete mode 100755 content/emojis/drgn_scream.png delete mode 100755 content/emojis/drgn_scream_angry.png delete mode 100755 content/emojis/drgn_scream_stare.png delete mode 100755 content/emojis/drgn_sigh.png delete mode 100755 content/emojis/drgn_sleep.png delete mode 100755 content/emojis/drgn_smirk.png delete mode 100755 content/emojis/drgn_smug.png delete mode 100755 content/emojis/drgn_smug2.png delete mode 100755 content/emojis/drgn_sob.png delete mode 100755 content/emojis/drgn_sparkle.png delete mode 100755 content/emojis/drgn_stare.png delete mode 100755 content/emojis/drgn_tail.png delete mode 100755 content/emojis/drgn_think.png delete mode 100755 content/emojis/drgn_think__w_.png delete mode 100755 content/emojis/drgn_think_confused.png delete mode 100755 content/emojis/drgn_think_cool.png delete mode 100755 content/emojis/drgn_think_googly.png delete mode 100755 content/emojis/drgn_think_happy.png delete mode 100755 content/emojis/drgn_think_o_o.png delete mode 100755 content/emojis/drgn_think_owo.png delete mode 100755 content/emojis/drgn_think_science.png delete mode 100755 content/emojis/drgn_think_smirk.png delete mode 100755 content/emojis/drgn_think_smug.png delete mode 100755 content/emojis/drgn_think_smug2.png delete mode 100755 content/emojis/drgn_thinking.png delete mode 100755 content/emojis/drgn_thumbsdown.png delete mode 100755 content/emojis/drgn_thumbsup.png delete mode 100755 content/emojis/drgn_tooth.png delete mode 100755 content/emojis/drgn_up.png delete mode 100755 content/emojis/drgn_up_cute.png delete mode 100755 content/emojis/drgn_up_happy.png delete mode 100755 content/emojis/drgn_up_happy_blep.png delete mode 100755 content/emojis/drgn_up_mug.png delete mode 100755 content/emojis/drgn_uwu.png delete mode 100755 content/emojis/drgn_water.png delete mode 100755 content/emojis/drgn_wave.png delete mode 100755 content/emojis/drgn_weary.png delete mode 100755 content/emojis/drgn_weary_cry.png delete mode 100755 content/emojis/drgn_x_x.png delete mode 100755 content/emojis/drgn_yell.png delete mode 100755 content/emojis/drgn_yoshi_end.png delete mode 100755 content/emojis/drgn_yoshi_mid.png delete mode 100755 content/emojis/drgn_yoshi_start.png delete mode 100644 content/favicon.ico delete mode 100644 content/lightbox.js delete mode 100644 content/main.js delete mode 100644 content/snow.js delete mode 100644 content/symbols.svg diff --git a/Makefile b/Makefile index df13e15..1a7fae7 100644 --- a/Makefile +++ b/Makefile @@ -14,16 +14,19 @@ CONTENT_SRC := $(shell find content -type f -name "*.md") FEED_SRC := $(shell grep -l "^feed: *true$$" $(CONTENT_SRC)) CONTENT_TEMPLATES_SRC := $(shell find templates -type f -name "*.html") FEED_TEMPLATES_SRC := $(shell find templates -type f -name "*.xml") +FONT_SRC := $(wildcard assets/fonts/*.ttf) CSS_SRC := $(shell find assets/css -type f -name "*.scss") +ASSET_SRC := $(shell find content/assets -type f) +STATIC_SRC := $(shell find content -type f ! -name "*.md") CONTENT_META := $(patsubst content/%.md,.cache/meta/%.json,$(CONTENT_SRC)) CONTENT_FILES := $(patsubst content/%.md,out/%.html,$(CONTENT_SRC)) FEED_FILES := $(patsubst content/%.md,out/%.xml,$(FEED_SRC)) -FONT_FILES := $(patsubst assets/fonts/%.ttf,out/%.woff2,$(wildcard assets/fonts/*.ttf)) -CSS_FILES := $(patsubst assets/css/%.scss,out/%.css,$(wildcard assets/css/style.scss)) -STATIC_FILES := $(patsubst content/%,out/%,$(shell find content -type f ! -name "*.md")) -TOP_STATIC_FILES := $(patsubst content/%,out/%,$(shell find content -maxdepth 1 -type f ! -name "*.md")) -ASSET_FILES := $(FONT_FILES) $(CSS_FILES) out/icons.svg $(TOP_STATIC_FILES) +FONT_FILES := $(patsubst assets/fonts/%.ttf,out/assets/%.woff2,$(FONT_SRC)) +CSS_FILES := out/assets/style.css +ICON_FILES := out/assets/icons.svg +ASSET_FILES := $(FONT_FILES) $(CSS_FILES) $(ICON_FILES) $(patsubst content/assets/%,out/assets/%,$(ASSET_SRC)) +STATIC_FILES := $(patsubst content/%,out/%,$(STATIC_SRC)) # # TARGETS @@ -103,7 +106,7 @@ subpages = $(patsubst content/%.md,.cache/meta/%.json, \ .cache/assets.json: $(ASSET_FILES) | .cache $(info [ASET] $@) - sha256sum $^ | sed -r 's/([0-9a-f]+) +out\/(.*)/{ "\2": "\/\2?\1" }/' | jq '{ assets: [inputs] | add | with_entries( .key |= gsub( "\\."; "_") ) }' > "$@" + sha256sum $^ | sed -r 's/([0-9a-f]+) +out\/assets\/(.*)/{ "\2": "\/assets\/\2?\1" }/' | jq '{ assets: [inputs] | add | with_entries( .key |= gsub( "\\."; "_") ) }' > "$@" out/%.html: content/%.md .cache/meta.json .cache/assets.json $(CONTENT_TEMPLATES_SRC) metadata/*.yaml filters/*.lua scripts/page.lua | out $(info [MARK] $< -> $@) @@ -156,7 +159,7 @@ out/%/thumbnail.jpg: content/%/thumbnail.jpg | out mkdir -p $(@D) convert -thumbnail 550x280^ -gravity center -extent 550x280 "$<" ppm:- | cjpeg -quality 80 > "$@" -out/%.woff2: assets/fonts/%.ttf assets/fonts/glyphs.txt | out +out/assets/%.woff2: assets/fonts/%.ttf assets/fonts/glyphs.txt | out/assets $(info [FONT] $< -> $@) pyftsubset "$<" \ @@ -165,12 +168,12 @@ out/%.woff2: assets/fonts/%.ttf assets/fonts/glyphs.txt | out --flavor="woff2" \ --output-file="$@" -out/%.css: assets/css/%.scss $(CSS_SRC) | out +out/assets/%.css: assets/css/%.scss $(CSS_SRC) | out/assets $(info [SCSS] $< -> $@) sass --load-path=node_modules "$<" | ./node_modules/.bin/postcss --use autoprefixer --use postcss-csso --no-map -o "$@" -out/icons.svg: | out +out/assets/icons.svg: | out/assets $(info [ICON] $@) node ./node_modules/iro-icons/scripts/create_sprite.js \ @@ -200,15 +203,15 @@ out/%: content/% | out mkdir -p $(@D) cp "$<" "$@" -.cache/hash: | .cache - mkdir -p .cache/hash - .cache/meta: | .cache mkdir -p .cache/meta .cache: mkdir -p .cache +out/assets: | out + mkdir -p out/assets + out: mkdir -p out diff --git a/assets/css/_fonts.scss b/assets/css/_fonts.scss index 6b3095e..04c3e7c 100644 --- a/assets/css/_fonts.scss +++ b/assets/css/_fonts.scss @@ -3,7 +3,7 @@ font-style: normal; font-weight: normal; font-display: swap; - src: url('/IBMPlexSans-Regular.woff2') format('woff2'); + src: url('/assets/IBMPlexSans-Regular.woff2') format('woff2'); } @font-face { @@ -11,7 +11,7 @@ font-style: italic; font-weight: normal; font-display: swap; - src: url('/IBMPlexSans-Italic.woff2') format('woff2'); + src: url('/assets/IBMPlexSans-Italic.woff2') format('woff2'); } @font-face { @@ -19,7 +19,7 @@ font-style: normal; font-weight: 500; font-display: swap; - src: url('/IBMPlexSans-Medium.woff2') format('woff2'); + src: url('/assets/IBMPlexSans-Medium.woff2') format('woff2'); } @font-face { @@ -27,7 +27,7 @@ font-style: normal; font-weight: bold; font-display: swap; - src: url('/IBMPlexSans-Bold.woff2') format('woff2'); + src: url('/assets/IBMPlexSans-Bold.woff2') format('woff2'); } @font-face { @@ -35,7 +35,7 @@ font-style: normal; font-weight: 50 950; font-display: swap; - src: url('/GaretVariable.woff2') format('woff2-variations'); + src: url('/assets/GaretVariable.woff2') format('woff2-variations'); } @font-face { @@ -43,7 +43,7 @@ font-style: normal; font-weight: normal; font-display: swap; - src: url('/iosevka-term-ss09-regular.woff2') format('woff2'); + src: url('/assets/iosevka-term-ss09-regular.woff2') format('woff2'); } @font-face { @@ -51,5 +51,5 @@ font-style: normal; font-weight: bold; font-display: swap; - src: url('/iosevka-term-ss09-bold.woff2') format('woff2'); + src: url('/assets/iosevka-term-ss09-bold.woff2') format('woff2'); } diff --git a/content/assets/emojis/drgn.png b/content/assets/emojis/drgn.png new file mode 100755 index 0000000..b8cde00 Binary files /dev/null and b/content/assets/emojis/drgn.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_0_0.png differ diff --git a/content/assets/emojis/drgn_3c.png b/content/assets/emojis/drgn_3c.png new file mode 100755 index 0000000..a300865 Binary files /dev/null and b/content/assets/emojis/drgn_3c.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_3c_evil.png differ diff --git a/content/assets/emojis/drgn__w_.png b/content/assets/emojis/drgn__w_.png new file mode 100755 index 0000000..a9680d6 Binary files /dev/null and b/content/assets/emojis/drgn__w_.png differ diff --git a/content/assets/emojis/drgn_angel.png b/content/assets/emojis/drgn_angel.png new file mode 100755 index 0000000..a6f2082 Binary files /dev/null and b/content/assets/emojis/drgn_angel.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_angel_blep.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_angel_happy.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_angel_mlem.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_angel_pleading.png differ diff --git a/content/assets/emojis/drgn_angry.png b/content/assets/emojis/drgn_angry.png new file mode 100755 index 0000000..49d8bfa Binary files /dev/null and b/content/assets/emojis/drgn_angry.png differ diff --git a/content/assets/emojis/drgn_aww.png b/content/assets/emojis/drgn_aww.png new file mode 100755 index 0000000..e9b4502 Binary files /dev/null and b/content/assets/emojis/drgn_aww.png differ diff --git a/content/assets/emojis/drgn_blep.png b/content/assets/emojis/drgn_blep.png new file mode 100755 index 0000000..df05989 Binary files /dev/null and b/content/assets/emojis/drgn_blep.png differ diff --git a/content/assets/emojis/drgn_blush.png b/content/assets/emojis/drgn_blush.png new file mode 100755 index 0000000..484a132 Binary files /dev/null and b/content/assets/emojis/drgn_blush.png differ diff --git a/content/assets/emojis/drgn_boop.png b/content/assets/emojis/drgn_boop.png new file mode 100755 index 0000000..b46fc67 Binary files /dev/null and b/content/assets/emojis/drgn_boop.png differ diff --git a/content/assets/emojis/drgn_bread.png b/content/assets/emojis/drgn_bread.png new file mode 100755 index 0000000..7714a90 Binary files /dev/null and b/content/assets/emojis/drgn_bread.png differ diff --git a/content/assets/emojis/drgn_comfy.png b/content/assets/emojis/drgn_comfy.png new file mode 100755 index 0000000..5c4311a Binary files /dev/null and b/content/assets/emojis/drgn_comfy.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_comfy__w_.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_comfy_blep.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_comfy_cup.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_comfy_cup_mlem.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_comfy_cute.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_comfy_drowsy.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_comfy_evil.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_comfy_happy.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_comfy_mlem.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_comfy_owo.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_comfy_smug.png differ diff --git a/content/assets/emojis/drgn_confused.png b/content/assets/emojis/drgn_confused.png new file mode 100755 index 0000000..195a1f0 Binary files /dev/null and b/content/assets/emojis/drgn_confused.png differ diff --git a/content/assets/emojis/drgn_cool.png b/content/assets/emojis/drgn_cool.png new file mode 100755 index 0000000..c31f79c Binary files /dev/null and b/content/assets/emojis/drgn_cool.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_cool_fingergun.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_cool_reject.png differ diff --git a/content/assets/emojis/drgn_cry.png b/content/assets/emojis/drgn_cry.png new file mode 100755 index 0000000..d567663 Binary files /dev/null and b/content/assets/emojis/drgn_cry.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_cry_loud.png differ diff --git a/content/assets/emojis/drgn_cup.png b/content/assets/emojis/drgn_cup.png new file mode 100755 index 0000000..9b3d371 Binary files /dev/null and b/content/assets/emojis/drgn_cup.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_cup_drowsy.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_cup_mlem.png differ diff --git a/content/assets/emojis/drgn_cute.png b/content/assets/emojis/drgn_cute.png new file mode 100755 index 0000000..9447d67 Binary files /dev/null and b/content/assets/emojis/drgn_cute.png differ diff --git a/content/assets/emojis/drgn_dark.png b/content/assets/emojis/drgn_dark.png new file mode 100755 index 0000000..0467761 Binary files /dev/null and b/content/assets/emojis/drgn_dark.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_dark_mlem.png differ diff --git a/content/assets/emojis/drgn_dizzy.png b/content/assets/emojis/drgn_dizzy.png new file mode 100755 index 0000000..c06fcaa Binary files /dev/null and b/content/assets/emojis/drgn_dizzy.png differ diff --git a/content/assets/emojis/drgn_drool.png b/content/assets/emojis/drgn_drool.png new file mode 100755 index 0000000..5944502 Binary files /dev/null and b/content/assets/emojis/drgn_drool.png differ diff --git a/content/assets/emojis/drgn_drowsy.png b/content/assets/emojis/drgn_drowsy.png new file mode 100755 index 0000000..9b936e0 Binary files /dev/null and b/content/assets/emojis/drgn_drowsy.png differ diff --git a/content/assets/emojis/drgn_evil.png b/content/assets/emojis/drgn_evil.png new file mode 100755 index 0000000..43b8c99 Binary files /dev/null and b/content/assets/emojis/drgn_evil.png differ diff --git a/content/assets/emojis/drgn_fingergun.png b/content/assets/emojis/drgn_fingergun.png new file mode 100755 index 0000000..ed808d2 Binary files /dev/null and b/content/assets/emojis/drgn_fingergun.png differ diff --git a/content/assets/emojis/drgn_fire.png b/content/assets/emojis/drgn_fire.png new file mode 100755 index 0000000..02f1104 Binary files /dev/null and b/content/assets/emojis/drgn_fire.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_fire_blue.png differ diff --git a/content/assets/emojis/drgn_flat.png b/content/assets/emojis/drgn_flat.png new file mode 100755 index 0000000..4a4dc51 Binary files /dev/null and b/content/assets/emojis/drgn_flat.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_flat_blep.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_flat_blush.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_flat_happy.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_flat_heart.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_flat_nervous.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_flat_owo.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_flat_pleading.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_flat_sleep.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_flat_sob.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_flat_sob_heart.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_flat_x_x.png differ diff --git a/content/assets/emojis/drgn_flush.png b/content/assets/emojis/drgn_flush.png new file mode 100755 index 0000000..05a68e7 Binary files /dev/null and b/content/assets/emojis/drgn_flush.png differ diff --git a/content/assets/emojis/drgn_glare.png b/content/assets/emojis/drgn_glare.png new file mode 100755 index 0000000..e9b52e8 Binary files /dev/null and b/content/assets/emojis/drgn_glare.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_glare_sob.png differ diff --git a/content/assets/emojis/drgn_glasses.png b/content/assets/emojis/drgn_glasses.png new file mode 100755 index 0000000..8876052 Binary files /dev/null and b/content/assets/emojis/drgn_glasses.png differ diff --git a/content/assets/emojis/drgn_happy.png b/content/assets/emojis/drgn_happy.png new file mode 100755 index 0000000..b30b01b Binary files /dev/null and b/content/assets/emojis/drgn_happy.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_happy_blep.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_happy_mlem.png differ diff --git a/content/assets/emojis/drgn_heart.png b/content/assets/emojis/drgn_heart.png new file mode 100755 index 0000000..748a2ba Binary files /dev/null and b/content/assets/emojis/drgn_heart.png differ diff --git a/content/assets/emojis/drgn_hide.png b/content/assets/emojis/drgn_hide.png new file mode 100755 index 0000000..d5ce08d Binary files /dev/null and b/content/assets/emojis/drgn_hide.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_hide_blush.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_hide_nervous.png differ diff --git a/content/assets/emojis/drgn_hyper.png b/content/assets/emojis/drgn_hyper.png new file mode 100755 index 0000000..6e9cfee Binary files /dev/null and b/content/assets/emojis/drgn_hyper.png differ diff --git a/content/assets/emojis/drgn_knife.png b/content/assets/emojis/drgn_knife.png new file mode 100755 index 0000000..8c3f2dc Binary files /dev/null and b/content/assets/emojis/drgn_knife.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_knife_angry.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_laser_end.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_laser_end_hit.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_laser_mid.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_laser_start.png differ diff --git a/content/assets/emojis/drgn_lick.png b/content/assets/emojis/drgn_lick.png new file mode 100755 index 0000000..205f248 Binary files /dev/null and b/content/assets/emojis/drgn_lick.png differ diff --git a/content/assets/emojis/drgn_lol.png b/content/assets/emojis/drgn_lol.png new file mode 100755 index 0000000..4f9626c Binary files /dev/null and b/content/assets/emojis/drgn_lol.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_lol_nervous.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_lol_tear.png differ diff --git a/content/assets/emojis/drgn_lurk.png b/content/assets/emojis/drgn_lurk.png new file mode 100755 index 0000000..93ff514 Binary files /dev/null and b/content/assets/emojis/drgn_lurk.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_lurk__w_.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_lurk_blep.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_lurk_cute.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_lurk_nervous.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_lurk_notice.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_lurk_owo.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_lurk_pleading.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_lurk_sob.png differ diff --git a/content/assets/emojis/drgn_mlem.png b/content/assets/emojis/drgn_mlem.png new file mode 100755 index 0000000..85faf05 Binary files /dev/null and b/content/assets/emojis/drgn_mlem.png differ diff --git a/content/assets/emojis/drgn_music.png b/content/assets/emojis/drgn_music.png new file mode 100755 index 0000000..d3f2323 Binary files /dev/null and b/content/assets/emojis/drgn_music.png differ diff --git a/content/assets/emojis/drgn_nauseated.png b/content/assets/emojis/drgn_nauseated.png new file mode 100755 index 0000000..97f7f65 Binary files /dev/null and b/content/assets/emojis/drgn_nauseated.png differ diff --git a/content/assets/emojis/drgn_nervous.png b/content/assets/emojis/drgn_nervous.png new file mode 100755 index 0000000..cf3979f Binary files /dev/null and b/content/assets/emojis/drgn_nervous.png differ diff --git a/content/assets/emojis/drgn_neutral.png b/content/assets/emojis/drgn_neutral.png new file mode 100755 index 0000000..e290dfe Binary files /dev/null and b/content/assets/emojis/drgn_neutral.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_nom_book.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_nom_bread.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_nom_bread_2.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_nom_burger.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_nom_cookie.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_nom_donut.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_nom_egg.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_nom_fries.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_nom_melon.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_nom_pita.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_nom_pizza.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_nom_verified.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_nom_waffle.png differ diff --git a/content/assets/emojis/drgn_notice.png b/content/assets/emojis/drgn_notice.png new file mode 100755 index 0000000..60926c4 Binary files /dev/null and b/content/assets/emojis/drgn_notice.png differ diff --git a/content/assets/emojis/drgn_nuzzle.png b/content/assets/emojis/drgn_nuzzle.png new file mode 100755 index 0000000..3217000 Binary files /dev/null and b/content/assets/emojis/drgn_nuzzle.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_o_o.png differ diff --git a/content/assets/emojis/drgn_outage.png b/content/assets/emojis/drgn_outage.png new file mode 100755 index 0000000..3f984f6 Binary files /dev/null and b/content/assets/emojis/drgn_outage.png differ diff --git a/content/assets/emojis/drgn_owo.png b/content/assets/emojis/drgn_owo.png new file mode 100755 index 0000000..f952a2e Binary files /dev/null and b/content/assets/emojis/drgn_owo.png differ diff --git a/content/assets/emojis/drgn_pat.png b/content/assets/emojis/drgn_pat.png new file mode 100755 index 0000000..eaaba16 Binary files /dev/null and b/content/assets/emojis/drgn_pat.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_pat_blush.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_pat_cry.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_pat_flat.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_pat_sob.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_pat_up.png differ diff --git a/content/assets/emojis/drgn_pleading.png b/content/assets/emojis/drgn_pleading.png new file mode 100755 index 0000000..3b97ae1 Binary files /dev/null and b/content/assets/emojis/drgn_pleading.png differ diff --git a/content/assets/emojis/drgn_pout.png b/content/assets/emojis/drgn_pout.png new file mode 100755 index 0000000..0ac9513 Binary files /dev/null and b/content/assets/emojis/drgn_pout.png differ diff --git a/content/assets/emojis/drgn_rainbow.png b/content/assets/emojis/drgn_rainbow.png new file mode 100755 index 0000000..8ede665 Binary files /dev/null and b/content/assets/emojis/drgn_rainbow.png differ diff --git a/content/assets/emojis/drgn_reject.png b/content/assets/emojis/drgn_reject.png new file mode 100755 index 0000000..1e0875a Binary files /dev/null and b/content/assets/emojis/drgn_reject.png differ diff --git a/content/assets/emojis/drgn_sad.png b/content/assets/emojis/drgn_sad.png new file mode 100755 index 0000000..1084044 Binary files /dev/null and b/content/assets/emojis/drgn_sad.png differ diff --git a/content/assets/emojis/drgn_science.png b/content/assets/emojis/drgn_science.png new file mode 100755 index 0000000..e5476bb Binary files /dev/null and b/content/assets/emojis/drgn_science.png differ diff --git a/content/assets/emojis/drgn_scream.png b/content/assets/emojis/drgn_scream.png new file mode 100755 index 0000000..df8c418 Binary files /dev/null and b/content/assets/emojis/drgn_scream.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_scream_angry.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_scream_stare.png differ diff --git a/content/assets/emojis/drgn_shocked.png b/content/assets/emojis/drgn_shocked.png new file mode 100755 index 0000000..d8d8585 Binary files /dev/null and b/content/assets/emojis/drgn_shocked.png differ diff --git a/content/assets/emojis/drgn_sleep.png b/content/assets/emojis/drgn_sleep.png new file mode 100755 index 0000000..90c9092 Binary files /dev/null and b/content/assets/emojis/drgn_sleep.png differ diff --git a/content/assets/emojis/drgn_smol.png b/content/assets/emojis/drgn_smol.png new file mode 100755 index 0000000..f792b6f Binary files /dev/null and b/content/assets/emojis/drgn_smol.png differ diff --git a/content/assets/emojis/drgn_smug.png b/content/assets/emojis/drgn_smug.png new file mode 100755 index 0000000..ffacd7d Binary files /dev/null and b/content/assets/emojis/drgn_smug.png differ diff --git a/content/assets/emojis/drgn_smug2.png b/content/assets/emojis/drgn_smug2.png new file mode 100755 index 0000000..b5853dc Binary files /dev/null and b/content/assets/emojis/drgn_smug2.png differ diff --git a/content/assets/emojis/drgn_sob.png b/content/assets/emojis/drgn_sob.png new file mode 100755 index 0000000..9be3640 Binary files /dev/null and b/content/assets/emojis/drgn_sob.png differ diff --git a/content/assets/emojis/drgn_sparkle.png b/content/assets/emojis/drgn_sparkle.png new file mode 100755 index 0000000..fe43f21 Binary files /dev/null and b/content/assets/emojis/drgn_sparkle.png differ diff --git a/content/assets/emojis/drgn_stare.png b/content/assets/emojis/drgn_stare.png new file mode 100755 index 0000000..f4c625f Binary files /dev/null and b/content/assets/emojis/drgn_stare.png differ diff --git a/content/assets/emojis/drgn_tail.png b/content/assets/emojis/drgn_tail.png new file mode 100755 index 0000000..1b1cc12 Binary files /dev/null and b/content/assets/emojis/drgn_tail.png differ diff --git a/content/assets/emojis/drgn_think.png b/content/assets/emojis/drgn_think.png new file mode 100755 index 0000000..b52b111 Binary files /dev/null and b/content/assets/emojis/drgn_think.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_think__w_.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_think_confused.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_think_cool.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_think_evil.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_think_owo.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_think_science.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_think_smug.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_think_woozy.png differ diff --git a/content/assets/emojis/drgn_thumbsdown.png b/content/assets/emojis/drgn_thumbsdown.png new file mode 100755 index 0000000..097d85b Binary files /dev/null and b/content/assets/emojis/drgn_thumbsdown.png differ diff --git a/content/assets/emojis/drgn_thumbsup.png b/content/assets/emojis/drgn_thumbsup.png new file mode 100755 index 0000000..525b1ed Binary files /dev/null and b/content/assets/emojis/drgn_thumbsup.png differ diff --git a/content/assets/emojis/drgn_tooth.png b/content/assets/emojis/drgn_tooth.png new file mode 100755 index 0000000..fa22359 Binary files /dev/null and b/content/assets/emojis/drgn_tooth.png differ diff --git a/content/assets/emojis/drgn_up.png b/content/assets/emojis/drgn_up.png new file mode 100755 index 0000000..fd30f42 Binary files /dev/null and b/content/assets/emojis/drgn_up.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_up_blep.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_up_cup.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_up_cute.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_up_happy.png differ diff --git a/content/assets/emojis/drgn_uwu.png b/content/assets/emojis/drgn_uwu.png new file mode 100755 index 0000000..8cd3896 Binary files /dev/null and b/content/assets/emojis/drgn_uwu.png differ diff --git a/content/assets/emojis/drgn_verified.png b/content/assets/emojis/drgn_verified.png new file mode 100755 index 0000000..48b5fdb Binary files /dev/null and b/content/assets/emojis/drgn_verified.png differ diff --git a/content/assets/emojis/drgn_wave.png b/content/assets/emojis/drgn_wave.png new file mode 100755 index 0000000..0ddf6a0 Binary files /dev/null and b/content/assets/emojis/drgn_wave.png differ diff --git a/content/assets/emojis/drgn_weary.png b/content/assets/emojis/drgn_weary.png new file mode 100755 index 0000000..7f054fa Binary files /dev/null and b/content/assets/emojis/drgn_weary.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_weary_sob.png differ diff --git a/content/assets/emojis/drgn_woozy.png b/content/assets/emojis/drgn_woozy.png new file mode 100755 index 0000000..0d42fab Binary files /dev/null and b/content/assets/emojis/drgn_woozy.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_x_x.png differ diff --git a/content/assets/emojis/drgn_yell.png b/content/assets/emojis/drgn_yell.png new file mode 100755 index 0000000..f5ac730 Binary files /dev/null and b/content/assets/emojis/drgn_yell.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_yoshi_end.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_yoshi_mid.png 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 Binary files /dev/null and b/content/assets/emojis/drgn_yoshi_start.png differ diff --git a/content/assets/favicon.ico b/content/assets/favicon.ico new file mode 100644 index 0000000..3c399ff Binary files /dev/null and b/content/assets/favicon.ico 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 @@ +(() => { + const mainEl = document.querySelector("main"); + const lightboxContainerEl = document.querySelector(".js-lightbox"); + const lightboxEl = lightboxContainerEl.classList.contains("o-lightbox") + ? lightboxContainerEl + : lightboxContainerEl.querySelector(".o-lightbox"); + const lightboxCloseEl = lightboxEl.querySelector(".o-lightbox__close-btn"); + const lightboxPrevEl = lightboxEl.querySelector(".o-lightbox__nav-btn--prev"); + const lightboxNextEl = lightboxEl.querySelector(".o-lightbox__nav-btn--next"); + const lightboxImgEl = lightboxEl.querySelector(".o-lightbox__img"); + const lightboxThumbnailsEl = lightboxEl.querySelector(".o-lightbox__thumbnails"); + const figureEls = Array.from(mainEl.querySelectorAll(".js-lightbox__image")); + + const standalone = lightboxContainerEl.classList.contains("js-lightbox--standalone"); + let currentIndex = 0; + let visible = !lightboxContainerEl.classList.contains("u-d-none"); + let mouseDown = false; + + const show = () => { + visible = true; + lightboxContainerEl.classList.remove("u-d-none"); + } + + const hide = () => { + if (!standalone) { + visible = false; + lightboxContainerEl.classList.add("u-d-none"); + } + } + + const setIndex = (i) => { + if (i < 0 || i >= images.length) { + return; + } + images[currentIndex].thumbnailEl.classList.remove("is-selected"); + currentIndex = i; + lightboxImgEl.src = figureEls[i].firstElementChild.href; + lightboxImgEl.alt = images[currentIndex].description; + images[i].thumbnailEl.classList.add("is-selected"); + }; + + const prev = () => setIndex(currentIndex > 0 ? currentIndex - 1 : figureEls.length - 1); + + const next = () => setIndex(currentIndex < figureEls.length - 1 ? currentIndex + 1 : 0); + + lightboxCloseEl?.addEventListener("click", hide); + lightboxPrevEl.addEventListener("click", prev); + lightboxNextEl.addEventListener("click", next); + + const images = figureEls.map((figureEl, i) => { + const go = e => { + e.preventDefault(); + show(); + setIndex(i); + }; + + const imgEl = figureEl.querySelector("img"); + const captionEl = figureEl.querySelector("figcaption"); + + const src = imgEl.src; + const description = captionEl?.innerHTML ?? ""; + + const thumbnailButtonEl = document.createElement("button"); + const thumbnailImgEl = document.createElement("img"); + + thumbnailImgEl.classList.add("o-lightbox__thumbnail-img"); + thumbnailImgEl.src = src; + + thumbnailButtonEl.classList.add("o-lightbox__thumbnail"); + thumbnailButtonEl.appendChild(thumbnailImgEl); + thumbnailButtonEl.addEventListener("click", go); + + lightboxThumbnailsEl.appendChild(thumbnailButtonEl); + + if (!standalone) { + figureEl.firstElementChild.addEventListener("click", go); + } + + return { + thumbnailEl: thumbnailButtonEl, + description, + }; + }); + + setIndex(0); + + if (figureEls.length <= 1) { + lightboxPrevEl.remove(); + lightboxNextEl.remove(); + lightboxThumbnailsEl.remove(); + } + + if (!standalone) { + document.addEventListener('mousedown', (e) => { + if (visible) { + mouseDown = !lightboxEl.contains(e.target) || lightboxEl === e.target; + } + }); + + document.addEventListener('click', (e) => { + if (visible && mouseDown) { + mouseDown = false; + e.preventDefault(); + e.stopPropagation(); + hide(); + } + }, { capture: true }); + } + + window.addEventListener("keydown", e => { + if (e.defaultPrevented || !visible) { + return; + } + + switch (e.key) { + case "Left": + case "ArrowLeft": + prev(); + break; + + case "Right": + case "ArrowRight": + next(); + break; + + case "Esc": + case "Escape": + hide(); + break; + + default: + return; + } + + e.preventDefault(); + }, true); +})(); 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 @@ +(() => { + document.body.classList.remove('t-no-js'); + document.body.classList.add('t-js'); + + const enableFocusIndicator = e => { + if (e.key !== 'Tab') { + return; + } + + document.body.classList.add('t-keyboard'); + document.removeEventListener('keydown', enableFocusIndicator); + document.addEventListener('mousedown', disableFocusIndicator); + } + + const disableFocusIndicator = () => { + document.body.classList.remove('t-keyboard'); + + document.removeEventListener('mousedown', disableFocusIndicator); + document.addEventListener('keydown', enableFocusIndicator); + } + + document.addEventListener('keydown', enableFocusIndicator); +})(); 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 @@ +(() => { + function createSnowFlake() { + setTimeout(() => createSnowFlake(), 50 / Math.log10(window.innerWidth / 1000 + 1)); + + if (document.hidden) { + return; + } + + const snowFlake = document.createElementNS("http://www.w3.org/2000/svg", "svg"); + const snowFlakeInner = document.createElementNS("http://www.w3.org/2000/svg", "use"); + const aniDuration = (Math.random() * 3 + 2) * 1000; + + snowFlakeInner.setAttribute("href", "/icons.svg#asterisk"); + + snowFlake.classList.add("o-icon", "o-icon--snow"); + snowFlake.setAttribute("aria-hidden", "true"); + + snowFlake.style.fontSize = Math.random() * 0.5 + 0.7 + 'em'; + snowFlake.style.left = Math.random() * 100 + '%'; + snowFlake.style.animationDuration = aniDuration + 'ms'; + snowFlake.style.opacity = Math.random(); + + setTimeout(() => snowFlake.remove(), aniDuration); + + snowFlake.appendChild(snowFlakeInner); + document.body.appendChild(snowFlake); + } + + createSnowFlake(); +})(); 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 @@ + + + + + diff --git a/content/emojis/drgn_0_0.png b/content/emojis/drgn_0_0.png deleted file mode 100755 index e3f5446..0000000 Binary files a/content/emojis/drgn_0_0.png and /dev/null differ diff --git a/content/emojis/drgn_3c.png b/content/emojis/drgn_3c.png deleted file mode 100755 index dd893f7..0000000 Binary files a/content/emojis/drgn_3c.png and /dev/null differ diff --git a/content/emojis/drgn_3c_evil.png b/content/emojis/drgn_3c_evil.png deleted file mode 100755 index 82442c6..0000000 Binary files a/content/emojis/drgn_3c_evil.png and /dev/null differ diff --git a/content/emojis/drgn__w_.png b/content/emojis/drgn__w_.png deleted file mode 100755 index 88024f7..0000000 Binary files a/content/emojis/drgn__w_.png and /dev/null differ diff --git a/content/emojis/drgn_angel.png b/content/emojis/drgn_angel.png deleted file mode 100755 index 60eed2d..0000000 Binary files a/content/emojis/drgn_angel.png and /dev/null differ diff --git a/content/emojis/drgn_angel_blep.png b/content/emojis/drgn_angel_blep.png deleted file mode 100755 index 2769116..0000000 Binary files a/content/emojis/drgn_angel_blep.png and /dev/null differ diff --git a/content/emojis/drgn_angel_cute.png b/content/emojis/drgn_angel_cute.png deleted file mode 100755 index 3aee36a..0000000 Binary files a/content/emojis/drgn_angel_cute.png and /dev/null differ diff --git a/content/emojis/drgn_angel_mlem.png b/content/emojis/drgn_angel_mlem.png deleted file mode 100755 index 2297d6a..0000000 Binary files a/content/emojis/drgn_angel_mlem.png and /dev/null differ diff --git a/content/emojis/drgn_angel_pleading.png b/content/emojis/drgn_angel_pleading.png deleted file mode 100755 index 3b4b6f2..0000000 Binary files a/content/emojis/drgn_angel_pleading.png and /dev/null differ diff --git a/content/emojis/drgn_angry.png b/content/emojis/drgn_angry.png deleted file mode 100755 index 3509861..0000000 Binary files a/content/emojis/drgn_angry.png and /dev/null differ diff --git a/content/emojis/drgn_annoyed.png b/content/emojis/drgn_annoyed.png deleted file mode 100755 index 29a258c..0000000 Binary files a/content/emojis/drgn_annoyed.png and /dev/null differ diff --git a/content/emojis/drgn_aww.png b/content/emojis/drgn_aww.png deleted file mode 100755 index e833871..0000000 Binary files a/content/emojis/drgn_aww.png and /dev/null differ diff --git a/content/emojis/drgn_blep.png b/content/emojis/drgn_blep.png deleted file mode 100755 index 3beb3fe..0000000 Binary files a/content/emojis/drgn_blep.png and /dev/null differ diff --git a/content/emojis/drgn_blush.png b/content/emojis/drgn_blush.png deleted file mode 100755 index 3a6dbca..0000000 Binary files a/content/emojis/drgn_blush.png and /dev/null differ diff --git a/content/emojis/drgn_boop.png b/content/emojis/drgn_boop.png deleted file mode 100755 index d4ac167..0000000 Binary files a/content/emojis/drgn_boop.png and /dev/null differ diff --git a/content/emojis/drgn_bread.png b/content/emojis/drgn_bread.png deleted file mode 100755 index b8e1dc9..0000000 Binary files a/content/emojis/drgn_bread.png and /dev/null differ diff --git a/content/emojis/drgn_confused.png b/content/emojis/drgn_confused.png deleted file mode 100755 index 9a8d5cd..0000000 Binary files a/content/emojis/drgn_confused.png and /dev/null differ diff --git a/content/emojis/drgn_cool.png b/content/emojis/drgn_cool.png deleted file mode 100755 index 6542ccf..0000000 Binary files a/content/emojis/drgn_cool.png and /dev/null differ diff --git a/content/emojis/drgn_cool_fingergun.png b/content/emojis/drgn_cool_fingergun.png deleted file mode 100755 index fc38944..0000000 Binary files a/content/emojis/drgn_cool_fingergun.png and /dev/null differ diff --git a/content/emojis/drgn_cool_reject.png b/content/emojis/drgn_cool_reject.png deleted file mode 100755 index 82d44d9..0000000 Binary files a/content/emojis/drgn_cool_reject.png and /dev/null differ diff --git a/content/emojis/drgn_cry.png b/content/emojis/drgn_cry.png deleted file mode 100755 index 52d520e..0000000 Binary files a/content/emojis/drgn_cry.png and /dev/null differ diff --git a/content/emojis/drgn_cry_loud.png b/content/emojis/drgn_cry_loud.png deleted file mode 100755 index 981b849..0000000 Binary files a/content/emojis/drgn_cry_loud.png and /dev/null differ diff --git a/content/emojis/drgn_cup.png b/content/emojis/drgn_cup.png deleted file mode 100755 index d0e68e2..0000000 Binary files a/content/emojis/drgn_cup.png and /dev/null differ diff --git a/content/emojis/drgn_cup_drowsy.png b/content/emojis/drgn_cup_drowsy.png deleted file mode 100755 index d99df17..0000000 Binary files a/content/emojis/drgn_cup_drowsy.png and /dev/null differ diff --git a/content/emojis/drgn_cup_mlem.png b/content/emojis/drgn_cup_mlem.png deleted file mode 100755 index 837a587..0000000 Binary files a/content/emojis/drgn_cup_mlem.png and /dev/null differ diff --git a/content/emojis/drgn_cute.png b/content/emojis/drgn_cute.png deleted file mode 100755 index b3249cf..0000000 Binary files a/content/emojis/drgn_cute.png and /dev/null differ diff --git a/content/emojis/drgn_cute_heart.png b/content/emojis/drgn_cute_heart.png deleted file mode 100755 index f1c2b46..0000000 Binary files a/content/emojis/drgn_cute_heart.png and /dev/null differ diff --git a/content/emojis/drgn_dead_inside.png b/content/emojis/drgn_dead_inside.png deleted file mode 100755 index 3e54a98..0000000 Binary files a/content/emojis/drgn_dead_inside.png and /dev/null differ diff --git a/content/emojis/drgn_determined.png b/content/emojis/drgn_determined.png deleted file mode 100755 index e03ab64..0000000 Binary files a/content/emojis/drgn_determined.png and /dev/null differ diff --git a/content/emojis/drgn_disapprove.png b/content/emojis/drgn_disapprove.png deleted file mode 100755 index f9d5129..0000000 Binary files a/content/emojis/drgn_disapprove.png and /dev/null differ diff --git a/content/emojis/drgn_dizzy.png b/content/emojis/drgn_dizzy.png deleted file mode 100755 index ff92f24..0000000 Binary files a/content/emojis/drgn_dizzy.png and /dev/null differ diff --git a/content/emojis/drgn_drool.png b/content/emojis/drgn_drool.png deleted file mode 100755 index 5e22cfc..0000000 Binary files a/content/emojis/drgn_drool.png and /dev/null differ diff --git a/content/emojis/drgn_drowsy.png b/content/emojis/drgn_drowsy.png deleted file mode 100755 index f1af38e..0000000 Binary files a/content/emojis/drgn_drowsy.png and /dev/null differ diff --git a/content/emojis/drgn_evil.png b/content/emojis/drgn_evil.png deleted file mode 100755 index 1acb916..0000000 Binary files a/content/emojis/drgn_evil.png and /dev/null differ diff --git a/content/emojis/drgn_excited.png b/content/emojis/drgn_excited.png deleted file mode 100755 index 7423547..0000000 Binary files a/content/emojis/drgn_excited.png and /dev/null differ diff --git a/content/emojis/drgn_eye.png b/content/emojis/drgn_eye.png deleted file mode 100755 index 7bf6be4..0000000 Binary files a/content/emojis/drgn_eye.png and /dev/null differ diff --git a/content/emojis/drgn_fingergun.png b/content/emojis/drgn_fingergun.png deleted file mode 100755 index e38fae7..0000000 Binary files a/content/emojis/drgn_fingergun.png and /dev/null differ diff --git a/content/emojis/drgn_fire.png b/content/emojis/drgn_fire.png deleted file mode 100755 index c29e5f1..0000000 Binary files a/content/emojis/drgn_fire.png and /dev/null differ diff --git a/content/emojis/drgn_fire_blue.png b/content/emojis/drgn_fire_blue.png deleted file mode 100755 index d0ffcd9..0000000 Binary files a/content/emojis/drgn_fire_blue.png and /dev/null differ diff --git a/content/emojis/drgn_flat.png b/content/emojis/drgn_flat.png deleted file mode 100755 index 44d39c4..0000000 Binary files a/content/emojis/drgn_flat.png and /dev/null differ diff --git a/content/emojis/drgn_flat_blep.png b/content/emojis/drgn_flat_blep.png deleted file mode 100755 index aab982c..0000000 Binary files a/content/emojis/drgn_flat_blep.png and /dev/null differ diff --git a/content/emojis/drgn_flat_blush.png b/content/emojis/drgn_flat_blush.png deleted file mode 100755 index 70efedc..0000000 Binary files a/content/emojis/drgn_flat_blush.png and /dev/null differ diff --git a/content/emojis/drgn_flat_heart.png b/content/emojis/drgn_flat_heart.png deleted file mode 100755 index c43dbb0..0000000 Binary files a/content/emojis/drgn_flat_heart.png and /dev/null differ diff --git a/content/emojis/drgn_flat_nervous.png b/content/emojis/drgn_flat_nervous.png deleted file mode 100755 index c942fd9..0000000 Binary files a/content/emojis/drgn_flat_nervous.png and /dev/null differ diff --git a/content/emojis/drgn_flat_owo.png b/content/emojis/drgn_flat_owo.png deleted file mode 100755 index 7370adc..0000000 Binary files a/content/emojis/drgn_flat_owo.png and /dev/null differ diff --git a/content/emojis/drgn_flat_pleading.png b/content/emojis/drgn_flat_pleading.png deleted file mode 100755 index fcfb13b..0000000 Binary files a/content/emojis/drgn_flat_pleading.png and /dev/null differ diff --git a/content/emojis/drgn_flat_scared.png b/content/emojis/drgn_flat_scared.png deleted file mode 100755 index 7348a57..0000000 Binary files a/content/emojis/drgn_flat_scared.png and /dev/null differ diff --git a/content/emojis/drgn_flat_sob.png b/content/emojis/drgn_flat_sob.png deleted file mode 100755 index cfa0aba..0000000 Binary files a/content/emojis/drgn_flat_sob.png and /dev/null differ diff --git a/content/emojis/drgn_flat_x_x.png b/content/emojis/drgn_flat_x_x.png deleted file mode 100755 index 509ee93..0000000 Binary files a/content/emojis/drgn_flat_x_x.png and /dev/null differ diff --git a/content/emojis/drgn_flush.png b/content/emojis/drgn_flush.png deleted file mode 100755 index d9e0a8d..0000000 Binary files a/content/emojis/drgn_flush.png and /dev/null differ diff --git a/content/emojis/drgn_glare.png b/content/emojis/drgn_glare.png deleted file mode 100755 index 97e8a49..0000000 Binary files a/content/emojis/drgn_glare.png and /dev/null differ diff --git a/content/emojis/drgn_glare_sob.png b/content/emojis/drgn_glare_sob.png deleted file mode 100755 index b91fabd..0000000 Binary files a/content/emojis/drgn_glare_sob.png and /dev/null differ diff --git a/content/emojis/drgn_glasses.png b/content/emojis/drgn_glasses.png deleted file mode 100755 index ea8d74b..0000000 Binary files a/content/emojis/drgn_glasses.png and /dev/null differ diff --git a/content/emojis/drgn_googly.png b/content/emojis/drgn_googly.png deleted file mode 100755 index 62b6938..0000000 Binary files a/content/emojis/drgn_googly.png and /dev/null differ diff --git a/content/emojis/drgn_grumpy.png b/content/emojis/drgn_grumpy.png deleted file mode 100755 index 0efcfe7..0000000 Binary files a/content/emojis/drgn_grumpy.png and /dev/null differ diff --git a/content/emojis/drgn_happy.png b/content/emojis/drgn_happy.png deleted file mode 100755 index e8142c6..0000000 Binary files a/content/emojis/drgn_happy.png and /dev/null differ diff --git a/content/emojis/drgn_happy_blep.png b/content/emojis/drgn_happy_blep.png deleted file mode 100755 index 4c4db63..0000000 Binary files a/content/emojis/drgn_happy_blep.png and /dev/null differ diff --git a/content/emojis/drgn_happy_mlem.png b/content/emojis/drgn_happy_mlem.png deleted file mode 100755 index 70562fe..0000000 Binary files a/content/emojis/drgn_happy_mlem.png and /dev/null differ diff --git a/content/emojis/drgn_heart.png b/content/emojis/drgn_heart.png deleted file mode 100755 index 5847bb5..0000000 Binary files a/content/emojis/drgn_heart.png and /dev/null differ diff --git a/content/emojis/drgn_heart_eyes.png b/content/emojis/drgn_heart_eyes.png deleted file mode 100755 index 2f01873..0000000 Binary files a/content/emojis/drgn_heart_eyes.png and /dev/null differ diff --git a/content/emojis/drgn_hide.png b/content/emojis/drgn_hide.png deleted file mode 100755 index f44818b..0000000 Binary files a/content/emojis/drgn_hide.png and /dev/null differ diff --git a/content/emojis/drgn_hide_blush.png b/content/emojis/drgn_hide_blush.png deleted file mode 100755 index 71529e8..0000000 Binary files a/content/emojis/drgn_hide_blush.png and /dev/null differ diff --git a/content/emojis/drgn_hide_nervous.png b/content/emojis/drgn_hide_nervous.png deleted file mode 100755 index 78f3ebe..0000000 Binary files a/content/emojis/drgn_hide_nervous.png and /dev/null differ diff --git a/content/emojis/drgn_hood.png b/content/emojis/drgn_hood.png deleted file mode 100755 index ac6178b..0000000 Binary files a/content/emojis/drgn_hood.png and /dev/null differ diff --git a/content/emojis/drgn_hood__w_.png b/content/emojis/drgn_hood__w_.png deleted file mode 100755 index 1dbf1fa..0000000 Binary files a/content/emojis/drgn_hood__w_.png and /dev/null differ diff --git a/content/emojis/drgn_hood_blep.png b/content/emojis/drgn_hood_blep.png deleted file mode 100755 index 0dbd480..0000000 Binary files a/content/emojis/drgn_hood_blep.png and /dev/null differ diff --git a/content/emojis/drgn_hood_cup.png b/content/emojis/drgn_hood_cup.png deleted file mode 100755 index 15702b2..0000000 Binary files a/content/emojis/drgn_hood_cup.png and /dev/null differ diff --git a/content/emojis/drgn_hood_cup_mlem.png b/content/emojis/drgn_hood_cup_mlem.png deleted file mode 100755 index fefe2b1..0000000 Binary files a/content/emojis/drgn_hood_cup_mlem.png and /dev/null differ diff --git a/content/emojis/drgn_hood_happy.png b/content/emojis/drgn_hood_happy.png deleted file mode 100755 index cacebc2..0000000 Binary files a/content/emojis/drgn_hood_happy.png and /dev/null differ diff --git a/content/emojis/drgn_hood_mlem.png b/content/emojis/drgn_hood_mlem.png deleted file mode 100755 index e15adec..0000000 Binary files a/content/emojis/drgn_hood_mlem.png and /dev/null differ diff --git a/content/emojis/drgn_hood_wizard.png b/content/emojis/drgn_hood_wizard.png deleted file mode 100755 index 71edc78..0000000 Binary files a/content/emojis/drgn_hood_wizard.png and /dev/null differ diff --git a/content/emojis/drgn_hyper.png b/content/emojis/drgn_hyper.png deleted file mode 100755 index 6313bc0..0000000 Binary files a/content/emojis/drgn_hyper.png and /dev/null differ diff --git a/content/emojis/drgn_justright.png b/content/emojis/drgn_justright.png deleted file mode 100755 index 99002ae..0000000 Binary files a/content/emojis/drgn_justright.png and /dev/null differ diff --git a/content/emojis/drgn_knife.png b/content/emojis/drgn_knife.png deleted file mode 100755 index d0fbe06..0000000 Binary files a/content/emojis/drgn_knife.png and /dev/null differ diff --git a/content/emojis/drgn_knife_cute.png b/content/emojis/drgn_knife_cute.png deleted file mode 100755 index 28fd123..0000000 Binary files a/content/emojis/drgn_knife_cute.png and /dev/null differ diff --git a/content/emojis/drgn_laser_end.png b/content/emojis/drgn_laser_end.png deleted file mode 100755 index e096901..0000000 Binary files a/content/emojis/drgn_laser_end.png and /dev/null differ diff --git a/content/emojis/drgn_laser_end_hit.png b/content/emojis/drgn_laser_end_hit.png deleted file mode 100755 index d8a0376..0000000 Binary files a/content/emojis/drgn_laser_end_hit.png and /dev/null differ diff --git a/content/emojis/drgn_laser_mid.png b/content/emojis/drgn_laser_mid.png deleted file mode 100755 index 7784f2a..0000000 Binary files a/content/emojis/drgn_laser_mid.png and /dev/null differ diff --git a/content/emojis/drgn_laser_start.png b/content/emojis/drgn_laser_start.png deleted file mode 100755 index 1637902..0000000 Binary files a/content/emojis/drgn_laser_start.png and /dev/null differ diff --git a/content/emojis/drgn_laugh.png b/content/emojis/drgn_laugh.png deleted file mode 100755 index cbbcd25..0000000 Binary files a/content/emojis/drgn_laugh.png and /dev/null differ diff --git a/content/emojis/drgn_laugh_angry.png b/content/emojis/drgn_laugh_angry.png deleted file mode 100755 index 5234afa..0000000 Binary files a/content/emojis/drgn_laugh_angry.png and /dev/null differ diff --git a/content/emojis/drgn_laugh_sweat.png b/content/emojis/drgn_laugh_sweat.png deleted file mode 100755 index 5a7ba2d..0000000 Binary files a/content/emojis/drgn_laugh_sweat.png and /dev/null differ diff --git a/content/emojis/drgn_laugh_tear.png b/content/emojis/drgn_laugh_tear.png deleted file mode 100755 index 605fb26..0000000 Binary files a/content/emojis/drgn_laugh_tear.png and /dev/null differ diff --git a/content/emojis/drgn_lick.png b/content/emojis/drgn_lick.png deleted file mode 100755 index 4d9cfa1..0000000 Binary files a/content/emojis/drgn_lick.png and /dev/null differ diff --git a/content/emojis/drgn_look.png b/content/emojis/drgn_look.png deleted file mode 100755 index 4049e81..0000000 Binary files a/content/emojis/drgn_look.png and /dev/null differ diff --git a/content/emojis/drgn_lurk.png b/content/emojis/drgn_lurk.png deleted file mode 100755 index f3b92ad..0000000 Binary files a/content/emojis/drgn_lurk.png and /dev/null differ diff --git a/content/emojis/drgn_lurk__w_.png b/content/emojis/drgn_lurk__w_.png deleted file mode 100755 index c313972..0000000 Binary files a/content/emojis/drgn_lurk__w_.png and /dev/null differ diff --git a/content/emojis/drgn_lurk_blep.png b/content/emojis/drgn_lurk_blep.png deleted file mode 100755 index 65937c4..0000000 Binary files a/content/emojis/drgn_lurk_blep.png and /dev/null differ diff --git a/content/emojis/drgn_lurk_cute.png b/content/emojis/drgn_lurk_cute.png deleted file mode 100755 index 27273d6..0000000 Binary files a/content/emojis/drgn_lurk_cute.png and /dev/null differ diff --git a/content/emojis/drgn_lurk_nervous.png b/content/emojis/drgn_lurk_nervous.png deleted file mode 100755 index 5426e34..0000000 Binary files a/content/emojis/drgn_lurk_nervous.png and /dev/null differ diff --git a/content/emojis/drgn_lurk_notice.png b/content/emojis/drgn_lurk_notice.png deleted file mode 100755 index aaa24f7..0000000 Binary files a/content/emojis/drgn_lurk_notice.png and /dev/null differ diff --git a/content/emojis/drgn_lurk_pleading.png b/content/emojis/drgn_lurk_pleading.png deleted file mode 100755 index 01c293d..0000000 Binary files a/content/emojis/drgn_lurk_pleading.png and /dev/null differ diff --git a/content/emojis/drgn_lurk_sob.png b/content/emojis/drgn_lurk_sob.png deleted file mode 100755 index 696ae95..0000000 Binary files a/content/emojis/drgn_lurk_sob.png and /dev/null differ diff --git a/content/emojis/drgn_mlem.png b/content/emojis/drgn_mlem.png deleted file mode 100755 index 41b46ff..0000000 Binary files a/content/emojis/drgn_mlem.png and /dev/null differ diff --git a/content/emojis/drgn_mug.png b/content/emojis/drgn_mug.png deleted file mode 100755 index 444e88f..0000000 Binary files a/content/emojis/drgn_mug.png and /dev/null differ diff --git a/content/emojis/drgn_music.png b/content/emojis/drgn_music.png deleted file mode 100755 index 07103ea..0000000 Binary files a/content/emojis/drgn_music.png and /dev/null differ diff --git a/content/emojis/drgn_nauseated.png b/content/emojis/drgn_nauseated.png deleted file mode 100755 index 7d79d01..0000000 Binary files a/content/emojis/drgn_nauseated.png and /dev/null differ diff --git a/content/emojis/drgn_nervous.png b/content/emojis/drgn_nervous.png deleted file mode 100755 index 34f92e2..0000000 Binary files a/content/emojis/drgn_nervous.png and /dev/null differ diff --git a/content/emojis/drgn_nom_book.png b/content/emojis/drgn_nom_book.png deleted file mode 100755 index c9d4034..0000000 Binary files a/content/emojis/drgn_nom_book.png and /dev/null differ diff --git a/content/emojis/drgn_nom_bread.png b/content/emojis/drgn_nom_bread.png deleted file mode 100755 index aaaa85f..0000000 Binary files a/content/emojis/drgn_nom_bread.png and /dev/null differ diff --git a/content/emojis/drgn_nom_burger.png b/content/emojis/drgn_nom_burger.png deleted file mode 100755 index 7135a66..0000000 Binary files a/content/emojis/drgn_nom_burger.png and /dev/null differ diff --git a/content/emojis/drgn_nom_controller.png b/content/emojis/drgn_nom_controller.png deleted file mode 100755 index 8db6335..0000000 Binary files a/content/emojis/drgn_nom_controller.png and /dev/null differ diff --git a/content/emojis/drgn_nom_cookie.png b/content/emojis/drgn_nom_cookie.png deleted file mode 100755 index 17e18f6..0000000 Binary files a/content/emojis/drgn_nom_cookie.png and /dev/null differ diff --git a/content/emojis/drgn_nom_donut.png b/content/emojis/drgn_nom_donut.png deleted file mode 100755 index 5ef92b9..0000000 Binary files a/content/emojis/drgn_nom_donut.png and /dev/null differ diff --git a/content/emojis/drgn_nom_egg.png b/content/emojis/drgn_nom_egg.png deleted file mode 100755 index a4f7e37..0000000 Binary files a/content/emojis/drgn_nom_egg.png and /dev/null differ diff --git a/content/emojis/drgn_nom_fries.png b/content/emojis/drgn_nom_fries.png deleted file mode 100755 index d73ea4c..0000000 Binary files a/content/emojis/drgn_nom_fries.png and /dev/null differ diff --git a/content/emojis/drgn_nom_heart.png b/content/emojis/drgn_nom_heart.png deleted file mode 100755 index 30b564f..0000000 Binary files a/content/emojis/drgn_nom_heart.png and /dev/null differ diff --git a/content/emojis/drgn_nom_msteams.png b/content/emojis/drgn_nom_msteams.png deleted file mode 100755 index 37c7682..0000000 Binary files a/content/emojis/drgn_nom_msteams.png and /dev/null differ diff --git a/content/emojis/drgn_nom_phone.png b/content/emojis/drgn_nom_phone.png deleted file mode 100755 index d6dd06b..0000000 Binary files a/content/emojis/drgn_nom_phone.png and /dev/null differ diff --git a/content/emojis/drgn_nom_pita.png b/content/emojis/drgn_nom_pita.png deleted file mode 100755 index 8248355..0000000 Binary files a/content/emojis/drgn_nom_pita.png and /dev/null differ diff --git a/content/emojis/drgn_nom_pizza.png b/content/emojis/drgn_nom_pizza.png deleted file mode 100755 index 8dd8e41..0000000 Binary files a/content/emojis/drgn_nom_pizza.png and /dev/null differ diff --git a/content/emojis/drgn_nom_waffle.png b/content/emojis/drgn_nom_waffle.png deleted file mode 100755 index 4bf8e60..0000000 Binary files a/content/emojis/drgn_nom_waffle.png and /dev/null differ diff --git a/content/emojis/drgn_nom_watermelon.png b/content/emojis/drgn_nom_watermelon.png deleted file mode 100755 index 174ef2d..0000000 Binary files a/content/emojis/drgn_nom_watermelon.png and /dev/null differ diff --git a/content/emojis/drgn_notice.png b/content/emojis/drgn_notice.png deleted file mode 100755 index f2a3c7d..0000000 Binary files a/content/emojis/drgn_notice.png and /dev/null differ diff --git a/content/emojis/drgn_nuzzle.png b/content/emojis/drgn_nuzzle.png deleted file mode 100755 index d458ff3..0000000 Binary files a/content/emojis/drgn_nuzzle.png and /dev/null differ diff --git a/content/emojis/drgn_o_o.png b/content/emojis/drgn_o_o.png deleted file mode 100755 index 182036f..0000000 Binary files a/content/emojis/drgn_o_o.png and /dev/null differ diff --git a/content/emojis/drgn_outage.png b/content/emojis/drgn_outage.png deleted file mode 100755 index 762e60d..0000000 Binary files a/content/emojis/drgn_outage.png and /dev/null differ diff --git a/content/emojis/drgn_owo.png b/content/emojis/drgn_owo.png deleted file mode 100755 index e29122b..0000000 Binary files a/content/emojis/drgn_owo.png and /dev/null differ diff --git a/content/emojis/drgn_pat.png b/content/emojis/drgn_pat.png deleted file mode 100755 index c4e0d1d..0000000 Binary files a/content/emojis/drgn_pat.png and /dev/null differ diff --git a/content/emojis/drgn_pat_cry.png b/content/emojis/drgn_pat_cry.png deleted file mode 100755 index a014786..0000000 Binary files a/content/emojis/drgn_pat_cry.png and /dev/null differ diff --git a/content/emojis/drgn_pat_flat.png b/content/emojis/drgn_pat_flat.png deleted file mode 100755 index b767da7..0000000 Binary files a/content/emojis/drgn_pat_flat.png and /dev/null differ diff --git a/content/emojis/drgn_pat_googly.png b/content/emojis/drgn_pat_googly.png deleted file mode 100755 index d9e34a7..0000000 Binary files a/content/emojis/drgn_pat_googly.png and /dev/null differ diff --git a/content/emojis/drgn_pat_sob.png b/content/emojis/drgn_pat_sob.png deleted file mode 100755 index eec4969..0000000 Binary files a/content/emojis/drgn_pat_sob.png and /dev/null differ diff --git a/content/emojis/drgn_pat_up.png b/content/emojis/drgn_pat_up.png deleted file mode 100755 index 1f89865..0000000 Binary files a/content/emojis/drgn_pat_up.png and /dev/null differ diff --git a/content/emojis/drgn_paw.png b/content/emojis/drgn_paw.png deleted file mode 100755 index 59d5330..0000000 Binary files a/content/emojis/drgn_paw.png and /dev/null differ diff --git a/content/emojis/drgn_peek.png b/content/emojis/drgn_peek.png deleted file mode 100755 index 0e7fd9b..0000000 Binary files a/content/emojis/drgn_peek.png and /dev/null differ diff --git a/content/emojis/drgn_pensive.png b/content/emojis/drgn_pensive.png deleted file mode 100755 index 84b4030..0000000 Binary files a/content/emojis/drgn_pensive.png and /dev/null differ diff --git a/content/emojis/drgn_pleading.png b/content/emojis/drgn_pleading.png deleted file mode 100755 index e5b3473..0000000 Binary files a/content/emojis/drgn_pleading.png and /dev/null differ diff --git a/content/emojis/drgn_pout.png b/content/emojis/drgn_pout.png deleted file mode 100755 index 3b9e2bd..0000000 Binary files a/content/emojis/drgn_pout.png and /dev/null differ diff --git a/content/emojis/drgn_rainbow.png b/content/emojis/drgn_rainbow.png deleted file mode 100755 index 4ad3aaa..0000000 Binary files a/content/emojis/drgn_rainbow.png and /dev/null differ diff --git a/content/emojis/drgn_reject.png b/content/emojis/drgn_reject.png deleted file mode 100755 index 5a275f2..0000000 Binary files a/content/emojis/drgn_reject.png and /dev/null differ diff --git a/content/emojis/drgn_relax.png b/content/emojis/drgn_relax.png deleted file mode 100755 index 8e682f5..0000000 Binary files a/content/emojis/drgn_relax.png and /dev/null differ diff --git a/content/emojis/drgn_robe.png b/content/emojis/drgn_robe.png deleted file mode 100755 index b16c11f..0000000 Binary files a/content/emojis/drgn_robe.png and /dev/null differ diff --git a/content/emojis/drgn_robe__w_.png b/content/emojis/drgn_robe__w_.png deleted file mode 100755 index adce901..0000000 Binary files a/content/emojis/drgn_robe__w_.png and /dev/null differ diff --git a/content/emojis/drgn_robe_blep.png b/content/emojis/drgn_robe_blep.png deleted file mode 100755 index 4968d13..0000000 Binary files a/content/emojis/drgn_robe_blep.png and /dev/null differ diff --git a/content/emojis/drgn_robe_cup.png b/content/emojis/drgn_robe_cup.png deleted file mode 100755 index 42b68b6..0000000 Binary files a/content/emojis/drgn_robe_cup.png and /dev/null differ diff --git a/content/emojis/drgn_robe_cup_mlem.png b/content/emojis/drgn_robe_cup_mlem.png deleted file mode 100755 index 0fdcb8e..0000000 Binary files a/content/emojis/drgn_robe_cup_mlem.png and /dev/null differ diff --git a/content/emojis/drgn_robe_happy.png b/content/emojis/drgn_robe_happy.png deleted file mode 100755 index 2eb0711..0000000 Binary files a/content/emojis/drgn_robe_happy.png and /dev/null differ diff --git a/content/emojis/drgn_robe_mlem.png b/content/emojis/drgn_robe_mlem.png deleted file mode 100755 index e94a83e..0000000 Binary files a/content/emojis/drgn_robe_mlem.png and /dev/null differ diff --git a/content/emojis/drgn_robe_wizard.png b/content/emojis/drgn_robe_wizard.png deleted file mode 100755 index 32b8b65..0000000 Binary files a/content/emojis/drgn_robe_wizard.png and /dev/null differ diff --git a/content/emojis/drgn_sad.png b/content/emojis/drgn_sad.png deleted file mode 100755 index 86b7de0..0000000 Binary files a/content/emojis/drgn_sad.png and /dev/null differ diff --git a/content/emojis/drgn_scared.png b/content/emojis/drgn_scared.png deleted file mode 100755 index 712852c..0000000 Binary files a/content/emojis/drgn_scared.png and /dev/null differ diff --git a/content/emojis/drgn_science.png b/content/emojis/drgn_science.png deleted file mode 100755 index 6f204f1..0000000 Binary files a/content/emojis/drgn_science.png and /dev/null differ diff --git a/content/emojis/drgn_scream.png b/content/emojis/drgn_scream.png deleted file mode 100755 index a91b571..0000000 Binary files a/content/emojis/drgn_scream.png and /dev/null differ diff --git a/content/emojis/drgn_scream_angry.png b/content/emojis/drgn_scream_angry.png deleted file mode 100755 index c7fcc9d..0000000 Binary files a/content/emojis/drgn_scream_angry.png and /dev/null differ diff --git a/content/emojis/drgn_scream_stare.png b/content/emojis/drgn_scream_stare.png deleted file mode 100755 index 24f726a..0000000 Binary files a/content/emojis/drgn_scream_stare.png and /dev/null differ diff --git a/content/emojis/drgn_sigh.png b/content/emojis/drgn_sigh.png deleted file mode 100755 index 77aa7dc..0000000 Binary files a/content/emojis/drgn_sigh.png and /dev/null differ diff --git a/content/emojis/drgn_sleep.png b/content/emojis/drgn_sleep.png deleted file mode 100755 index fbf6318..0000000 Binary files a/content/emojis/drgn_sleep.png and /dev/null differ diff --git a/content/emojis/drgn_smirk.png b/content/emojis/drgn_smirk.png deleted file mode 100755 index 7509244..0000000 Binary files a/content/emojis/drgn_smirk.png and /dev/null differ diff --git a/content/emojis/drgn_smug.png b/content/emojis/drgn_smug.png deleted file mode 100755 index 8992a9e..0000000 Binary files a/content/emojis/drgn_smug.png and /dev/null differ diff --git a/content/emojis/drgn_smug2.png b/content/emojis/drgn_smug2.png deleted file mode 100755 index f172783..0000000 Binary files a/content/emojis/drgn_smug2.png and /dev/null differ diff --git a/content/emojis/drgn_sob.png b/content/emojis/drgn_sob.png deleted file mode 100755 index 0df6632..0000000 Binary files a/content/emojis/drgn_sob.png and /dev/null differ diff --git a/content/emojis/drgn_sparkle.png b/content/emojis/drgn_sparkle.png deleted file mode 100755 index 29a1fcb..0000000 Binary files a/content/emojis/drgn_sparkle.png and /dev/null differ diff --git a/content/emojis/drgn_stare.png b/content/emojis/drgn_stare.png deleted file mode 100755 index aff94d4..0000000 Binary files a/content/emojis/drgn_stare.png and /dev/null differ diff --git a/content/emojis/drgn_tail.png b/content/emojis/drgn_tail.png deleted file mode 100755 index 8669402..0000000 Binary files a/content/emojis/drgn_tail.png and /dev/null differ diff --git a/content/emojis/drgn_think.png b/content/emojis/drgn_think.png deleted file mode 100755 index 50ec293..0000000 Binary files a/content/emojis/drgn_think.png and /dev/null differ diff --git a/content/emojis/drgn_think__w_.png b/content/emojis/drgn_think__w_.png deleted file mode 100755 index 26e959a..0000000 Binary files a/content/emojis/drgn_think__w_.png and /dev/null differ diff --git a/content/emojis/drgn_think_confused.png b/content/emojis/drgn_think_confused.png deleted file mode 100755 index 29cddf6..0000000 Binary files a/content/emojis/drgn_think_confused.png and /dev/null differ diff --git a/content/emojis/drgn_think_cool.png b/content/emojis/drgn_think_cool.png deleted file mode 100755 index 72a592c..0000000 Binary files a/content/emojis/drgn_think_cool.png and /dev/null differ diff --git a/content/emojis/drgn_think_googly.png b/content/emojis/drgn_think_googly.png deleted file mode 100755 index 520671e..0000000 Binary files a/content/emojis/drgn_think_googly.png and /dev/null differ diff --git a/content/emojis/drgn_think_happy.png b/content/emojis/drgn_think_happy.png deleted file mode 100755 index b593057..0000000 Binary files a/content/emojis/drgn_think_happy.png and /dev/null differ diff --git a/content/emojis/drgn_think_o_o.png b/content/emojis/drgn_think_o_o.png deleted file mode 100755 index 16a5299..0000000 Binary files a/content/emojis/drgn_think_o_o.png and /dev/null differ diff --git a/content/emojis/drgn_think_owo.png b/content/emojis/drgn_think_owo.png deleted file mode 100755 index 3f73aca..0000000 Binary files a/content/emojis/drgn_think_owo.png and /dev/null differ diff --git a/content/emojis/drgn_think_science.png b/content/emojis/drgn_think_science.png deleted file mode 100755 index a79729c..0000000 Binary files a/content/emojis/drgn_think_science.png and /dev/null differ diff --git a/content/emojis/drgn_think_smirk.png b/content/emojis/drgn_think_smirk.png deleted file mode 100755 index 4e5d3d3..0000000 Binary files a/content/emojis/drgn_think_smirk.png and /dev/null differ diff --git a/content/emojis/drgn_think_smug.png b/content/emojis/drgn_think_smug.png deleted file mode 100755 index a32d312..0000000 Binary files a/content/emojis/drgn_think_smug.png and /dev/null differ diff --git a/content/emojis/drgn_think_smug2.png b/content/emojis/drgn_think_smug2.png deleted file mode 100755 index 0453e13..0000000 Binary files a/content/emojis/drgn_think_smug2.png and /dev/null differ diff --git a/content/emojis/drgn_thinking.png b/content/emojis/drgn_thinking.png deleted file mode 100755 index 8e412e4..0000000 Binary files a/content/emojis/drgn_thinking.png and /dev/null differ diff --git a/content/emojis/drgn_thumbsdown.png b/content/emojis/drgn_thumbsdown.png deleted file mode 100755 index 337c972..0000000 Binary files a/content/emojis/drgn_thumbsdown.png and /dev/null differ diff --git a/content/emojis/drgn_thumbsup.png b/content/emojis/drgn_thumbsup.png deleted file mode 100755 index 210ab14..0000000 Binary files a/content/emojis/drgn_thumbsup.png and /dev/null differ diff --git a/content/emojis/drgn_tooth.png b/content/emojis/drgn_tooth.png deleted file mode 100755 index e6a64e9..0000000 Binary files a/content/emojis/drgn_tooth.png and /dev/null differ diff --git a/content/emojis/drgn_up.png b/content/emojis/drgn_up.png deleted file mode 100755 index 2f95888..0000000 Binary files a/content/emojis/drgn_up.png and /dev/null differ diff --git a/content/emojis/drgn_up_cute.png b/content/emojis/drgn_up_cute.png deleted file mode 100755 index 7204697..0000000 Binary files a/content/emojis/drgn_up_cute.png and /dev/null differ diff --git a/content/emojis/drgn_up_happy.png b/content/emojis/drgn_up_happy.png deleted file mode 100755 index 0051c6a..0000000 Binary files a/content/emojis/drgn_up_happy.png and /dev/null differ diff --git a/content/emojis/drgn_up_happy_blep.png b/content/emojis/drgn_up_happy_blep.png deleted file mode 100755 index 409a412..0000000 Binary files a/content/emojis/drgn_up_happy_blep.png and /dev/null differ diff --git a/content/emojis/drgn_up_mug.png b/content/emojis/drgn_up_mug.png deleted file mode 100755 index 449f1d4..0000000 Binary files a/content/emojis/drgn_up_mug.png and /dev/null differ diff --git a/content/emojis/drgn_uwu.png b/content/emojis/drgn_uwu.png deleted file mode 100755 index 622415c..0000000 Binary files a/content/emojis/drgn_uwu.png and /dev/null differ diff --git a/content/emojis/drgn_water.png b/content/emojis/drgn_water.png deleted file mode 100755 index a7ba27c..0000000 Binary files a/content/emojis/drgn_water.png and /dev/null differ diff --git a/content/emojis/drgn_wave.png b/content/emojis/drgn_wave.png deleted file mode 100755 index 369b02b..0000000 Binary files a/content/emojis/drgn_wave.png and /dev/null differ diff --git a/content/emojis/drgn_weary.png b/content/emojis/drgn_weary.png deleted file mode 100755 index 05b27f8..0000000 Binary files a/content/emojis/drgn_weary.png and /dev/null differ diff --git a/content/emojis/drgn_weary_cry.png b/content/emojis/drgn_weary_cry.png deleted file mode 100755 index 44b682e..0000000 Binary files a/content/emojis/drgn_weary_cry.png and /dev/null differ diff --git a/content/emojis/drgn_x_x.png b/content/emojis/drgn_x_x.png deleted file mode 100755 index 60ea22b..0000000 Binary files a/content/emojis/drgn_x_x.png and /dev/null differ diff --git a/content/emojis/drgn_yell.png b/content/emojis/drgn_yell.png deleted file mode 100755 index 04eea8b..0000000 Binary files a/content/emojis/drgn_yell.png and /dev/null differ diff --git a/content/emojis/drgn_yoshi_end.png b/content/emojis/drgn_yoshi_end.png deleted file mode 100755 index 5b274e7..0000000 Binary files a/content/emojis/drgn_yoshi_end.png and /dev/null differ diff --git a/content/emojis/drgn_yoshi_mid.png b/content/emojis/drgn_yoshi_mid.png deleted file mode 100755 index 9eba2e8..0000000 Binary files a/content/emojis/drgn_yoshi_mid.png and /dev/null differ diff --git a/content/emojis/drgn_yoshi_start.png b/content/emojis/drgn_yoshi_start.png deleted file mode 100755 index a17a048..0000000 Binary files a/content/emojis/drgn_yoshi_start.png and /dev/null differ diff --git a/content/favicon.ico b/content/favicon.ico deleted file mode 100644 index 3c399ff..0000000 Binary files a/content/favicon.ico and /dev/null differ diff --git a/content/index.md b/content/index.md index 771ec1e..c65e7c3 100644 --- a/content/index.md +++ b/content/index.md @@ -2,5 +2,4 @@ title: Volpeon's Den --- -Hi, I'm Volpeon! I'm a software developer with a very minor case of severe fox obsession. -In my spare time I create vector art and UI designs. +A red fox disguised as a software developer. I write code, create vector art and experiment with AI. diff --git a/content/lightbox.js b/content/lightbox.js deleted file mode 100644 index 39a5074..0000000 --- a/content/lightbox.js +++ /dev/null @@ -1,137 +0,0 @@ -(() => { - const mainEl = document.querySelector("main"); - const lightboxContainerEl = document.querySelector(".js-lightbox"); - const lightboxEl = lightboxContainerEl.classList.contains("o-lightbox") - ? lightboxContainerEl - : lightboxContainerEl.querySelector(".o-lightbox"); - const lightboxCloseEl = lightboxEl.querySelector(".o-lightbox__close-btn"); - const lightboxPrevEl = lightboxEl.querySelector(".o-lightbox__nav-btn--prev"); - const lightboxNextEl = lightboxEl.querySelector(".o-lightbox__nav-btn--next"); - const lightboxImgEl = lightboxEl.querySelector(".o-lightbox__img"); - const lightboxThumbnailsEl = lightboxEl.querySelector(".o-lightbox__thumbnails"); - const figureEls = Array.from(mainEl.querySelectorAll(".js-lightbox__image")); - - const standalone = lightboxContainerEl.classList.contains("js-lightbox--standalone"); - let currentIndex = 0; - let visible = !lightboxContainerEl.classList.contains("u-d-none"); - let mouseDown = false; - - const show = () => { - visible = true; - lightboxContainerEl.classList.remove("u-d-none"); - } - - const hide = () => { - if (!standalone) { - visible = false; - lightboxContainerEl.classList.add("u-d-none"); - } - } - - const setIndex = (i) => { - if (i < 0 || i >= images.length) { - return; - } - images[currentIndex].thumbnailEl.classList.remove("is-selected"); - currentIndex = i; - lightboxImgEl.src = figureEls[i].firstElementChild.href; - lightboxImgEl.alt = images[currentIndex].description; - images[i].thumbnailEl.classList.add("is-selected"); - }; - - const prev = () => setIndex(currentIndex > 0 ? currentIndex - 1 : figureEls.length - 1); - - const next = () => setIndex(currentIndex < figureEls.length - 1 ? currentIndex + 1 : 0); - - lightboxCloseEl?.addEventListener("click", hide); - lightboxPrevEl.addEventListener("click", prev); - lightboxNextEl.addEventListener("click", next); - - const images = figureEls.map((figureEl, i) => { - const go = e => { - e.preventDefault(); - show(); - setIndex(i); - }; - - const imgEl = figureEl.querySelector("img"); - const captionEl = figureEl.querySelector("figcaption"); - - const src = imgEl.src; - const description = captionEl?.innerHTML ?? ""; - - const thumbnailButtonEl = document.createElement("button"); - const thumbnailImgEl = document.createElement("img"); - - thumbnailImgEl.classList.add("o-lightbox__thumbnail-img"); - thumbnailImgEl.src = src; - - thumbnailButtonEl.classList.add("o-lightbox__thumbnail"); - thumbnailButtonEl.appendChild(thumbnailImgEl); - thumbnailButtonEl.addEventListener("click", go); - - lightboxThumbnailsEl.appendChild(thumbnailButtonEl); - - if (!standalone) { - figureEl.firstElementChild.addEventListener("click", go); - } - - return { - thumbnailEl: thumbnailButtonEl, - description, - }; - }); - - setIndex(0); - - if (figureEls.length <= 1) { - lightboxPrevEl.remove(); - lightboxNextEl.remove(); - lightboxThumbnailsEl.remove(); - } - - if (!standalone) { - document.addEventListener('mousedown', (e) => { - if (visible) { - mouseDown = !lightboxEl.contains(e.target) || lightboxEl === e.target; - } - }); - - document.addEventListener('click', (e) => { - if (visible && mouseDown) { - mouseDown = false; - e.preventDefault(); - e.stopPropagation(); - hide(); - } - }, { capture: true }); - } - - window.addEventListener("keydown", e => { - if (e.defaultPrevented || !visible) { - return; - } - - switch (e.key) { - case "Left": - case "ArrowLeft": - prev(); - break; - - case "Right": - case "ArrowRight": - next(); - break; - - case "Esc": - case "Escape": - hide(); - break; - - default: - return; - } - - e.preventDefault(); - }, true); -})(); diff --git a/content/main.js b/content/main.js deleted file mode 100644 index 7189312..0000000 --- a/content/main.js +++ /dev/null @@ -1,23 +0,0 @@ -(() => { - document.body.classList.remove('t-no-js'); - document.body.classList.add('t-js'); - - const enableFocusIndicator = e => { - if (e.key !== 'Tab') { - return; - } - - document.body.classList.add('t-keyboard'); - document.removeEventListener('keydown', enableFocusIndicator); - document.addEventListener('mousedown', disableFocusIndicator); - } - - const disableFocusIndicator = () => { - document.body.classList.remove('t-keyboard'); - - document.removeEventListener('mousedown', disableFocusIndicator); - document.addEventListener('keydown', enableFocusIndicator); - } - - document.addEventListener('keydown', enableFocusIndicator); -})(); diff --git a/content/snow.js b/content/snow.js deleted file mode 100644 index 562e9c0..0000000 --- a/content/snow.js +++ /dev/null @@ -1,30 +0,0 @@ -(() => { - function createSnowFlake() { - setTimeout(() => createSnowFlake(), 50 / Math.log10(window.innerWidth / 1000 + 1)); - - if (document.hidden) { - return; - } - - const snowFlake = document.createElementNS("http://www.w3.org/2000/svg", "svg"); - const snowFlakeInner = document.createElementNS("http://www.w3.org/2000/svg", "use"); - const aniDuration = (Math.random() * 3 + 2) * 1000; - - snowFlakeInner.setAttribute("href", "/icons.svg#asterisk"); - - snowFlake.classList.add("o-icon", "o-icon--snow"); - snowFlake.setAttribute("aria-hidden", "true"); - - snowFlake.style.fontSize = Math.random() * 0.5 + 0.7 + 'em'; - snowFlake.style.left = Math.random() * 100 + '%'; - snowFlake.style.animationDuration = aniDuration + 'ms'; - snowFlake.style.opacity = Math.random(); - - setTimeout(() => snowFlake.remove(), aniDuration); - - snowFlake.appendChild(snowFlakeInner); - document.body.appendChild(snowFlake); - } - - createSnowFlake(); -})(); diff --git a/content/symbols.svg b/content/symbols.svg deleted file mode 100644 index 4995ee2..0000000 --- a/content/symbols.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - diff --git a/filters/emojis.lua b/filters/emojis.lua index 24a9fc3..286a87b 100644 --- a/filters/emojis.lua +++ b/filters/emojis.lua @@ -15,7 +15,7 @@ function str(el) local els = pandoc.List() els:insert(pandoc.Str(prefix)) - els:insert(pandoc.Image(emojiref, "/emojis/" .. emojiref .. ".png", emojiref, { class = 'o-emoji' })) + els:insert(pandoc.Image(emojiref, "/assets/emojis/" .. emojiref .. ".png", emojiref, { class = 'o-emoji' })) els:insert(pandoc.Str(suffix)) return els diff --git a/scripts/lib/common.lua b/scripts/lib/common.lua index d3c6c44..055e783 100644 --- a/scripts/lib/common.lua +++ b/scripts/lib/common.lua @@ -20,12 +20,7 @@ function pandoc.List:flatten() end function pandoc.List:flatMap(fn) - local mapped = self:map(fn) - local result = pandoc.List() - - for i = 1, #mapped do result:extend(mapped[i]) end - - return result + return self:map(fn):flatten() end function pandoc.List:filterMap(fn) diff --git a/scripts/page.lua b/scripts/page.lua index 33982ba..606288a 100644 --- a/scripts/page.lua +++ b/scripts/page.lua @@ -77,10 +77,19 @@ function cat_to_list_cat(meta, allItems) local items = allItems:take(limit) local omitted = #allItems - #items + local description = nil + + if meta.description then + description = pandoc.Para(meta.description) + elseif not meta.no_description then + description = meta.content:filter(function (el) + return el.tag ~= "Str" or el.text ~= "¶" + end) + end + return { title = meta.title, - description = (meta.description and pandoc.MetaBlocks(pandoc.Para(meta.description))) or - (not meta.no_description and meta.content), + description = pandoc.MetaBlocks(description), last_update = meta.last_update, schema_type = meta.schema_type, url = meta.url, diff --git a/templates/base.html b/templates/base.html index 8a8f830..0b5db92 100644 --- a/templates/base.html +++ b/templates/base.html @@ -10,7 +10,7 @@ $endif$ - + $for(author)$ @@ -42,12 +42,12 @@ $if(namespace.root.is_index)$$else$$title$ – $endif$$site.title$ - - - - - - + + + + + + @@ -56,7 +56,7 @@