metanorma-sample 1.0.10

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