metanorma-ogc 1.2.6 → 1.2.11

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 +4 -4
  2. data/.github/workflows/rake.yml +29 -8
  3. data/README.adoc +3 -4
  4. data/lib/asciidoctor/ogc/basicdoc.rng +50 -3
  5. data/lib/asciidoctor/ogc/boilerplate.xml +1 -1
  6. data/lib/asciidoctor/ogc/converter.rb +0 -1
  7. data/lib/asciidoctor/ogc/isodoc.rng +61 -3
  8. data/lib/isodoc/ogc/base_convert.rb +2 -3
  9. data/lib/isodoc/ogc/biblio.rb +1 -0
  10. data/lib/isodoc/ogc/html/htmlstyle.css +206 -206
  11. data/lib/isodoc/ogc/html/htmlstyle.scss +4 -4
  12. data/lib/isodoc/ogc/html/ogc.css +21 -21
  13. data/lib/isodoc/ogc/html/ogc.scss +21 -21
  14. data/lib/isodoc/ogc/html/ogc_wp.css +35 -35
  15. data/lib/isodoc/ogc/html/ogc_wp.scss +35 -35
  16. data/lib/isodoc/ogc/html/wordstyle.css +19 -19
  17. data/lib/isodoc/ogc/html/wordstyle.scss +19 -19
  18. data/lib/isodoc/ogc/html/wordstyle_wp.css +23 -23
  19. data/lib/isodoc/ogc/html/wordstyle_wp.scss +23 -23
  20. data/lib/isodoc/ogc/html_convert.rb +4 -1
  21. data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +293 -69
  22. data/lib/isodoc/ogc/ogc.best-practice.xsl +293 -69
  23. data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +293 -69
  24. data/lib/isodoc/ogc/ogc.community-practice.xsl +293 -69
  25. data/lib/isodoc/ogc/ogc.community-standard.xsl +293 -69
  26. data/lib/isodoc/ogc/ogc.discussion-paper.xsl +293 -69
  27. data/lib/isodoc/ogc/ogc.engineering-report.xsl +293 -69
  28. data/lib/isodoc/ogc/ogc.other.xsl +293 -69
  29. data/lib/isodoc/ogc/ogc.policy.xsl +293 -69
  30. data/lib/isodoc/ogc/ogc.reference-model.xsl +293 -69
  31. data/lib/isodoc/ogc/ogc.release-notes.xsl +293 -69
  32. data/lib/isodoc/ogc/ogc.standard.xsl +293 -69
  33. data/lib/isodoc/ogc/ogc.test-suite.xsl +293 -69
  34. data/lib/isodoc/ogc/ogc.user-guide.xsl +293 -69
  35. data/lib/isodoc/ogc/ogc.white-paper.xsl +289 -66
  36. data/lib/isodoc/ogc/presentation_xml_convert.rb +13 -0
  37. data/lib/isodoc/ogc/word_convert.rb +7 -1
  38. data/lib/isodoc/ogc/xref.rb +8 -4
  39. data/lib/metanorma/ogc.rb +7 -0
  40. data/lib/metanorma/ogc/processor.rb +16 -8
  41. data/lib/metanorma/ogc/version.rb +1 -1
  42. data/metanorma-ogc.gemspec +2 -2
  43. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4f4ede26f8e1b13ab6f0ad902f2bd43fa03e17ce923feae18c8e4b1af67418ea
4
- data.tar.gz: 16f48b39d7afc5d0a3858a6643d76c96a42b402e9d1688fb56264fb69641efc0
3
+ metadata.gz: e15d1d5244c56742241206793480e35f4147e85f20718fe003da6b8609138b9e
4
+ data.tar.gz: 71fc5a1f0e1583e1b4de15b23626bdadbe6acc6e533824c33cf15b9f4dbf0578
5
5
  SHA512:
6
- metadata.gz: 422db95a5b4b10a1241cf55efd7daaa4d4bba2e642c76e4455068fe3553cdf27e7e229e2c3ace03cfffdc2a93c1fccaae7b504db4e887ea4fea821664e7a5066
7
- data.tar.gz: 66ccf79741efd88899f443b70c235794d6af2551e8fee4d57e5bb6319dc0b91751179f0b2a50c39920dd19f55638566cf7718d44ee21622e071415aad6993804
6
+ metadata.gz: c217d011a9b1177160d097c7e706d074ad6313daec50e36de1ff7d45c93d50d3b7a88ac0823cf2434ce5ca83f9532988ddd47e04497cfac144db541ff7c364cb
7
+ data.tar.gz: c963da6c2086b761979d59bcb38b157f34ea0ad6ea5f3739f6b240c95945f49424d5c4bf5a9dfaa7ceb9f030a854ae96b8d0933ebbd6e4629d2ccd97e60917df
@@ -4,7 +4,8 @@ name: rake
4
4
 
5
5
  on:
6
6
  push:
7
- branches: [ master ]
7
+ branches: [ master, main ]
8
+ tags: [ v* ]
8
9
  pull_request:
9
10
 
10
11
  jobs:
@@ -31,14 +32,34 @@ jobs:
31
32
  steps:
32
33
  - uses: actions/checkout@master
33
34
 
34
- - name: Use Ruby
35
- uses: ruby/setup-ruby@v1
35
+ - uses: ruby/setup-ruby@v1
36
36
  with:
37
37
  ruby-version: ${{ matrix.ruby }}
38
- bundler-cache: true
39
38
 
40
- - name: Update gems
41
- run: bundle install --jobs 4 --retry 3
39
+ - if: matrix.os == 'macos-latest'
40
+ run: brew install autoconf automake libtool
42
41
 
43
- - name: Run specs
44
- run: bundle exec rake
42
+ - uses: actions/cache@v2
43
+ with:
44
+ path: vendor/bundle
45
+ key: bundle-${{ matrix.os }}-${{ matrix.ruby }}-${{ hashFiles('**/*.gemspec') }}
46
+ restore-keys: bundle-${{ matrix.os }}-${{ matrix.ruby }}
47
+
48
+ - run: bundle config set path 'vendor/bundle'
49
+
50
+ - run: bundle install --jobs 4 --retry 3
51
+
52
+ - run: bundle exec rake
53
+
54
+ tests-passed:
55
+ needs: rake
56
+ runs-on: ubuntu-latest
57
+ steps:
58
+ - name: Trigger tests passed event
59
+ uses: Sibz/github-status-action@v1
60
+ with:
61
+ authToken: ${{ secrets.METANORMA_CI_PAT_TOKEN || secrets.GITHUB_TOKEN }}
62
+ context: 'tests-passed-successfully'
63
+ description: 'Tests passed successfully'
64
+ state: 'success'
65
+ sha: ${{ github.event.pull_request.head.sha || github.sha }}
@@ -1,16 +1,15 @@
1
1
  = metanorma-ogc: Metanorma processor for the Open Geospatial Consortium document class
2
2
 
3
3
  image:https://img.shields.io/gem/v/metanorma-ogc.svg["Gem Version", link="https://rubygems.org/gems/metanorma-ogc"]
4
- image:https://github.com/metanorma/metanorma-ogc/workflows/macos/badge.svg["Build Status (macOS)", link="https://github.com/metanorma/metanorma-ogc/actions?workflow=macos"]
5
- image:https://github.com/metanorma/metanorma-ogc/workflows/ubuntu/badge.svg["Build Status (ubuntu)", link="https://github.com/metanorma/metanorma-ogc/actions?workflow=ubuntu"]
6
- image:https://github.com/metanorma/metanorma-ogc/workflows/windows/badge.svg["Build Status (Windows)", link="https://github.com/metanorma/metanorma-ogc/actions?workflow=windows"]
4
+ image:https://github.com/metanorma/metanorma-ogc/workflows/rake/badge.svg["Build Status", link="https://github.com/metanorma/metanorma-ogc/actions?workflow=rake"]
7
5
  image:https://codeclimate.com/github/metanorma/metanorma-ogc/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/metanorma-ogc"]
8
6
  image:https://img.shields.io/github/issues-pr-raw/metanorma/metanorma-ogc.svg["Pull Requests", link="https://github.com/metanorma/metanorma-ogc/pulls"]
