metanorma-unece 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +1 -0
  3. data/.hound.yml +3 -0
  4. data/.rubocop.ribose.yml +66 -0
  5. data/.rubocop.tb.yml +650 -0
  6. data/.rubocop.yml +15 -0
  7. data/.travis.yml +21 -0
  8. data/CODE_OF_CONDUCT.md +74 -0
  9. data/Gemfile +4 -0
  10. data/LICENSE +25 -0
  11. data/README.adoc +202 -0
  12. data/Rakefile +6 -0
  13. data/bin/console +14 -0
  14. data/bin/rspec +17 -0
  15. data/bin/setup +8 -0
  16. data/lib/asciidoctor/unece.rb +7 -0
  17. data/lib/asciidoctor/unece/biblio.rng +880 -0
  18. data/lib/asciidoctor/unece/converter.rb +240 -0
  19. data/lib/asciidoctor/unece/isodoc.rng +1066 -0
  20. data/lib/asciidoctor/unece/isostandard.rng +1054 -0
  21. data/lib/asciidoctor/unece/unece.rng +247 -0
  22. data/lib/isodoc/unece.rb +9 -0
  23. data/lib/isodoc/unece/html/header.html +164 -0
  24. data/lib/isodoc/unece/html/html_unece_intro.html +27 -0
  25. data/lib/isodoc/unece/html/html_unece_titlepage.html +112 -0
  26. data/lib/isodoc/unece/html/htmlstyle.scss +1119 -0
  27. data/lib/isodoc/unece/html/logo.jpg +0 -0
  28. data/lib/isodoc/unece/html/scripts.html +82 -0
  29. data/lib/isodoc/unece/html/unece.scss +660 -0
  30. data/lib/isodoc/unece/html/word_unece_intro.html +24 -0
  31. data/lib/isodoc/unece/html/word_unece_plenary_titlepage.html +129 -0
  32. data/lib/isodoc/unece/html/word_unece_titlepage.html +17 -0
  33. data/lib/isodoc/unece/html/wordstyle.scss +1088 -0
  34. data/lib/isodoc/unece/html_convert.rb +392 -0
  35. data/lib/isodoc/unece/metadata.rb +93 -0
  36. data/lib/isodoc/unece/word_convert.rb +405 -0
  37. data/lib/metanorma-unece.rb +8 -0
  38. data/lib/metanorma/unece.rb +11 -0
  39. data/lib/metanorma/unece/UN_emblem_blue.svg +193 -0
  40. data/lib/metanorma/unece/processor.rb +40 -0
  41. data/lib/metanorma/unece/version.rb +5 -0
  42. data/metanorma-unece.gemspec +47 -0
  43. metadata +353 -0
