minor edits and tweeks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-02-28 00:56:27 +04:00
parent 7fea9d8784
commit 7c600a718f
4 changed files with 8 additions and 4 deletions

View File

@ -114,7 +114,7 @@ $(document).ready(function(){
togglePageFitMode()
},
66: {
//'default': toggleBookmark, // B
'default': toggleBookmark, // B
'ctrl': function(){toggleThemes()}, // ctrl-B
},
}

View File

@ -268,6 +268,11 @@ body {
white-space: nowrap;
font-size: 0px;
min-width: 200px;
/* XXX this is a bad way to fix shadow visibility outside of
* the ribbon, but it's better than adding an extra tag */
overflow: hidden;
}
.article:empty {
color: silver;

View File

@ -179,7 +179,7 @@ function updatePageNumberIndicator(evt, n){
if(n == null){
n = getPageNumber()
}
$('.page-number').text((n+1)+'/'+$('.page').length)
$('.page-number').text((n)+'/'+($('.page').length-1))
}

View File

@ -41,7 +41,6 @@
.container .page {
box-shadow: 5px 5px 200px 30px gray;
margin: 5%;
-webkit-transform-origin: 0 0;
@ -63,7 +62,7 @@
bottom: 10%;
right: 10%;
z-index: 1000;
text-shadow: black 0.1em 0.1em 0.3em;
text-shadow: black 0.1em 0.1em 0.4em, black 0.1em 0.1em;
}