mirror of
https://github.com/flynx/PortableMag.git
synced 2025-10-29 11:10:08 +00:00
minor edits and tweeks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
7fea9d8784
commit
7c600a718f
@ -114,7 +114,7 @@ $(document).ready(function(){
|
|||||||
togglePageFitMode()
|
togglePageFitMode()
|
||||||
},
|
},
|
||||||
66: {
|
66: {
|
||||||
//'default': toggleBookmark, // B
|
'default': toggleBookmark, // B
|
||||||
'ctrl': function(){toggleThemes()}, // ctrl-B
|
'ctrl': function(){toggleThemes()}, // ctrl-B
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@ -268,6 +268,11 @@ body {
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
font-size: 0px;
|
font-size: 0px;
|
||||||
min-width: 200px;
|
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 {
|
.article:empty {
|
||||||
color: silver;
|
color: silver;
|
||||||
|
|||||||
@ -179,7 +179,7 @@ function updatePageNumberIndicator(evt, n){
|
|||||||
if(n == null){
|
if(n == null){
|
||||||
n = getPageNumber()
|
n = getPageNumber()
|
||||||
}
|
}
|
||||||
$('.page-number').text((n+1)+'/'+$('.page').length)
|
$('.page-number').text((n)+'/'+($('.page').length-1))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -41,7 +41,6 @@
|
|||||||
.container .page {
|
.container .page {
|
||||||
box-shadow: 5px 5px 200px 30px gray;
|
box-shadow: 5px 5px 200px 30px gray;
|
||||||
|
|
||||||
|
|
||||||
margin: 5%;
|
margin: 5%;
|
||||||
|
|
||||||
-webkit-transform-origin: 0 0;
|
-webkit-transform-origin: 0 0;
|
||||||
@ -63,7 +62,7 @@
|
|||||||
bottom: 10%;
|
bottom: 10%;
|
||||||
right: 10%;
|
right: 10%;
|
||||||
z-index: 1000;
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user