Skip to content
This repository has been archived by the owner on Sep 5, 2018. It is now read-only.

Commit

Permalink
Added Lektz, OverDrive and PocketBook (all iOS)
Browse files Browse the repository at this point in the history
  • Loading branch information
JayPanoz committed Mar 17, 2016
1 parent fc1c551 commit 37eb7b6
Show file tree
Hide file tree
Showing 8 changed files with 692 additions and 0 deletions.
57 changes: 57 additions & 0 deletions ReadingSystems/Lektz/Epub_ReaderSettings.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"Search": [],
"TOC": [],
"Brightness": [
"Brightness Slider"
],
"Font Size" : [
"Font Slider"
],
"Font Style": [
"Publisher Default",
"Arial",
"Times New Roman",
"Verdana",
"Courier New",
"Open Dyslexic",
"Akruti (हिंदी)"
],
"Text Alignment": [
"Publisher Default",
"Left",
"Right",
"Justify"
],
"Themes": [
"Publisher Default",
"Sepia",
"Night Mode"
],
"Goto": [],
"Share": [
"Facebook",
"Twitter"
],
"More Options": [
"RTL",
"Disable Sleep",
"Walking Mode"
],
"Reader Style": [
"Book",
"Full Screen"
],
"Sync Annotations": [
"Auto",
"Manual",
"Never"
],
"Help":[],
"Transition Style":[
"None",
"Page Fade"
]



}
150 changes: 150 additions & 0 deletions ReadingSystems/OverDrive/Book.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
<style>
@page {
hyphenate:auto !important;
size: {pageWidth}px {pageHeight}px;
}

