diff --git a/templates/OpenDyslexic-Regular.otf b/templates/OpenDyslexic-Regular.otf new file mode 100644 index 0000000..1226d2a Binary files /dev/null and b/templates/OpenDyslexic-Regular.otf differ diff --git a/templates/custom.css b/templates/custom.css index 077a3b4..c27755d 100644 --- a/templates/custom.css +++ b/templates/custom.css @@ -1,13 +1,13 @@ @font-face { font-family: 'opendyslexic'; - src: url('../fonts/OpenDyslexic-Bold.otf'); + src: url('../fonts/OpenDyslexic-Regular.otf'); font-style: normal; font-weight: normal; } * { - font-size:30px; + font-size:20px; line-height:200%; color: #191A42; font-family:'opendyslexic' !important; diff --git a/templates/dyslexicRead.html b/templates/dyslexicRead.html index 85e47a2..067c294 100644 --- a/templates/dyslexicRead.html +++ b/templates/dyslexicRead.html @@ -8,11 +8,24 @@ - - + + + + + + -
+
@@ -23,7 +36,9 @@ var book = ePub("https://s3.amazonaws.com/epubjs/books/alice/OPS/package.opf"); var rendition = book.renderTo("viewer", { width: "100%", - height: 600, + + height: 500, + manager: "continuous" });