metanorma-vg 1.1.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b81e97538ac28cdadd402a67bdbfe1680eca0f31f6d8929d0947eb376a951413
4
- data.tar.gz: 9b3f66c449d731d6eccf95fb325e5140088149fa26b8bdd67959b6d01e838a81
3
+ metadata.gz: 8eb5ba56139dcf41ea4090a1155e43b6f77cfdd84108eda3c5eef6303009e7ae
4
+ data.tar.gz: 94ceed2e5a4aabb10267f1a838750fec39575452e8223295ad5e6e877d806201
5
5
  SHA512:
6
- metadata.gz: 11a415b9518a2a35e26776e81b55a907d4a0858c3fe7e9db1038347c1b7a66c733eab1730f9d4036e8f6c49865b2a11a7aaae293520daab082518c702cbe4d59
7
- data.tar.gz: b5d7243f239894cb4795f45a348b48191a3661e3d9fa88a3af17461ad0ac31c2fdc93bfff0c8e0d00913db623590f79a334f48413e71501695bc475fbf795e70
6
+ metadata.gz: 7eda03751f1f7d3c002abab11376f6e819763172561cf5b5ba8a21e5a8b7adbea4a0a9f72bbc7380bd1983ded3f0a34d5f02718b5bf74f621096be9ee6ec8a85
7
+ data.tar.gz: 84ed6a6419ba6c8d05ec41ce963e7db9060f335c3f8b6b058a6d5c8273e44b56adfc842440c1dfc7de3943946be2ec9a3599f13bc7f87e90315c83c3d699d610
@@ -29,7 +29,6 @@ jobs:
29
29
  uses: actions/setup-ruby@v1
30
30
  with:
31
31
  ruby-version: ${{ matrix.ruby }}
32
- architecture: 'x64'
33
32
  - name: Update gems
34
33
  run: |
35
34
  sudo gem install bundler --force
@@ -31,7 +31,6 @@ jobs:
31
31
  uses: actions/setup-ruby@v1
32
32
  with:
33
33
  ruby-version: ${{ matrix.ruby }}
34
- architecture: 'x64'
35
34
  - name: Update gems
36
35
  run: |
37
36
  gem install bundler
@@ -39,15 +38,19 @@ jobs:
39
38
  - name: Run specs
40
39
  run: |
41
40
  bundle exec rake
42
- - name: Trigger dependent repositories
43
- if: github.ref == 'refs/heads/master' && matrix.ruby == '2.6'
41
+ - name: Trigger repositories
42
+ if: matrix.ruby == '2.6'
44
43
  env:
45
- GH_USERNAME: ${{ secrets.PAT_USERNAME }}
46
- GH_ACCESS_TOKEN: ${{ secrets.PAT_TOKEN }}
44
+ GH_USERNAME: metanorma-ci
45
+ GH_ACCESS_TOKEN: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
47
46
  run: |
48
47
  curl -LO --retry 3 https://raw.githubusercontent.com/metanorma/metanorma-build-scripts/master/trigger-gh-actions.sh
49
48
  [[ -f ".github/workflows/dependent_repos.env" ]] && source .github/workflows/dependent_repos.env
50
- for repo in $DEPENDENT_REPOS
49
+ CLIENT_PAYLOAD=$(cat <<EOF
50
+ "{ "ref": "${GITHUB_REF}", "repo": "${GITHUB_REPOSITORY}" }"
51
+ EOF
52
+ )
53
+ for repo in $REPOS
51
54
  do
52
- sh trigger-gh-actions.sh $ORGANISATION $repo $GH_USERNAME $GH_ACCESS_TOKEN $GITHUB_REPOSITORY "{ \"ref\": \"${GITHUB_REF}\" }"
55
+ sh trigger-gh-actions.sh $ORGANISATION $repo $GH_USERNAME $GH_ACCESS_TOKEN $GITHUB_REPOSITORY "$CLIENT_PAYLOAD"
53
56
  done
@@ -29,7 +29,6 @@ jobs:
29
29
  uses: actions/setup-ruby@v1
30
30
  with:
31
31
  ruby-version: ${{ matrix.ruby }}
32
- architecture: 'x64'
33
32
  - name: Update gems
34
33
  shell: pwsh
35
34
  run: |
data/Rakefile CHANGED
@@ -1,6 +1,8 @@
1
1
  require "bundler/gem_tasks"
2
2
  require "rspec/core/rake_task"
3
+ require 'isodoc/gem_tasks'
3
4
 
5
+ IsoDoc::GemTasks.install
4
6
  RSpec::Core::RakeTask.new(:spec)
5
7
 
6
8
  task :default => :spec
@@ -158,7 +158,17 @@
158
158
  <data type="ID"/>
159
159
  </attribute>
160
160
  <oneOrMore>
161
- <ref name="paragraph"/>
161
+ <choice>
162
+ <ref name="formula"/>
163
+ <ref name="ul"/>
164
+ <ref name="ol"/>
165
+ <ref name="dl"/>
166
+ <ref name="quote"/>
167
+ <ref name="sourcecode"/>
168
+ <ref name="paragraph"/>
169
+ <ref name="table"/>
170
+ <ref name="figure"/>
171
+ </choice>
162
172
  </oneOrMore>
163
173
  </element>
164
174
  </define>
@@ -402,6 +412,16 @@
402
412
  </choice>
403
413
  </attribute>
404
414
  </optional>
415
+ <optional>
416
+ <attribute name="valign">
417
+ <choice>
418
+ <value>top</value>
419
+ <value>middle</value>
420
+ <value>bottom</value>
421
+ <value>baseline</value>
422
+ </choice>
423
+ </attribute>
424
+ </optional>
405
425
  <choice>
