bookshelf 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,353 +0,0 @@
1
- /* ============ */
2
- /* = DEFAULTS = */
3
- /* ============ */
4
- html * {
5
- font: normal normal normal 12pt/normal Constantia, Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif;
6
- }
7
-
8
- /* ========= */
9
- /* = PAGES = */
10
- /* ========= */
11
- @page {
12
- margin: 12mm 16mm 10mm 16mm;
13
- size: 7in 9.25in landscape;
14
-
15
- @footnotes {
16
- border-top: thin solid black;
17
- margin-left: 30%;
18
- margin-top: 0.6em;
19
- padding-top: 0.3em;
20
- }
21
-
22
- @bottom-right {
23
- color: #000;
24
- content: counter(page);
25
- font-family: helvetica, arial, sans-serif;
26
- font-size: 12px;
27
- margin-top: -10px;
28
- margin-right: -40px;
29
- }
30
- }
31
-
32
- @page toc {
33
- margin-right: 6mm;
34
-
35
- @bottom-right {
36
- content: "";
37
- }
38
- }
39
-
40
- @page cover {
41
- margin: 0;
42
-
43
- @bottom-right {
44
- content: "";
45
- }
46
- }
47
-
48
- /* ============= */
49
- /* = BOOKMARKS = */
50
- /* ============= */
51
- h1, h2, h3, h4, h5, h6 {
52
- prince-bookmark-level: none;
53
- }
54
-
55
- .frontcover h1 { prince-bookmark-level: 1; }
56
- .chapter h2 { prince-bookmark-level: 2; }
57
- .chapter h3 { prince-bookmark-level: 3; }
58
- .chapter h4 { prince-bookmark-level: 4; }
59
- .chapter h5 { prince-bookmark-level: 5; }
60
- .chapter h6 { prince-bookmark-level: 6; }
61
-
62
- /* ============= */
63
- /* = CONTAINER = */
64
- /* ============= */
65
- div.container {
66
- height: 7in;
67
- left: 0;
68
- page: cover;
69
- position: absolute;
70
- top: 0;
71
- width: 9.25in;
72
- z-index: -1;
73
- }
74
-
75
- /* ============== */
76
- /* = FRONTCOVER = */
77
- /* ============== */
78
- div.frontcover {
79
- background: #fff;
80
- }
81
-
82
- div.frontcover div {
83
- left: 1in;
84
- padding-top: 0.25in;
85
- position: absolute;
86
- top: 2.5in;
87
- width: 7.25in;
88
- }
89
-
90
- div.frontcover h1 {
91
- color: #f00;
92
- font-size: 46pt;
93
- }
94
-
95
- div.frontcover p {
96
- font-size: 18pt;
97
- }
98
-
99
- div.frontcover p.description {
100
- color: #666;
101
- font: italic normal normal 14pt/normal Baskerville, "Hoefler Text", Garamond, "Times New Roman", serif;
102
- margin-top: -.1in;
103
- }
104
-
105
- div.frontcover p.authors {
106
- color: #000;
107
- font-style: italic;
108
- position: absolute;
109
- top: 0;
110
- }
111
-
112
- div.frontcover * {
113
- margin: 0;
114
- }
115
-
116
- /* =========== */
117
- /* = CHAPTER = */
118
- /* =========== */
119
- #chapters {
120
- counter-reset: page 1;
121
- counter-reset: chapter;
122
- page-break-before: always;
123
- }
124
-
125
- .chapter {
126
- color: #444;
127
- counter-reset: footnote 0;
128
- page-break-after: always;
129
- }
130
-
131
- .chapter a {
132
- color: #0AE;
133
- text-decoration: none;
134
- }
135
-
136
- .chapter h2,
137
- .chapter h3,
138
- .chapter h4,
139
- .chapter h5 {
140
- margin: 25pt 0 15pt 0;
141
- }
142
-
143
- .chapter h2 {
144
- color: #222;
145
- counter-increment: chapter;
146
- font-size: 36pt;
147
- line-height: 1;
148
- string-set: header "Chapter " counter(chapter) ": " content();
149
- }
150
-
151
- .chapter h2::before {
152
- content: "Chapter " counter(chapter);
153
- color: #999;
154
- display: block;
155
- font-size: 18pt;
156
- letter-spacing: 0;
157
- margin-bottom: .2em;
158
- white-space: pre;
159
- }
160
-
161
- .chapter h3,
162
- .chapter h5 {
163
- font-family: "helvetica", arial, sans-serif;
164
- }
165
-
166
- .chapter h3 {
167
- color: #b62f32;
168
- font-size: 28px;
169
- }
170
-
171
- .chapter h4 {
172
- font-size: 18px;
173
- font-family: "helvetica neue", "arial narrow", sans-serif;
174
- }
175
-
176
- .chapter h5 {
177
- font-size: 15px;
178
- }
179
-
180
- .chapter h6 {
181
- font-size: 15px;
182
- font-weight: normal;
183
- text-transform: uppercase;
184
- }
185
-
186
- /* =========== */
187
- /* = IMPRINT = */
188
- /* =========== */
189
- .imprint {
190
- background: #E2E7E2;
191
- page: cover;
192
- string-set: header "";
193
- }
194
-
195
- .imprint, .imprint * {
196
- color: #5b5b5b;
197
- }
198
-
199
- .imprint * {
200
- font-family: "Lucida Grande", arial, sans-serif;
201
- font-size: 10pt;
202
- margin: 0 0 2pt 0;
203
- }
204
-
205
- .imprint div {
206
- left: 0.5in;
207
- position: absolute;
208
- bottom: 0.3in;
209
- }
210
-
211
- /* ========== */
212
- /* = CODING = */
213
- /* ========== */
214
- pre, code {
215
- color: #090;
216
- font-family: monaco, monospace;
217
- font-size: 9pt;
218
- }
219
-
220
- pre, pre code {
221
- font-size: 8pt;
222
- line-height: 1.4;
223
- padding-left: 25pt;
224
- }
225
-
226
- /* ========= */
227
- /* = TABLE = */
228
- /* ========= */
229
- table {
230
- border-collapse: collapse;
231
- }
232
-
233
- thead th {
234
- background: #e9e9e9;
235
- }
236
-
237
- th, td {
238
- border: 1px solid #ccc;
239
- font-size: 11pt;
240
- padding: 5pt;
241
- }
242
-
243
- /* ========= */
244
- /* = LISTS = */
245
- /* ========= */
246
- li {
247
- margin-bottom: 8pt;
248
- }
249
-
250
- li ul,
251
- li ol {
252
- margin-left: 15pt;
253
- }
254
-
255
- /* ========== */
256
- /* = FIGURE = */
257
- /* ========== */
258
- .figure img:after {
259
- content: attr("alt");
260
- display: block;
261
- font-size: 10pt;
262
- }
263
-
264
- img {
265
- max-width: none;
266
- prince-image-resolution: 96dpi;
267
- }
268
-
269
- .figure {
270
- float: right;
271
- margin: 0 0 20pt 20pt;
272
- overflow: auto;
273
- text-align: center;
274
- }
275
-
276
- /* ===================== */
277
- /* = TABLE OF CONTENTS = */
278
- /* ===================== */
279
- div.table-of-contents {
280
- page: toc;
281
- }
282
-
283
- div.table-of-contents h2 {
284
- font-size: 36pt;
285
- }
286
-
287
- div.table-of-contents a {
288
- font-size: 11pt;
289
- text-decoration: none;
290
- }
291
-
292
- div.table-of-contents div.level2 a {
293
- color: #000;
294
- font-weight: bold;
295
- }
296
-
297
- div.table-of-contents #toc {
298
- column-count: 2;
299
- column-fill: auto;
300
- column-gap: 5%;
301
- column-rule: none;
302
- column-width: 45%;
303
- }
304
-
305
- div.table-of-contents #toc div {
306
- padding-bottom: 10px;
307
- }
308
-
309
- div.table-of-contents div.level3 {
310
- margin-left: 20px;
311
- }
312
-
313
- div.table-of-contents #toc div.level3 a {
314
- color: #555;
315
- }
316
-
317
- div.table-of-contents div a::before {
318
- color: #888;
319
- content: target-counter(attr(href), page) " ";
320
- float: left;
321
- font-weight: normal;
322
- font-size: 11pt !important;
323
- margin-right: 4px;
324
- width: 40px;
325
- }
326
-
327
- div.table-of-contents div.level3 a::before {
328
- width: 20px;
329
- }
330
-
331
- div.table-of-contents div.level4,
332
- div.table-of-contents div.level5,
333
- div.table-of-contents div.level6 {
334
- display: none;
335
- }
336
-
337
- /* ===================== */
338
- /* = OTHER TEXT TWEAKS = */
339
- /* ===================== */
340
- acronym:after {
341
- content: " (" attr(title) ")";
342
- }
343
-
344
- /* ============= */
345
- /* = HIGHLIGHT = */
346
- /* ============= */
347
- .highlight {
348
- font-size: 20pt;
349
- }
350
-
351
- .highlight strong {
352
- color: #b62f32;
353
- }
@@ -1 +0,0 @@
1
- /* add custom CSS */