Standard Ebooks<\/a><\/li><\/ul><\/nav><\/header>/' "${workDir}"/single-page.xhtml
+ sed --in-place --regexp-extended "s|||" "${workDir}"/single-page.xhtml
# Adjust sponsored links in the colophon
sed --in-place 's||${workTitle} - |g"
# 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%%%"
# Adjust sponsored links in the colophon
diff --git a/www/css/web.css b/www/css/web.css
index e3d0edc4..c3accb54 100644
--- a/www/css/web.css
+++ b/www/css/web.css
@@ -10,7 +10,7 @@ body{
body > header{
position: absolute;
- left: 0;
+ left: 0;
right: 0;
top: 0;
background: #fff;
@@ -41,17 +41,11 @@ body > header li:first-child > a{
height: 42px;
background: no-repeat center/100% url(/images/logo-full.svg);
font-size: 0;
+ transition: transform 200ms ease;
}
-@media(max-width: 96ch){
- body > header{
- position: fixed;
- }
-
- body > header li:first-child > a{
- width: 90px;
- height: 21px;
- }
+body > header li:first-child > a:hover{
+ transform: scale(1.025) rotate(1deg);
}
body > nav,
@@ -78,6 +72,17 @@ nav[epub|type~="toc"] ol{
list-style: none;
}
+@media(max-width: 96ch){
+ body > header{
+ position: fixed;
+ }
+
+ body > header li:first-child > a{
+ width: 90px;
+ height: 21px;
+ }
+}
+
@media(max-width: 65ch){
body{
padding: 0 1em;