metanorma-mpfd 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/.travis.yml +17 -0
  4. data/CODE_OF_CONDUCT.md +74 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE +25 -0
  7. data/README.adoc +1 -0
  8. data/Rakefile +6 -0
  9. data/bin/console +14 -0
  10. data/bin/rspec +18 -0
  11. data/bin/setup +8 -0
  12. data/lib/asciidoctor/mpfd/biblio.rng +836 -0
  13. data/lib/asciidoctor/mpfd/converter.rb +204 -0
  14. data/lib/asciidoctor/mpfd/isodoc.rng +1041 -0
  15. data/lib/asciidoctor/mpfd/isostandard.rng +1001 -0
  16. data/lib/asciidoctor/mpfd/pdf.js +31 -0
  17. data/lib/asciidoctor/mpfd/rsd.rng +212 -0
  18. data/lib/asciidoctor/mpfd/section.rb +94 -0
  19. data/lib/asciidoctor/mpfd/version.rb +5 -0
  20. data/lib/asciidoctor/mpfd.rb +9 -0
  21. data/lib/isodoc/mpfd/html/header.html +184 -0
  22. data/lib/isodoc/mpfd/html/html_rsd_intro.html +8 -0
  23. data/lib/isodoc/mpfd/html/html_rsd_titlepage.html +58 -0
  24. data/lib/isodoc/mpfd/html/htmlstyle.scss +1094 -0
  25. data/lib/isodoc/mpfd/html/logo.jpg +0 -0
  26. data/lib/isodoc/mpfd/html/logo.svg +1 -0
  27. data/lib/isodoc/mpfd/html/mpfa-logo-no-text@4x.png +0 -0
  28. data/lib/isodoc/mpfd/html/mpfa-logo@4x.png +0 -0
  29. data/lib/isodoc/mpfd/html/rsd.scss +564 -0
  30. data/lib/isodoc/mpfd/html/scripts.html +82 -0
  31. data/lib/isodoc/mpfd/html/word_rsd_intro.html +3 -0
  32. data/lib/isodoc/mpfd/html/word_rsd_titlepage.html +42 -0
  33. data/lib/isodoc/mpfd/html/wordstyle.scss +1096 -0
  34. data/lib/isodoc/mpfd/html_convert.rb +370 -0
  35. data/lib/isodoc/mpfd/i18n-en.yaml +1 -0
  36. data/lib/isodoc/mpfd/metadata.rb +98 -0
  37. data/lib/isodoc/mpfd/pdf_convert.rb +367 -0
  38. data/lib/isodoc/mpfd/word_convert.rb +347 -0
  39. data/lib/metanorma/mpfd/processor.rb +43 -0
  40. data/lib/metanorma/mpfd.rb +7 -0
  41. data/lib/metanorma-mpfd.rb +11 -0
  42. data/metanorma-mpfd.gemspec +46 -0
  43. metadata +326 -0