* {
page: auto !important;
line-height:normal !important;
-webkit-box-sizing: border-box !important;
-webkit-text-size-adjust: {font-size}% !important;
box-sizing: border-box !important;
background: transparent;
background-color: transparent;
max-width: {pageWidth}px !important;
text-align: {text-align} !important;
word-break: break-word !important;
padding: 0;
margin: 0;
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td {
font-family: "{font-family}" !important;
text-align: {text-align} !important;
}

h1, h2, h3, h4, h5 {
-webkit-column-break-inside: avoid !important;
column-break-inside: avoid !important;
}

div, p {
color: #000;
-webkit-box-sizing: border-box !important;
box-sizing: border-box !important;
max-width: {columnWidth}px !important;
}

body {
background: transparent !important;
background-color: transparent !important;
font-size: 100% !important;
text-indent: 0px;
text-align: {text-align} !important;
height: auto !important;
}

body div, body p {
font-size: 100% !important;
}

body: first-child {
margin: 0 !important;
padding: 0 !important;
}

html: first-child {
margin:0 !important;padding:0 !important;
}

html {
color: #000 !important;
background: transparent !important;
background-color: transparent !important;
-webkit-box-sizing: border-box !important;
box-sizing: border-box !important;
padding: 0 !important;
margin: 0 !important;
height: auto !important;
width: 100% !important;
max-height: {pageHeight}px !important;
min-height: {pageHeight}px !important;
-webkit-column-width: {columnWidth}px !important;
-webkit-column-gap: 0 !important;
-webkit-column-rule: 0 solid black !important;
column-width: {columnWidth}px !important;
column-gap: 0 !important;
column-rule: 0 solid black !important;
}

img {
float: none !important;
width: auto !important;
height: auto !important;
max-width: 80% !important;
max-height: 80% !important;
}

svg, svg * {
max-width: 80% !important;
max-height:80% !important
}

/*
img {
-webkit-box-sizing: border-box !important;
box-sizing: border-box !important;
max-width: 100% !important;
max-height: auto !important;
width: auto !important;
height: auto !important;
-webkit-column-break-inside: avoid !important;
column-break-inside: avoid !important;
-webkit-object-fit: contain !important;
object-fit: contain !important;
display: inline-block;
}
svg {
-webkit-box-sizing: border-box !important;
box-sizing: border-box !important;
max-width: {maximumImageWidth}px !important;
max-height: {maximumImageHeight}px !important;
-webkit-column-break-inside: avoid !important;
column-break-inside: avoid !important;
display: inline-block;
}
*/

pre {
white-space: pre-wrap !important;
}

/*#EndOfChapterSpacer {
width: {columnWidth}px;
height: {endOfChapterSpacerHeight}px;
}*/

body {
margin: {margin}px !important;
}

*, * *, *[class], *[class] *[class] {
background: transparent !important;
background-color: transparent !important;
border-color: {foreground-color} !important;
line-height: {line-height}% !important;
text-align: none !important
}

html, html * {
color: {foreground-color} !important;
}

a[href], a[href] * {
color: {anchor-color} !important;
text-decoration: underline !important;
}
</style>
132 changes: 132 additions & 0 deletions ReadingSystems/PocketBook-iOS/fb2.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
@define-theme day {
color: #222222;
background-color: #FFFFFF;
a { color: #2222FF; }
}
@define-theme gray_invert {
color: #222222;
background-color: #FFFFFF;
a { color: #2222FF; }
}
@define-theme night {
color: #F0F0F0;
background-color: #000000;
a { color: #19CA15; }
}
@define-theme newspaper {
color: #373028;
background-color: #FCF7E5;
a { color: #2222FF; }
}
@define-theme user_setup {
color: prop("prf.css.color_font");
background-color: prop("prf.css.color_background");
a { color: prop("prf.css.color_link"); }
}
@define-theme texture {
color: prop("prf.css.color_font");
background-color: prop("prf.css.color_background");
a { color: prop("prf.css.color_link"); }
}

@define-theme serif {
body,annotation { font-family: "Times New Roman", "Georgia", serif; }
title { font-family: "Arial", "Helvetica", sans-serif; }
epigraph,cite { font-family: "Times New Roman", "Georgia", serif; }
}
@define-theme sans {
body,annotation { font-family: "Arial", sans-serif; }
title,subtitle { font-family: "Arial", "Helvetica", sans-serif; }
epigraph,cite { font-family: "Times New Roman", "Georgia", serif; }
}
@define-theme mono {
body,annotation { font-family: "Courier", monospace; }
title,subtitle { font-family: "Courier", monospace; }
epigraph,cite { font-family: "Courier", monospace; }
}

FictionBook {
@theme prop("prf.css.color_preset", day);
@theme prop("prf.css.font_style", serif);
text-align: prop("prf.css.para.align", normal);
}

@page {
margin-left: prop("prf.css.page.padding-left", 6%);
margin-right: prop("prf.css.page.padding-right", 6%);
margin-top: prop("prf.css.page.padding-top", 6%);
margin-bottom: prop("prf.css.page.padding-bottom",6%);
}

body[name="notes"] {
font-size: x-small;
title {
font-size: medium;
font-weight: bold;
font-style: italic;
text-align: left;
}
}

table { border: solid 3px black; text-align: center; margin: 5px;}
td,th { border: solid 1px black; padding: 2px; box-align: center; text-indent: 0px; }

body>title { font-size: large;
color: #cc0000;
text-align: center;
white-space: pre-wrap;
margin-top: 1em;
margin-bottom: 2em;
font-weight: bold; }
poem title { font-style: italic;}

title { font-size: large;
font-weight: bold;
text-align: left;
white-space: pre-wrap;
margin-top: 2em;
margin-bottom: 1em;
display: inline; }
annotation { text-indent: 2em;
padding: .5cm .5cm 1.5cm .5cm; }

epigraph,cite { font-style: italic;
text-align: end;
margin-top: 1em;
margin-bottom: .5em; }
cite>p { text-align: justify; }
text-author { font-style: normal; }

subtitle { margin-top: 1em;
margin-bottom: .5em;
font-weight: bold;
display: inline;}
title+p, subtitle+p { text-indent: prop("prf.css.para.indent", normal); }

empty-line { line-height: 1em; }

image { text-align: center; }

code { white-space: pre-wrap;
text-align: start;
font-family: monospace; }

section>p { text-indent: prop("prf.css.para.indent", normal);
margin-bottom: prop("prf.css.para.margin", normal);
line-height: prop("prf.css.line_spacing", normal);
white-space: normal; }

stanza { margin: 1em 4%; }
v { white-space: nowrap; }

strong, b { font-weight: bold; }
emphasis, i { font-style: italic; }
strikethrough { text-decoration: line-through; }

sup { font-size: .66em; font-offset: +.33em; }
sub { font-size: .66em; font-offset: -.33em; }

a[type="note"] { font-size: .66em; font-offset: +.33em; }
sup a[type="note"] { font-size: 1em; }
a[type="note"] sup { font-size: 1em; }

Loading

0 comments on commit 37eb7b6

Please sign in to comment.