metanorma-ogc 1.2.5 → 1.2.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/rake.yml +62 -0
  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 +36 -43
  8. data/lib/isodoc/ogc/base_convert.rb +1 -2
  9. data/lib/isodoc/ogc/biblio.rb +1 -0
  10. data/lib/isodoc/ogc/html/htmlstyle.css +210 -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 +319 -74
  22. data/lib/isodoc/ogc/ogc.best-practice.xsl +319 -74
  23. data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +319 -74
  24. data/lib/isodoc/ogc/ogc.community-practice.xsl +319 -74
  25. data/lib/isodoc/ogc/ogc.community-standard.xsl +319 -74
  26. data/lib/isodoc/ogc/ogc.discussion-paper.xsl +319 -74
  27. data/lib/isodoc/ogc/ogc.engineering-report.xsl +319 -74
  28. data/lib/isodoc/ogc/ogc.other.xsl +319 -74
  29. data/lib/isodoc/ogc/ogc.policy.xsl +319 -74
  30. data/lib/isodoc/ogc/ogc.reference-model.xsl +319 -74
  31. data/lib/isodoc/ogc/ogc.release-notes.xsl +319 -74
  32. data/lib/isodoc/ogc/ogc.standard.xsl +319 -74
  33. data/lib/isodoc/ogc/ogc.test-suite.xsl +319 -74
  34. data/lib/isodoc/ogc/ogc.user-guide.xsl +319 -74
  35. data/lib/isodoc/ogc/ogc.white-paper.xsl +299 -68
  36. data/lib/isodoc/ogc/presentation_xml_convert.rb +13 -0
  37. data/lib/isodoc/ogc/word_convert.rb +7 -1
  38. data/lib/metanorma/ogc.rb +7 -0
  39. data/lib/metanorma/ogc/processor.rb +16 -8
  40. data/lib/metanorma/ogc/version.rb +1 -1
  41. data/metanorma-ogc.gemspec +2 -2
  42. metadata +7 -9
  43. data/.github/workflows/macos.yml +0 -38
  44. data/.github/workflows/ubuntu.yml +0 -56
  45. data/.github/workflows/windows.yml +0 -40
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7cb1827bd566651377aacd30859f32dd9d6299a49fb8e6bbd32c56bf840e56ce
4
- data.tar.gz: 06e25986c309061c9aab8758384ec8325d364a03182c39fc72937df62d12b69e
3
+ metadata.gz: 49726d7c0950f413729cf06730b9008a44c0eda95363d5cd8ec76893bc598a88
4
+ data.tar.gz: 7c1c880b5da6f7c17de035019674a1f9f73cb6829ff4c514a98b82877c06cf00
5
5
  SHA512:
6
- metadata.gz: 0fa1dd66925f8e272d455b34467c1ba315e3c9da90ac003b145dfbded60c22a1dd41efb134122f83b899b3417d8da287573e755939a7b978ff3f033cbf1281d1
7
- data.tar.gz: 601dd2886ebc3f73d04b77be00e7d7939a9f21bd6b99c9d4787448ce2f1069634a3cefca609f0cd1ebed9718290ce2e4a7c0953a36aa69973651204da1c5f8b6
6
+ metadata.gz: f32b78708d5ade331175eaea35863c95d1f55d14b69967de4269dc9bb404d1c64ab74a1075b849329bfd6dcd8beb20dbc2c1bfa0bb60d739df839e3caf419da9
7
+ data.tar.gz: 6569b56a99419e1ddd1c480ccd5ebbca9b426ee00fca9b1c31895473f627adee8c00048e9eba45f553479ca3ee87dc7bbe275b9253ada88e3be973d2f258c251
@@ -0,0 +1,62 @@
1
+ # Auto-generated by Cimas: Do not edit it manually!
2
+ # See https://github.com/metanorma/cimas
3
+ name: rake
4
+
5
+ on:
6
+ push:
7
+ branches: [ master, main ]
8
+ tags: [ v* ]
9
+ pull_request:
10
+
11
+ jobs:
12
+ rake:
13
+ name: Test on Ruby ${{ matrix.ruby }} ${{ matrix.os }}
14
+ runs-on: ${{ matrix.os }}
15
+ continue-on-error: ${{ matrix.experimental }}
16
+ strategy:
17
+ fail-fast: false
18
+ matrix:
19
+ ruby: [ '2.6', '2.5', '2.4' ]
20
+ os: [ ubuntu-latest, windows-latest, macos-latest ]
21
+ experimental: [ false ]
22
+ include:
23
+ - ruby: '2.7'
24
+ os: 'ubuntu-latest'
25
+ experimental: true
26
+ - ruby: '2.7'
27
+ os: 'windows-latest'
28
+ experimental: true
29
+ - ruby: '2.7'
30
+ os: 'macos-latest'
31
+ experimental: true
32
+ steps:
33
+ - uses: actions/checkout@master
34
+
35
+ - uses: ruby/setup-ruby@v1
36
+ with:
37
+ ruby-version: ${{ matrix.ruby }}
38
+
39
+ - uses: actions/cache@v2
40
+ with:
41
+ path: vendor/bundle
42
+ key: bundle-${{ matrix.os }}-${{ matrix.ruby }}-${{ hashFiles('**/*.gemspec') }}
43
+ restore-keys: bundle-${{ matrix.os }}-${{ matrix.ruby }}
44
+
45
+ - run: bundle config set path 'vendor/bundle'
46
+
47
+ - run: bundle install --jobs 4 --retry 3
48
+
49
+ - run: bundle exec rake
50
+
51
+ tests-passed:
52
+ needs: rake
53
+ runs-on: ubuntu-latest
54
+ steps:
55
+ - name: Trigger tests passed event
56
+ uses: Sibz/github-status-action@v1
57
+ with:
58
+ authToken: ${{ secrets.METANORMA_CI_PAT_TOKEN || secrets.GITHUB_TOKEN }}
59
+ context: 'tests-passed-successfully'
60
+ description: 'Tests passed successfully'
61
+ state: 'success'
62
+ 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,9 @@
233
253
  <data type="boolean"/>
234
254
  </attribute>
235
255
  </optional>
256
+ <optional>
257
+ <ref name="colgroup"/>
258
+ </optional>
236
259
  <optional>
237
260
  <ref name="tname"/>
238
261
  </optional>
@@ -751,6 +774,18 @@
751
774
  </define>
752
775
  </include>
753
776
  <!-- end overrides -->
777
+ <define name="colgroup">
778
+ <element name="colgroup">
779
+ <oneOrMore>
780
+ <ref name="col"/>
781
+ </oneOrMore>
782
+ </element>
783
+ </define>
784
+ <define name="col">
785
+ <element name="col">
786
+ <attribute name="width"/>
787
+ </element>
788
+ </define>
754
789
  <define name="TextElement" combine="choice">
755
790
  <ref name="concept"/>
756
791
  </define>
@@ -1164,49 +1199,7 @@
1164
1199
  </define>
1165
1200
  <define name="annex">
1166
1201
  <element name="annex">
1167
- <optional>
1168
- <attribute name="id">
1169
- <data type="ID"/>
1170
- </attribute>
1171
- </optional>
1172
- <optional>
1173
- <attribute name="language"/>
1174
- </optional>
1175
- <optional>
1176
- <attribute name="script"/>
1177
- </optional>
1178
- <optional>
1179
- <attribute name="inline-header">
1180
- <data type="boolean"/>
1181
- </attribute>
1182
- </optional>
1183
- <attribute name="obligation">
1184
- <choice>
1185
- <value>normative</value>
1186
- <value>informative</value>
1187
- </choice>
1188
- </attribute>
1189
- <optional>
1190
- <ref name="section-title"/>
1191
- </optional>
1192
- <group>
1193
- <group>
1194
- <zeroOrMore>
1195
- <ref name="BasicBlock"/>
1196
- </zeroOrMore>
1197
- <zeroOrMore>
1198
- <ref name="note"/>
1199
- </zeroOrMore>
1200
- </group>
1201
- <zeroOrMore>
1202
- <choice>
1203
- <ref name="annex-subsection"/>
1204
- <ref name="terms"/>
1205
- <ref name="definitions"/>
1206
- <ref name="references"/>
1207
- </choice>
1208
- </zeroOrMore>
1209
- </group>
1202
+ <ref name="Annex-Section"/>
1210
1203
  </element>
1211
1204
  </define>
