From 8a130464965a32c8cc5537e08c04676a3313a10f Mon Sep 17 00:00:00 2001 From: Robin Whittleton Date: Sun, 25 Jul 2021 13:00:21 +0200 Subject: [PATCH] Add basic nav bars to web versions of the books These are fixed on (portrait) tablet and mobile, static on desktop. --- scripts/deploy-ebook-to-www | 8 +++++++- www/css/web.css | 38 +++++++++++++++++++++++++++++++++++-- 2 files changed, 43 insertions(+), 3 deletions(-) diff --git a/scripts/deploy-ebook-to-www b/scripts/deploy-ebook-to-www index 94b66176..0fd55603 100755 --- a/scripts/deploy-ebook-to-www +++ b/scripts/deploy-ebook-to-www @@ -290,6 +290,9 @@ do # We do this first because the tweaks below shouldn't apply to the single-page file se recompose-epub --xhtml --output "${workDir}"/single-page.xhtml --extra-css-file="${webRoot}/www/css/web.css" "${workDir}" + # Add a navbar with a link back to the homepage + sed --in-place --regexp-extended 's//