406
426
  <zeroOrMore>
407
427
  <ref name="TextElement"/>
@@ -429,6 +449,16 @@
429
449
  </choice>
430
450
  </attribute>
431
451
  </optional>
452
+ <optional>
453
+ <attribute name="valign">
454
+ <choice>
455
+ <value>top</value>
456
+ <value>middle</value>
457
+ <value>bottom</value>
458
+ <value>baseline</value>
459
+ </choice>
460
+ </attribute>
461
+ </optional>
432
462
  <choice>
433
463
  <zeroOrMore>
434
464
  <ref name="TextElement"/>
@@ -42,8 +42,11 @@
42
42
  </define>
43
43
  <define name="xref">
44
44
  <element name="xref">
45
+ <!-- attribute target { xsd:IDREF }, -->
45
46
  <attribute name="target">
46
- <data type="IDREF"/>
47
+ <data type="string">
48
+ <param name="pattern">\i\c*|\c+#\c+</param>
49
+ </data>
47
50
  </attribute>
48
51
  <optional>
49
52
  <attribute name="type">
@@ -578,6 +581,8 @@
578
581
  <ref name="ol"/>
579
582
  <ref name="dl"/>
580
583
  <ref name="formula"/>
584
+ <ref name="quote"/>
585
+ <ref name="sourcecode"/>
581
586
  </choice>
582
587
  </oneOrMore>
583
588
  </element>
@@ -661,6 +666,16 @@
661
666
  </choice>
662
667
  </attribute>
663
668
  </optional>
669
+ <optional>
670
+ <attribute name="valign">
671
+ <choice>
672
+ <value>top</value>
673
+ <value>middle</value>
674
+ <value>bottom</value>
675
+ <value>baseline</value>
676
+ </choice>
677
+ </attribute>
678
+ </optional>
664
679
  <choice>
665
680
  <zeroOrMore>
666
681
  <choice>
@@ -697,6 +712,16 @@
697
712
  </choice>
698
713
  </attribute>
699
714
  </optional>
715
+ <optional>
716
+ <attribute name="valign">
717
+ <choice>
718
+ <value>top</value>
719
+ <value>middle</value>
720
+ <value>bottom</value>
721
+ <value>baseline</value>
722
+ </choice>
723
+ </attribute>
724
+ </optional>
700
725
  <choice>
701
726
  <zeroOrMore>
702
727
  <choice>
@@ -922,6 +947,9 @@
922
947
  <optional>
923
948
  <attribute name="script"/>
924
949
  </optional>
950
+ <optional>
951
+ <attribute name="type"/>
952
+ </optional>
925
953
  <optional>
926
954
  <attribute name="obligation">
927
955
  <choice>
@@ -961,9 +989,6 @@
961
989
  </define>
962
990
  <define name="content-subsection">
963
991
  <element name="clause">
964
- <optional>
965
- <attribute name="type"/>
966
- </optional>
967
992
  <ref name="Content-Section"/>
968
993
  </element>
969
994
  </define>
@@ -992,6 +1017,9 @@
992
1017
  </choice>
993
1018
  </attribute>
994
1019
  </optional>
1020
+ <optional>
1021
+ <attribute name="type"/>
1022
+ </optional>
995
1023
  <optional>
996
1024
  <ref name="section-title"/>
997
1025
  </optional>
@@ -1011,9 +1039,6 @@
1011
1039
  </define>
1012
1040
  <define name="clause">
1013
1041
  <element name="clause">
1014
- <optional>
1015
- <attribute name="type"/>
1016
- </optional>
1017
1042
  <ref name="Clause-Section"/>
1018
1043
  </element>
1019
1044
  </define>
@@ -1042,18 +1067,24 @@
1042
1067
  </choice>
1043
1068
  </attribute>
1044
1069
  </optional>
1070
+ <optional>
1071
+ <attribute name="type"/>
1072
+ </optional>
1045
1073
  <optional>
1046
1074
  <ref name="section-title"/>
1047
1075
  </optional>
1048
1076
  <group>
1049
- <group>
1050
- <zeroOrMore>
1051
- <ref name="BasicBlock"/>
1052
- </zeroOrMore>
1053
- <zeroOrMore>
1054
- <ref name="note"/>
1055
- </zeroOrMore>
1056
- </group>
1077
+ <choice>
1078
+ <group>
1079
+ <zeroOrMore>
1080
+ <ref name="BasicBlock"/>
1081
+ </zeroOrMore>
1082
+ <zeroOrMore>
1083
+ <ref name="note"/>
1084
+ </zeroOrMore>
1085
+ </group>
1086
+ <ref name="amend"/>
1087
+ </choice>
1057
1088
  <zeroOrMore>
1058
1089
  <choice>
1059
1090
  <ref name="clause-subsection"/>
@@ -1180,6 +1211,9 @@
1180
1211
  <optional>
1181
1212
  <attribute name="script"/>
1182
1213
  </optional>
1214
+ <optional>
1215
+ <attribute name="type"/>
1216
+ </optional>
1183
1217
  <optional>
1184
1218
  <attribute name="obligation">
1185
1219
  <choice>
@@ -1501,4 +1535,79 @@
1501
1535
  <ref name="CitationType"/>
1502
1536
  </element>
1503
1537
  </define>