1212
1205
  <define name="terms">
@@ -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
@@ -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
@@ -104,6 +104,10 @@ b, strong {
104
104
  div.document-stage-band, div.document-type-band {
105
105
  background-color: #333333; }
106
106
 
107
+ a.FootnoteRef + a.FootnoteRef:before {
108
+ content: ", ";
109
+ vertical-align: super; }
110
+
107
111
  #standard-band {
108
112
  background-color: #3D9970; }
109
113
 
@@ -260,11 +264,213 @@ div.document-stage-band, div.document-type-band {
260
264
  #retired {
261
265
  border-bottom: solid 3px #7e0d13; }
262
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
+
263
469
  body {
264
470
  margin-left: auto;
265
471
  margin-right: auto;
266
472
  max-width: 100%;
267
- font-size: 16px;
473
+ font-size: {{normalfontsize}};
268
474
  font-weight: 300;
269
475
  line-height: 1.5;
270
476
  color: #00335b;
@@ -497,208 +703,6 @@ dl {
497
703
  #published {
498
704
  color: #9ABD48; }
499
705
 
500
- .coverpage-maturity, .coverpage-stage {
501
- font-family: {{headerfont}};
502
- font-weight: 400;
503
- font-size: 1.3em;
504
- margin: 0 0 2em 0;
505
- text-transform: uppercase; }
506
-
507
- .icon-svg {
508
- width: 100%;
509
- color: #5ecf86; }
510
-
511
- .wrapper-top {
512
- background: #00335b;
513
- background: linear-gradient(130deg, #00335b 45%, #f1f8ff 100%);
514
- color: #ffffff;
515
- padding: 5em 0;
516
- width: 100%; }
517
-
518
- .wrapper-top-bottom {
519
- width: 0;
520
- height: 0;
521
- border-top: 100px solid #00335b;
522
- border-right: 100px solid transparent;
523
- position: absolute; }
524
-
525
- .document-type-band {
526
- top: 260px; }
527
-
528
- .document-stage-band > :first-child {
529
- height: 240px; }
530
-
531
- .coverpage-metadata {
532
- margin-top: 35px;
533
- padding-top: 15px;
534
- margin-right: 25px;
535
- border-top: solid 1px white; }
536
-
537
- .coverpage-metadata,
538
- .coverpage-alt-formats {
539
- font-size: 12px;
540
- font-family: {{headerfont}};
541
- margin-left: 1em;
542
- text-align: left; }
543
- .coverpage-metadata span,
544
- .coverpage-alt-formats span {
545
- display: block;
546
- text-align: left; }
547
- .coverpage-metadata span a,
548
- .coverpage-alt-formats span a {
549
- color: white; }
550
- .coverpage-metadata span a:hover,
551
- .coverpage-alt-formats span a:hover {
552
- text-decoration: underline;
553
- background: none;
554
- box-shadow: none !important;
555
- font-weight: 400; }
556
- .coverpage-metadata .value,
557
- .coverpage-alt-formats .value {
558
- font-size: 15px;
559
- margin-bottom: 15px; }
560
- .coverpage-metadata .label,
561
- .coverpage-alt-formats .label {
562
- font-size: 12px;
563
- padding: 0; }
564
-
565
- .coverpage-alt-formats span {
566
- display: inline;
567
- text-align: left; }
568
- .coverpage-alt-formats span a {
569
- padding-right: 5px; }
570
-
571
- .coverpage-title {
572
- padding-bottom: 0.5em;
573
- font-family: {{headerfont}};
574
- font-weight: 100;
575
- padding-left: 1em;
576
- padding-right: 1em; }
577
- .coverpage-title span {
578
- font-family: {{headerfont}};
579
- font-size: 1.8em;
580
- line-height: 1; }
581
-
582
- .docstage-box table {
583
- width: auto; }
584
-
585
- .docstage-box th {
586
- background-color: #93c0d6; }
587
-
588
- .docstage-box td {
589
- vertical-align: top;
590
- background-color: #daeef3;
591
- padding: 0.5em;
592
- border: 0; }
593
-
594
- .docstage-box th:first-child {
595
- border-radius: 1em 0 0 0; }
596
-
597
- .docstage-box th:last-child {
598
- border-radius: 0 1em 0 0; }
599
-
600
- .docstage-box tr:first-child {
601
- border-radius: 0 0 0 1em; }
602
-
603
- .docstage-box tr:last-child {
604
- border-radius: 0 1em 0 0; }
605
-
606
- .docstage-box tr:last-child > td:first-child {
607
- border-radius: 0 0 0 1em; }
608
-
609
- .docstage-box tr:last-child > td:last-child {
610
- border-radius: 0 0 1em 0; }
611
-
612
- .WordSection11 {
613
- padding: 0 2em 0 3em; }
614
-
615
- .info-section {
616
- padding: 0 2em 0 5em; }
617
-
618
- .prefatory-section {
619
- padding: 0 3em 0 6em; }
620
-
621
- .zzSTDTitle1, .MsoCommentText {
622
- display: none; }
623
-
624
- .coverpage {
625
- text-align: center;
626
- padding-left: 1.5em; }
627
-
628
- .coverpage-logo span, .coverpage-tc-name span {
629
- font-family: {{bodyfont}};
630
- text-transform: none;
631
- font-weight: 300;
632
- margin-left: 1em; }
633
-
634
- .coverpage-tc-name {
635
- font-size: 1.2em;
636
- line-height: 1.2em;
637
- margin: 0.25em 0; }
638
-
639
- .copyright {
640
- padding: 1em;
641
- font-size: 0.9em;
642
- text-align: left; }
643
-
644
- /* Document Identity */
645
- .coverpage-doc-identity {
646
- font-size: 2em;
647
- line-height: 2em; }
648
-
649
- .coverpage-title .title-second {
650
- display: none; }
651
-
652
- .coverpage-stage-block {
653
- font-family: {{headerfont}};
654
- font-weight: 600;
655
- font-size: 1.25em;
656
- margin: 2em 0em 2em 0em;
657
- text-transform: uppercase; }
658
-
659
- .authors {
660
- margin-top: 2em; }
661
- .authors span {
662
- display: block;
663
- line-height: 2; }
664
- .authors span.roletag {
665
- display: inline-block;
666
- font-size: 12px;
667
- color: #00335b;
668
- background-color: white;
669
- padding: 2px 5px;
670
- margin-left: 7px;
671
- border-radius: 5px; }
672
-
673
- /* Draft Warning */
674
- .coverpage-warning {
675
- border: #f36f36 solid 2px;
676
- color: #f36f36 !important;
677
- margin: 1em 2em;
678
- color: #2e81c2;
679
- padding: 2em 1em 1em 1em;
680
- border-radius: 25px; }
681
- .coverpage-warning h1 {
682
- font-family: {{headerfont}};
683
- font-weight: 300;
684
- text-transform: uppercase;
685
- font-size: 1.2em; }
686
-
687
- @media print {
688
- .document-info, .copyright {
689
- page-break-before: always; }
690
- .coverpage {
691
- height: 23cm; }
692
- .info-section {
693
- display: none; }
694
- .wrapper-top {
695
- top: 0;
696
- padding-top: 4cm;
697
- padding-bottom: 4cm; }
698
- .wrapper-top-bottom {
699
- margin-top: -5px;
700
- display: none; } }
701
-
702
706
  p {
703
707
  margin-top: 1em;
704
708
  margin-bottom: 1em; }
@@ -884,7 +888,7 @@ pre {
884
888
  font-family: {{monospacefont}};
885
889
  font-variant-ligatures: none;
886
890
  background-color: #f7f7f7;
887
- font-size: 0.8em;
891
+ font-size: {{monospacefontsize}};
888
892
  line-height: 1.6em;
889
893
  padding: 1.5em;
890
894
  margin: 2em 0 1em 0;
@@ -917,7 +921,7 @@ pre {
917
921
  .figure, pre, .pseudocode {
918
922
  background-color: #e1eef1;
919
923
  color: #424242;
920
- font-size: 0.8em; }
924
+ font-size: {{monospacefontsize}}; }
921
925
 
922
926
  .Note {
923
927
  background-color: #fff8bb;
@@ -1087,4 +1091,4 @@ a.footnote-number {
1087
1091
  font-size: 0.8em; }
1088
1092
 
1089
1093
  .footnote {
1090
- font-size: 0.9em; }
1094
+ font-size: {{footnotefontsize}}; }