metanorma-bipm 0.0.1

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