From 206634004fa646ed201092c10cca3262790c9bd1 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 6 Mar 2022 09:58:14 +0000 Subject: fine tuning style --- share/templates/default/header.tmpl | 28 +++++++++++++++++++++------- share/templates/default/view.tmpl | 12 ++++++------ src/photoalbum.sh | 3 +-- 3 files changed, 28 insertions(+), 15 deletions(-) diff --git a/share/templates/default/header.tmpl b/share/templates/default/header.tmpl index f228f31..010d3d5 100644 --- a/share/templates/default/header.tmpl +++ b/share/templates/default/header.tmpl @@ -5,6 +5,7 @@ cat < body { background-color: #000000; + color: #ffffff; background-image: url('${backhref}/${blurs_dir}/${background_image}'); background-size: cover; background-repeat: no-repeat; @@ -13,15 +14,28 @@ cat < - - Thumbnails - - - END diff --git a/src/photoalbum.sh b/src/photoalbum.sh index 882b437..30890f2 100755 --- a/src/photoalbum.sh +++ b/src/photoalbum.sh @@ -136,7 +136,6 @@ albumhtml () { if [ "$i" -gt "$MAXPREVIEWS" ]; then i=1 let num++ - declare next="page-$num" template next "$name.html" template footer "$name.html" @@ -145,7 +144,7 @@ albumhtml () { declare name="$next" export background_image="$(randomphoto $photos_dir)" - export show_header_bar='yes' + export show_header_bar='no' template header "$name.html" template prev "$name.html" fi -- cgit v1.2.3