9
7
  image:https://img.shields.io/github/commits-since/metanorma/metanorma-ogc/latest.svg["Commits since latest",link="https://github.com/metanorma/metanorma-ogc/releases"]
10
8
 
11
9
  == Functionality
12
10
 
13
- This gem processes Metanorma documents into the OGC document class.
11
+ This gem processes https://www.metanorma.com[Metanorma documents] following
12
+ a template for generating OGC standards and documents.
14
13
 
15
14
  It provides the following functions:
16
15
 
@@ -596,6 +596,7 @@
596
596
  <ref name="bookmark"/>
597
597
  <ref name="image"/>
598
598
  <ref name="index"/>
599
+ <ref name="index-xref"/>
599
600
  </choice>
600
601
  </define>
601
602
  <define name="PureTextElement">
@@ -728,15 +729,61 @@
728
729
  </define>
729
730
  <define name="index">
730
731
  <element name="index">
731
- <attribute name="primary"/>
732
+ <attribute name="to">
733
+ <data type="IDREF"/>
734
+ </attribute>
735
+ <element name="primary">
736
+ <oneOrMore>
737
+ <ref name="PureTextElement"/>
738
+ </oneOrMore>
739
+ </element>
732
740
  <optional>
733
- <attribute name="secondary"/>
741
+ <element name="secondary">
742
+ <oneOrMore>
743
+ <ref name="PureTextElement"/>
744
+ </oneOrMore>
745
+ </element>
734
746
  </optional>
735
747
  <optional>
736
- <attribute name="tertiary"/>
748
+ <element name="tertiary">
749
+ <oneOrMore>
750
+ <ref name="PureTextElement"/>
751
+ </oneOrMore>
752
+ </element>
737
753
  </optional>
738
754
  </element>
739
755
  </define>
756
+ <define name="index-xref">
757
+ <element name="index-xref">
758
+ <attribute name="also">
759
+ <data type="boolean"/>
760
+ </attribute>
761
+ <element name="primary">
762
+ <oneOrMore>
763
+ <ref name="PureTextElement"/>
764
+ </oneOrMore>
765
+ </element>
766
+ <optional>
767
+ <element name="secondary">
768
+ <oneOrMore>
769
+ <ref name="PureTextElement"/>
770
+ </oneOrMore>
771
+ </element>
772
+ </optional>
773
+ <optional>
774
+ <element name="tertiary">
775
+ <oneOrMore>
776
+ <ref name="PureTextElement"/>
777
+ </oneOrMore>
778
+ </element>
779
+ </optional>
780
+ <element name="target">
781
+ <oneOrMore>
782
+ <ref name="PureTextElement"/>
783
+ </oneOrMore>
784
+ </element>
785
+ </element>
786
+ </define>
740
787
  <!-- bare ID element, used for referencing arbitrary spans of text -->
741
788
  <define name="bookmark">
742
789
  <element name="bookmark">
@@ -92,7 +92,7 @@
92
92
  </license-statement>
93
93
 
94
94
  <legal-statement>
95
- {% if doctype == "Standard" or doctype == "Community Standard" %}
95
+ {% if doctype == "Standard" or doctype == "Community Standard" or doctype == "Abstract Specification" %}
96
96
  {% if stage == "Approved" or stage == "Withdrawn" %}
97
97
  <clause>
98
98
  <title>Warning</title>
@@ -127,7 +127,6 @@ module Asciidoctor
127
127
  end
128
128
 
129
129
  def termdef_boilerplate_cleanup(xmldoc)
130
- return
131
130
  end
132
131
 
133
132
  def bibdata_cleanup(xmldoc)
@@ -24,6 +24,14 @@
24
24
  <start>
25
25
  <ref name="standard-document"/>
26
26
  </start>
27
+ <define name="doctype">
28
+ <element name="doctype">
29
+ <optional>
30
+ <attribute name="abbreviation"/>
31
+ </optional>
32
+ <ref name="DocumentType"/>
33
+ </element>
34
+ </define>
27
35
  <define name="hyperlink">
28
36
  <element name="link">
