diff --git a/scripts/deploy-ebook-to-www b/scripts/deploy-ebook-to-www index c350be75..4d19254d 100755 --- a/scripts/deploy-ebook-to-www +++ b/scripts/deploy-ebook-to-www @@ -321,7 +321,7 @@ do # Add the nav to each page bookUrl=$(grep --only-matching --extended-regexp ".+?" "${workDir}"/src/epub/content.opf | sed --regexp-extended "s/.*?url:(.*?)<.*/\1/g") - find "${workDir}"/src/epub \( -type d -name .git -prune \) -o -type f -name "*.xhtml" -print0 | xargs -0 sed --in-place --regexp-extended "s%%
%" + find "${workDir}"/src/epub \( -type d -name .git -prune \) -o -type f -name "*.xhtml" -print0 | xargs -0 sed --in-place --regexp-extended "s%%
%" # Adjust sponsored links in the colophon sed --in-place 's|

header{ body > header ul{ display: flex; - justify-content: space-between; align-items: center; list-style: none; margin: 0; padding: 0.5em 1em; } +body > header li{ + margin-left: 1.5em; +} + +body > header li:first-child{ + margin-left: 0; + margin-right: auto; +} + body > header li:first-child > a{ display: block; width: 180px;