metanorma-iso 1.10.2 → 1.10.6

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