@@ -0,0 +1,1094 @@
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, pre,
63
+ a, abbr, acronym, address, big, cite, code,
64
+ del, dfn, em, img, ins, kbd, q, s, samp,
65
+ small, strike, strong, sub, sup, tt, 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
+ h1, h2, h3, h4, h5, h6, .h2Annex {
78
+ font-family: $headerfont;
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
+ strong {
121
+ font-weight: 800;
122
+ }
123
+
124
+
125
+ /*
126
+ 1. HTML & Body
127
+ */
128
+
129
+ body {
130
+ margin: 0;
131
+ margin-left: auto;
132
+ margin-right: auto;
133
+ max-width: 100%;
134
+ color: #301907;
135
+ font-weight: 300;
136
+ font-size: 15px;
137
+ line-height: 1.4em;
138
+ background-color: #f7f7f7;
139
+ }
140
+
141
+ main {margin: 0 0 0 6em;}
142
+
143
+ #toc{
144
+ font-family: $bodyfont;
145
+ font-weight: 400;
146
+ }
147
+
148
+ /*
149
+ 2. Responsive navigation layout
150
+ */
151
+
152
+
153
+ @media (min-width: 768px) {
154
+ nav {
155
+ position: fixed;
156
+ top: 0;
157
+ bottom: 0;
158
+ left: 0;
159
+ width: 328px;
160
+ font-size: 0.9em;
161
+ overflow: auto;
162
+ padding: 0 0 0 15px;
163
+ margin-right: 0px;
164
+ background-color:#f7f7f7;
165
+ }
166
+
167
+ #toggle {
168
+ position: fixed;
169
+ height: 100%;
170
+ width: 15px;
171
+ background-color:#301907;
172
+ color: white!important;
173
+ cursor: pointer;
174
+ z-index: 100;
175
+ }
176
+
177
+ #toggle span {
178
+ text-align: center;
179
+ width: 100%;
180
+ position: absolute;
181
+ top: 50%;
182
+ transform: translate(0, -50%);
183
+
184
+ }
185
+
186
+ .container {
187
+ padding-left: 343px;
188
+ }
189
+
190
+ .rule.toc {
191
+ display: none;
192
+ }
193
+
194
+ h1.toc-contents {
195
+ margin-top: 1em;
196
+ }
197
+
198
+ ul#toc-list {
199
+ padding:0;
200
+ margin:0;
201
+ }
202
+ }
203
+
204
+ @media (max-width: 768px) {
205
+ #toc {
206
+ padding: 0 1.5em 0 1.5em;
207
+ overflow: visible;
208
+ }
209
+ }
210
+
211
+
212
+
213
+ #toc ul {
214
+ margin: 0;
215
+ padding: 0;
216
+ list-style: none;
217
+ }
218
+
219
+ #toc li {
220
+ padding: 5px 10px;
221
+ }
222
+
223
+ #toc a {
224
+ color: #301907;
225
+ text-decoration: none;
226
+ display: block;
227
+ }
228
+
229
+ #toc a:hover {
230
+ color: white;
231
+ }
232
+
233
+ #toc .h2 {
234
+ padding-left: 30px;
235
+ }
236
+
237
+ #toc .h3 {
238
+ padding-left: 50px;
239
+ }
240
+
241
+ /*
242
+ #toc .toc-active a {
243
+ color: white;
244
+ }
245
+ */
246
+
247
+ #toc .toc-active, #toc li:hover {
248
+ border-bottom: solid 1px #301907 !important;
249
+ }
250
+
251
+ #toc li:hover a {
252
+ background: none;
253
+ box-shadow: none;
254
+ }
255
+
256
+ #toc li a {
257
+ text-transform: uppercase;
258
+ }
259
+
260
+ /*
261
+ Document types + stages
262
+ */
263
+
264
+ .document-type-band {
265
+ left:0;
266
+ top:180px;
267
+ height: 100%;
268
+ position: fixed;
269
+ display: block;
270
+ z-index: 99;
271
+ /*box-shadow: -5px 0px 10px #1d1d1d*/
272
+
273
+ }
274
+
275
+ .document-stage-band {
276
+ left:0;
277
+ top:0;
278
+ height: 100%;
279
+ position: fixed;
280
+ display: block;
281
+ z-index: 98;
282
+ box-shadow: -5px 0px 10px #1d1d1d
283
+ }
284
+
285
+ .document-type {
286
+ position: relative;
287
+ width: 25px;
288
+ }
289
+
290
+ .document-stage {
291
+ position: relative;
292
+ width: 25px;
293
+ }
294
+
295
+ p.document-type, p.document-stage {
296
+ color: white;
297
+ text-transform: uppercase;
298
+ font-size: 0.9em;
299
+ font-weight: 400;
300
+ letter-spacing: 0.05em;
301
+ margin:0;
302
+ margin-left: 6px;
303
+ writing-mode:tb-rl;
304
+ -webkit-transform:rotate(180deg);
305
+ -moz-transform:rotate(180deg);
306
+ -o-transform: rotate(180deg);
307
+ white-space:nowrap;
308
+ display:block;
309
+ bottom:0;
310
+ }
311
+
312
+ p.document-type {
313
+ font-weight: 400;
314
+ height: 150px;
315
+ }
316
+
317
+ #governance-band p.document-type {
318
+ font-weight: 400;
319
+ height: 230px!important;
320
+ }
321
+
322
+ p.document-stage {
323
+ font-weight: 300;
324
+ height:160px;
325
+ }
326
+
327
+ #standard-band p{
328
+ height: 270px;
329
+ }
330
+
331
+ #proposal-band p {
332
+ height: 150px;
333
+ }
334
+
335
+
336
+ #standard-band, #published-band {
337
+ background-color: #9ABD48;
338
+ }
339
+
340
+ #standard, #published {
341
+ border-bottom: solid 3px #9ABD48;
342
+ }
343
+
344
+ #governance, #policy-and-procedures {
345
+ border-bottom: solid 3px #750697;
346
+ }
347
+
348
+ #governance-band, #policy-and-procedures-band {
349
+ background-color: #750697;
350
+ }
351
+
352
+ #guide {
353
+ border-bottom: solid 3px #48a0e7;
354
+ }
355
+
356
+ #guide-band {
357
+ background-color: #48a0e7;
358
+ }
359
+
360
+ .coverpage-maturity {
361
+ font-family: $bodyfont;
362
+ font-weight: 400;
363
+ font-size: 1em;
364
+ margin: 0 0 2em 0;
365
+ text-transform: uppercase;
366
+ }
367
+
368
+ #working-draft, #proposal {
369
+ border-bottom: solid 3px #F7803C;
370
+ }
371
+
372
+ #working-draft-band, #proposal-band {
373
+ background-color: #F7803C;
374
+ }
375
+
376
+ #committee-draft {
377
+ border-bottom: solid 3px #fd06fd;
378
+ }
379
+
380
+ #committee-draft-band {
381
+ background-color: #fd06fd;
382
+ }
383
+
384
+ #draft-standard {
385
+ border-bottom: solid 3px #fdf906;
386
+ }
387
+
388
+ #draft-standard-band {
389
+ background-color: #fdf906;
390
+ }
391
+
392
+ #standard {
393
+ border-bottom: solid 3px #9ABD48;
394
+ }
395
+
396
+ #standard-band {
397
+ background-color: #9ABD48;
398
+ }
399
+
400
+ #obsolete {
401
+ border-bottom: solid 3px #7e0d13;
402
+ }
403
+
404
+ #obsolete-band {
405
+ background-color: #7e0d13;
406
+ }
407
+
408
+ /*
409
+ 3. TYPOGRAPHY
410
+ */
411
+
412
+ /*
413
+ 3.1 Titles
414
+ */
415
+
416
+ h1,h2,h3,h4,h5,h6 {
417
+ font-family: $headerfont;
418
+ color: #301907;
419
+ font-weight: 300;
420
+ margin-top: 2em;
421
+ }
422
+
423
+ h1 {
424
+ color: #301907;
425
+ font-size: 1.6em;
426
+ /* margin-top: 5em; */
427
+ margin-bottom: 30px;
428
+ margin-left: -75px;
429
+ padding: 45px 15px 15px 50px;
430
+ border-bottom: solid 5px #FD8924;
431
+ font-weight: 800;
432
+ }
433
+
434
+ h1#content {
435
+ margin-top: 0em;
436
+ margin-left: -2em;
437
+ }
438
+
439
+ h1.containerhdr {
440
+ font-size: 2em;
441
+ font-weight: 400;
442
+ margin-top: 2em;
443
+ margin-bottom: 30px;
444
+ border-bottom: none;
445
+ }
446
+
447
+ h2.containerhdr {
448
+ font-size: 1.8em;
449
+ font-weight: 400;
450
+ margin-left: -75px;
451
+ font-style: italic;
452
+ padding: 45px 15px 15px 50px;
453
+ }
454
+
455
+ h2 {
456
+ font-size: 1.5em;
457
+ font-weight: 400;
458
+ }
459
+
460
+ h3 {
461
+ font-size: 1.1em;
462
+ font-weight: 100;
463
+ }
464
+
465
+ .TermNum, .Terms, .AltTerms {
466
+ color: #301907;
467
+ font-weight: 100;
468
+ }
469
+
470
+ h2.TermNum {
471
+ font-size: 0.9em;
472
+ line-height: 1em;
473
+ margin: 0;
474
+ margin-top: 2em;
475
+ }
476
+
477
+ p.Terms {
478
+ font-size: 1.1em;
479
+ line-height: 1.7em;
480
+ margin: 0;
481
+ }
482
+
483
+ /*
484
+ 3.2 Links
485
+ */
486
+
487
+ a, a:visited{
488
+ text-decoration: none;
489
+ color: #485094;
490
+ }
491
+
492
+ a:hover {
493
+ color: white;
494
+ background: #301907;
495
+ box-shadow: 3px 0 0 #301907, -3px 0 0 #301907;
496
+ /* padding: 2px 0 2px 0; */
497
+ }
498
+
499
+ ::selection {
500
+ background: #1661AD; /* WebKit/Blink Browsers */
501
+ color: white;
502
+ }
503
+ ::-moz-selection {
504
+ background: #1661AD; /* Gecko Browsers */
505
+ color: white;
506
+ }
507
+
508
+ .contact-info a:hover {
509
+ color: #485094;
510
+ text-decoration: underline;
511
+ background: none;
512
+ box-shadow: 0 0 0 0;
513
+ }
514
+
515
+
516
+
517
+ /*
518
+ 3.3 Lists
519
+ */
520
+
521
+ ul, ol {margin-left: 1.2em;}
522
+
523
+ ul li {
524
+ list-style: none;
525
+ }
526
+
527
+ ul li:before {
528
+ content: "—";
529
+ display: inline-block; width: 1em;
530
+ margin-left: -1.2em;
531
+ }
532
+
533
+ ul li p {
534
+ display: inline;
535
+ }
536
+
537
+ ul li:first-child {
538
+ margin-top: 1em;
539
+ }
540
+
541
+ #toc-list ul {margin-bottom: 0.25em;}
542
+
543
+ #toc-list li {list-style-type: none;}
544
+
545
+ #toc li:before {
546
+ content: " ";
547
+ display: none;
548
+ }
549
+
550
+
551
+ /*
552
+ 3.4 Rules
553
+ */
554
+
555
+ .rule {
556
+ width: 100%;
557
+ height: 1px;
558
+ background-color: #0e1a85;
559
+ margin: 2em 0;
560
+ }
561
+
562
+ /*
563
+ 3.5 Bibliograhy
564
+ */
565
+
566
+ p.Biblio, p.NormRef {
567
+ margin-top: 1em;
568
+ margin-left: 2em;
569
+ }
570
+
571
+ /*
572
+ 3.6 Source Code + figures
573
+ */
574
+
575
+ .figure, .Sourcecode {
576
+ font-family: $monospacefont;
577
+ background-color: #f7f7f7;
578
+ font-size: 0.8em;
579
+ line-height: 1.6em;
580
+ padding: 1.5em;
581
+ margin: 2em 0 1em 0;
582
+ overflow: auto;
583
+ }
584
+
585
+ .FigureTitle {
586
+ font-weight: 700;
587
+ font-size: 1em;
588
+ text-align: center;
589
+ }
590
+
591
+ /*
592
+ 3.7 Notes
593
+ */
594
+
595
+ .Note {
596
+ background-color: #fff495;
597
+ color: #47430c;
598
+ padding: 1.2em;
599
+ margin: 2em 0 1em 0;
600
+
601
+ }
602
+
603
+ /*
604
+ 3.8 Examples
605
+ */
606
+
607
+ .example {
608
+ background-color: #e1eef1;
609
+ margin: 2em 0 1em 0;
610
+ }
611
+
612
+ table.example {
613
+ padding: 1.2em;
614
+ }
615
+
616
+ .example .example-title {
617
+ font-weight: 700;
618
+ text-transform: uppercase;
619
+ text-align: center;
620
+ margin-top:0;
621
+ }
622
+
623
+ /*
624
+ 3.9 Tables
625
+ */
626
+
627
+ table {
628
+ border-collapse: collapse;
629
+ width: 100%;
630
+ font-weight: 300;
631
+ margin: 1em 0 2em 0;
632
+ margin-left: auto;
633
+ margin-right: auto;
634
+ padding-right: 2em;
635
+ }
636
+
637
+ table, th, td {
638
+ border: 1px solid black;
639
+ font-size: 0.95em;
640
+ }
641
+
642
+ td, th {
643
+ padding: 1em;
644
+ }
645
+
646
+ td.header {
647
+ font-weight: 400;
648
+ }
649
+
650
+ p.TableTitle {
651
+ text-align: center;
652
+ margin-top: 2.5em;
653
+ font-weight: 400;
654
+ }
655
+
656
+ table.glossary, table.glossary tr, table.glossary td {
657
+ border: none;
658
+ }
659
+
660
+ table.glossary td {
661
+ border-bottom: 1px solid black;
662
+ padding-bottom: 5px;
663
+ padding-top: 20px;
664
+ }
665
+
666
+
667
+ /*
668
+ 3.10 Footnotes
669
+ */
670
+
671
+ a.footnote-number {
672
+ vertical-align: super;
673
+ font-size: 0.8em;
674
+ }
675
+
676
+ .footnote {
677
+ font-size: 0.9em;
678
+ }
679
+
680
+
681
+ /*
682
+ 3.11 Blockquotes
683
+ */
684
+
685
+ .Quote {
686
+ background-color: #f7f7f7;
687
+ font-style: italic;
688
+ width: 80%;
689
+ padding: 1.5em;
690
+ margin-top: 2em;
691
+ margin-left: auto;
692
+ margin-right: auto;
693
+ }
694
+
695
+
696
+ /*
697
+ 3.12 Formulas
698
+ */
699
+
700
+ .formula {
701
+ background-color: #f7f7f7;
702
+ padding: 1.5em;
703
+ margin-top: 2em;
704
+ text-align: center;
705
+ }
706
+
707
+ /*
708
+ 3.13 Contact Info
709
+ */
710
+
711
+ .contact-info {
712
+ padding: 2em;
713
+ margin-top: 5em;
714
+ width: 250px;
715
+
716
+ text-align: left;
717
+ border: #1661AD solid 2px;
718
+ color: #1661AD!important;
719
+ border-radius: 25px;
720
+
721
+ }
722
+
723
+ .contact-info a,
724
+ .contact-info a:hover {
725
+ color: #1661AD;
726
+ }
727
+
728
+ .contact-info p, .contact-info a {
729
+ font-family: $monospacefont;
730
+ font-weight: 400;
731
+ }
732
+
733
+ .contact-info .name {
734
+ font-weight: 700;
735
+ font-size: 1.2em;
736
+ margin-bottom:0;
737
+ }
738
+
739
+ .contact-info .address {
740
+ font-size: 1em;
741
+ line-height: 1.3em;
742
+ margin-top:0;
743
+ }
744
+
745
+ /*
746
+ Keywords
747
+ */
748
+
749
+ span.keyword {
750
+ font-weight: 600;
751
+ }
752
+
753
+ /*
754
+ Paragraphs
755
+ */
756
+
757
+ p {
758
+ margin-top: 1em;
759
+ margin-bottom: 1em;
760
+ }
761
+
762
+ h2 p {
763
+ display: inline;
764
+ }
765
+
766
+
767
+ /*
768
+ 4.0 Page header
769
+ */
770
+
771
+ /*
772
+ 4.1 Top Logo
773
+ */
774
+
775
+ .icon-svg {
776
+ width: 100%;
777
+ color: #5ecf86;
778
+ }
779
+
780
+ .wrapper-top {
781
+ color: #ffffff;
782
+ padding: 3em 0 6em 0;
783
+ width: 100%;
784
+ }
785
+
786
+ .wrapper-top-bottom {
787
+ width: 0;
788
+ height: 0;
789
+ border-top: 100px solid #1661AD;
790
+ border-right: 100px solid transparent;
791
+ position: absolute;
792
+ }
793
+
794
+ .doc-number {
795
+ font-size: 1.0em;
796
+ font-family: $bodyfont;
797
+ margin-left: 7em;
798
+ }
799
+
800
+ .coverpage-title {
801
+ font-family: $headerfont;
802
+ font-size: 2.2em;
803
+ line-height: 1.5em;
804
+ font-weight: 100;
805
+ padding: 0 20px;
806
+ /*text-transform: uppercase;*/
807
+ margin-left: 2em;
808
+ margin-bottom: 5em;
809
+ border-left: 13px solid white;
810
+ }
811
+
812
+ .WordSection11 {
813
+ padding: 0 2em 0 3em;
814
+ }
815
+
816
+ .info-section {
817
+ padding: 0 2em 0 5em; }
818
+
819
+ .prefatory-section {
820
+ padding: 0 3em 0 6em;
821
+ }
822
+
823
+ .zzSTDTitle1, .MsoCommentText {
824
+ display: none;
825
+ }
826
+
827
+ .coverpage {
828
+ height: 100vh;
829
+ background: linear-gradient(200deg, #fa6742, #FD8924);
830
+ padding-left: 1.5em;
831
+ }
832
+
833
+ .coverpage-logo span, .coverpage-tc-name span {
834
+ font-family: $bodyfont;
835
+ text-transform: none;
836
+ font-weight: 300;
837
+ }
838
+
839
+ .coverpage-footer {
840
+ text-align: left;
841
+ margin-left: 7em;
842
+ }
843
+
844
+ .coverpage-logo span.doc-edition {
845
+ font-weight: 800;
846
+ display: block;
847
+ font-size: 1.2em;
848
+ }
849
+
850
+ .coverpage-location {
851
+ font-size: 1em;
852
+ line-height: 1.2em;
853
+ padding-top:1em;
854
+ margin: 0.25em 0; }
855
+
856
+ .section-content {
857
+ padding-right: 50px;
858
+ }
859
+
860
+ /*
861
+ 4.2 Document Identity
862
+ */
863
+
864
+ .coverpage-doc-identity {
865
+ margin-bottom: 6em;
866
+ padding-left: 5em;
867
+ }
868
+
869
+ .coverpage-title .title-second {
870
+ display: none;
871
+ }
872
+
873
+ .coverpage-title span {
874
+ display: block;
875
+ text-align: left;
876
+ }
877
+
878
+ .coverpage-title span.title-1 {
879
+ font-weight: 900;
880
+ }
881
+
882
+ .coverpage-title span.title-2 {
883
+ font-size: 0.8em;
884
+ font-style: italic;
885
+ }
886
+
887
+ .coverpage-title span.title-3 {
888
+ font-size: 1.3em;
889
+ padding-top: 8px;
890
+ }
891
+
892
+ .coverpage-stage-block {
893
+ font-family: $bodyfont;
894
+ font-weight: 600;
895
+ font-size: 1.25em;
896
+ margin: 2em 0em 2em 0em;
897
+ text-transform: uppercase;
898
+ }
899
+
900
+ /*
901
+ 4.3 Draft Warning
902
+ */
903
+
904
+ .coverpage-warning {
905
+ border: #f36f36 solid 2px;
906
+ color: #f36f36!important;
907
+ margin: 1em 2em;
908
+ color: #485094;
909
+ padding: 2em 1em 1em 1em;
910
+ border-radius: 25px;
911
+ }
912
+
913
+ .coverpage-warning .title {
914
+ font-family: $headerfont;
915
+ font-weight: 300;
916
+ text-transform: uppercase;
917
+ font-size: 1.2em;
918
+ }
919
+
920
+
921
+ /*
922
+ 4.4 Copyright
923
+ */
924
+
925
+ .copyright {
926
+ padding: 1em;
927
+ font-size: 0.8em;
928
+ text-align: left;
929
+ }
930
+
931
+
932
+ /* .copyright .name, .copyright .address {color: #485094;} */
933
+
934
+
935
+
936
+ /*
937
+ 5.0 Other styles
938
+ */
939
+
940
+
941
+
942
+ /*
943
+ To top button
944
+ */
945
+
946
+ #myBtn {
947
+ font-family: $monospacefont;
948
+ display: none;
949
+ position: fixed;
950
+ bottom: 20px;
951
+ right: 30px;
952
+ z-index: 99;
953
+ font-size: 12px;
954
+ border: none;
955
+ outline: none;
956
+ background-color: #f36f36;
957
+ opacity: 0.15;
958
+ color: white;
959
+ cursor: pointer;
960
+ padding: 10px 15px 10px 15px;
961
+ border-radius: 4px;
962
+ text-transform: uppercase;
963
+ }
964
+
965
+ #myBtn:hover {
966
+ opacity: 1;
967
+ }
968
+
969
+ a.anchorjs-link:hover {
970
+ background: none;
971
+ color: #485094;
972
+ box-shadow: none;
973
+ }
974
+
975
+ @page {
976
+ margin: 2cm 1cm;
977
+ }
978
+
979
+ @media print {
980
+
981
+
982
+ .document-info, nav, .copyright {
983
+ page-break-before: always;
984
+ }
985
+
986
+ nav {
987
+ page-break-after: always;
988
+ }
989
+
990
+ body {
991
+ background-color: white;
992
+ }
993
+
994
+ h1, h2, h3, h4 {
995
+ page-break-after: avoid;
996
+ margin-top: 1.2em;
997
+ }
998
+
999
+ .note, .figure, .Sourcecode, table {
1000
+ page-break-inside: avoid;
1001
+ }
1002
+
1003
+ .info-section {
1004
+ display: none;
1005
+ }
1006
+
1007
+ .coverpage {
1008
+ height: 23cm;
1009
+ }
1010
+
1011
+ .wrapper-top {
1012
+ top: 0;
1013
+ padding-top: 4cm;
1014
+ padding-bottom: 4cm;
1015
+ }
1016
+
1017
+ .wrapper-top-bottom {
1018
+ margin-top: -5px;
1019
+ }
1020
+
1021
+
1022
+ #toggle, .document-stage-band,
1023
+ .document-type-band, button#myBtn {
1024
+ display: none;
1025
+ }
1026
+
1027
+ button#myBtn {
1028
+ background-color: white;
1029
+ }
1030
+
1031
+ .container {
1032
+ padding-left: 0;
1033
+ }
1034
+
1035
+ nav {
1036
+ position: relative;
1037
+ width: auto;
1038
+ font-size: 0.9em;
1039
+ overflow: auto;
1040
+ padding: 0;
1041
+ margin-right: 0;
1042
+ background-color: white;
1043
+ }
1044
+
1045
+ #toc .toc-active a {
1046
+ color: #4D7EA5;
1047
+ }
1048
+
1049
+ #toc .toc-active, #toc li:hover {
1050
+ background: white;
1051
+ box-shadow: none !important; }
1052
+
1053
+ #toc li:hover a {
1054
+ color: black; }
1055
+
1056
+
1057
+ h1.content {
1058
+ margin-top: 2em;
1059
+ line-height: 2.5em;
1060
+ }
1061
+
1062
+ h1 {
1063
+ font-size: 1.5em;
1064
+ line-height: 1.5;
1065
+ }
1066
+
1067
+ h2 {
1068
+ font-size: 1.2em
1069
+ }
1070
+
1071
+ h3 {
1072
+ font-size: 1em;
1073
+ }
1074
+
1075
+ .Note {
1076
+ background-color: #fff495;
1077
+ color: #47430c;
1078
+ padding: 5px;
1079
+ margin: 2em 0 1em 0; }
1080
+
1081
+ .Note p {
1082
+ padding: 0 5px 0 5px;
1083
+ }
1084
+
1085
+ nav {
1086
+ line-height: 1;
1087
+ }
1088
+
1089
+ .wrapper-top-bottom {
1090
+ display: none;
1091
+ }
1092
+
1093
+ }
1094
+