5 * Created by Heberti Almeida on 06/05/15.
6 * Copyright (c) 2015 Folio Reader. All rights reserved.
10 html, body, div, span, applet, object, iframe,
11 h1, h2, h3, h4, h5, h6, p, blockquote, pre,
12 a, abbr, acronym, address, big, cite, code,
13 del, dfn, em, img, ins, kbd, q, s, samp,
14 small, strike, strong, sub, sup, tt, var,
17 fieldset, form, label, legend,
18 table, caption, tbody, tfoot, thead, tr, th, td,
19 article, aside, canvas, details, embed,
20 figure, figcaption, footer, header, hgroup,
21 menu, nav, output, ruby, section, summary,
22 time, mark, audio, video {
24 vertical-align: baseline;
27 /* HTML5 display-role reset for older browsers */
28 article, aside, details, figcaption, figure,
29 footer, header, hgroup, menu, nav, section {
35 -webkit-text-size-adjust: none; /* Never autoresize text */
36 padding: 0 0 !important;
40 padding: 40px 20px !important;
44 /* Custom padding for tablets */
45 @media only screen and (min-device-width: 768px){
47 padding: 60px 80px !important;
53 border-collapse: collapse;
57 vertical-align: middle !important;
60 vertical-align: inherit !important;
64 dd, dir, menu, ol, ul { margin-left: 30px !important; }
65 ol { list-style-type: decimal !important; }
66 li { display: list-item !important; }
67 ol ol, ol ul, ul ol, ul ul {
68 margin-bottom: 0 !important;
69 margin-top: 0 !important;
73 a { -webkit-touch-callout: none; } /* Disable link callback */
74 * { -webkit-user-select: text; }
75 img { -webkit-user-select: none; }
77 margin: 1.3em 0 1.5em 0;
78 line-height: 1.40em !important;
81 b, strong, th {font-weight: bolder !important;}
83 /* Forced font overrides */
84 code, kbd, pre, samp, tt {
85 font-family: monospace, monospace !important;
88 button, input, select, textarea { display: inline-block !important; }
89 /*h1, h2, h3, h4, h5, h6 { font-weight: 400!important; }*/
90 del, s, strike { text-decoration: line-through!important; }
92 background-color: rgba(0,0,0,.1) !important;
93 border: none !important;
94 height: 1px !important;
99 big { font-size: 1.15em !important; }
100 small, sub, sup { font-size: .65em !important; }
101 sub { vertical-align: sub !important; }
103 font-family: monospace !important;
104 vertical-align: super !important;
109 a { text-decoration: none; }
110 pre { white-space: pre-wrap; }
111 @page { margin: 0 0 !important; }
112 table, ol, il { text-align: -webkit-auto; }
113 h1 ,h2 ,h3 ,h4 ,h5 ,h6 {
114 text-align: -webkit-auto;
115 text-rendering: optimizelegibility;
118 /* allow breaking of words on headers and anchors as they tend to be larger font size or contain longer words */
119 a, h1, h2, h3, h4, h5, h6 {
120 word-break: break-word !important;
121 -webkit-hyphens: none !important;
122 hyphens: none !important;
126 img, svg, audio, video {
127 max-height: 95% !important;
128 max-width: 100% !important;
129 box-sizing: border-box;
131 page-break-inside: avoid;
136 /* Divs are also used to size images so make sure the authors get what they intended */
137 /* which is for the images boxed in them to be completely visible on screen */
138 div { max-width: 100%; }
139 aside[epub|type~="footnote"] { display: none !important; }
140 ruby > rt, ruby > rp { -webkit-user-select: none; }
141 * { -webkit-font-smoothing: subpixel-antialiased }
151 -webkit-touch-callout: none;
152 -webkit-user-select: none;
155 /* Remove tap highlight */
156 input, textarea, button, highlight, select, a {
157 -webkit-tap-highlight-color: rgba(0,0,0,0);
160 /* Highlight styles */
161 html .highlight_yellow {background:rgb(255, 235, 107)}
162 html .highlight_green {background:#C0ED72}
163 html .highlight_blue {background:#ADD8FF}
164 html .highlight_pink {background:#FFB0CA}
165 html .highlight_underline {
166 text-decoration: none;
167 border-bottom: 2px solid #F02814;
170 html .highlight_yellow, html .highlight_green, html .highlight_blue, html .highlight_pink, span.epub-media-overlay-playing {
176 /* default media overlay style */
177 .mediaOverlayStyle0 span.epub-media-overlay-playing {
181 .mediaOverlayStyle1 .epub-media-overlay-playing {
182 border-bottom: dotted 2px transparent;
195 -webkit-transition: all 0.6s ease;
196 background-color: #FFFFFF !important;
200 background-color: transparent !important;
204 background-color: #131313 !important;
207 .nightMode p, .nightMode div {
208 color: #767676 !important;
209 background-color: transparent !important;
212 .nightMode h1, .nightMode h2, .nightMode h3, .nightMode h4, .nightMode h5, .nightMode h6 {
213 color: #848484 !important;
216 html.nightMode .highlight_yellow {background:rgba(255, 235, 107, 0.9)}
217 html.nightMode .highlight_green {background:rgba(192, 237, 114, 0.9)}
218 html.nightMode .highlight_blue {background:rgba(173, 216, 255, 0.9)}
219 html.nightMode .highlight_pink {background:rgba(255, 176, 202, 0.9)}
220 html.nightMode .highlight_underline {border-bottom: 2px solid rgba(240, 40, 20, 0.6)}
230 font-family: 'andada';
231 src: url('file:///android_asset/fonts/andada/Andada-Regular.otf');
235 font-family: 'garamond';
236 src: url('file:///android_asset/fonts/ebgaramond/EBGaramond-Regular.ttf');
241 src: url('file:///android_asset/fonts/lato/Lato-Regular.ttf');
246 src: url('file:///android_asset/fonts/lora/Lora-Regular.ttf');
250 font-family: 'raleway';
251 src: url('file:///android_asset/fonts/raleway/Raleway-Regular.ttf');
254 .andada, .andada p, .andada span, .andada div {
255 font-family: "andada", sans-serif !important;
257 .garamond, .garamond p, .garamond span, .garamond div {
258 font-family: "garamond", sans-serif !important;
260 .lato, .lato p, .lato span, .lato div {
261 font-family: "lato", serif !important;
263 .lora, .lora p, .lora span, .lora div {
264 font-family: "lora", serif !important;
266 .raleway, .raleway p, .raleway span, .raleway div {
267 font-family: "raleway", sans-serif !important;
270 html.textSizeOne { font-size: 13px !important; }
271 html.textSizeTwo { font-size: 15px !important; }
272 html.textSizeThree { font-size: 17px !important; }
273 html.textSizeFour { font-size: 19px !important; }
274 html.textSizeFive { font-size: 21px !important; }
301 word-break: break-word !important;
302 -webkit-hyphens: auto !important;
303 hyphens: auto !important;
307 line-height: 1.5 !important;
309 @media only screen and (min-device-width: 600px) {
312 line-height: 1.438em !important;
315 -webkit-hyphens: none !important;
316 hyphens: none !important;
325 html.marginSizeOne body { padding: 20px 10px !important; }
326 html.marginSizeTwo body { padding: 20px 20px !important; }
327 html.marginSizeThree body { padding: 20px 30px !important; }
328 html.marginSizeFour body { padding: 20px 40px !important; }
329 html.marginSizeFive body { padding: 20px 50px !important; }
337 html.interlineSizeOne p { line-height: 1.00em !important; }
338 html.interlineSizeTwo p { line-height: 1.40em !important; }
339 html.interlineSizeThree p { line-height: 1.60em !important; }
340 html.interlineSizeFour p { line-height: 2.00em !important; }
341 html.interlineSizeFive p { line-height: 2.40em !important; }
344 text-align: left !important;