metanorma-iso 1.10.6 → 2.0.0

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