Skip to content
This repository was archived by the owner on Jul 2, 2020. It is now read-only.

Commit 37a1a25

Browse files
committed
“Fight fire with fire” commit
1 parent 382ff3b commit 37a1a25

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+411
-1807
lines changed

Blitz_framework/Blitz-debug.epub

-53 Bytes
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,254 @@
1+
@charset "UTF-8";
2+
3+
/* blitz — CSS framework for reflowable eBooks
4+
Version 1 by Jiminy Panoz
5+
Codename: Rock the Casbah
6+
License: MIT (https://opensource.org/licenses/MIT) */
7+
8+
/* NAMESPACES */
9+
10+
@namespace h "http://www.w3.org/1999/xhtml/";
11+
@namespace epub "http://www.idpf.org/2007/ops";
12+
13+
html {
14+
/* */
15+
}
16+
17+
/* RESET */
18+
19+
article, address, aside, blockquote, canvas, dd, details, div, dl, dt, figure, figcaption, footer, h1, h2, h3, h4, h5, h6, header, hr, li, main, nav, ol, p, pre, section, summary, ul {
20+
margin: 0;
21+
padding: 0;
22+
font-size: 1em;
23+
line-height: inherit;
24+
text-indent: 0;
25+
font-style: normal;
26+
font-weight: normal;
27+
}
28+
29+
article, aside, figure, figcaption, footer, header, main, nav, section {
30+
display: block;
31+
}
32+
33+
h1, h2, h3, h4, h5, h6, dt, pre {
34+
text-align: left;
35+
}
36+
37+
nav[epub|type~="toc"] ol {
38+
list-style: none !important;
39+
}
40+
41+
nav[epub|type~="landmarks"],
42+
nav[epub|type~="page-list"] {
43+
display: none;
44+
}
45+
46+
a, abbr, b, bdi, bdo, cite, code, data, del, dfn, em, i, ins, kbd, mark, q, rp, rt, rtc, ruby, s, samp, small, span, strong, sub, sup, time, var {
47+
font-size: inherit;
48+
vertical-align: baseline;
49+
font-style: inherit;
50+
font-weight: inherit;
51+
color: inherit;
52+
text-decoration: none;
53+
}
54+
55+
q {
56+
quotes: none;
57+
}
58+
59+
body > :last-child,
60+
body > section > :last-child {
61+
margin-bottom: 0;
62+
}
63+
64+
/* PAGE LAYOUT */
65+
66+
@page {
67+
margin: 30px 30px 20px 30px;
68+
padding: 0;
69+
}
70+
71+
body {
72+
font-size: 100%;
73+
line-height: 1.5;
74+
margin: 0;
75+
padding: 0;
76+
widows: 2;
77+
orphans: 2;
78+
}
79+
80+
/* TYPOGRAPHY */
81+
82+
h1, h2, h3, h4, h5, h6, blockquote p cite, dt, pre, address, table, caption, th, td, .caption {
83+
adobe-hyphenate: none;
84+
-ms-hyphens: none;
85+
-moz-hyphens: none;
86+
-webkit-hyphens: none;
87+
-epub-hyphens: none;
88+
hyphens: none;
89+
}
90+
91+
h1, h2, h3, h4, h5, h6, dt, hr {
92+
page-break-inside: avoid;
93+
break-inside: avoid;
94+
page-break-after: avoid;
95+
break-after: avoid;
96+
}
97+
98+
h1 {
99+
font-size: 1.4375em;
100+
line-height: 1.04347826;
101+
margin-top: 0em;
102+
margin-bottom: 2.08695652em;
103+
}
104+
105+
h2 {
106+
font-size: 1.3125em;
107+
line-height: 1.14285714;
108+
margin-top: 2.28571429em;
109+
margin-bottom: 1.14285714em;
110+
}
111+
112+
h3 {
113+
font-size: 1.125em;
114+
line-height: 1.33333333;
115+
margin-top: 1.33333333em;
116+
margin-bottom: 1.33333333em;
117+
}
118+
119+
h4 {
120+
font-size: 1em;
121+
line-height: 1.5;
122+
margin-top: 1.5em;
123+
margin-bottom: 0em;
124+
}
125+
126+
h5 {
127+
}
128+
129+
h6 {
130+
}
131+
132+
p {
133+
text-indent: 1em;
134+
}
135+
136+
.footnote {
137+
font-size: 0.9375em;
138+
line-height: 1.6;
139+
text-indent: 0;
140+
}
141+
142+
blockquote {
143+
margin: 1.5em 5%;
144+
}
145+
146+
blockquote p {
147+
text-indent: 0;
148+
font-style: italic;
149+
}
150+
151+
blockquote p i, blockquote p em, blockquote p cite {
152+
font-style: normal;
153+
}
154+
155+
address {
156+
}
157+
158+
/* MICRO TYPOGRAPHY */
159+
160+
a {
161+
text-decoration: underline;
162+
font-weight: bold;
163+
color: inherit;
164+
-webkit-text-fill-color: inherit;
165+
}
166+
167+
abbr {
168+
/* Note: Kindle doesn't support that */
169+
}
170+
171+
i, cite, dfn, em {
172+
font-style: italic;
173+
}
174+
175+
i i, i cite, i dfn, i em,
176+
cite i, cite cite, cite dfn, cite em,
177+
dfn i, dfn cite, dfn dfn, dfn em,
178+
em i, em cite, em dfn, em em {
179+
font-style: normal;
180+
}
181+
182+
b, strong {
183+
font-weight: bold;
184+
}
185+
186+
del, s {
187+
text-decoration: line-through;
188+
}
189+
190+
mark {
191+
background-color: yellow;
192+
color: inherit;
193+
}
194+
195+
ins {
196+
}
197+
198+
small {
199+
font-size: 0.8125em;
200+
}
201+
202+
sub {
203+
font-size: 75%;
204+
line-height: 1.2;
205+
vertical-align: sub;
206+
vertical-align: -20%;
207+
}
208+
209+
sup {
210+
font-size: 75%;
211+
line-height: 1.2;
212+
vertical-align: super;
213+
vertical-align: 33%;
214+
}
215+
216+
/* FIGURES + IMAGES */
217+
218+
figure {
219+
page-break-inside: avoid;
220+
break-inside: avoid;
221+
margin: 1.5em 0;
222+
}
223+
224+
figcaption,
225+
.caption {
226+
font-size: 0.9375em;
227+
line-height: 1.6;
228+
text-indent: 0;
229+
}
230+
231+
img {
232+
width: auto;
233+
max-width: 100%;
234+
height: auto;
235+
object-fit: contain;
236+
}
237+
238+
img.portrait {
239+
width: auto;
240+
max-width: 100%;
241+
height: 100%;
242+
max-height: 95%;
243+
}
244+
245+
.float-left img,
246+
.float-right img {
247+
width: 100%;
248+
}
249+
250+
@supports (height: 99vh) {
251+
img.portrait {
252+
height: 99vh;
253+
}
254+
}