29
37
  <attribute name="target">
@@ -47,6 +55,13 @@
47
55
  <param name="pattern">\i\c*|\c+#\c+</param>
48
56
  </data>
49
57
  </attribute>
58
+ <optional>
59
+ <attribute name="to">
60
+ <data type="string">
61
+ <param name="pattern">\i\c*|\c+#\c+</param>
62
+ </data>
63
+ </attribute>
64
+ </optional>
50
65
  <optional>
51
66
  <attribute name="type">
52
67
  <ref name="ReferenceFormat"/>
@@ -141,6 +156,11 @@
141
156
  <data type="boolean"/>
142
157
  </attribute>
143
158
  </optional>
159
+ <optional>
160
+ <attribute name="key">
161
+ <data type="boolean"/>
162
+ </attribute>
163
+ </optional>
144
164
  <oneOrMore>
145
165
  <ref name="dt"/>
146
166
  <ref name="dd"/>
@@ -233,6 +253,12 @@
233
253
  <data type="boolean"/>
234
254
  </attribute>
235
255
  </optional>
256
+ <optional>
257
+ <attribute name="width"/>
258
+ </optional>
259
+ <optional>
260
+ <ref name="colgroup"/>
261
+ </optional>
236
262
  <optional>
237
263
  <ref name="tname"/>
238
264
  </optional>
@@ -751,6 +777,18 @@
751
777
  </define>
752
778
  </include>
753
779
  <!-- end overrides -->
780
+ <define name="colgroup">
781
+ <element name="colgroup">
782
+ <oneOrMore>
783
+ <ref name="col"/>
784
+ </oneOrMore>
785
+ </element>
786
+ </define>
787
+ <define name="col">
788
+ <element name="col">
789
+ <attribute name="width"/>
790
+ </element>
791
+ </define>
754
792
  <define name="TextElement" combine="choice">
755
793
  <ref name="concept"/>
756
794
  </define>
@@ -801,6 +839,9 @@
801
839
  <data type="boolean"/>
802
840
  </attribute>
803
841
  </optional>
842
+ <optional>
843
+ <attribute name="number"/>
844
+ </optional>
804
845
  <optional>
805
846
  <attribute name="obligation">
806
847
  <choice>
@@ -856,9 +897,11 @@
856
897
  <element name="code">
857
898
  <text/>
858
899
  </element>
859
- <element name="text">
860
- <text/>
861
- </element>
900
+ <optional>
901
+ <element name="text">
902
+ <text/>
903
+ </element>
904
+ </optional>
862
905
  </element>
863
906
  </define>
864
907
  <define name="standard-document">
@@ -1028,6 +1071,9 @@
1028
1071
  </choice>
1029
1072
  </attribute>
1030
1073
  </optional>
1074
+ <optional>
1075
+ <attribute name="number"/>
1076
+ </optional>
1031
1077
  <optional>
1032
1078
  <attribute name="type"/>
1033
1079
  </optional>
@@ -1081,6 +1127,9 @@
1081
1127
  <optional>
1082
1128
  <attribute name="type"/>
1083
1129
  </optional>
1130
+ <optional>
1131
+ <attribute name="number"/>
1132
+ </optional>
1084
1133
  <optional>
1085
1134
  <ref name="section-title"/>
1086
1135
  </optional>
@@ -1183,6 +1232,9 @@
1183
1232
  <optional>
1184
1233
  <attribute name="type"/>
1185
1234
  </optional>
1235
+ <optional>
1236
+ <attribute name="number"/>
1237
+ </optional>
1186
1238
  <optional>
1187
1239
  <attribute name="obligation">
1188
1240
  <choice>
@@ -1511,6 +1563,7 @@
1511
1563
  <value>add</value>
1512
1564
  <value>modify</value>
1513
1565
  <value>delete</value>
1566
+ <value>replace</value>
1514
1567
  </choice>
1515
1568
  </attribute>
1516
1569
  <optional>
@@ -1541,6 +1594,11 @@
1541
1594
  </optional>
1542
1595
  <optional>
1543
1596
  <element name="newcontent">
