summaryrefslogtreecommitdiff
path: root/read.html
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-02-25 17:04:26 +0300
committerAndrew Dolgov <[email protected]>2017-02-25 17:04:26 +0300
commitf858879a3d13bcec694a5e2493fbfe3a1a233e13 (patch)
tree997a6efb9fe2678b5e315a8d733361e569828929 /read.html
parent902664e1842357e11217ef9f4f09a55ce95fb478 (diff)
add night mode
Diffstat (limited to 'read.html')
-rw-r--r--read.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/read.html b/read.html
index 345976c..fdd66ee 100644
--- a/read.html
+++ b/read.html
@@ -125,6 +125,10 @@
<span class="glyphicon glyphicon-wrench" aria-hidden="true"></span>
</button>
+ <button class="btn btn-default btn-xs" onclick="invert()">
+ <span class="glyphicon glyphicon-eye-open" aria-hidden="true"></span>
+ </button>
+
<button class="btn btn-default btn-xs hidden-xs" onclick="zoom(2)">
<span class="glyphicon glyphicon-zoom-in" aria-hidden="true"></span>
</button>
@@ -185,6 +189,7 @@
//styles: { fontSize: '24px', lineHeight: '130%', fontFamily: 'Georgia' }
window.book = book;
+ apply_night_mode();
var rendered = book.renderTo("reader");