metanorma-iso 2.1.7 → 2.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/rake.yml +3 -1
  3. data/.github/workflows/release.yml +24 -0
  4. data/lib/isodoc/iso/html/html_iso_titlepage.html +2 -2
  5. data/lib/isodoc/iso/html/style-human.scss +35 -1
  6. data/lib/isodoc/iso/html/style-iso.scss +36 -1
  7. data/lib/isodoc/iso/i18n-en.yaml +4 -0
  8. data/lib/isodoc/iso/i18n-fr.yaml +5 -0
  9. data/lib/isodoc/iso/i18n-ru.yaml +4 -0
  10. data/lib/isodoc/iso/i18n-zh-Hans.yaml +5 -0
  11. data/lib/isodoc/iso/init.rb +4 -0
  12. data/lib/isodoc/iso/iso.amendment.xsl +126 -162
  13. data/lib/isodoc/iso/iso.international-standard.xsl +126 -162
  14. data/lib/isodoc/iso/presentation_xml_convert.rb +18 -0
  15. data/lib/isodoc/iso/xref.rb +35 -4
  16. data/lib/metanorma/iso/base.rb +4 -0
  17. data/lib/metanorma/iso/biblio.rng +8 -5
  18. data/lib/metanorma/iso/cleanup.rb +5 -0
  19. data/lib/metanorma/iso/front_id.rb +59 -25
  20. data/lib/metanorma/iso/section.rb +5 -0
  21. data/lib/metanorma/iso/validate.rb +3 -2
  22. data/lib/metanorma/iso/version.rb +1 -1
  23. data/lib/metanorma/requirements/modspec.rb +60 -0
  24. data/lib/metanorma/requirements/requirements.rb +16 -0
  25. data/lib/metanorma-iso.rb +2 -1
  26. data/metanorma-iso.gemspec +1 -1
  27. data/spec/assets/iso.adoc +10 -0
  28. data/spec/examples/rice_img/1000-1_ed2amd3fig1a.png +0 -0
  29. data/spec/examples/rice_img/1000-1_ed2amd3fig1b.png +0 -0
  30. data/spec/examples/rice_img/1000-1_ed2amd3fig2.png +0 -0
  31. data/spec/examples/rice_img/1000-1_ed2amd3fig3.png +0 -0
  32. data/spec/examples/rice_img/1000-1_ed2amd3fig4.png +0 -0
  33. data/spec/examples/rice_img/1000-1_ed2amd3fig5_f.png +0 -0
  34. data/spec/examples/rice_img/1000-1_ed2amd3figA.png +0 -0
  35. data/spec/examples/rice_img/1000-1_ed2amd3figA1.png +0 -0
  36. data/spec/examples/rice_img/1000-1_ed2amd3figA2.png +0 -0
  37. data/spec/examples/rice_img/1000-1_ed2amd3figTab1.png +0 -0
  38. data/spec/examples/rice_img/1000-1_ed2amd3figTab2.png +0 -0
  39. data/spec/examples/rice_img/1001_ed2amd3fig1.png +0 -0
  40. data/spec/examples/rice_img/ISO_1213_1.png +0 -0
  41. data/spec/examples/rice_img/SL1000-1_ed2amd3fig1.png +0 -0
  42. data/spec/isodoc/ref_spec.rb +9 -9
  43. data/spec/metanorma/amd_spec.rb +0 -10
  44. data/spec/metanorma/base_spec.rb +0 -10
  45. data/spec/metanorma/cleanup_spec.rb +136 -0
  46. data/spec/metanorma/macros_spec.rb +99 -0
  47. data/spec/metanorma/processor_spec.rb +86 -86
  48. data/spec/metanorma/validate_spec.rb +41 -40
  49. data/spec/requirements/requirements_spec.rb +1299 -0
  50. data/spec/requirements/xref_spec.rb +1205 -0
  51. data/spec/vcr_cassettes/docrels.yml +385 -0
  52. metadata +40 -25
  53. data/lib/isodoc/iso/html/htmlstyle.css +0 -47
  54. data/lib/isodoc/iso/html/isodoc-dis.css +0 -4493
  55. data/lib/isodoc/iso/html/isodoc.css +0 -1346
  56. data/lib/isodoc/iso/html/style-human.css +0 -1030
  57. data/lib/isodoc/iso/html/style-iso.css +0 -1056
  58. data/lib/isodoc/iso/html/wordstyle-dis.css +0 -2280
  59. data/lib/isodoc/iso/html/wordstyle.css +0 -1728