1538
+ <define name="amend">
1539
+ <element name="amend">
1540
+ <optional>
1541
+ <attribute name="id">
1542
+ <data type="ID"/>
1543
+ </attribute>
1544
+ </optional>
1545
+ <attribute name="change">
1546
+ <choice>
1547
+ <value>add</value>
1548
+ <value>modify</value>
1549
+ <value>delete</value>
1550
+ </choice>
1551
+ </attribute>
1552
+ <optional>
1553
+ <attribute name="path"/>
1554
+ </optional>
1555
+ <optional>
1556
+ <attribute name="path_end"/>
1557
+ </optional>
1558
+ <optional>
1559
+ <attribute name="title"/>
1560
+ </optional>
1561
+ <optional>
1562
+ <element name="location">
1563
+ <zeroOrMore>
1564
+ <ref name="locality"/>
1565
+ </zeroOrMore>
1566
+ </element>
1567
+ </optional>
1568
+ <zeroOrMore>
1569
+ <ref name="autonumber"/>
1570
+ </zeroOrMore>
1571
+ <optional>
1572
+ <element name="description">
1573
+ <zeroOrMore>
1574
+ <ref name="BasicBlock"/>
1575
+ </zeroOrMore>
1576
+ </element>
1577
+ </optional>
1578
+ <optional>
1579
+ <element name="newcontent">
1580
+ <zeroOrMore>
1581
+ <ref name="BasicBlock"/>
1582
+ </zeroOrMore>
1583
+ </element>
1584
+ </optional>
1585
+ <optional>
1586
+ <element name="description">
1587
+ <zeroOrMore>
1588
+ <ref name="BasicBlock"/>
1589
+ </zeroOrMore>
1590
+ </element>
1591
+ </optional>
1592
+ </element>
1593
+ </define>
1594
+ <define name="autonumber">
1595
+ <element name="autonumber">
1596
+ <attribute name="type">
1597
+ <choice>
1598
+ <value>requirement</value>
1599
+ <value>recommendation</value>
1600
+ <value>permission</value>
1601
+ <value>table</value>
1602
+ <value>figure</value>
1603
+ <value>admonition</value>
1604
+ <value>formula</value>
1605
+ <value>sourcecode</value>
1606
+ <value>example</value>
1607
+ <value>note</value>
1608
+ </choice>
1609
+ </attribute>
1610
+ <text/>
1611
+ </element>
1612
+ </define>
1504
1613
  </grammar>
