metanorma-iso 1.4.0 → 1.5.0

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