1597
+ <optional>
1598
+ <attribute name="id">
1599
+ <data type="ID"/>
1600
+ </attribute>
1601
+ </optional>
1544
1602
  <zeroOrMore>
1545
1603
  <ref name="BasicBlock"/>
1546
1604
  </zeroOrMore>
@@ -7,7 +7,6 @@ module IsoDoc
7
7
  module Ogc
8
8
  module BaseConvert
9
9
  def cleanup(docxml)
10
- #requirement_table_cleanup(docxml)
11
10
  super
12
11
  term_cleanup(docxml)
13
12
  end
@@ -36,7 +35,7 @@ module IsoDoc
36
35
  end
37
36
  end
38
37
 
39
- def middle_clause
38
+ def middle_clause(_docxml)
40
39
  "//clause[parent::sections][not(@type = 'scope' or "\
41
40
  "@type = 'conformance')][not(descendant::terms)]"
42
41
  end
@@ -47,7 +46,7 @@ module IsoDoc
47
46
  end
48
47
 
49
48
  def middle(isoxml, out)
50
- middle_title(out)
49
+ middle_title(isoxml, out)
51
50
  middle_admonitions(isoxml, out)
52
51
  i = scope isoxml, out, 0
53
52
  i = conformance isoxml, out, i
@@ -12,6 +12,7 @@ module IsoDoc
12
12
  list.p **attr_code(iso_bibitem_entry_attrs(b, bibliography)) do |r|
13
13
  id = bibitem_ref_code(b)
14
14
  identifier = render_identifier(id)
15
+ identifier[1] = nil
15
16
  if bibliography
16
17
  ref_entry_code(r, ordinal, identifier, id)
17
18
  end