@@ -1,1030 +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
- 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
- h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
374
- margin-bottom: 1em; }
375
-
376
- h1,
377
- h2,
378
- h3,
379
- h4,
380
- h5,
381
- h6,
382
- .h1, .h2, .h3, .h4, .h5, .h6 {
383
- line-height: 1.2; }
384
-
385
- /* override for amendments */
386
- {% if doctype == "Amendment" or doctype == "Technical Corrigendum" %}
387
- h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
388
- font-weight: normal;
389
- font-size: initial;
390
- font-style: italic;
391
- line-height: 2em;
392
- margin-top: 2em;
393
- margin-bottom: 1em; }
394
-
395
- {% endif %}
396
- h2 p, .h2 p {
397
- display: inline; }
398
-
399
- p {
400
- margin-top: 1em;
401
- margin-bottom: 1em;
402
- line-height: 1.2em; }
403
-
404
- p.zzSTDTitle1 {
405
- font-weight: 700;
406
- font-size: 1.5em; }
407
-
408
- p.zzSTDTitle2 {
409
- font-size: 1.5em; }
410
-
411
- span.obligation {
412
- font-weight: 400; }
413
-
414
- a {
415
- color: black;
416
- text-decoration-color: black; }
417
-
418
- h2 p, .h2 p {
419
- display: inline; }
420
-
421
- ul > li {
422
- list-style: none; }
423
-
424
- ul > li > p:first-child:before {
425
- content: "\2014";
426
- display: inline-block;
427
- width: 1em;
428
- margin-left: -1.5em;
429
- margin-right: 0.5em; }
430
-
431
- li p {
432
- /* display: inline-block; */
433
- margin-bottom: 0.6em;
434
- line-height: 1.2; }
435
-
436
- #toc li:before {
437
- content: " ";
438
- display: none; }
439
-
440
- p.AltTerms {
441
- margin-bottom: 0;
442
- margin-left: 2em; }
443
-
444
- p.Terms {
445
- margin-top: 0em; }
446
-
447
- /* Navigation*/
448
- #toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
449
- font-family: {{bodyfont}};
450
- font-weight: 400; }
451
- #toc ul, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul {
452
- margin: 0;
453
- padding: 0;
454
- list-style: none; }
455
- #toc ul li a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul li a {
456
- padding: 5px 10px; }
457
- #toc ul a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a {
458
- text-decoration: none;
459
- display: block; }
460
- #toc ul a:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
461
- box-shadow: none;
462
- color: white; }
463
- #toc .h2, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h2 {
464
- padding-left: 30px; }
465
- #toc .h3, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h3 {
466
- padding-left: 50px; }
467
- #toc .toc-active, #toc li:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
468
- background: #1d1d1d;
469
- box-shadow: inset -5px 0px 10px -5px #1d1d1d !important; }
470
- #toc .toc-active a, #toc li:hover a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
471
- color: white; }
472
- @media print {
473
- #toc .toc-active, #toc li:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
474
- background: white;
475
- box-shadow: none !important; }
476
- #toc li:hover a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
477
- color: black; } }
478
- @media screen and (max-width: 768px) {
479
- #toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
480
- padding: 0 1.5em;
481
- overflow: visible; } }
482
- #toc li:before, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:before {
483
- content: " ";
484
- display: none; }
485
-
486
- #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
487
- margin-top: 0;
488
- margin-bottom: 0;
489
- font-size: 100%; }
490
-
491
- nav {
492
- line-height: 1.2em; }
493
- @media screen and (min-width: 768px) {
494
- nav {
495
- position: fixed;
496
- top: 0;
497
- bottom: 0;
498
- left: 0;
499
- width: 278px;
500
- font-size: 0.9em;
501
- overflow: auto;
502
- padding: 0 0 0 20px;
503
- background-color: #f7f7f7; } }
504
- @media print {
505
- nav {
506
- position: relative;
507
- width: auto;
508
- font-size: 0.9em;
509
- overflow: auto;
510
- padding: 0;
511
- margin-right: 0;
512
- background-color: white; } }
513
- #toggle {
514
- margin-left: -4em;
515
- margin-top: -2em; }
516
- @media screen and (min-width: 768px) {
517
- #toggle {
518
- position: fixed;
519
- height: 100%;
520
- width: 30px;
521
- background-color: black;
522
- color: white !important;
523
- cursor: pointer;
524
- z-index: 100; }
525
- #toggle span {
526
- text-align: center;
527
- width: 100%;
528
- position: absolute;
529
- top: 50%;
530
- transform: translate(0, -50%); } }
531
- @media screen and (max-width: 768px) {
532
- #toggle {
533
- display: none; } }
534
- @media print {
535
- #toggle {
536
- display: none; } }
537
- @media screen and (min-width: 768px) {
538
- .container {
539
- padding-left: 360px; }
540
- .rule.toc {
541
- display: none; }
542
- h1.toc-contents {
543
- margin-top: 1em; }
544
- ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
545
- padding: 0;
546
- margin: 0; } }
547
-
548
- @media screen and (max-width: 768px) {
549
- body {
550
- margin-left: 2em; }
551
- main {
552
- padding: 0; }
553
- .title-section,
554
- .prefatory-section {
555
- padding-left: 0;
556
- padding-top: 0;
557
- width: 100%; } }
558
-
559
- .figure,
560
- pre,
561
- .pseudocode {
562
- background-color: #f7f7f7;
563
- font-size: {{monospacefontsize}};
564
- line-height: 1.6em;
565
- padding: 1.5em;
566
- margin: 2em 0 1em 0;
567
- overflow: auto;
568
- font-size: {{normalfontsize}}; }
569
- .figure .SourceTitle,
570
- pre .SourceTitle,
571
- .pseudocode .SourceTitle {
572
- font-weight: 700;
573
- font-size: 1em;
574
- text-align: center; }
575
-
576
- div.figure {
577
- line-height: 1.6em;
578
- padding: 1.5em;
579
- margin: 2em 0 1em 0;
580
- overflow: auto; }
581
- div.figure .FigureTitle, div.figure .figure-title {
582
- font-weight: 700;
583
- font-size: 1em;
584
- text-align: center; }
585
- div.figure > img {
586
- margin-left: auto;
587
- margin-right: auto;
588
- display: block;
589
- max-width: 100%;
590
- height: auto; }
591
-
592
- /*
593
- Document types + stages
594
- */
595
- .document-type-band {
596
- left: 0;
597
- top: 180px;
598
- height: 100%;
599
- position: fixed;
600
- display: block;
601
- z-index: 102; }
602
- .document-type-band > :first-child {
603
- position: relative;
604
- width: 25px;
605
- font-weight: 400;
606
- color: white;
607
- text-transform: uppercase;
608
- font-size: 0.9em;
609
- font-weight: 400;
610
- letter-spacing: 0.05em;
611
- margin: 0;
612
- margin-left: 6px;
613
- writing-mode: tb-rl;
614
- -webkit-transform: rotate(180deg);
615
- -moz-transform: rotate(180deg);
616
- -o-transform: rotate(180deg);
617
- white-space: nowrap;
618
- display: block;
619
- bottom: 0; }
620
- @media print {
621
- .document-type-band {
622
- display: none; } }
623
- .document-type-band .document-type {
624
- top: 20px; }
625
-
626
- .document-stage-band {
627
- left: 0;
628
- top: 0;
629
- height: 100%;
630
- position: fixed;
631
- display: block;
632
- z-index: 101;
633
- box-shadow: -5px 0px 10px #1d1d1d; }
634
- .document-stage-band > :first-child {
635
- position: relative;
636
- width: 25px;
637
- font-weight: 400;
638
- height: 100%;
639
- color: white;
640
- text-transform: uppercase;
641
- font-size: 0.9em;
642
- font-weight: 400;
643
- letter-spacing: 0.05em;
644
- margin: 0;
645
- margin-left: 6px;
646
- writing-mode: tb-rl;
647
- -webkit-transform: rotate(180deg);
648
- -moz-transform: rotate(180deg);
649
- -o-transform: rotate(180deg);
650
- white-space: nowrap;
651
- display: block;
652
- bottom: 0; }
653
- @media print {
654
- .document-stage-band {
655
- display: none; } }
656
- p.document-stage {
657
- position: relative;
658
- width: 25px;
659
- font-weight: 400;
660
- height: 210px;
661
- color: white;
662
- text-transform: uppercase;
663
- font-size: 0.9em;
664
- font-weight: 400;
665
- letter-spacing: 0.05em;
666
- margin: 0;
667
- margin-left: 6px;
668
- writing-mode: tb-rl;
669
- -webkit-transform: rotate(180deg);
670
- -moz-transform: rotate(180deg);
671
- -o-transform: rotate(180deg);
672
- white-space: nowrap;
673
- display: block;
674
- bottom: 0;
675
- writing-mode: vertical-rl; }
676
-
677
- #governance-band p.document-type {
678
- font-weight: 400;
679
- height: 230px !important; }
680
-
681
- p.document-stage {
682
- font-weight: 300;
683
- height: 160px; }
684
-
685
- #standard-band {
686
- background-color: #0ac442; }
687
-
688
- #standard {
689
- border-bottom: solid 3px #0ac442; }
690
-
691
- #governance {
692
- border-bottom: solid 3px #750697; }
693
-
694
- #governance-band {
695
- background-color: #750697; }
696
-
697
- #guide {
698
- border-bottom: solid 3px #48a0e7; }
699
-
700
- #guide-band {
701
- background-color: #48a0e7; }
702
-
703
- .coverpage-maturity {
704
- font-family: 'Overpass', sans-serif;
705
- font-weight: 400;
706
- font-size: 1em;
707
- margin: 0 0 2em 0;
708
- text-transform: uppercase; }
709
-
710
- #working-draft {
711
- border-bottom: solid 3px #fda706; }
712
-
713
- #working-draft-band {
714
- background-color: #fda706; }
715
-
716
- #committee-draft {
717
- border-bottom: solid 3px #fd06fd; }
718
-
719
- #committee-draft-band {
720
- background-color: #fd06fd; }
721
-
722
- #draft-standard {
723
- border-bottom: solid 3px #fdf906; }
724
-
725
- #draft-standard {
726
- border-bottom: solid 3px #fdf906; }
727
-
728
- #standard {
729
- border-bottom: solid 3px #0ac442; }
730
-
731
- #standard-band {
732
- background-color: #0ac442; }
733
-
734
- #obsolete {
735
- border-bottom: solid 3px #7e0d13; }
736
-
737
- #obsolete-band {
738
- background-color: #7e0d13; }
739
-
740
- /* 3 Other styles */
741
- /*
742
- 3.2 Links
743
- */
744
- a {
745
- color: black;
746
- text-decoration-color: black; }
747
-
748
- /*
749
- 3.3 Lists
750
- */
751
- ul,
752
- ol {
753
- margin-left: 2em; }
754
-
755
- #toc-list ul {
756
- margin-bottom: 0.25em; }
757
-
758
- #toc-list ol li {
759
- list-style-type: none; }
760
-
761
- /*
762
- 3.4 Rules
763
- */
764
- .rule {
765
- width: 100%;
766
- height: 1px;
767
- background-color: #0e1a85;
768
- margin: 2em 0; }
769
-
770
- /*
771
- 3.5 Bibliograhy
772
- */
773
- p.Biblio,
774
- p.NormRef {
775
- margin-top: 1em;
776
- margin-left: 2em; }
777
-
778
- /*
779
- 3.6 Source Code + figures
780
- */
781
- .figure,
782
- pre,
783
- .pseudocode {
784
- background-color: #f7f7f7;
785
- font-size: {{monospacefontsize}};
786
- line-height: 1.6em;
787
- padding: 1.5em;
788
- margin: 2em 0 1em 0;
789
- overflow: auto;
790
- font-size: {{normalfontsize}}; }
791
- .figure .SourceTitle,
792
- pre .SourceTitle,
793
- .pseudocode .SourceTitle {
794
- font-weight: 700;
795
- font-size: 1em;
796
- text-align: center; }
797
-
798
- pre {
799
- font-family: {{monospacefont}};
800
- font-variant-ligatures: none; }
801
-
802
- .AdmonitionTitle {
803
- font-weight: 700;
804
- font-size: 1em;
805
- text-align: center; }
806
-
807
- .RecommendationTitle {
808
- font-weight: 700;
809
- font-size: 1em;
810
- text-align: center; }
811
-
812
- .ListTitle {
813
- font-weight: 700;
814
- font-size: 1em;
815
- text-align: center;
816
- text-align: left; }
817
-
818
- .figure-title,
819
- .FigureTitle,
820
- .SourceTitle,
821
- .AdmonitionTitle,
822
- .RecommendationTitle {
823
- font-weight: 700;
824
- font-size: 1em;
825
- text-align: center; }
826
-
827
- /*
828
- 3.7 Notes
829
- */
830
- .Note,
831
- .note {
832
- background-color: #fff495;
833
- color: #47430c;
834
- padding: 0.5em;
835
- margin: 1.5em 0 1.5em 0;
836
- text-align: left; }
837
-
838
- .Note p,
839
- .note p {
840
- margin: 0; }
841
-
842
- .Admonition {
843
- background-color: #ffcccc;
844
- color: #47430c;
845
- padding: 0.5em;
846
- margin: 1.5em 0 1.5em 0;
847
- text-align: left; }
848
-
849
- .Admonition p {
850
- margin: 0; }
851
-
852
- /*
853
- 3.8 Examples
854
- */
855
- .example {
856
- background-color: #e1eef1;
857
- padding: 0.5em;
858
- margin: 2em 0 1em 0;
859
- text-align: left;
860
- color: #424242;
861
- padding-left: 2em;
862
- color: black;
863
- padding-left: 2em; }
864
- .example p {
865
- margin: 0; }
866
- .example .example-title {
867
- font-weight: 700;
868
- text-transform: uppercase;
869
- margin-left: -1.5em; }
870
- .example .example-title {
871
- margin-left: -1.5em; }
872
- .example pre,
873
- .example .pseudocode {
874
- background: none; }
875
-
876
- /*
877
- 3.9 Tables
878
- */
879
- table {
880
- width: 100%;
881
- font-weight: 300;
882
- margin: 1em 0 2em 0;
883
- margin-left: auto;
884
- margin-right: auto;
885
- padding-right: 2em;
886
- text-align: center; }
887
- table, table th, table td {
888
- border: 1px solid black;
889
- font-size: 0.95em; }
890
- table th, table td {
891
- padding: 1em; }
892
- table td.header {
893
- font-weigth: 400; }
894
-
895
- td,
896
- th {
897
- padding: 1em !important; }
898
-
899
- p.TableTitle {
900
- text-align: center;
901
- margin-top: 2.5em;
902
- font-weight: 800;
903
- font-size: 1.1em; }
904
-
905
- .TableFootnote {
906
- text-align: left !important; }
907
-
908
- /*
909
- 3.10 Footnotes
910
- */
911
- a.footnote-number,
912
- a.TableFootnoteRef,
913
- span.TableFootnoteRef {
914
- vertical-align: super;
915
- font-size: 0.8em; }
916
-
917
- .footnote {
918
- font-size: {{footnotefontsize}}; }
919
-
920
- sup a {
921
- vertical-align: super;
922
- font-size: 0.8em; }
923
-
924
- #footnote_box {
925
- font-size: {{footnotefontsize}};
926
- background: white;
927
- padding: 0 10px;
928
- margin: 10px;
929
- border: 1px solid #888;
930
- -moz-box-shadow: 0px 0px 5px #888;
931
- -webkit-box-shadow: 0px 0px 5px #888;
932
- box-shadow: 0px 0px 5px #888; }
933
-
934
- ol.footnotes-list,
935
- aside.footnote {
936
- margin-left: 1em; }
937
-
938
- ol.footnotes-list li,
939
- aside.footnote {
940
- font-size: {{footnotefontsize}};
941
- vertical-align: top;
942
- list-style: decimal;
943
- margin-bottom: 1em; }
944
-
945
- ol.footnotes-list:first-child {
946
- margin-top: 2em; }
947
-
948
- ol.footnotes-list p,
949
- aside.footnote {
950
- display: inline; }
951
-
952
- ol > li > p:before {
953
- content: "";
954
- display: none; }
955
-
956
- /*
957
- 3.11 Blockquotes
958
- */
959
- .Quote {
960
- background-color: #f7f7f7;
961
- font-style: italic;
962
- width: 80%;
963
- padding: 1.5em;
964
- margin-top: 2em;
965
- margin-left: auto;
966
- margin-right: auto; }
967
-
968
- /*
969
- 3.12 Formulas
970
- */
971
- .formula {
972
- background-color: #f7f7f7;
973
- padding: 1.5em;
974
- margin-top: 2em;
975
- text-align: center;
976
- margin-left: 20%;
977
- margin-right: 20%;
978
- font-size: {{smallerfontsize}}; }
979
-
980
- dl.formula_dl {
981
- background-color: #f7f7f7;
982
- margin-left: 20%;
983
- margin-right: 20%;
984
- font-size: {{smallerfontsize}}; }
985
-
986
- /*
987
- Keywords
988
- */
989
- span.keyword {
990
- font-weight: 600; }
991
-
992
- .Admonition,
993
- .admonition {
994
- background-color: #ffb3b3;
995
- /* color: #47430c;*/
996
- padding: 0.5em;
997
- margin: 1.5em 0 1.5em 0;
998
- text-align: left; }
999
-
1000
- .Admonition p,
1001
- .admonition p,
1002
- .zzHelp p {
1003
- margin: 0; }
1004
-
1005
- div.zzHelp {
1006
- color: green;
1007
- padding: 0.5em;
1008
- margin: 1.5em 0 1.5em 0;
1009
- text-align: left; }
1010
-
1011
- /* Collapse TOC */
1012
- .collapse-group {
1013
- display: flex;
1014
- align-items: center;
1015
- position: relative; }
1016
-
1017
- .collapse-button {
1018
- position: absolute;
1019
- right: 0;
1020
- display: inline-block;
1021
- height: 20px;
1022
- width: 20px;
1023
- cursor: pointer;
1024
- 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>'); }
1025
-
1026
- .collapse {
1027
- display: none; }
1028
-
1029
- .expand {
1030
- transform: rotateZ(-180deg); }