@@ -0,0 +1,995 @@
1
+ @charset "UTF-8";
2
+ /*
3
+ 0 CSS RESET
4
+ */
5
+ /* http://meyerweb.com/eric/tools/css/reset/
6
+ v2.0 | 20110126
7
+ License: none (public domain)
8
+ */
9
+ html, body, div, span, applet, object, iframe,
10
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
11
+ a, abbr, acronym, address, big, cite, code,
12
+ del, dfn, em, img, ins, kbd, q, s, samp,
13
+ small, strike, strong, sub, sup, tt, var,
14
+ b, u, i, center,
15
+ ol, ul, li,
16
+ fieldset, form, label, legend,
17
+ table, caption, tbody, tfoot, thead, tr, th, td,
18
+ article, aside, canvas, details, embed,
19
+ figure, figcaption, footer, header, hgroup,
20
+ menu, nav, output, ruby, section, summary,
21
+ time, mark, audio, video {
22
+ margin: 0;
23
+ padding: 0; }
24
+
25
+ html, body, div, span, applet, object, iframe,
26
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
27
+ a, abbr, acronym, address, big, cite, code,
28
+ del, dfn, em, img, ins, kbd, q, s, samp,
29
+ small, strike, strong, sub, sup, tt, var,
30
+ b, u, i, center,
31
+ dl, dt, dd, ol, ul, li,
32
+ fieldset, form, label, legend,
33
+ table, caption, tbody, tfoot, thead, tr, th, td,
34
+ article, aside, canvas, details, embed,
35
+ figure, figcaption, footer, header, hgroup,
36
+ menu, nav, output, ruby, section, summary,
37
+ time, mark, audio, video {
38
+ border: 0;
39
+ font-size: 100%; }
40
+
41
+ html, body, div, span, applet, object, iframe,
42
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
43
+ a, abbr, acronym, address, big, cite, code,
44
+ del, dfn, em, img, ins, kbd, q, s, samp,
45
+ small, strike, strong, tt, var,
46
+ b, u, i, center,
47
+ dl, dd, ol, ul, li,
48
+ fieldset, form, label, legend,
49
+ table, caption, tbody, tfoot, thead, tr, th, td,
50
+ article, aside, canvas, details, embed,
51
+ figure, figcaption, footer, header, hgroup,
52
+ menu, nav, output, ruby, section, summary,
53
+ time, mark, audio, video {
54
+ vertical-align: baseline; }
55
+
56
+ html, body, div, span, applet, object, iframe,
57
+ p, blockquote,
58
+ a, abbr, acronym, address, big, cite,
59
+ del, dfn, em, img, ins, q, s,
60
+ small, strike, strong, sub, sup, var,
61
+ b, u, i, center,
62
+ dl, dt, dd, ol, ul, li,
63
+ fieldset, form, label, legend,
64
+ table, caption, tbody, tfoot, thead, tr, th, td,
65
+ article, aside, canvas, details, embed,
66
+ figure, figcaption, footer, header, hgroup,
67
+ menu, nav, output, ruby, section, summary,
68
+ time, mark, audio, video {
69
+ font-family: {{bodyfont}}; }
70
+
71
+ code, pre, tt, kbd, samp {
72
+ font-family: {{monospacefont}};
73
+ font-variant-ligatures: none; }
74
+
75
+ code *, pre *, tt *, kbd *, samp * {
76
+ font-family: {{monospacefont}} !important;
77
+ font-variant-ligatures: none; }
78
+
79
+ article, aside, details, figcaption, figure,
80
+ footer, header, hgroup, menu, nav, section {
81
+ display: block; }
82
+
83
+ table {
84
+ border-collapse: collapse;
85
+ border-spacing: 0; }
86
+
87
+ h1, h2, h3, h4, h5, h6 {
88
+ font-family: {{headerfont}}; }
89
+
90
+ blockquote, q {
91
+ quotes: none; }
92
+ blockquote:before, blockquote:after, q:before, q:after {
93
+ content: '';
94
+ content: none; }
95
+
96
+ .h2Annex {
97
+ font-family: {{headerfont}}; }
98
+
99
+ dl {
100
+ display: grid;
101
+ grid-template-columns: max-content auto; }
102
+ dl dt p, dl dd p {
103
+ margin-top: 0; }
104
+ dl dt {
105
+ grid-column-start: 1; }
106
+ dl dd {
107
+ grid-column-start: 2; }
108
+
109
+ b, strong {
110
+ font-weight: bold; }
111
+
112
+ div.document-stage-band, div.document-type-band {
113
+ background-color: #333333; }
114
+
115
+ #standard-band {
116
+ background-color: #0AC442; }
117
+
118
+ #standard {
119
+ border-bottom: solid 3px #0AC442; }
120
+
121
+ #directive-band {
122
+ background-color: #540D6E; }
123
+
124
+ #directive {
125
+ border-bottom: solid 3px #540D6E; }
126
+
127
+ #guide-band {
128
+ background-color: #D183C9; }
129
+
130
+ #guide {
131
+ border-bottom: solid 3px #D183C9; }
132
+
133
+ #specification-band {
134
+ background-color: #65AFFF; }
135
+
136
+ #specification {
137
+ border-bottom: solid 3px #65AFFF; }
138
+
139
+ #report-band {
140
+ background-color: #3A405A; }
141
+
142
+ #report {
143
+ border-bottom: solid 3px #3A405A; }
144
+
145
+ #amendment-band {
146
+ background-color: #F26430; }
147
+
148
+ #amendment {
149
+ border-bottom: solid 3px #F26430; }
150
+
151
+ #corrigendum-band {
152
+ background-color: #C84630; }
153
+
154
+ #corrigendum {
155
+ border-bottom: solid 3px #C84630; }
156
+
157
+ #administrative-band {
158
+ background-color: #BFAE48; }
159
+
160
+ #administrative {
161
+ border-bottom: solid 3px #BFAE48; }
162
+
163
+ #advisory-band {
164
+ background-color: #BD9391; }
165
+
166
+ #advisory {
167
+ border-bottom: solid 3px #BD9391; }
168
+
169
+ #proposal-band {
170
+ background-color: #39A0ED; }
171
+
172
+ #proposal {
173
+ border-bottom: solid 3px #39A0ED; }
174
+
175
+ #working-draft-band {
176
+ background-color: #2D7393; }
177
+
178
+ #working-draft {
179
+ border-bottom: solid 3px #2D7393; }
180
+
181
+ #committee-draft-band {
182
+ background-color: #2A6B7C; }
183
+
184
+ #committee-draft {
185
+ border-bottom: solid 3px #2A6B7C; }
186
+
187
+ #draft-standard-band {
188
+ background-color: #1C7F7A; }
189
+
190
+ #draft-standard {
191
+ border-bottom: solid 3px #1C7F7A; }
192
+
193
+ #final-draft-band {
194
+ background-color: #53C170; }
195
+
196
+ #final-draft {
197
+ border-bottom: solid 3px #53C170; }
198
+
199
+ #published-band {
200
+ background-color: #069E2D; }
201
+
202
+ #published {
203
+ border-bottom: solid 3px #069E2D; }
204
+
205
+ #withdrawn-band {
206
+ background-color: #004E64; }
207
+
208
+ #withdrawn {
209
+ border-bottom: solid 3px #004E64; }
210
+
211
+ #cancelled-band {
212
+ background-color: #2E382E; }
213
+
214
+ #cancelled {
215
+ border-bottom: solid 3px #2E382E; }
216
+
217
+ /*
218
+ 1. HTML & Body
219
+ */
220
+ body {
221
+ margin-left: auto;
222
+ margin-right: auto;
223
+ max-width: 100%;
224
+ font-size: 15px;
225
+ font-weight: 300;
226
+ line-height: 1.4em;
227
+ color: #1d1d1d;
228
+ background-color: #ffffff;
229
+ font-weight: 400; }
230
+ body main {
231
+ margin: 0 3em 0 6em; }
232
+ body pre * {
233
+ font-family: {{bodyfont}} !important; }
234
+
235
+ main {
236
+ margin: 0 3em 0 6em; }
237
+
238
+ /*
239
+ 2. Responsive navigation layout
240
+ */
241
+ #toc {
242
+ font-family: {{bodyfont}};
243
+ font-weight: 400; }
244
+ #toc ul {
245
+ margin: 0;
246
+ padding: 0;
247
+ list-style: none; }
248
+ #toc ul li a {
249
+ padding: 5px 10px; }
250
+ #toc ul a {
251
+ color: #485094;
252
+ text-decoration: none;
253
+ display: block; }
254
+ #toc ul a:hover {
255
+ box-shadow: none;
256
+ color: #485094; }
257
+ #toc .h2 {
258
+ padding-left: 30px; }
259
+ #toc .h3 {
260
+ padding-left: 50px; }
261
+ #toc .toc-active, #toc li:hover {
262
+ background: #6C734A;
263
+ box-shadow: inset -5px 0px 10px -5px #6C734A !important; }
264
+ #toc .toc-active a, #toc li:hover a {
265
+ color: #485094; }
266
+ @media print {
267
+ #toc .toc-active, #toc li:hover {
268
+ background: white;
269
+ box-shadow: none !important; }
270
+ #toc .toc-active a {
271
+ color: #485094; }
272
+ #toc li:hover a {
273
+ color: black; } }
274
+ @media screen and (max-width: 768px) {
275
+ #toc {
276
+ padding: 0 1.5em;
277
+ overflow: visible; } }
278
+ #toc .toc-active a {
279
+ color: white; }
280
+ #toc .toc-active,
281
+ #toc li:hover {
282
+ box-shadow: none !important; }
283
+ #toc .toc-active a,
284
+ #toc li:hover a {
285
+ color: white;
286
+ background: none;
287
+ box-shadow: none; }
288
+ #toc li a {
289
+ text-transform: uppercase; }
290
+ #toc ul a:hover {
291
+ box-shadow: none;
292
+ color: white; }
293
+
294
+ @media screen and (min-width: 768px) {
295
+ nav {
296
+ position: fixed;
297
+ top: 0;
298
+ bottom: 0;
299
+ left: 0;
300
+ width: 323px;
301
+ font-size: 0.9em;
302
+ overflow: auto;
303
+ padding: 0 0 0 45px;
304
+ background-color: #f7f7f7; } }
305
+
306
+ @media print {
307
+ nav {
308
+ position: relative;
309
+ width: auto;
310
+ font-size: 0.9em;
311
+ overflow: auto;
312
+ padding: 0;
313
+ margin-right: 0;
314
+ background-color: white; } }
315
+
316
+ @media screen and (min-width: 768px) {
317
+ #toggle {
318
+ position: fixed;
319
+ height: 100%;
320
+ width: 30px;
321
+ background-color: #6C734A;
322
+ color: white !important;
323
+ cursor: pointer;
324
+ z-index: 100; }
325
+ #toggle span {
326
+ text-align: center;
327
+ width: 100%;
328
+ position: absolute;
329
+ top: 50%;
330
+ transform: translate(0, -50%); } }
331
+
332
+ @media screen and (max-width: 768px) {
333
+ #toggle {
334
+ display: none; } }
335
+
336
+ @media print {
337
+ #toggle {
338
+ display: none; } }
339
+
340
+ @media screen and (min-width: 768px) {
341
+ .container {
342
+ padding-left: 360px; }
343
+ .rule.toc {
344
+ display: none; }
345
+ h1.toc-contents {
346
+ margin-top: 1em; }
347
+ ul#toc-list {
348
+ padding: 0;
349
+ margin: 0; } }
350
+
351
+ div.figure {
352
+ line-height: 1.6em;
353
+ padding: 1.5em;
354
+ margin: 2em 0 1em 0;
355
+ overflow: auto; }
356
+ div.figure .FigureTitle, div.figure .figure-title {
357
+ font-weight: 700;
358
+ font-size: 1em;
359
+ text-align: center; }
360
+ div.figure > img {
361
+ margin-left: auto;
362
+ margin-right: auto;
363
+ display: block;
364
+ max-width: 100%;
365
+ height: auto; }
366
+
367
+ /*
368
+ Document types + stages
369
+ */
370
+ .document-type-band {
371
+ left: 0;
372
+ top: 180px;
373
+ height: 100%;
374
+ position: fixed;
375
+ display: block;
376
+ z-index: 102; }
377
+ .document-type-band > :first-child {
378
+ position: relative;
379
+ width: 25px;
380
+ font-weight: 400;
381
+ color: white;
382
+ text-transform: uppercase;
383
+ font-size: 0.9em;
384
+ font-weight: 400;
385
+ letter-spacing: 0.05em;
386
+ margin: 0;
387
+ margin-left: 6px;
388
+ writing-mode: tb-rl;
389
+ -webkit-transform: rotate(180deg);
390
+ -moz-transform: rotate(180deg);
391
+ -o-transform: rotate(180deg);
392
+ white-space: nowrap;
393
+ display: block;
394
+ bottom: 0; }
395
+ @media print {
396
+ .document-type-band {
397
+ display: none; } }
398
+ .document-type-band .document-type {
399
+ top: 20px; }
400
+
401
+ .document-stage-band {
402
+ left: 0;
403
+ top: 0;
404
+ height: 100%;
405
+ position: fixed;
406
+ display: block;
407
+ z-index: 101;
408
+ box-shadow: -5px 0px 10px #1d1d1d; }
409
+ .document-stage-band > :first-child {
410
+ position: relative;
411
+ width: 25px;
412
+ font-weight: 400;
413
+ height: 150;
414
+ color: white;
415
+ text-transform: uppercase;
416
+ font-size: 0.9em;
417
+ font-weight: 400;
418
+ letter-spacing: 0.05em;
419
+ margin: 0;
420
+ margin-left: 6px;
421
+ writing-mode: tb-rl;
422
+ -webkit-transform: rotate(180deg);
423
+ -moz-transform: rotate(180deg);
424
+ -o-transform: rotate(180deg);
425
+ white-space: nowrap;
426
+ display: block;
427
+ bottom: 0; }
428
+ @media print {
429
+ .document-stage-band {
430
+ display: none; } }
431
+ .document-stage-band > :first-child {
432
+ font-weight: 300; }
433
+
434
+ p.document-stage {
435
+ position: relative;
436
+ width: 25px;
437
+ font-weight: 400;
438
+ height: 150;
439
+ color: white;
440
+ text-transform: uppercase;
441
+ font-size: 0.9em;
442
+ font-weight: 400;
443
+ letter-spacing: 0.05em;
444
+ margin: 0;
445
+ margin-left: 6px;
446
+ writing-mode: tb-rl;
447
+ -webkit-transform: rotate(180deg);
448
+ -moz-transform: rotate(180deg);
449
+ -o-transform: rotate(180deg);
450
+ white-space: nowrap;
451
+ display: block;
452
+ bottom: 0; }
453
+
454
+ #governance-band p.document-type {
455
+ height: 230px !important; }
456
+
457
+ p.document-stage {
458
+ font-weight: 300;
459
+ height: 160px; }
460
+
461
+ #proposal-band p {
462
+ height: 150px; }
463
+
464
+ #standard-band,
465
+ #published-band {
466
+ background-color: #007864; }
467
+
468
+ #standard,
469
+ #published {
470
+ border-bottom: solid 3px #007864; }
471
+
472
+ #governance,
473
+ #policy-and-procedures {
474
+ border-bottom: solid 3px #750697; }
475
+
476
+ #governance-band,
477
+ #policy-and-procedures-band {
478
+ background-color: #750697; }
479
+
480
+ #guide {
481
+ border-bottom: solid 3px #48a0e7; }
482
+
483
+ #guide-band {
484
+ background-color: #48a0e7; }
485
+
486
+ .coverpage-maturity {
487
+ font-family: {{bodyfont}};
488
+ font-weight: 400;
489
+ font-size: 1em;
490
+ margin: 0 0 2em 0;
491
+ text-transform: uppercase; }
492
+
493
+ #working-draft,
494
+ #proposal {
495
+ border-bottom: solid 3px #F7803C; }
496
+
497
+ #working-draft-band,
498
+ #proposal-band {
499
+ background-color: #F7803C; }
500
+
501
+ #committee-draft {
502
+ border-bottom: solid 3px #fd06fd; }
503
+
504
+ #committee-draft-band {
505
+ background-color: #fd06fd; }
506
+
507
+ #draft-standard {
508
+ border-bottom: solid 3px #fdf906; }
509
+
510
+ #draft-standard-band {
511
+ background-color: #fdf906; }
512
+
513
+ #standard {
514
+ border-bottom: solid 3px #007864; }
515
+
516
+ #standard-band {
517
+ background-color: #007864; }
518
+
519
+ #obsolete {
520
+ border-bottom: solid 3px #7e0d13; }
521
+
522
+ #obsolete-band {
523
+ background-color: #7e0d13; }
524
+
525
+ /*
526
+ 3. TYPOGRAPHY
527
+ */
528
+ /*
529
+ 3.1 Titles
530
+ */
531
+ h1, h2, h3, h4, h5, h6 {
532
+ font-family: {{headerfont}};
533
+ color: #6C734A;
534
+ font-weight: 300;
535
+ margin-top: 1.6em;
536
+ margin-bottom: 0.3em; }
537
+
538
+ h1 {
539
+ font-size: 1.6em;
540
+ text-transform: uppercase;
541
+ margin-top: 2em; }
542
+
543
+ h1#content {
544
+ margin-top: 2em; }
545
+
546
+ h2 {
547
+ margin-top: 1.3em;
548
+ font-size: 1.3em;
549
+ font-weight: 400; }
550
+
551
+ h3 {
552
+ margin-top: 1.1em;
553
+ font-size: 1.1em;
554
+ font-weight: 100; }
555
+
556
+ .TermNum, .Terms, .AltTerms {
557
+ color: #6C734A;
558
+ font-weight: 100; }
559
+
560
+ h2.TermNum {
561
+ margin-bottom: 0; }
562
+
563
+ p.Terms {
564
+ font-size: 1.1em;
565
+ line-height: 1.5em;
566
+ margin: 0; }
567
+
568
+ p.AltTerms {
569
+ /*
570
+ font-style: italic;
571
+ */
572
+ font-size: 1.1em;
573
+ margin: 0; }
574
+
575
+ /*
576
+ 3.2 Links
577
+ */
578
+ a, a:visited {
579
+ text-decoration: none;
580
+ color: #485094; }
581
+
582
+ a:hover {
583
+ color: white;
584
+ background: #6C734A;
585
+ box-shadow: 3px 0 0 #6C734A, -3px 0 0 #6C734A; }
586
+
587
+ ::selection,
588
+ ::-moz-selection {
589
+ background: #6C734A;
590
+ color: white; }
591
+
592
+ /*
593
+ 3.3 Lists
594
+ */
595
+ ul, ol {
596
+ margin-left: 1.2em; }
597
+
598
+ ul li {
599
+ list-style: none; }
600
+
601
+ ul li:before {
602
+ content: "—";
603
+ display: inline-block;
604
+ width: 1em;
605
+ margin-left: -1.2em; }
606
+
607
+ ul li p {
608
+ display: inline; }
609
+
610
+ ul li:first-child {
611
+ margin-top: 1em; }
612
+
613
+ #toc-list ul {
614
+ margin-bottom: 0.25em; }
615
+
616
+ #toc-list li {
617
+ list-style-type: none; }
618
+
619
+ #toc li:before {
620
+ content: " ";
621
+ display: none; }
622
+
623
+ /*
624
+ 3.4 Rules
625
+ */
626
+ .rule {
627
+ width: 100%;
628
+ height: 1px;
629
+ background-color: #0e1a85;
630
+ margin: 2em 0; }
631
+
632
+ /*
633
+ 3.5 Bibliograhy
634
+ */
635
+ p.Biblio, p.NormRef {
636
+ margin-top: 1em;
637
+ margin-left: 2em; }
638
+
639
+ /*
640
+ 3.6 Source Code + figures
641
+ */
642
+ .figure,
643
+ pre,
644
+ .pseudocode {
645
+ background-color: #f7f7f7;
646
+ font-size: 0.8em;
647
+ line-height: 1.6em;
648
+ padding: 1.5em;
649
+ margin: 2em 0 1em 0;
650
+ overflow: auto; }
651
+ .figure .SourceTitle,
652
+ pre .SourceTitle,
653
+ .pseudocode .SourceTitle {
654
+ font-weight: 700;
655
+ font-size: 1em;
656
+ text-align: center; }
657
+
658
+ pre {
659
+ font-family: {{monospacefont}};
660
+ font-variant-ligatures: none; }
661
+
662
+ .AdmonitionTitle {
663
+ font-weight: 700;
664
+ font-size: 1em;
665
+ text-align: center; }
666
+
667
+ .RecommendationTitle {
668
+ font-weight: 700;
669
+ font-size: 1em;
670
+ text-align: center; }
671
+
672
+ .FigureTitle,
673
+ .SourceTitle {
674
+ font-weight: 700;
675
+ font-size: 1em;
676
+ text-align: center; }
677
+
678
+ /*
679
+ 3.7 Notes
680
+ */
681
+ .Note {
682
+ background-color: #fff495;
683
+ color: #47430c;
684
+ padding: 1.2em;
685
+ margin: 1em 0 1em 0; }
686
+ .Note p {
687
+ margin: 0; }
688
+
689
+ /*
690
+ 3.8 Examples
691
+ */
692
+ .example {
693
+ background-color: #e1eef1;
694
+ padding: 1.2em;
695
+ margin: 2em 0 1em 0;
696
+ text-align: left;
697
+ color: #424242;
698
+ padding-left: 2.7em; }
699
+ .example p {
700
+ margin: 0; }
701
+ .example .example-title {
702
+ font-weight: 700;
703
+ text-transform: uppercase;
704
+ margin-left: -1.5em; }
705
+ .example .example-title {
706
+ margin-top: 0; }
707
+ .example pre,
708
+ .example .pseudocode {
709
+ background: none; }
710
+
711
+ /*
712
+ 3.9 Tables
713
+ */
714
+ table {
715
+ width: 100%;
716
+ font-weight: 300;
717
+ margin: 1em 0 2em 0;
718
+ margin-left: auto;
719
+ margin-right: auto;
720
+ padding-right: 2em; }
721
+ table, table th, table td {
722
+ border: 1px solid black;
723
+ font-size: 0.95em; }
724
+ table th, table td {
725
+ padding: 1em; }
726
+ table td.header {
727
+ font-weigth: 400; }
728
+
729
+ p.TableTitle {
730
+ text-align: center;
731
+ margin-top: 2.5em;
732
+ font-weight: 400; }
733
+
734
+ /*
735
+ 3.10 Footnotes
736
+ */
737
+ a.footnote-number {
738
+ vertical-align: super;
739
+ font-size: 0.8em; }
740
+
741
+ .footnote {
742
+ font-size: 0.9em; }
743
+
744
+ /*
745
+ 3.11 Blockquotes
746
+ */
747
+ .Quote {
748
+ background-color: #f2f2f2;
749
+ font-style: italic;
750
+ width: 80%;
751
+ padding: 1.5em;
752
+ margin-top: 2em;
753
+ margin-left: auto;
754
+ margin-right: auto; }
755
+
756
+ /*
757
+ 3.12 Formulas
758
+ */
759
+ .formula {
760
+ background-color: #f7f7f7;
761
+ padding: 1.5em;
762
+ margin-top: 2em;
763
+ text-align: center; }
764
+
765
+ /*
766
+ 3.13 Contact Info
767
+ */
768
+ .contact-info {
769
+ padding: 2em;
770
+ margin-top: 5em;
771
+ width: 250px;
772
+ text-align: left;
773
+ border: #6C734A solid 2px;
774
+ color: #6C734A !important;
775
+ border-radius: 25px; }
776
+
777
+ .contact-info a,
778
+ .contact-info a:hover {
779
+ color: #6C734A; }
780
+
781
+ .contact-info p, .contact-info a {
782
+ font-family: {{monospacefont}};
783
+ font-weight: 400; }
784
+
785
+ .contact-info .name {
786
+ font-weight: 700;
787
+ font-size: 1.2em;
788
+ margin-bottom: 0; }
789
+
790
+ .contact-info .address {
791
+ font-size: 1em;
792
+ line-height: 1.3em;
793
+ margin-top: 0; }
794
+
795
+ /*
796
+ Keywords
797
+ */
798
+ span.keyword {
799
+ font-weight: 600; }
800
+
801
+ /*
802
+ Paragraphs
803
+ */
804
+ p {
805
+ margin-top: 1em;
806
+ margin-bottom: 1em; }
807
+
808
+ h2 p {
809
+ display: inline; }
810
+
811
+ /*
812
+ 4.0 Page header
813
+ */
814
+ /*
815
+ 4.1 Top Logo
816
+ */
817
+ .icon-svg {
818
+ width: 100%;
819
+ color: #5ecf86; }
820
+
821
+ .wrapper-top {
822
+ background: linear-gradient(200deg, #007864, #6C734A);
823
+ color: #ffffff;
824
+ padding: 2em 0;
825
+ width: 100%; }
826
+
827
+ .wrapper-top-bottom {
828
+ width: 0;
829
+ height: 0;
830
+ border-top: 100px solid #6C734A;
831
+ border-right: 100px solid transparent;
832
+ position: absolute; }
833
+
834
+ .doc-number {
835
+ font-size: 0.5em;
836
+ font-family: {{bodyfont}}; }
837
+
838
+ .coverpage-title {
839
+ padding-bottom: 0.5em;
840
+ font-family: {{headerfont}};
841
+ font-size: 1.2em;
842
+ line-height: 1.5em;
843
+ font-weight: 100;
844
+ padding-left: 1em;
845
+ padding-right: 1em;
846
+ text-transform: uppercase; }
847
+
848
+ .WordSection11 {
849
+ padding: 0 2em 0 3em; }
850
+
851
+ .info-section {
852
+ padding: 0 2em 0 5em; }
853
+
854
+ .prefatory-section {
855
+ padding: 0 3em 0 6em; }
856
+
857
+ .zzSTDTitle1, .MsoCommentText {
858
+ display: none; }
859
+
860
+ .coverpage {
861
+ text-align: center;
862
+ padding-left: 1.5em; }
863
+
864
+ .coverpage-logo span, .coverpage-tc-name span {
865
+ font-family: {{bodyfont}};
866
+ text-transform: none;
867
+ font-weight: 300; }
868
+
869
+ .coverpage-tc-name {
870
+ font-size: 1.2em;
871
+ line-height: 1.2em;
872
+ margin: 0.25em 0; }
873
+
874
+ /*
875
+ 4.2 Document Identity
876
+ */
877
+ .coverpage-doc-identity {
878
+ font-size: 2em;
879
+ line-height: 2em; }
880
+
881
+ .coverpage-title .title-second {
882
+ display: none; }
883
+
884
+ .coverpage-stage-block {
885
+ font-family: {{bodyfont}};
886
+ font-weight: 600;
887
+ font-size: 1.25em;
888
+ margin: 2em 0em 2em 0em;
889
+ text-transform: uppercase; }
890
+
891
+ /*
892
+ 4.3 Draft Warning
893
+ */
894
+ .coverpage-warning {
895
+ border: #f36f36 solid 2px;
896
+ color: #f36f36 !important;
897
+ margin: 1em 2em;
898
+ color: #485094;
899
+ padding: 2em 1em 1em 1em;
900
+ border-radius: 25px; }
901
+
902
+ .coverpage-warning .title {
903
+ font-family: {{headerfont}};
904
+ font-weight: 300;
905
+ text-transform: uppercase;
906
+ font-size: 1.2em; }
907
+
908
+ /*
909
+ 4.4 Copyright
910
+ */
911
+ .copyright {
912
+ padding: 1em;
913
+ font-size: 0.9em;
914
+ text-align: left; }
915
+
916
+ /* .copyright .name, .copyright .address {color: #485094;} */
917
+ /*
918
+ 5.0 Other styles
919
+ */
920
+ /*
921
+ To top button
922
+ */
923
+ #myBtn {
924
+ font-family: {{monospacefont}};
925
+ font-variant-ligatures: none;
926
+ display: none;
927
+ position: fixed;
928
+ bottom: 20px;
929
+ right: 30px;
930
+ z-index: 99;
931
+ font-size: 12px;
932
+ border: none;
933
+ outline: none;
934
+ background-color: #1f8ca0;
935
+ opacity: 0.15;
936
+ color: white;
937
+ cursor: pointer;
938
+ padding: 10px 15px 10px 15px;
939
+ border-radius: 4px;
940
+ text-transform: uppercase; }
941
+ #myBtn:hover {
942
+ opacity: 1; }
943
+ @media print {
944
+ #myBtn {
945
+ display: none; } }
946
+ #myBtn a.anchorjs-link:hover {
947
+ background: none;
948
+ color: #485094;
949
+ box-shadow: none; }
950
+
951
+ @page {
952
+ margin: 2cm 1cm; }
953
+
954
+ @media print {
955
+ .document-info, nav, .copyright {
956
+ page-break-before: always; }
957
+ h1, h2, h3, h4 {
958
+ page-break-after: avoid;
959
+ margin-top: 1.2em; }
960
+ .note, .figure, pre, .pseudocode, table {
961
+ page-break-inside: avoid; }
962
+ .info-section {
963
+ display: none; }
964
+ .coverpage {
965
+ height: 23cm; }
966
+ .wrapper-top {
967
+ top: 0;
968
+ padding-top: 4cm;
969
+ padding-bottom: 4cm; }
970
+ .wrapper-top-bottom {
971
+ margin-top: -5px; }
972
+ #toggle, .document-stage-band,
973
+ .document-type-band, button#myBtn {
974
+ display: none; }
975
+ .container {
976
+ padding-left: 0; }
977
+ h1.content {
978
+ margin-top: 2em;
979
+ line-height: 2.5em; }
980
+ h1 {
981
+ font-size: 1.5em;
982
+ line-height: 1.5; }
983
+ h2 {
984
+ font-size: 1.2em; }
985
+ h3 {
986
+ font-size: 1em; }
987
+ .Note {
988
+ background-color: #fff495;
989
+ color: #47430c;
990
+ padding: 5px;
991
+ margin: 2em 0 1em 0; }
992
+ .Note p {
993
+ padding: 0 5px 0 5px; }
994
+ .wrapper-top-bottom {
995
+ display: none; } }