metanorma-iec 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/bin/rspec +18 -0
  4. data/lib/asciidoctor/iec/biblio.rng +949 -0
  5. data/lib/asciidoctor/iec/converter.rb +68 -0
  6. data/lib/asciidoctor/iec/iec_intro_en.xml +15 -0
  7. data/lib/asciidoctor/iec/iec_intro_fr.xml +15 -0
  8. data/lib/asciidoctor/iec/isodoc.rng +1132 -0
  9. data/lib/asciidoctor/iec/isostandard.rng +789 -0
  10. data/lib/asciidoctor/iec/reqt.rng +162 -0
  11. data/lib/isodoc/iec/base_convert.rb +69 -0
  12. data/lib/isodoc/iec/html/header.html +160 -0
  13. data/lib/isodoc/iec/html/html_iec_intro.html +34 -0
  14. data/lib/isodoc/iec/html/html_iec_titlepage.html +62 -0
  15. data/lib/isodoc/iec/html/htmlstyle.scss +840 -0
  16. data/lib/isodoc/iec/html/isodoc.scss +785 -0
  17. data/lib/isodoc/iec/html/scripts.html +176 -0
  18. data/lib/isodoc/iec/html/word_iec_intro.html +72 -0
  19. data/lib/isodoc/iec/html/word_iec_titlepage.html +92 -0
  20. data/lib/isodoc/iec/html/wordstyle.scss +1849 -0
  21. data/lib/isodoc/iec/html_convert.rb +33 -0
  22. data/lib/isodoc/iec/i18n-en.yaml +3 -0
  23. data/lib/isodoc/iec/i18n-fr.yaml +3 -0
  24. data/lib/isodoc/iec/i18n-zh-Hans.yaml +3 -0
  25. data/lib/isodoc/iec/metadata.rb +20 -0
  26. data/lib/isodoc/iec/word_convert.rb +165 -0
  27. data/lib/metanorma-iec.rb +12 -0
  28. data/lib/metanorma/iec.rb +8 -0
  29. data/lib/metanorma/iec/processor.rb +40 -0
  30. data/lib/metanorma/iec/version.rb +6 -0
  31. data/metanorma-iec.gemspec +47 -0
  32. data/spec/asciidoctor-iec/base_spec.rb +609 -0
  33. data/spec/asciidoctor-iec/blocks_spec.rb +467 -0
  34. data/spec/asciidoctor-iec/cleanup_spec.rb +766 -0
  35. data/spec/asciidoctor-iec/inline_spec.rb +162 -0
  36. data/spec/asciidoctor-iec/lists_spec.rb +190 -0
  37. data/spec/asciidoctor-iec/macros_spec.rb +21 -0
  38. data/spec/asciidoctor-iec/refs_spec.rb +268 -0
  39. data/spec/asciidoctor-iec/section_spec.rb +341 -0
  40. data/spec/asciidoctor-iec/table_spec.rb +307 -0
  41. data/spec/asciidoctor-iec/validate_spec.rb +132 -0
  42. data/spec/examples/rice.adoc +723 -0
  43. data/spec/examples/rice.doc +19162 -0
  44. data/spec/examples/rice.html +1787 -0
  45. data/spec/examples/rice.xml +1951 -0
  46. data/spec/isodoc/i18n_spec.rb +642 -0
  47. data/spec/isodoc/inline_spec.rb +265 -0
  48. data/spec/isodoc/iso_spec.rb +319 -0
  49. data/spec/isodoc/metadata_spec.rb +153 -0
  50. data/spec/isodoc/postproc_spec.rb +569 -0
  51. data/spec/isodoc/section_spec.rb +686 -0
  52. data/spec/isodoc/terms_spec.rb +206 -0
  53. data/spec/isodoc/xref_spec.rb +1323 -0
  54. data/spec/metanorma/processor_spec.rb +88 -0
  55. data/spec/spec_helper.rb +253 -0
  56. metadata +325 -0
