39f126c249160bfd992eb23ab8e3268bbd8d061c
[src/app-framework-main.git] / docs / resources / ebook.css
1 /* IoT.Bzh theaming */
2
3 h1 {
4     color: #330066;
5     border-bottom: 2px solid #330066;
6 }
7
8 h2 {
9     color: #330066;
10 }
11
12 h3 {
13     color: #330066;
14 }
15
16 h4 {
17     color: #330066;
18 }
19
20
21 /* GENERAL ELEMENTS */
22
23 /* clear both */
24
25 .clear {
26     clear: both;
27 }
28
29 .section> :last-child {
30     margin-bottom: 0 !important;
31 }
32
33 .section> :first-child {
34     margin-top: 0 !important;
35 }
36
37
38 /* SPECIAL ELEMENTS */
39
40
41 /* page break always after element on pdf/print definition */
42
43 div.pagebreak {
44     page-break-after: always;
45 }
46
47
48 /* no page break inside element on pdf/print definition */
49
50 div.nopb {
51     page-break-inside: avoid !important;
52     margin: 4px 0 4px 0;
53 }
54
55
56 /* note blocks */
57
58 div.note {
59     background: #FCF8E3 none repeat scroll 0% 0%;
60     color: #8A6D3B;
61     padding: 15px;
62     margin-bottom: 10px;
63     border-bottom: 5px solid #DDD;
64     border-color: #FAEBCC;
65     page-break-inside: avoid;
66 }
67
68 div.note p {
69     padding-bottom: 0;
70     margin-bottom: 0;
71 }
72
73
74 /* images, figures and captions */
75
76 p img {
77     /* center all images */
78     display: block;
79     margin: 0 auto;
80     padding: 10px 0;
81 }
82
83 figure {
84     margin: 1.0em 0px;
85     padding: 10px 0;
86     text-align: center;
87     page-break-inside: avoid;
88     display: block;
89 }
90
91 figure img {
92     display: block;
93     margin: 0 auto;
94 }
95
96 figcaption {
97     clear: left;
98     margin: 1.0em 0 0 0;
99     text-align: center;
100     font-style: italic;
101     line-height: 1.5em;
102     font-size: 80%;
103     color: #666;
104     display: block;
105 }
106
107 .page .section p img {
108     margin-top: 10px;
109 }
110
111
112 /* ul, ol list margin fix */
113
114 .page .section ol,
115 .page .section ul {
116     margin-bottom: 10px;
117 }
118
119
120 /* blockquotes */
121
122 .page .section blockquote {
123     margin: 0 0 0 5%;
124     font-style: italic;
125 }
126
127
128 /* PAGE SPECIFIC */
129
130
131 /* set summary page to right side of the paper */
132
133 .page .toc h1 {
134     page-break-before: right;
135 }
136
137 .page .section.toc {
138     page-break-inside: always;
139 }
140
141 /* table headers */
142
143 div#README\.md table {
144     margin-top: 30px;
145     font-size: 95%;
146 }
147
148 div#README\.md table thead {
149     display: none;
150 }
151
152
153
154 /* CITATION AND IMAGES */
155
156
157 /* math image styles */
158
159 .page .section p img.svg,
160 .page .section p img.png {
161     margin-top: 0px;
162     margin-bottom: -2px;
163 }
164
165 .page .section p img.math {
166     vertical-align: middle;
167     height: auto;
168     width: auto;
169     margin-top: -4px;
170     max-height: 15px;
171 }
172
173 .page .section p img.math.line1 {
174     margin-top: -7px;
175     max-height: 19px;
176 }
177
178 .page .section p img.math.line2 {
179     margin-top: -1px;
180     max-height: 30px;
181 }
182
183
184 /* credits page */
185
186 .page .section ul.pictures {
187     margin-left: -30px;
188 }
189
190 .page .section ul.pictures li {
191     list-style: outside none none;
192 }
193
194 .page .section ul.pictures li a {
195     float: left;
196 }
197
198 .page .section ul.pictures li span {
199     display: block;
200     margin-left: 100px;
201 }
202
203
204
205 /* sub and super script */
206
207 .page .section sub {
208     font-size: 80%;
209     margin-left: 1px;
210 }
211
212
213 /* citations and references */
214
215 .page .section sup {
216     margin-left: -1px;
217     margin-right: 2px;
218     font-size: 80%;
219 }
220
221 .page .section sup:before {
222     content: " ";
223 }
224
225 .page .section ul.citations,
226 .page .section ul.references {
227     margin-left: -30px;
228 }
229
230
231 .page .section ul.citations li:nth-child(1) {
232     margin-top: 20px;
233     padding-top: 20px;
234     border-top: 1px solid #BBB;
235 }
236
237 .page .section ul.citations li,
238 .page .section ul.references li {
239     list-style: outside none none;
240 }
241
242 .page .section ul.citations li {
243     font-size: 80%;
244 }
245
246 .page .section ul.citations li>span:nth-child(1),
247 .page .section ul.references li>span:nth-child(1) {
248     display: block;
249     float: left;
250     text-align: left;
251     width: 70px
252 }
253
254 .page .section ul.citations li>span:nth-child(1) {
255     width: 50px
256 }
257
258 .page .section ul.references li div {
259     margin-left: 70px;
260 }
261
262 .page .section ul.citations li div {
263     margin-left: 50px;
264 }
265
266 .page .section a[href="#"],
267 .page .section a[href="#"]:link,
268 .page .section a[href="#"]:visited,
269 .page .section a[href="#"]:hover,
270 .page .section a[href="#"]:focus {
271     text-decoration: none;
272     color: inherit;
273     cursor: text;
274     font-style: italic;
275 }
276
277
278 /* self referential footnotes */
279
280 .page .section div[type="selfref"] a[href="#"],
281 .page .section div[type="selfref"] a[href="#"]:link,
282 .page .section div[type="selfref"] a[href="#"]:visited,
283 .page .section div[type="selfref"] a[href="#"]:hover,
284 .page .section div[type="selfref"] a[href="#"]:focus {
285     font-style: normal;
286 }
287
288 .page .section div[type="selfref"] span:nth-child(1) {
289     display: none;
290 }
291
292
293 /* page break always after element on pdf/print definition */
294
295 div.page-break {
296     page-break-inside: always;
297 }
298
299 div.page-break:before {
300     content: ' ';
301 }
302
303
304 /* no page break inside element on pdf/print definition */
305
306 div.nopb {
307     page-break-inside: avoid;
308 }
309
310 /* justify text */
311 p {
312     text-align: justify;
313 }
314
315 /* page header and footer */
316
317 .pdf-footer,
318 .pdf-header {
319     margin-top: 20px;
320     color: #aaa;
321 }
322
323 .pdf-header .header-left {
324     float: left;
325     margin-left: 2em;
326     margin-right: auto;
327 }
328
329 .pdf-header .header-right {
330     display: table;
331     margin-left: auto;
332     margin-right: 2em;
333 }
334
335 .pdf-footer .sub {
336     padding-top: 8px;
337     font-size: 70%;
338 }
339
340 .pdf-header .sub {
341     padding-top: 2px;
342     font-size: 70%;
343 }
344
345 .pdf-footer {
346     padding-top: 10px;
347     border-top: 1px solid #eee;
348 }
349
350 .pdf-footer .footer-left {
351     float: left;
352     margin-left: 2em;
353     margin-right: auto;
354 }
355
356 .pdf-footer .footer-center {
357     display: table;
358     margin-left: auto;
359     margin-right: auto;
360 }
361
362 .pdf-footer .footer-right {
363     float: right;
364     margin-left: auto;
365     margin-right: 2em;
366 }
367
368 .pdf-header {
369     padding-bottom: 10px;
370     border-bottom: 1px solid #eee;
371 }
372
373 .pdf-header .header-pages-count {
374     float: right;
375     text-align: right;
376 }
377
378 .pdf-header .header-pages-count a,
379 .pdf-header .header-pages-count a:visited,
380 .pdf-header .header-pages-count a:active,
381 .pdf-header .header-pages-count a:focus,
382 .pdf-header .header-pages-count a:link {
383     text-decoration: none;
384     color: #aaa;
385     cursor: text;
386 }