From e88eea122ee112e63f7e544fd777ca8ab4cee323 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 20 Feb 2022 13:44:42 +0000 Subject: improve CSS styles - also add animations --- src/photoalbum.sh | 98 +++++++++++++++++++++++++------------------------------ 1 file changed, 44 insertions(+), 54 deletions(-) (limited to 'src') diff --git a/src/photoalbum.sh b/src/photoalbum.sh index ebaaf71..e79d3d8 100755 --- a/src/photoalbum.sh +++ b/src/photoalbum.sh @@ -70,10 +70,28 @@ scalephotos () { done } +randomphoto () { + declare photos_dir="$1" ; shift + basename $(find "$photos_dir" -type f -maxpdeth 1 -mindepth 1 | sort -R | head -n 1) +} + +random_animation_css_class () { + cat <