Blitz_framework/CSS/AltStylesheets/blitz-lite/blitz-lite.min.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
/* blitz — CSS framework for reflowable eBooks
2+
Version 1 by Jiminy Panoz
3+
Codename: Rock the Casbah
4+
License: MIT (https://opensource.org/licenses/MIT) */
5+
6+
article,address,aside,blockquote,canvas,dd,details,div,dl,dt,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hr,li,main,nav,ol,p,pre,section,summary,ul {
7+
margin: 0;
8+
padding: 0;
9+
font-size: 1em;
10+
line-height: inherit;
11+
text-indent: 0;
12+
font-style: normal;
13+
font-weight: normal;
14+
}
15+
16+
article,aside,figure,figcaption,footer,header,main,nav,section {
17+
display: block;
18+
}
19+
20+
h1,h2,h3,h4,h5,h6,dt,pre {
21+
text-align: left;
22+
}
23+
24+
nav[epub\:type~="toc"] ol {
25+
list-style: none!important;
26+
}
27+
28+
nav[epub\:type~="landmarks"], nav[epub\:type~="page-list"] {
29+
display: none;
30+
}
31+
32+
a,abbr,b,bdi,bdo,cite,code,data,del,dfn,em,i,ins,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,var {
33+
font-size: inherit;
34+
vertical-align: baseline;
35+
font-style: inherit;
36+
font-weight: inherit;
37+
color: inherit;
38+
text-decoration: none;
39+
}
40+
41+
q {
42+
quotes: none;
43+
}
44+
45+
body>:last-child, body>section>:last-child {
46+
margin-bottom: 0;
47+
}

Blitz_framework/CSS/AltStylesheets/blitz-reset/blitz-reset.min.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)