@@ -0,0 +1,840 @@
1
+ /*
2
+ 0 CSS RESET
3
+ */
4
+
5
+ /* http://meyerweb.com/eric/tools/css/reset/
6
+ v2.0 | 20110126
7
+ License: none (public domain)
8
+ */
9
+
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,
15
+ b, u, i, center,
16
+ ol, ul, li,
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 {
23
+ margin: 0;
24
+ padding: 0;
25
+ }
26
+
27
+ html, body, div, span, applet, object, iframe,
28
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
29
+ a, abbr, acronym, address, big, cite, code,
30
+ del, dfn, em, img, ins, kbd, q, s, samp,
31
+ small, strike, strong, sub, sup, tt, var,
32
+ b, u, i, center,
33
+ dl, dt, dd, ol, ul, li,
34
+ fieldset, form, label, legend,
35
+ table, caption, tbody, tfoot, thead, tr, th, td,
36
+ article, aside, canvas, details, embed,
37
+ figure, figcaption, footer, header, hgroup,
38
+ menu, nav, output, ruby, section, summary,
39
+ time, mark, audio, video {
40
+ border: 0;
41
+ font-size: 100%;
42
+ }
43
+
44
+ html, body, div, span, applet, object, iframe,
45
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
46
+ a, abbr, acronym, address, big, cite, code,
47
+ del, dfn, em, img, ins, kbd, q, s, samp,
48
+ small, strike, strong, tt, var,
49
+ b, u, i, center,
50
+ dl, dd, ol, ul, li,
51
+ fieldset, form, label, legend,
52
+ table, caption, tbody, tfoot, thead, tr, th, td,
53
+ article, aside, canvas, details, embed,
54
+ figure, figcaption, footer, header, hgroup,
55
+ menu, nav, output, ruby, section, summary,
56
+ time, mark, audio, video {
57
+ vertical-align: baseline;
58
+ }
59
+
60
+ html, body, div, span, applet, object, iframe,
61
+ p, blockquote,
62
+ a, abbr, acronym, address, big, cite,
63
+ del, dfn, em, img, ins, q, s,
64
+ small, strike, strong, sub, sup, var,
65
+ b, u, i, center,
66
+ dl, dt, dd, ol, ul, li,
67
+ fieldset, form, label, legend,
68
+ table, caption, tbody, tfoot, thead, tr, th, td,
69
+ article, aside, canvas, details, embed,
70
+ figure, figcaption, footer, header, hgroup,
71
+ menu, nav, output, ruby, section, summary,
72
+ time, mark, audio, video {
73
+ font-family: $bodyfont;
74
+ }
75
+
76
+ code, pre, tt, kbd, samp {
77
+ font-family: $monospacefont;
78
+ font-variant-ligatures: none;
79
+ }
80
+
81
+ code *, pre *, tt *, kbd *, samp * {
82
+ font-family: $monospacefont !important;
83
+ font-variant-ligatures: none;
84
+ }
85
+
86
+ dl {
87
+ display: grid;
88
+ grid-template-columns: max-content auto;
89
+ }
90
+
91
+ dt {
92
+ grid-column-start: 1;
93
+ }
94
+
95
+ dd {
96
+ grid-column-start: 2;
97
+ }
98
+
99
+ dd p, dt p {
100
+ margin-top: 0px;
101
+ }
102
+
103
+ h1, h2, h3, h4, h5, h6, .h2Annex {
104
+ font-family: $headerfont;
105
+ }
106
+
107
+
108
+ /* HTML5 display-role reset for older browsers */
109
+ article, aside, details, figcaption, figure,
110
+ footer, header, hgroup, menu, nav, section {
111
+ display: block;
112
+ }
113
+ body {
114
+ line-height: 1.3;
115
+ }
116
+ blockquote, q {
117
+ quotes: none;
118
+ }
119
+ blockquote:before, blockquote:after,
120
+ q:before, q:after {
121
+ content: '';
122
+ content: none;
123
+ }
124
+ table {
125
+ border-collapse: collapse;
126
+ border-spacing: 0;
127
+ }
128
+
129
+ /* New CSS */
130
+
131
+ body {
132
+ margin-left: 298px;
133
+ margin-right: 2em;
134
+ }
135
+
136
+ main {
137
+ padding-left: 4em;
138
+ padding-right: 2em;
139
+ }
140
+
141
+ .title-section, .prefatory-section {
142
+ padding-left: 4em;
143
+ padding-top: 2em;
144
+ }
145
+
146
+ .coverpage_docnumber, .coverpage_techcommittee {
147
+ text-align: right;
148
+ font-size: 0.9em;
149
+ line-height: 0.5em;
150
+ }
151
+
152
+ .doctitle-en, .doctitle-fr {
153
+ margin-top: 2em;
154
+ text-align: left;
155
+ }
156
+
157
+ .doctitle-en {
158
+ padding-left: 3em;
159
+ margin-left: -3em;
160
+ /*padding-top: 2em;*/
161
+ padding-bottom: 2em;
162
+
163
+ }
164
+
165
+ .doctitle-en span {
166
+ font-size: 2em;
167
+ line-height: 1.5em;
168
+ }
169
+
170
+
171
+ .doctitle-fr span {
172
+ font-size: 1.5em;
173
+ line-height: 1.2em;
174
+ font-style: italic;
175
+ }
176
+
177
+ .doctitle-part {
178
+ margin-top: 1em;
179
+ }
180
+
181
+ /*
182
+ span.title {
183
+ text-transform: uppercase;
184
+ font-size: 1em;
185
+ font-weight: 800;
186
+ }
187
+ */
188
+
189
+ span.title, span.subtitle, span.part {
190
+ font-weight: 800;
191
+ }
192
+
193
+ span.partlabel {
194
+ display: block;
195
+ }
196
+
197
+ .coverpage_docstage {
198
+ margin-top: 2em;
199
+ margin-bottom: 2em;
200
+ }
201
+
202
+ .coverpage_warning {
203
+ font-size: 0.9em;
204
+ font-style: italic;
205
+ padding-bottom: 1em;
206
+ }
207
+
208
+ .copyright .year, .copyright .message,
209
+ .copyright .name, .copyright .address {
210
+ margin-top: 1em;
211
+ display: block;
212
+ }
213
+
214
+ .copyright .message, .copyright .name,
215
+ .copyright .address {
216
+ font-size: 0.9em;
217
+ }
218
+
219
+ /* TYPOGRAPHY */
220
+
221
+ h1 {
222
+ font-size: 1.5em;
223
+ line-height: 2em;
224
+ margin-top: 2em;
225
+ margin-bottom: 1em;
226
+ }
227
+
228
+ h2 {
229
+ font-size: 1.2em;
230
+ line-height: 1.5em;
231
+ margin-top: 2em;
232
+ margin-bottom: 1em;
233
+ }
234
+
235
+ h1, h2, h3, h4, h5, h6 {
236
+ line-height: 1.2;
237
+ }
238
+
239
+ p {
240
+ margin-top: 1em;
241
+ margin-bottom: 1em;
242
+ }
243
+
244
+ p.zzSTDTitle1 {
245
+ font-weight: 700;
246
+ font-size: 1.5em;
247
+ text-transform: uppercase;
248
+ }
249
+
250
+ p.zzSTDTitle2 {
251
+ font-weight: 700;
252
+ font-size: 1.5em;
253
+ }
254
+
255
+ span.obligation {
256
+ font-weight: 400;
257
+ }
258
+
259
+ a {
260
+ color: black;
261
+ text-decoration-color: black;
262
+ }
263
+
264
+ nav a {
265
+ text-decoration: none;
266
+ color: black;
267
+ }
268
+
269
+ h2 p {
270
+ display: inline;
271
+ }
272
+
273
+
274
+ ul > li {
275
+ list-style: none;
276
+ }
277
+
278
+ ul > li > p:first-child:before {
279
+ content: "\2014";
280
+ display: inline-block;
281
+ width: 1em;
282
+ margin-left: -1.5em;
283
+ margin-right: 0.5em;
284
+ }
285
+
286
+ li p {
287
+ /* display: inline-block; */
288
+ margin-bottom: 0.6em;
289
+ line-height: 1.2;
290
+ }
291
+
292
+
293
+ #toc li:before {
294
+ content: " ";
295
+ display: none;
296
+ }
297
+
298
+ p.AltTerms {
299
+ margin-bottom: 0;
300
+ font-style: italic;
301
+ margin-left: 2em;
302
+ }
303
+
304
+ p.Terms {
305
+ font-weight: bold;
306
+ margin-top: 0em;
307
+ }
308
+
309
+ /* Navigation*/
310
+
311
+ @media screen and (min-width: 768px) {
312
+ nav {
313
+ position: fixed;
314
+ top: 0;
315
+ bottom: 0;
316
+ left: 0;
317
+ width: 278px;
318
+ font-size: 0.9em;
319
+ overflow: auto;
320
+ padding: 0 0 0 20px;
321
+ background-color:#f7f7f7;
322
+ line-height: 1.2em;
323
+ }
324
+
325
+ #toggle {
326
+ position: fixed;
327
+ height: 100%;
328
+ width: 30px;
329
+ border-right: solid black 1px;
330
+ background-color: #f7f7f7;
331
+ color: black!important;
332
+ cursor: pointer;
333
+ margin-left: -4em;
334
+ margin-top: -2em;
335
+ }
336
+
337
+ #toggle span {
338
+ text-align: center;
339
+ width: 100%;
340
+ position: absolute;
341
+ top: 50%;
342
+ transform: translate(0, -50%);
343
+
344
+ }
345
+
346
+
347
+ .container {
348
+ padding-left: 360px;
349
+ }
350
+
351
+ .rule.toc {
352
+ display: none;
353
+ }
354
+
355
+ h1.toc-contents {
356
+ margin-top: 1em;
357
+ }
358
+
359
+ ul#toc-list {
360
+ padding:0;
361
+ margin:0;
362
+ }
363
+ }
364
+
365
+ @media screen and (max-width: 768px) {
366
+ #toc {
367
+ padding: 0 1.5em 0 1.5em;
368
+ overflow: visible;
369
+ }
370
+
371
+ #toggle {
372
+ display: none;
373
+ margin-left: -4em;
374
+ margin-top: -2em;
375
+ }
376
+
377
+ body {
378
+ margin-left: 2em;
379
+ }
380
+
381
+ main {
382
+ padding: 0;
383
+ }
384
+
385
+ .title-section, .prefatory-section {
386
+ padding-left: 0;
387
+ padding-top: 0;
388
+ width: 100%;
389
+ }
390
+ }
391
+
392
+ div.figure > img {
393
+ margin-left: auto;
394
+ margin-right: auto;
395
+ display: block;
396
+ max-width: 100%;
397
+ height: auto;
398
+ }
399
+
400
+
401
+
402
+ #toc ul {
403
+ margin: 0;
404
+ padding: 0;
405
+ list-style: none;
406
+ }
407
+
408
+ #toc li a {
409
+ padding: 5px 10px;
410
+ }
411
+
412
+ #toc a {
413
+ text-decoration: none;
414
+ display: block;
415
+ }
416
+
417
+ #toc a:hover {
418
+ box-shadow: none;
419
+ color: black;
420
+ }
421
+
422
+ #toc .h2 {
423
+ padding-left: 30px;
424
+ }
425
+
426
+ #toc .h3 {
427
+ padding-left: 50px;
428
+ }
429
+
430
+ #toc .toc-active a {
431
+ color: black;
432
+ }
433
+
434
+ /*#toc .toc-active, #toc li:hover {
435
+ background: #1d1d1d;
436
+ box-shadow: inset -5px 0px 10px -5px #1d1d1d!important;
437
+ }*/
438
+
439
+ #toc .toc-active, #toc li:hover {
440
+ box-shadow: 0px 1px 0px 0px black!important;
441
+ color: black;
442
+ }
443
+
444
+ #toc li:hover a {
445
+ color: black;
446
+ }
447
+
448
+ /*
449
+ Document types + stages
450
+ */
451
+
452
+ .document-type-band {
453
+ left:0;
454
+ top:180px;
455
+ height: 100%;
456
+ position: fixed;
457
+ display: block;
458
+ z-index: 99;
459
+ /*box-shadow: -5px 0px 10px #1d1d1d*/
460
+
461
+ }
462
+
463
+ .document-stage-band {
464
+ left:0;
465
+ top:0;
466
+ height: 100%;
467
+ position: fixed;
468
+ display: block;
469
+ z-index: 98;
470
+ box-shadow: -5px 0px 10px #1d1d1d
471
+ }
472
+
473
+ .document-type {
474
+ position: relative;
475
+ width: 25px;
476
+ }
477
+
478
+ .document-stage {
479
+ position: relative;
480
+ width: 25px;
481
+ }
482
+
483
+ p.document-type, p.document-stage {
484
+ color: white;
485
+ text-transform: uppercase;
486
+ font-size: 0.9em;
487
+ font-weight: 400;
488
+ letter-spacing: 0.05em;
489
+ margin:0;
490
+ margin-left: 6px;
491
+ writing-mode:tb-rl;
492
+ -webkit-transform:rotate(180deg);
493
+ -moz-transform:rotate(180deg);
494
+ -o-transform: rotate(180deg);
495
+ white-space:nowrap;
496
+ display:block;
497
+ bottom:0;
498
+ }
499
+
500
+ p.document-type {
501
+ font-weight: 400;
502
+ height: 210px;
503
+ }
504
+
505
+ #governance-band p.document-type {
506
+ font-weight: 400;
507
+ height: 230px!important;
508
+ }
509
+
510
+ p.document-stage {
511
+ font-weight: 300;
512
+ height:160px;
513
+ }
514
+
515
+ #standard-band {
516
+ background-color: #0ac442;
517
+ }
518
+
519
+ #standard {
520
+ border-bottom: solid 3px #0ac442;
521
+ }
522
+
523
+ #governance {
524
+ border-bottom: solid 3px #750697;
525
+ }
526
+
527
+ #governance-band {
528
+ background-color: #750697;
529
+ }
530
+
531
+ #guide {
532
+ border-bottom: solid 3px #48a0e7;
533
+ }
534
+
535
+ #guide-band {
536
+ background-color: #48a0e7;
537
+ }
538
+
539
+ .coverpage-maturity {
540
+ font-family: 'Overpass', sans-serif;
541
+ font-weight: 400;
542
+ font-size: 1em;
543
+ margin: 0 0 2em 0;
544
+ text-transform: uppercase;
545
+ }
546
+
547
+ #working-draft {
548
+ border-bottom: solid 3px #fda706;
549
+ }
550
+
551
+ #working-draft-band {
552
+ background-color: #fda706;
553
+ }
554
+
555
+ #committee-draft {
556
+ border-bottom: solid 3px #fd06fd;
557
+ }
558
+
559
+ #committee-draft-band {
560
+ background-color: #fd06fd;
561
+ }
562
+
563
+ #draft-standard {
564
+ border-bottom: solid 3px #fdf906;
565
+ }
566
+
567
+ #draft-standard {
568
+ border-bottom: solid 3px #fdf906;
569
+ }
570
+
571
+ #standard {
572
+ border-bottom: solid 3px #0ac442;
573
+ }
574
+
575
+ #standard-band {
576
+ background-color: #0ac442;
577
+ }
578
+
579
+ #obsolete {
580
+ border-bottom: solid 3px #7e0d13;
581
+ }
582
+
583
+ #obsolete-band {
584
+ background-color: #7e0d13;
585
+ }
586
+
587
+
588
+ /* 3 Other styles */
589
+
590
+ /*
591
+ 3.3 Lists
592
+ */
593
+
594
+ ul, ol {margin-left: 2em;}
595
+
596
+ #toc-list ul {margin-bottom: 0.25em;}
597
+
598
+ #toc-list ol li {list-style-type: none;}
599
+
600
+ /*
601
+ 3.4 Rules
602
+ */
603
+
604
+ .rule {
605
+ width: 100%;
606
+ height: 1px;
607
+ background-color: #0e1a85;
608
+ margin: 2em 0;
609
+ }
610
+
611
+ /*
612
+ 3.5 Bibliograhy
613
+ */
614
+
615
+ p.Biblio, p.NormRef {
616
+ margin-top: 1em;
617
+ margin-left: 2em;
618
+ }
619
+
620
+ /*
621
+ 3.6 Source Code + figures
622
+ */
623
+
624
+ .Sourcecode {
625
+ font-family: $monospacefont;
626
+ font-variant-ligatures: none;
627
+ }
628
+
629
+ .figure, .Sourcecode {
630
+ background-color: #f7f7f7;
631
+ line-height: 1.6em;
632
+ padding: 1.5em;
633
+ margin: 2em 0 1em 0;
634
+ overflow: auto;
635
+ }
636
+
637
+ .figure-title, .FigureTitle, .SourceTitle, .AdmonitionTitle {
638
+ font-weight: 700;
639
+ font-size: 1em;
640
+ text-align: center;
641
+ }
642
+
643
+ /*
644
+ 3.7 Notes
645
+ */
646
+
647
+ .Note, .note {
648
+ background-color: #fff495;
649
+ color: #47430c;
650
+ padding: 0.5em;
651
+ margin: 1.5em 0 1.5em 0;
652
+ text-align: left;
653
+ }
654
+
655
+ .Note p, .note p {
656
+ margin: 0;
657
+ }
658
+
659
+ .Admonition {
660
+ background-color: #ffcccc;
661
+ color: #47430c;
662
+ padding: 0.5em;
663
+ margin: 1.5em 0 1.5em 0;
664
+ text-align: left;
665
+ }
666
+
667
+ .Admonition p {
668
+ margin: 0;
669
+ }
670
+
671
+
672
+ /*
673
+ 3.8 Examples
674
+ */
675
+
676
+ .example {
677
+ background-color: #e1eef1;
678
+ padding: 0.5em;
679
+ margin: 2em 0 1em 0;
680
+ text-align: left;
681
+ }
682
+
683
+ .example p {
684
+ margin: 0;
685
+ }
686
+
687
+ .example .example-title {
688
+ font-weight: 700;
689
+ text-transform: uppercase;
690
+ margin-top:0;
691
+ }
692
+
693
+
694
+ .example .Sourcecode {
695
+ background: none;
696
+ }
697
+
698
+ /*
699
+ 3.9 Tables
700
+ */
701
+
702
+ table {
703
+ border-collapse: collapse;
704
+ width: 100%;
705
+ font-weight: 300;
706
+ margin: 1em 0 2em 0;
707
+ margin-left: auto;
708
+ margin-right: auto;
709
+ padding-right: 2em;
710
+ text-align: center;
711
+ }
712
+
713
+ table, th, td {
714
+ border: 1px solid black;
715
+ font-size: 0.95em;
716
+ }
717
+
718
+ td, th {
719
+ padding: 1em!important;
720
+ }
721
+
722
+ td.header {
723
+ font-weight: 400;
724
+ }
725
+
726
+ p.TableTitle {
727
+ text-align: center;
728
+ margin-top: 2.5em;
729
+ font-weight: 800;
730
+ font-size: 1.1em;
731
+ }
732
+
733
+ .TableFootnote {
734
+ text-align: left!important;
735
+ }
736
+
737
+ /*
738
+ 3.10 Footnotes
739
+ */
740
+
741
+ a.footnote-number, a.TableFootnoteRef {
742
+ vertical-align: super;
743
+ font-size: 0.8em;
744
+ }
745
+
746
+ .footnote {
747
+ font-size: 0.9em;
748
+ }
749
+
750
+ sup a {
751
+ vertical-align: super;
752
+ font-size: 0.8em;
753
+ }
754
+ #footnote_box {
755
+ font-size: 14px;
756
+ background: white;
757
+ padding: 0 10px;
758
+ margin: 10px;
759
+ border: 1px solid #888;
760
+ -moz-box-shadow: 0px 0px 5px #888;
761
+ -webkit-box-shadow: 0px 0px 5px #888;
762
+ box-shadow: 0px 0px 5px #888;
763
+ }
764
+
765
+ ol.footnotes-list, aside.footnote {
766
+ margin-left: 1em;
767
+
768
+ }
769
+
770
+ ol.footnotes-list li, aside.footnote {
771
+ font-size: 0.9em;
772
+ vertical-align: top;
773
+ list-style:decimal;
774
+ margin-bottom: 1em;
775
+ }
776
+
777
+ ol.footnotes-list:first-child {
778
+ margin-top: 2em;
779
+ }
780
+
781
+ ol.footnotes-list p, aside.footnote p {
782
+ display: inline;
783
+ }
784
+
785
+ ol > li > p:before {
786
+ content: "";
787
+ display: none;
788
+ }
789
+
790
+
791
+ /*
792
+ 3.11 Blockquotes
793
+ */
794
+
795
+ .blockquote, .Quote {
796
+ background-color: #f7f7f7;
797
+ font-style: italic;
798
+ width: 80%;
799
+ padding: 1.5em;
800
+ margin-top: 2em;
801
+ margin-left: auto;
802
+ margin-right: auto;
803
+ }
804
+
805
+
806
+ /*
807
+ 3.12 Formulas
808
+ */
809
+
810
+ .formula {
811
+ background-color: #f7f7f7;
812
+ padding: 1.5em;
813
+ margin-top: 2em;
814
+ text-align: center;
815
+ margin-left: 20%;
816
+ margin-right: 20%;
817
+ }
818
+
819
+ /*
820
+ Keywords
821
+ */
822
+
823
+ span.keyword {
824
+ font-weight: 600;
825
+ }
826
+
827
+ .Admonition, .admonition {
828
+ background-color: #ffb3b3;
829
+ /* color: #47430c;*/
830
+ padding: 0.5em;
831
+ margin: 1.5em 0 1.5em 0;
832
+ text-align: left;
833
+ }
834
+
835
+ .Admonition p, .admonition p {
836
+ margin: 0;
837
+ }
838
+
839
+
840
+