@@ -0,0 +1,112 @@
1
+ <div class="document-stage-band" id='{{ status | downcase | replace: " ", "-" }}-band'>
2
+ <p class="document-stage">{{ status }}</p>
3
+ </div>
4
+
5
+ <div class="document-type-band" id='{{ doctype | downcase | replace: " ", "-" }}-band'>
6
+ <p class="document-type">UNECE {{ doctype }}</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
+ <span class="title-first">{{ doctitle }}</span>
28
+ <!--<span class="title-second">{{ docsubtitle }}</span>-->
29
+ </div>
30
+ </div>
31
+
32
+ <div class="coverpage-logo">
33
+ <span>UNECE {{ docyear }}</span>
34
+ </div>
35
+
36
+ <div class="coverpage-tc-name">
37
+ <span>{{ tc }}</span>
38
+ </div>
39
+ </div>
40
+
41
+ <div class="wrapper-top-bottom"></div>
42
+
43
+ <div class="WordSection11">
44
+ <div class="coverpage-stage-block" >
45
+ <span class="coverpage-stage" id="{{ doctype | replace: ' ', '-' | downcase }}">UNECE {{ doctype }}</span>
46
+ </div>
47
+
48
+ <div class="coverpage-stage-block" >
49
+ <p><span class="coverpage-maturity" id="{{ status | replace: ' ', '-' | downcase }}">{{ status }}</span></p>
50
+ {% if security %}
51
+ <p><span class="coverpage-maturity">Classification: {{ security }}</span></p>
52
+ {% endif %}
53
+ </div>
54
+
55
+ {% if doctype == "Policy And Procedures" or doctype == "Proposal" %}
56
+ <div class="coverpage-stage-block" >{{ revdate }}</div>
57
+ {% endif %}
58
+
59
+ {% if status != "Published" and status != "Withdrawn" %}
60
+ <div class="coverpage-warning">
61
+ <span class="title">Warning for Drafts</span>
62
+
63
+ <p class="content">
64
+ This document is not a UNECE Standard. It is distributed for review and
65
+ comment, and is subject to change without notice and may not be referred to as
66
+ a Standard. Recipients of this draft are invited to submit, with their
67
+ comments, notification of any relevant patent rights of which they are aware
68
+ and to provide supporting documentation.
69
+ </p>
70
+ </div>
71
+ {% endif %}
72
+
73
+ <div class="info-section">
74
+ <div class="copyright">
75
+ <p class="year">
76
+ &copy; {{ docyear }} United Nations.
77
+ </p>
78
+
79
+ <p class="message">
80
+ None of the materials provided on this web site may be used,
81
+ reproduced or transmitted, in whole or in part, in any form or by any
82
+ means, electronic or mechanical, including photocopying, recording or
83
+ the use of any information storage and retrieval system, except as
84
+ provided for in the Terms and Conditions of Use of United Nations Web
85
+ Sites, without permission in writing from the publisher. <br>
86
+ <br>
87
+ News-related material can be used as long as the appropriate credit is given and the United Nations is advised.<br>
88
+ <br>
89
+ To request such permission or for further enquires, please visit:
90
+ <a href="https://shop.un.org/rights-permissions">United Nations Publications: Rights and Permissions.</a><br>
91
+ </p>
92
+
93
+ <div class="contact-info">
94
+ <p class="name">UN Economic Commission for Europe: Information Service</p>
95
+ <p class="address">
96
+ Palais des Nations<br />
97
+ CH-1211 Geneva 10<br />
98
+ Switzerland<br />
99
+ <br />
100
+ <a href="tel:+41(0)229171234">+41 (0) 22 917 12 34 (switchboard)</a><br />
101
+ <a href="mailto:unece_info@un.org">unece_info@un.org</a><br />
102
+ <a href="https://www.unece.org/">www.unece.org/</a>
103
+ </p>
104
+ </div>
105
+ </div>
106
+
107
+ <div class="rule"></div>
108
+ </div>
109
+ </div>
110
+
111
+
112
+ </header>
@@ -0,0 +1,1119 @@
1
+ /*
2
+ 0 CSS RESET
3
+ */
4
+
5
+ /* http://meyerweb.com/eric/tools/css/reset/
6
+ v2.0 | 20110126
7
+ License: none (public domain)
8
+ */
9
+
10
+ html, body, div, span, applet, object, iframe,
11
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
12
+ a, abbr, acronym, address, big, cite, code,
13
+ del, dfn, em, img, ins, kbd, q, s, samp,
14
+ small, strike, strong, sub, sup, tt, var,
15
+ b, u, i, center,
16
+ ol, ul, li,
17
+ fieldset, form, label, legend,
18
+ table, caption, tbody, tfoot, thead, tr, th, td,
19
+ article, aside, canvas, details, embed,
20
+ figure, figcaption, footer, header, hgroup,
21
+ menu, nav, output, ruby, section, summary,
22
+ time, mark, audio, video {
23
+ margin: 0;
24
+ padding: 0;
25
+ }
26
+
27
+ html, body, div, span, applet, object, iframe,
28
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
29
+ a, abbr, acronym, address, big, cite, code,
30
+ del, dfn, em, img, ins, kbd, q, s, samp,
31
+ small, strike, strong, sub, sup, tt, var,
32
+ b, u, i, center,
33
+ dl, dt, dd, ol, ul, li,
34
+ fieldset, form, label, legend,
35
+ table, caption, tbody, tfoot, thead, tr, th, td,
36
+ article, aside, canvas, details, embed,
37
+ figure, figcaption, footer, header, hgroup,
38
+ menu, nav, output, ruby, section, summary,
39
+ time, mark, audio, video {
40
+ border: 0;
41
+ font-size: 100%;
42
+ }
43
+
44
+ html, body, div, span, applet, object, iframe,
45
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
46
+ a, abbr, acronym, address, big, cite, code,
47
+ del, dfn, em, img, ins, kbd, q, s, samp,
48
+ small, strike, strong, tt, var,
49
+ b, u, i, center,
50
+ dl, dd, ol, ul, li,
51
+ fieldset, form, label, legend,
52
+ table, caption, tbody, tfoot, thead, tr, th, td,
53
+ article, aside, canvas, details, embed,
54
+ figure, figcaption, footer, header, hgroup,
55
+ menu, nav, output, ruby, section, summary,
56
+ time, mark, audio, video {
57
+ vertical-align: baseline;
58
+ }
59
+
60
+
61
+ html, body, div, span, applet, object, iframe,
62
+ p, blockquote,
63
+ a, abbr, acronym, address, big, cite,
64
+ del, dfn, em, img, ins, q, s,
65
+ small, strike, strong, sub, sup, var,
66
+ b, u, i, center,
67
+ dl, dt, dd, ol, ul, li,
68
+ fieldset, form, label, legend,
69
+ table, caption, tbody, tfoot, thead, tr, th, td,
70
+ article, aside, canvas, details, embed,
71
+ figure, figcaption, footer, header, hgroup,
72
+ menu, nav, output, ruby, section, summary,
73
+ time, mark, audio, video {
74
+ font-family: $bodyfont;
75
+ }
76
+
77
+ code, pre, tt, kbd, samp {
78
+ font-family: $monospacefont;
79
+ }
80
+
81
+ dl {
82
+ display: grid;
83
+ grid-template-columns: max-content auto;
84
+ }
85
+
86
+ dt {
87
+ grid-column-start: 1;
88
+ }
89
+
90
+ dd {
91
+ grid-column-start: 2;
92
+ }
93
+
94
+ dd p, dt p {
95
+ margin-top: 0px;
96
+ }
97
+
98
+ /* HTML5 display-role reset for older browsers */
99
+ article, aside, details, figcaption, figure,
100
+ footer, header, hgroup, menu, nav, section {
101
+ display: block;
102
+ }
103
+ body {
104
+ line-height: 1;
105
+ }
106
+
107
+ blockquote, q {
108
+ quotes: none;
109
+ }
110
+ blockquote:before, blockquote:after,
111
+ q:before, q:after {
112
+ content: '';
113
+ content: none;
114
+ }
115
+ table {
116
+ border-collapse: collapse;
117
+ border-spacing: 0;
118
+ }
119
+
120
+
121
+ /*
122
+ 1. HTML & Body
123
+ */
124
+
125
+ /* http://www.un.org/styleguide/ color */
126
+ $un-blue: #00ADEF;
127
+
128
+ /* http://www.99colors.net/name/united-nations-blue */
129
+ $un-classic-blue: #5b92e5;
130
+
131
+ /* http://www.un.org/styleguide/ label text */
132
+ $un-label: #4D4D4D;
133
+
134
+ /* http://www.un.org/styleguide/ brand-bar */
135
+ $un-gray: #f2f2f2;
136
+
137
+ $un-black: #000;
138
+
139
+ /* http://www.un.org/styleguide/ p */
140
+ $un-text: #333;
141
+
142
+ /* RT: I made this up */
143
+ $un-link: #00ADEF;
144
+
145
+ body {
146
+ margin: 0;
147
+ margin-left: auto;
148
+ margin-right: auto;
149
+ max-width: 100%;
150
+ color: $un-text;
151
+ font-weight: 400;
152
+ font-size: 15px;
153
+ line-height: 1.4em;
154
+ background-color: #ffffff;
155
+ }
156
+
157
+ p {
158
+ line-height: 1.6;
159
+ }
160
+
161
+ main {
162
+ margin: 0 3em 0 6em;
163
+ }
164
+
165
+ #toc{
166
+ font-family: $bodyfont;
167
+ font-weight: 400;
168
+ }
169
+
170
+ /*
171
+ 2. Responsive navigation layout
172
+ */
173
+
174
+
175
+ @media screen and (min-width: 768px) {
176
+ nav {
177
+ position: fixed;
178
+ top: 0;
179
+ bottom: 0;
180
+ left: 0;
181
+ width: 323px;
182
+ font-size: 0.9em;
183
+ overflow: auto;
184
+ padding: 0 0 0 45px;
185
+ margin-right: 30px;
186
+ background-color: #f2f2f2;
187
+ }
188
+
189
+ #toggle {
190
+ position: fixed;
191
+ height: 100%;
192
+ width: 30px;
193
+ background-color: $un-blue;
194
+ color: white!important;
195
+ cursor: pointer;
196
+ z-index: 100;
197
+ }
198
+
199
+ #toggle span {
200
+ text-align: center;
201
+ width: 100%;
202
+ position: absolute;
203
+ top: 50%;
204
+ transform: translate(0, -50%);
205
+
206
+ }
207
+
208
+ .container {
209
+ padding-left: 360px;
210
+ }
211
+
212
+ .rule.toc {
213
+ display: none;
214
+ }
215
+
216
+ h1.toc-contents {
217
+ margin-top: 1em;
218
+ }
219
+
220
+ ul#toc-list {
221
+ padding:0;
222
+ margin:0;
223
+ }
224
+ }
225
+
226
+ @media screen and (max-width: 768px) {
227
+ #toc {
228
+ padding: 0 1.5em 0 1.5em;
229
+ overflow: visible;
230
+ }
231
+ }
232
+
233
+ @media screen {
234
+ img {
235
+ width: 100%;
236
+ height: auto;
237
+ }
238
+ }
239
+
240
+ #toc ul {
241
+ margin: 0;
242
+ padding: 0;
243
+ list-style: none;
244
+ }
245
+
246
+ #toc li {
247
+ padding: 5px 10px;
248
+ }
249
+
250
+ #toc a {
251
+ color: $un-text;
252
+ text-decoration: none;
253
+ display: block;
254
+ }
255
+
256
+ #toc a:hover {
257
+ /* color: white;*/
258
+ }
259
+
260
+ #toc .h2 {
261
+ padding-left: 30px;
262
+ }
263
+
264
+ #toc .h3 {
265
+ padding-left: 50px;
266
+ }
267
+
268
+ #toc .toc-active a {
269
+ color: white;
270
+ }
271
+
272
+ #toc .toc-active,
273
+ #toc li:hover {
274
+ background: linear-gradient(280deg, $un-blue, $un-classic-blue);
275
+ box-shadow: inset -5px 0px 10px -5px $un-blue!important;
276
+ }
277
+
278
+ #toc li:hover a {
279
+ color: white;
280
+ background: none;
281
+ box-shadow: none;
282
+ }
283
+
284
+ #toc li a {
285
+ /* text-transform: uppercase;*/
286
+ }
287
+
288
+ /*
289
+ Document types + stages
290
+ */
291
+
292
+ .document-type-band {
293
+ left:0;
294
+ top:180px;
295
+ height: 100%;
296
+ position: fixed;
297
+ display: block;
298
+ z-index: 99;
299
+ /*box-shadow: -5px 0px 10px #1d1d1d*/
300
+
301
+ }
302
+
303
+ .document-stage-band {
304
+ left:0;
305
+ top:0;
306
+ height: 100%;
307
+ position: fixed;
308
+ display: block;
309
+ z-index: 98;
310
+ box-shadow: -5px 0px 10px #1d1d1d
311
+ }
312
+
313
+ .document-type {
314
+ position: relative;
315
+ width: 25px;
316
+ }
317
+
318
+ .document-stage {
319
+ position: relative;
320
+ width: 25px;
321
+ }
322
+
323
+ p.document-type, p.document-stage {
324
+ color: white;
325
+ text-transform: uppercase;
326
+ font-size: 0.9em;
327
+ font-weight: 400;
328
+ letter-spacing: 0.05em;
329
+ margin:0;
330
+ margin-left: 6px;
331
+ writing-mode:tb-rl;
332
+ -webkit-transform:rotate(180deg);
333
+ -moz-transform:rotate(180deg);
334
+ -o-transform: rotate(180deg);
335
+ white-space:nowrap;
336
+ display:block;
337
+ bottom:0;
338
+ }
339
+
340
+ p.document-type {
341
+ font-weight: 400;
342
+ height: 150;
343
+ }
344
+
345
+ #governance-band p.document-type {
346
+ font-weight: 400;
347
+ height: 230px!important;
348
+ }
349
+
350
+ p.document-stage {
351
+ font-weight: 300;
352
+ height:160px;
353
+ }
354
+
355
+ #standard-band p{
356
+ height: 270px;
357
+ }
358
+
359
+ #proposal-band p {
360
+ height: 150px;
361
+ }
362
+
363
+
364
+ #standard-band, #published-band {
365
+ background-color: #9ABD48;
366
+ }
367
+
368
+ #standard, #published {
369
+ border-bottom: solid 3px #9ABD48;
370
+ }
371
+
372
+ #governance, #policy-and-procedures {
373
+ border-bottom: solid 3px #750697;
374
+ }
375
+
376
+ #governance-band, #policy-and-procedures-band {
377
+ background-color: #750697;
378
+ }
379
+
380
+ #guide {
381
+ border-bottom: solid 3px #48a0e7;
382
+ }
383
+
384
+ #guide-band {
385
+ background-color: #48a0e7;
386
+ }
387
+
388
+ .coverpage-maturity {
389
+ font-family: $bodyfont;
390
+ font-weight: 400;
391
+ font-size: 1em;
392
+ margin: 0 0 2em 0;
393
+ text-transform: uppercase;
394
+ }
395
+
396
+ #working-draft, #proposal {
397
+ border-bottom: solid 3px #F7803C;
398
+ }
399
+
400
+ #working-draft-band, #proposal-band {
401
+ background-color: #F7803C;
402
+ }
403
+
404
+ #committee-draft {
405
+ border-bottom: solid 3px #fd06fd;
406
+ }
407
+
408
+ #committee-draft-band {
409
+ background-color: #fd06fd;
410
+ }
411
+
412
+ #draft-standard {
413
+ border-bottom: solid 3px #fdf906;
414
+ }
415
+
416
+ #draft-standard-band {
417
+ background-color: #fdf906;
418
+ }
419
+
420
+ #standard {
421
+ border-bottom: solid 3px #9ABD48;
422
+ }
423
+
424
+ #standard-band {
425
+ background-color: #9ABD48;
426
+ }
427
+
428
+ #obsolete {
429
+ border-bottom: solid 3px #7e0d13;
430
+ }
431
+
432
+ #obsolete-band {
433
+ background-color: #7e0d13;
434
+ }
435
+
436
+ /*
437
+ 3. TYPOGRAPHY
438
+ */
439
+
440
+ /*
441
+ 3.1 Titles
442
+ */
443
+
444
+ h1, h2, h3, h4, h5, h6, .h2Annex {
445
+ font-family: $headerfont;
446
+ color: $un-blue;
447
+ font-weight: 700;
448
+ line-height: 1.1;
449
+ margin-top: 1.6em;
450
+ margin-bottom: 0.3em;
451
+ }
452
+
453
+ h1, h2, h3 {
454
+ margin-top: 18px;
455
+ margin-bottom: 9px;
456
+ }
457
+
458
+ h1 {
459
+ font-size: 33px;
460
+ font-weight: 500;
461
+ margin: 0.67em 0;
462
+ letter-spacing: -0.02em;
463
+ color: $un-label;
464
+ }
465
+
466
+
467
+ h2 {
468
+ font-size: 27px;
469
+ color: $un-label;
470
+ }
471
+
472
+ h3 {
473
+ font-size: 24px;
474
+ margin-top: 26px;
475
+ color: black;
476
+ }
477
+
478
+ h4 {
479
+ font-size: 18.2px;
480
+ margin-bottom: 2px;
481
+ color: $un-label;
482
+ letter-spacing: 0.03em;
483
+ }
484
+
485
+ h5 {
486
+ font-size: 16.25px;
487
+ color: black;
488
+ margin-bottom: 2px;
489
+ }
490
+
491
+ h6 {
492
+ font-size: 13px;
493
+ color: $un-label;
494
+ letter-spacing: 0.05em;
495
+ }
496
+
497
+
498
+ /* h1 {
499
+ font-size: 1.6em;
500
+ text-transform: uppercase;
501
+ margin-top: 2em;
502
+ }
503
+
504
+ h1#content {
505
+ margin-top: 2em;
506
+ }
507
+
508
+ h2 {
509
+ margin-top: 1.3em;
510
+ font-size: 1.3em;
511
+ font-weight: 400;
512
+ }
513
+
514
+ h3 {
515
+ margin-top: 1.1em;
516
+ font-size: 1.1em;
517
+ font-weight: 100;
518
+ }*/
519
+
520
+ .TermNum, .Terms, .AltTerms {
521
+ color: $un-blue;
522
+ font-weight: 100;
523
+ }
524
+
525
+ h2.TermNum {
526
+ margin-bottom: 0;
527
+ }
528
+
529
+ p.Terms {
530
+ font-size: 1.1em;
531
+ line-height: 1.5em;
532
+ margin: 0;
533
+ }
534
+
535
+ p.AltTerms {
536
+ /*
537
+ font-style: italic;
538
+ */
539
+ font-size: 1.1em;
540
+ margin: 0;
541
+ }
542
+
543
+ /*
544
+ 3.2 Links
545
+ */
546
+
547
+ a, a:visited{
548
+ text-decoration: none;
549
+ color: $un-link;
550
+ }
551
+
552
+ a:hover {
553
+ color: white;
554
+ background: $un-blue;
555
+ box-shadow: 3px 0 0 $un-blue, -3px 0 0 $un-blue;
556
+ /* padding: 2px 0 2px 0; */
557
+ }
558
+
559
+ ::selection {
560
+ background: $un-blue; /* WebKit/Blink Browsers */
561
+ color: white;
562
+ }
563
+
564
+ ::-moz-selection {
565
+ background: $un-blue; /* Gecko Browsers */
566
+ color: white;
567
+ }
568
+
569
+ .contact-info a:hover {
570
+ color: $un-link;
571
+ text-decoration: underline;
572
+ background: none;
573
+ box-shadow: 0 0 0 0;
574
+ }
575
+
576
+
577
+
578
+ /*
579
+ 3.3 Lists
580
+ */
581
+
582
+ ul, ol {
583
+ margin-left: 1.2em;
584
+ }
585
+
586
+ ul li p:first-child {
587
+ display: inline;
588
+ }
589
+
590
+ ul li:first-child {
591
+ margin-top: 1em;
592
+ }
593
+
594
+ #toc-list ul {
595
+ margin-bottom: 0.25em;
596
+ }
597
+
598
+ #toc-list li {
599
+ list-style-type: none;
600
+ }
601
+
602
+ #toc li:before {
603
+ content: " ";
604
+ display: none;
605
+ }
606
+
607
+ main ul li {
608
+ list-style-type: disc;
609
+ list-style-position: outside;
610
+ margin-bottom: 0.5em;
611
+ margin-left: 1em;
612
+ }
613
+
614
+
615
+ /*
616
+ 3.4 Rules
617
+ */
618
+
619
+ .rule {
620
+ width: 100%;
621
+ height: 1px;
622
+ background-color: #eee;
623
+ margin: 2em 0;
624
+ }
625
+
626
+ /*
627
+ 3.5 Bibliograhy
628
+ */
629
+
630
+ p.Biblio, p.NormRef {
631
+ margin-top: 1em;
632
+ margin-left: 2em;
633
+ }
634
+
635
+ /*
636
+ 3.6 Source Code + figures
637
+ */
638
+
639
+ .figure, .Sourcecode {
640
+ font-family: $monospacefont;
641
+ background-color: $un-gray;
642
+ font-size: 0.8em;
643
+ line-height: 1.6em;
644
+ padding: 1.5em;
645
+ margin: 2em 0 1em 0;
646
+ overflow: auto;
647
+ }
648
+
649
+ .FigureTitle {
650
+ font-weight: 700;
651
+ font-size: 1em;
652
+ text-align: center;
653
+ }
654
+
655
+ div.Admonition {
656
+ border: 2px solid black;
657
+ padding: 6pt;
658
+ }
659
+
660
+ /*
661
+ 3.7 Notes
662
+ */
663
+
664
+ .Note {
665
+ background-color: #fff495;
666
+ color: #47430c;
667
+ padding: 1.2em;
668
+ margin: 1em 0 1em 0;
669
+
670
+ p {
671
+ margin: 0;
672
+ }
673
+ }
674
+
675
+ /*
676
+ 3.8 Examples
677
+ */
678
+
679
+ .example {
680
+ background-color: #e1eef1;
681
+ padding: 1.2em;
682
+ margin: 2em 0 1em 0;
683
+ }
684
+
685
+ .example .example-title {
686
+ font-weight: 700;
687
+ text-transform: uppercase;
688
+ text-align: center;
689
+ margin-top:0;
690
+ }
691
+
692
+ /*
693
+ 3.9 Tables
694
+ */
695
+
696
+ table {
697
+ border-collapse: collapse;
698
+ width: 100%;
699
+ font-weight: 300;
700
+ margin: 1em 0 2em 0;
701
+ margin-left: auto;
702
+ margin-right: auto;
703
+ padding-right: 2em;
704
+ }
705
+
706
+ table, th, td {
707
+ border: 1px solid black;
708
+ font-size: 0.95em;
709
+ }
710
+
711
+ td, th {
712
+ padding: 1em;
713
+ }
714
+
715
+ td.header {
716
+ font-weight: 400;
717
+ }
718
+
719
+ p.TableTitle {
720
+ text-align: center;
721
+ margin-top: 2.5em;
722
+ font-weight: 400;
723
+ }
724
+
725
+ /*
726
+ 3.10 Footnotes
727
+ */
728
+
729
+ a.footnote-number {
730
+ vertical-align: super;
731
+ font-size: 0.8em;
732
+ }
733
+
734
+ .footnote {
735
+ font-size: 0.9em;
736
+ }
737
+
738
+
739
+ /*
740
+ 3.11 Blockquotes
741
+ */
742
+
743
+ .Quote {
744
+ background-color: #f2f2f2;
745
+ font-style: italic;
746
+ width: 80%;
747
+ padding: 1.5em;
748
+ margin-top: 2em;
749
+ margin-left: auto;
750
+ margin-right: auto;
751
+ }
752
+
753
+
754
+ /*
755
+ 3.12 Formulas
756
+ */
757
+
758
+ .formula {
759
+ background-color: #f2f2f2;
760
+ padding: 1.5em;
761
+ margin-top: 2em;
762
+ text-align: center;
763
+ }
764
+
765
+ /*
766
+ 3.13 Contact Info
767
+ */
768
+
769
+ .contact-info {
770
+ /* padding: 2em;*/
771
+ margin-top: 5em;
772
+ text-align: left;
773
+ }
774
+
775
+ .contact-info a,
776
+ .contact-info a:hover {
777
+ color: $un-blue;
778
+ }
779
+
780
+ .contact-info p,
781
+ .contact-info a {
782
+ /* font-family: $monospacefont;*/
783
+ font-weight: 400;
784
+ }
785
+
786
+ /* http://www.un.org/styleguide/ labels */
787
+ .contact-info .name {
788
+ /* font-weight: 700;
789
+ font-size: 1.2em;
790
+ margin-bottom:0;*/
791
+ padding-left: 1px;
792
+ color: $un-label;
793
+ font-size: 18.2px;
794
+ text-transform: uppercase;
795
+ margin-top: 0;
796
+ letter-spacing: 0.03em;
797
+ border-bottom: $un-blue solid 3px;
798
+ padding-bottom: 7px;
799
+ margin-bottom: 9px;
800
+ }
801
+
802
+ .contact-info .address {
803
+ font-size: 1em;
804
+ line-height: 1.3em;
805
+ margin-top:0;
806
+ }
807
+
808
+ /*
809
+ Keywords
810
+ */
811
+
812
+ span.keyword {
813
+ font-weight: 600;
814
+ }
815
+
816
+ /*
817
+ Paragraphs
818
+ */
819
+
820
+ p {
821
+ margin-top: 1em;
822
+ margin-bottom: 1em;
823
+ }
824
+
825
+ h2 p {
826
+ display: inline;
827
+ }
828
+
829
+
830
+ /*
831
+ 4.0 Page header
832
+ */
833
+
834
+ /*
835
+ 4.1 Top Logo
836
+ */
837
+
838
+ .icon-svg {
839
+ width: 100%;
840
+ color: #5ecf86;
841
+ }
842
+
843
+ .wrapper-top {
844
+ background: linear-gradient(85deg, $un-blue, $un-classic-blue);
845
+ color: #ffffff;
846
+ padding: 2em 0;
847
+ width: 100%;
848
+ }
849
+
850
+ .wrapper-top-bottom {
851
+ width: 0;
852
+ height: 0;
853
+ border-top: 100px solid $un-blue;
854
+ border-right: 100px solid transparent;
855
+ position: absolute;
856
+ }
857
+
858
+ .doc-number {
859
+ font-size: 0.5em;
860
+ font-family: $bodyfont;
861
+ }
862
+
863
+ .coverpage-title {
864
+ padding-bottom: 0.5em;
865
+ font-family: $headerfont;
866
+ font-size: 1.2em;
867
+ line-height: 1.5em;
868
+ font-weight: 100;
869
+ padding-left: 1em;
870
+ padding-right: 1em;
871
+ text-transform: uppercase;
872
+ }
873
+
874
+ .WordSection11 {
875
+ padding: 0 2em 0 3em;
876
+ }
877
+
878
+ .info-section {
879
+ padding: 0 2em;
880
+ }
881
+
882
+ .prefatory-section {
883
+ padding: 0 3em 0 6em;
884
+ }
885
+
886
+
887
+ .zzSTDTitle1, .MsoCommentText {
888
+ display: none;
889
+ }
890
+
891
+
892
+ .coverpage {
893
+ text-align: center;
894
+ padding-left: 1.5em;
895
+ }
896
+
897
+ .coverpage-logo span, .coverpage-tc-name span {
898
+ font-family: $bodyfont;
899
+ text-transform: none;
900
+ font-weight: 300;
901
+ }
902
+
903
+ .coverpage-tc-name {
904
+ font-size: 1.2em;
905
+ line-height: 1.2em;
906
+ margin: 0.25em 0;
907
+ }
908
+
909
+ /*
910
+ 4.2 Document Identity
911
+ */
912
+
913
+ .coverpage-doc-identity {
914
+ font-size: 2em;
915
+ line-height: 2em;
916
+ }
917
+
918
+ .coverpage-title .title-second {
919
+ display: none;
920
+ }
921
+
922
+ .coverpage-stage-block {
923
+ font-family: $bodyfont;
924
+ font-weight: 600;
925
+ font-size: 1.25em;
926
+ margin: 2em 0em 2em 0em;
927
+ text-transform: uppercase;
928
+ }
929
+
930
+ /*
931
+ 4.3 Draft Warning
932
+ */
933
+
934
+ .coverpage-warning {
935
+ border: #f36f36 solid 2px;
936
+ color: #f36f36 !important;
937
+ margin: 1em 2em;
938
+ padding: 2em 1em 1em 1em;
939
+ border-radius: 25px;
940
+ }
941
+
942
+ .coverpage-warning .title {
943
+ font-family: $headerfont;
944
+ font-weight: 300;
945
+ text-transform: uppercase;
946
+ font-size: 1.2em;
947
+ }
948
+
949
+
950
+ /*
951
+ 4.4 Copyright
952
+ */
953
+
954
+ .copyright {
955
+ padding: 1em;
956
+ font-size: 0.9em;
957
+ text-align: left;
958
+ }
959
+
960
+
961
+ /* .copyright .name, .copyright .address {color: $un-link;} */
962
+
963
+
964
+
965
+ /*
966
+ 5.0 Other styles
967
+ */
968
+
969
+
970
+
971
+ /*
972
+ To top button
973
+ */
974
+
975
+ #myBtn {
976
+ font-family: $monospacefont;
977
+ display: none;
978
+ position: fixed;
979
+ bottom: 20px;
980
+ right: 30px;
981
+ z-index: 99;
982
+ font-size: 12px;
983
+ border: none;
984
+ outline: none;
985
+ background-color: #1f8ca0;
986
+ opacity: 0.15;
987
+ color: white;
988
+ cursor: pointer;
989
+ padding: 10px 15px 10px 15px;
990
+ border-radius: 4px;
991
+ text-transform: uppercase;
992
+ }
993
+
994
+ #myBtn:hover {
995
+ opacity: 1;
996
+ }
997
+
998
+ a.anchorjs-link:hover {
999
+ background: none;
1000
+ color: $un-link;
1001
+ box-shadow: none;
1002
+ }
1003
+
1004
+ @page {
1005
+ margin: 2cm 1cm;
1006
+ }
1007
+
1008
+ @media print {
1009
+
1010
+ .document-info, nav, .copyright {
1011
+ page-break-before: always;
1012
+ }
1013
+
1014
+ nav {
1015
+ page-break-after: always;
1016
+ }
1017
+
1018
+ h1, h2, h3, h4 {
1019
+ page-break-after: avoid;
1020
+ margin-top: 1.2em;
1021
+ }
1022
+
1023
+ .note, .figure, .Sourcecode, table {
1024
+ page-break-inside: avoid;
1025
+ }
1026
+
1027
+ .info-section {
1028
+ display: none;
1029
+ }
1030
+
1031
+ .coverpage {
1032
+ height: 23cm;
1033
+ }
1034
+
1035
+ .wrapper-top {
1036
+ top: 0;
1037
+ padding-top: 4cm;
1038
+ padding-bottom: 4cm;
1039
+ }
1040
+
1041
+ .wrapper-top-bottom {
1042
+ margin-top: -5px;
1043
+ }
1044
+
1045
+
1046
+ #toggle, .document-stage-band,
1047
+ .document-type-band, button#myBtn {
1048
+ display: none;
1049
+ }
1050
+
1051
+ button#myBtn {
1052
+ background-color: white;
1053
+ }
1054
+
1055
+ .container {
1056
+ padding-left: 0;
1057
+ }
1058
+
1059
+ nav {
1060
+ position: relative;
1061
+ width: auto;
1062
+ font-size: 0.9em;
1063
+ overflow: auto;
1064
+ padding: 0;
1065
+ margin-right: 0;
1066
+ background-color: white;
1067
+ }
1068
+
1069
+ #toc .toc-active a {
1070
+ color: #4D7EA5;
1071
+ }
1072
+
1073
+ #toc .toc-active, #toc li:hover {
1074
+ background: white;
1075
+ box-shadow: none !important; }
1076
+
1077
+ #toc li:hover a {
1078
+ color: black; }
1079
+
1080
+
1081
+ h1.content {
1082
+ margin-top: 2em;
1083
+ line-height: 2.5em;
1084
+ }
1085
+
1086
+ h1 {
1087
+ font-size: 1.5em;
1088
+ line-height: 1.5;
1089
+ }
1090
+
1091
+ h2 {
1092
+ font-size: 1.2em
1093
+ }
1094
+
1095
+ h3 {
1096
+ font-size: 1em;
1097
+ }
1098
+
1099
+
1100
+ .Note {
1101
+ background-color: #fff495;
1102
+ color: #47430c;
1103
+ padding: 5px;
1104
+ margin: 2em 0 1em 0; }
1105
+
1106
+ .Note p {
1107
+ padding: 0 5px 0 5px;
1108
+ }
1109
+
1110
+ nav {
1111
+ line-height: 1;
1112
+ }
1113
+
1114
+ .wrapper-top-bottom {
1115
+ display: none;
1116
+ }
1117
+
1118
+ }
1119
+