@@ -264,11 +264,213 @@ a.FootnoteRef + a.FootnoteRef:before {
264
264
  #retired {
265
265
  border-bottom: solid 3px #7e0d13; }
266
266
 
267
+ .coverpage-maturity, .coverpage-stage {
268
+ font-family: {{headerfont}};
269
+ font-weight: 400;
270
+ font-size: 1.3em;
271
+ margin: 0 0 2em 0;
272
+ text-transform: uppercase; }
273
+
274
+ .icon-svg {
275
+ width: 100%;
276
+ color: #5ecf86; }
277
+
278
+ .wrapper-top {
279
+ background: #00335b;
280
+ background: linear-gradient(130deg, #00335b 45%, #f1f8ff 100%);
281
+ color: #ffffff;
282
+ padding: 5em 0;
283
+ width: 100%; }
284
+
285
+ .wrapper-top-bottom {
286
+ width: 0;
287
+ height: 0;
288
+ border-top: 100px solid #00335b;
289
+ border-right: 100px solid transparent;
290
+ position: absolute; }
291
+
292
+ .document-type-band {
293
+ top: 260px; }
294
+
295
+ .document-stage-band > :first-child {
296
+ height: 240px; }
297
+
298
+ .coverpage-metadata {
299
+ margin-top: 35px;
300
+ padding-top: 15px;
301
+ margin-right: 25px;
302
+ border-top: solid 1px white; }
303
+
304
+ .coverpage-metadata,
305
+ .coverpage-alt-formats {
306
+ font-size: 12px;
307
+ font-family: {{headerfont}};
308
+ margin-left: 1em;
309
+ text-align: left; }
310
+ .coverpage-metadata span,
311
+ .coverpage-alt-formats span {
312
+ display: block;
313
+ text-align: left; }
314
+ .coverpage-metadata span a,
315
+ .coverpage-alt-formats span a {
316
+ color: white; }
317
+ .coverpage-metadata span a:hover,
318
+ .coverpage-alt-formats span a:hover {
319
+ text-decoration: underline;
320
+ background: none;
321
+ box-shadow: none !important;
322
+ font-weight: 400; }
323
+ .coverpage-metadata .value,
324
+ .coverpage-alt-formats .value {
325
+ font-size: 15px;
326
+ margin-bottom: 15px; }
327
+ .coverpage-metadata .label,
328
+ .coverpage-alt-formats .label {
329
+ font-size: 12px;
330
+ padding: 0; }
331
+
332
+ .coverpage-alt-formats span {
333
+ display: inline;
334
+ text-align: left; }
335
+ .coverpage-alt-formats span a {
336
+ padding-right: 5px; }
337
+
338
+ .coverpage-title {
339
+ padding-bottom: 0.5em;
340
+ font-family: {{headerfont}};
341
+ font-weight: 100;
342
+ padding-left: 1em;
343
+ padding-right: 1em; }
344
+ .coverpage-title span {
345
+ font-family: {{headerfont}};
346
+ font-size: 1.8em;
347
+ line-height: 1; }
348
+
349
+ .docstage-box table {
350
+ width: auto; }
351
+
352
+ .docstage-box th {
353
+ background-color: #93c0d6; }
354
+
355
+ .docstage-box td {
356
+ vertical-align: top;
357
+ background-color: #daeef3;
358
+ padding: 0.5em;
359
+ border: 0; }
360
+
361
+ .docstage-box th:first-child {
362
+ border-radius: 1em 0 0 0; }
363
+
364
+ .docstage-box th:last-child {
365
+ border-radius: 0 1em 0 0; }
366
+
367
+ .docstage-box tr:first-child {
368
+ border-radius: 0 0 0 1em; }
369
+
370
+ .docstage-box tr:last-child {
371
+ border-radius: 0 1em 0 0; }
372
+
373
+ .docstage-box tr:last-child > td:first-child {
374
+ border-radius: 0 0 0 1em; }
375
+
376
+ .docstage-box tr:last-child > td:last-child {
377
+ border-radius: 0 0 1em 0; }
378
+
379
+ .WordSection11 {
380
+ padding: 0 2em 0 3em; }
381
+
382
+ .info-section {
383
+ padding: 0 2em 0 5em; }
384
+
385
+ .prefatory-section {
386
+ padding: 0 3em 0 6em; }
387
+
388
+ .zzSTDTitle1, .MsoCommentText {
389
+ display: none; }
390
+
391
+ .coverpage {
392
+ text-align: center;
393
+ padding-left: 1.5em; }
394
+
395
+ .coverpage-logo span, .coverpage-tc-name span {
396
+ font-family: {{bodyfont}};
397
+ text-transform: none;
398
+ font-weight: 300;
399
+ margin-left: 1em; }
400
+
401
+ .coverpage-tc-name {
402
+ font-size: 1.2em;
403
+ line-height: 1.2em;
404
+ margin: 0.25em 0; }
405
+
406
+ .copyright {
407
+ padding: 1em;
408
+ font-size: 0.9em;
409
+ text-align: left; }
410
+
411
+ /* Document Identity */
412
+ .coverpage-doc-identity {
413
+ font-size: 2em;
414
+ line-height: 2em; }
415
+
416
+ .coverpage-title .title-second {
417
+ display: none; }
418
+
419
+ .coverpage-stage-block {
420
+ font-family: {{headerfont}};
421
+ font-weight: 600;
422
+ font-size: 1.25em;
423
+ margin: 2em 0em 2em 0em;
424
+ text-transform: uppercase; }
425
+
426
+ .authors {
427
+ margin-top: 2em; }
428
+ .authors span {
429
+ display: block;
430
+ line-height: 2; }
431
+ .authors span.roletag {
432
+ display: inline-block;
433
+ font-size: 12px;
434
+ color: #00335b;
435
+ background-color: white;
436
+ padding: 2px 5px;
437
+ margin-left: 7px;
438
+ border-radius: 5px; }
439
+
440
+ /* Draft Warning */
441
+ .coverpage-warning {
442
+ border: #f36f36 solid 2px;
443
+ color: #f36f36 !important;
444
+ margin: 1em 2em;
445
+ color: #2e81c2;
446
+ padding: 2em 1em 1em 1em;
447
+ border-radius: 25px; }
448
+ .coverpage-warning h1 {
449
+ font-family: {{headerfont}};
450
+ font-weight: 300;
451
+ text-transform: uppercase;
452
+ font-size: 1.2em; }
453
+
454
+ @media print {
455
+ .document-info, .copyright {
456
+ page-break-before: always; }
457
+ .coverpage {
458
+ height: 23cm; }
459
+ .info-section {
460
+ display: none; }
461
+ .wrapper-top {
462
+ top: 0;
463
+ padding-top: 4cm;
464
+ padding-bottom: 4cm; }
465
+ .wrapper-top-bottom {
466
+ margin-top: -5px;
467
+ display: none; } }
468
+
267
469
  body {
268
470
  margin-left: auto;
269
471
  margin-right: auto;
270
472
  max-width: 100%;
271
- font-size: 16px;
473
+ font-size: {{normalfontsize}};
272
474
  font-weight: 300;
273
475
  line-height: 1.5;
274
476
  color: #00335b;
@@ -501,208 +703,6 @@ dl {
501
703
  #published {
502
704
  color: #9ABD48; }
503
705
 
504
- .coverpage-maturity, .coverpage-stage {
505
- font-family: {{headerfont}};
506
- font-weight: 400;
507
- font-size: 1.3em;
508
- margin: 0 0 2em 0;
509
- text-transform: uppercase; }
510
-
511
- .icon-svg {
512
- width: 100%;
513
- color: #5ecf86; }
514
-
515
- .wrapper-top {
516
- background: #00335b;
517
- background: linear-gradient(130deg, #00335b 45%, #f1f8ff 100%);
518
- color: #ffffff;
519
- padding: 5em 0;
520
- width: 100%; }
521
-
522
- .wrapper-top-bottom {
523
- width: 0;
524
- height: 0;
525
- border-top: 100px solid #00335b;
526
- border-right: 100px solid transparent;
527
- position: absolute; }
528
-
529
- .document-type-band {
530
- top: 260px; }
531
-
532
- .document-stage-band > :first-child {
533
- height: 240px; }
534
-
535
- .coverpage-metadata {
536
- margin-top: 35px;
537
- padding-top: 15px;
538
- margin-right: 25px;
539
- border-top: solid 1px white; }
540
-
541
- .coverpage-metadata,
542
- .coverpage-alt-formats {
543
- font-size: 12px;
544
- font-family: {{headerfont}};
545
- margin-left: 1em;
546
- text-align: left; }
547
- .coverpage-metadata span,
548
- .coverpage-alt-formats span {
549
- display: block;
550
- text-align: left; }
551
- .coverpage-metadata span a,
552
- .coverpage-alt-formats span a {
553
- color: white; }
554
- .coverpage-metadata span a:hover,
555
- .coverpage-alt-formats span a:hover {
556
- text-decoration: underline;
557
- background: none;
558
- box-shadow: none !important;
559
- font-weight: 400; }
560
- .coverpage-metadata .value,
561
- .coverpage-alt-formats .value {
562
- font-size: 15px;
563
- margin-bottom: 15px; }
564
- .coverpage-metadata .label,
565
- .coverpage-alt-formats .label {
566
- font-size: 12px;
567
- padding: 0; }
568
-
569
- .coverpage-alt-formats span {
570
- display: inline;
571
- text-align: left; }
572
- .coverpage-alt-formats span a {
573
- padding-right: 5px; }
574
-
575
- .coverpage-title {
576
- padding-bottom: 0.5em;
577
- font-family: {{headerfont}};
578
- font-weight: 100;
579
- padding-left: 1em;
580
- padding-right: 1em; }
581
- .coverpage-title span {
582
- font-family: {{headerfont}};
583
- font-size: 1.8em;
584
- line-height: 1; }
585
-
586
- .docstage-box table {
587
- width: auto; }
588
-
589
- .docstage-box th {
590
- background-color: #93c0d6; }
591
-
592
- .docstage-box td {
593
- vertical-align: top;
594
- background-color: #daeef3;
595
- padding: 0.5em;
596
- border: 0; }
597
-
598
- .docstage-box th:first-child {
599
- border-radius: 1em 0 0 0; }
600
-
601
- .docstage-box th:last-child {
602
- border-radius: 0 1em 0 0; }
603
-
604
- .docstage-box tr:first-child {
605
- border-radius: 0 0 0 1em; }
606
-
607
- .docstage-box tr:last-child {
608
- border-radius: 0 1em 0 0; }
609
-
610
- .docstage-box tr:last-child > td:first-child {
611
- border-radius: 0 0 0 1em; }
612
-
613
- .docstage-box tr:last-child > td:last-child {
614
- border-radius: 0 0 1em 0; }
615
-
616
- .WordSection11 {
617
- padding: 0 2em 0 3em; }
618
-
619
- .info-section {
620
- padding: 0 2em 0 5em; }
621
-
622
- .prefatory-section {
623
- padding: 0 3em 0 6em; }
624
-
625
- .zzSTDTitle1, .MsoCommentText {
626
- display: none; }
627
-
628
- .coverpage {
629
- text-align: center;
630
- padding-left: 1.5em; }
631
-
632
- .coverpage-logo span, .coverpage-tc-name span {
633
- font-family: {{bodyfont}};
634
- text-transform: none;
635
- font-weight: 300;
636
- margin-left: 1em; }
637
-
638
- .coverpage-tc-name {
639
- font-size: 1.2em;
640
- line-height: 1.2em;
641
- margin: 0.25em 0; }
642
-
643
- .copyright {
644
- padding: 1em;
645
- font-size: 0.9em;
646
- text-align: left; }
647
-
648
- /* Document Identity */
649
- .coverpage-doc-identity {
650
- font-size: 2em;
651
- line-height: 2em; }
652
-
653
- .coverpage-title .title-second {
654
- display: none; }
655
-
656
- .coverpage-stage-block {
657
- font-family: {{headerfont}};
658
- font-weight: 600;
659
- font-size: 1.25em;
660
- margin: 2em 0em 2em 0em;
661
- text-transform: uppercase; }
662
-
663
- .authors {
664
- margin-top: 2em; }
665
- .authors span {
666
- display: block;
667
- line-height: 2; }
668
- .authors span.roletag {
669
- display: inline-block;
670
- font-size: 12px;
671
- color: #00335b;
672
- background-color: white;
673
- padding: 2px 5px;
674
- margin-left: 7px;
675
- border-radius: 5px; }
676
-
677
- /* Draft Warning */
678
- .coverpage-warning {
679
- border: #f36f36 solid 2px;
680
- color: #f36f36 !important;
681
- margin: 1em 2em;
682
- color: #2e81c2;
683
- padding: 2em 1em 1em 1em;
684
- border-radius: 25px; }
685
- .coverpage-warning h1 {
686
- font-family: {{headerfont}};
687
- font-weight: 300;
688
- text-transform: uppercase;
689
- font-size: 1.2em; }
690
-
691
- @media print {
692
- .document-info, .copyright {
693
- page-break-before: always; }
694
- .coverpage {
695
- height: 23cm; }
696
- .info-section {
697
- display: none; }
698
- .wrapper-top {
699
- top: 0;
700
- padding-top: 4cm;
701
- padding-bottom: 4cm; }
702
- .wrapper-top-bottom {
703
- margin-top: -5px;
704
- display: none; } }
705
-
706
706
  p {
707
707
  margin-top: 1em;
708
708
  margin-bottom: 1em; }
@@ -888,7 +888,7 @@ pre {
888
888
  font-family: {{monospacefont}};
889
889
  font-variant-ligatures: none;
890
890
  background-color: #f7f7f7;
891
- font-size: 0.8em;
891
+ font-size: {{monospacefontsize}};
892
892
  line-height: 1.6em;
893
893
  padding: 1.5em;
894
894
  margin: 2em 0 1em 0;
@@ -921,7 +921,7 @@ pre {
921
921
  .figure, pre, .pseudocode {
922
922
  background-color: #e1eef1;
923
923
  color: #424242;
924
- font-size: 0.8em; }
924
+ font-size: {{monospacefontsize}}; }
925
925
 
926
926
  .Note {
927
927
  background-color: #fff8bb;
@@ -1091,4 +1091,4 @@ a.footnote-number {
1091
1091
  font-size: 0.8em; }
1092
1092
 
1093
1093
  .footnote {
1094
- font-size: 0.9em; }
1094
+ font-size: {{footnotefontsize}}; }