metanorma-iho 0.1.0 → 0.2.2

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: b102c8d67f0e7683ca431ef331ee42b17357ab97d400be079cc18c6f03a1a581
4
- data.tar.gz: 90262012ddb75adcf2411472e2c92429159f8fc5359d09150d9cf624aecefe7d
3
+ metadata.gz: 230c4f5b1dc54f38626964d1c566b3b7075de0242981bcb822df9bf8d2f3a520
4
+ data.tar.gz: aa34f761d872455e1c0ce4110b305cb9502fa9a7c90d5f8e834f48dd7d8b1f16
5
5
  SHA512:
6
- metadata.gz: 853f61304cecacfe56cd9f39a717047ddcec573902b7eb1d76e4f8e8419970af4577c19aff579d4066023f4be476a544297473882703e70077183ce43daba8ce
7
- data.tar.gz: 8b84cd6e05cb6de6508097ae4ca105e711c14ca2fc33aef4b712af527c39aae2f068fe0b04c740b79557cc7b8a0ceca53d206dfe1d701e8af01a95d9a98c67d6
6
+ metadata.gz: e6e8f57daa7026e6b7c06a85af9265a7292ca1c57b9bda45d247f7575c02e281424fda42ee42be3d33ca99890bde00980307b64bc7b6244413508cc89c6e42c0
7
+ data.tar.gz: 1e32207b9ea840768639bf095e87efd04e3ab5b2778bdc84f63c0a6676f925cceea42a5479ec6edbd26789c93b81ef65942aaebb6a17a3a76c2ca5561f6482a8
@@ -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
@@ -29,14 +29,17 @@ 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
  gem install bundler
36
35
  bundle install --jobs 4 --retry 3
37
36
  - name: Install PlantUML
38
- run: |
39
- sudo bash -c "curl -L https://github.com/riboseinc/plantuml-install/raw/master/ubuntu.sh | bash"
37
+ uses: nick-invision/retry@v1
38
+ with:
39
+ polling_interval_seconds: 5
40
+ timeout_minutes: 5
41
+ max_attempts: 3
42
+ command: sudo apt-get update -y && sudo bash -c "curl -L https://github.com/metanorma/plantuml-install/raw/master/ubuntu.sh | bash"
40
43
  - name: Run specs
41
44
  run: |
42
45
  bundle exec rake
@@ -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
@@ -67,14 +67,22 @@ module Asciidoctor
67
67
 
68
68
  def metadata_committee1(node, xml)
69
69
  xml.editorialgroup do |a|
70
- a.committee node.attr("committee")
71
- a.workgroup node.attr("workgroup")
70
+ a.committee do |n|
71
+ n.abbreviation node.attr("committee").upcase
72
+ end
73
+ a.workgroup do |n|
74
+ n.abbreviation node.attr("workgroup").upcase
75
+ end
72
76
  end
73
77
  i = 2
74
78
  while node.attr("workgroup_#{i}") do
75
79
  xml.editorialgroup do |a|
76
- a.committee node.attr("committee_#{i}")
77
- a.workgroup node.attr("workgroup_#{i}")
80
+ a.committee do |n|
81
+ n.abbreviation node.attr("committee_#{i}").upcase
82
+ end
83
+ a.workgroup do |n|
84
+ n.abbreviation node.attr("workgroup_#{i}").upcase
85
+ end
78
86
  end
79
87
  i += 1
80
88
  end
@@ -23,8 +23,13 @@
23
23
  </define>
24
24
  <define name="editorialgroup">
25
25
  <element name="editorialgroup">
26
- <ref name="committee"/>
27
- <ref name="workgroup"/>
26
+ <oneOrMore>
27
+ <choice>
28
+ <ref name="committee"/>
29
+ <ref name="workgroup"/>
30
+ <ref name="commission"/>
31
+ </choice>
32
+ </oneOrMore>
28
33
  </element>
29
34
  </define>
30
35
  <define name="BibDataExtensionType">
@@ -94,16 +99,35 @@
94
99
  </include>
95
100
  <define name="committee">
96
101
  <element name="committee">
97
- <choice>
98
- <value>hssc</value>
99
- <value>ircc</value>
100
- </choice>
102
+ <ref name="IHO_Group"/>
101
103
  </element>
102
104
  </define>
103
105
  <define name="workgroup">
104
106
  <element name="workgroup">
107
+ <ref name="IHO_Group"/>
108
+ </element>
109
+ </define>
110
+ <define name="commission">
111
+ <element name="commission">
112
+ <ref name="IHO_Group"/>
113
+ </element>
114
+ </define>
115
+ <define name="IHO_Group">
116
+ <optional>
117
+ <element name="name">
118
+ <text/>
119
+ </element>
120
+ </optional>
121
+ <element name="abbreviation">
105
122
  <text/>
106
123
  </element>
124
+ <optional>
125
+ <choice>
126
+ <ref name="committee"/>
127
+ <ref name="workgroup"/>
128
+ <ref name="commission"/>
129
+ </choice>
130
+ </optional>
107
131
  </define>
108
132
  <define name="annex-appendix">
109
133
  <element name="appendix">
@@ -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">
@@ -922,6 +925,9 @@
922
925
  <optional>
923
926
  <attribute name="script"/>
924
927
  </optional>
928
+ <optional>
929
+ <attribute name="type"/>
930
+ </optional>
925
931
  <optional>
926
932
  <attribute name="obligation">
927
933
  <choice>
@@ -961,9 +967,6 @@
961
967
  </define>
962
968
  <define name="content-subsection">
963
969
  <element name="clause">
964
- <optional>
965
- <attribute name="type"/>
966
- </optional>
967
970
  <ref name="Content-Section"/>
968
971
  </element>
969
972
  </define>
@@ -992,6 +995,9 @@
992
995
  </choice>
993
996
  </attribute>
994
997
  </optional>
998
+ <optional>
999
+ <attribute name="type"/>
1000
+ </optional>
995
1001
  <optional>
996
1002
  <ref name="section-title"/>
997
1003
  </optional>
@@ -1011,9 +1017,6 @@
1011
1017
  </define>
1012
1018
  <define name="clause">
1013
1019
  <element name="clause">
1014
- <optional>
1015
- <attribute name="type"/>
1016
- </optional>
1017
1020
  <ref name="Clause-Section"/>
1018
1021
  </element>
1019
1022
  </define>
@@ -1042,6 +1045,9 @@
1042
1045
  </choice>
1043
1046
  </attribute>
1044
1047
  </optional>
1048
+ <optional>
1049
+ <attribute name="type"/>
1050
+ </optional>
1045
1051
  <optional>
1046
1052
  <ref name="section-title"/>
1047
1053
  </optional>
@@ -1180,6 +1186,9 @@
1180
1186
  <optional>
1181
1187
  <attribute name="script"/>
1182
1188
  </optional>
1189
+ <optional>
1190
+ <attribute name="type"/>
1191
+ </optional>
1183
1192
  <optional>
1184
1193
  <attribute name="obligation">
1185
1194
  <choice>
@@ -1,16 +1,6 @@
1
- require_relative "xref"
2
-
3
1
  module IsoDoc
4
2
  module IHO
5
3
  module BaseConvert
6
- def metadata_init(lang, script, labels)
7
- @meta = Metadata.new(lang, script, labels)
8
- end
9
-
10
- def xref_init(lang, script, klass, labels, options)
11
- @xrefs = Xref.new(lang, script, klass, labels, options)
12
- end
13
-
14
4
  # terms not defined in standoc
15
5
  def error_parse(node, out)
16
6
  case node.name
@@ -0,0 +1,1007 @@
1
+ /*
2
+ 0 CSS RESET
3
+ */
4
+ /* http://meyerweb.com/eric/tools/css/reset/
5
+ v2.0 | 20110126
6
+ License: none (public domain)
7
+ */
8
+ html, body, div, span, applet, object, iframe,
9
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
10
+ a, abbr, acronym, address, big, cite, code,
11
+ del, dfn, em, img, ins, kbd, q, s, samp,
12
+ small, strike, strong, sub, sup, tt, var,
13
+ b, u, i, center,
14
+ ol, ul, li,
15
+ fieldset, form, label, legend,
16
+ table, caption, tbody, tfoot, thead, tr, th, td,
17
+ article, aside, canvas, details, embed,
18
+ figure, figcaption, footer, header, hgroup,
19
+ menu, nav, output, ruby, section, summary,
20
+ time, mark, audio, video {
21
+ margin: 0;
22
+ padding: 0; }
23
+
24
+ html, body, div, span, applet, object, iframe,
25
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
26
+ a, abbr, acronym, address, big, cite, code,
27
+ del, dfn, em, img, ins, kbd, q, s, samp,
28
+ small, strike, strong, sub, sup, tt, var,
29
+ b, u, i, center,
30
+ dl, dt, dd, ol, ul, li,
31
+ fieldset, form, label, legend,
32
+ table, caption, tbody, tfoot, thead, tr, th, td,
33
+ article, aside, canvas, details, embed,
34
+ figure, figcaption, footer, header, hgroup,
35
+ menu, nav, output, ruby, section, summary,
36
+ time, mark, audio, video {
37
+ border: 0;
38
+ font-size: 100%; }
39
+
40
+ html, body, div, span, applet, object, iframe,
41
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
42
+ a, abbr, acronym, address, big, cite, code,
43
+ del, dfn, em, img, ins, kbd, q, s, samp,
44
+ small, strike, strong, tt, var,
45
+ b, u, i, center,
46
+ dl, dd, ol, ul, li,
47
+ fieldset, form, label, legend,
48
+ table, caption, tbody, tfoot, thead, tr, th, td,
49
+ article, aside, canvas, details, embed,
50
+ figure, figcaption, footer, header, hgroup,
51
+ menu, nav, output, ruby, section, summary,
52
+ time, mark, audio, video {
53
+ vertical-align: baseline; }
54
+
55
+ html, body, div, span, applet, object, iframe,
56
+ p, blockquote,
57
+ a, abbr, acronym, address, big, cite,
58
+ del, dfn, em, img, ins, q, s,
59
+ small, strike, strong, sub, sup, var,
60
+ b, u, i, center,
61
+ dl, dt, dd, ol, ul, li,
62
+ fieldset, form, label, legend,
63
+ table, caption, tbody, tfoot, thead, tr, th, td,
64
+ article, aside, canvas, details, embed,
65
+ figure, figcaption, footer, header, hgroup,
66
+ menu, nav, output, ruby, section, summary,
67
+ time, mark, audio, video {
68
+ font-family: {{bodyfont}}; }
69
+
70
+ code, pre, tt, kbd, samp {
71
+ font-family: {{monospacefont}};
72
+ font-variant-ligatures: none; }
73
+
74
+ code *, pre *, tt *, kbd *, samp * {
75
+ font-family: {{monospacefont}} !important;
76
+ font-variant-ligatures: none; }
77
+
78
+ article, aside, details, figcaption, figure,
79
+ footer, header, hgroup, menu, nav, section {
80
+ display: block; }
81
+
82
+ table {
83
+ border-collapse: collapse;
84
+ border-spacing: 0; }
85
+
86
+ h1, h2, h3, h4, h5, h6 {
87
+ font-family: {{headerfont}}; }
88
+
89
+ blockquote, q {
90
+ quotes: none; }
91
+ blockquote:before, blockquote:after, q:before, q:after {
92
+ content: '';
93
+ content: none; }
94
+
95
+ .h2Annex {
96
+ font-family: {{headerfont}}; }
97
+
98
+ dl {
99
+ display: grid;
100
+ grid-template-columns: max-content auto; }
101
+ dl dt p, dl dd p {
102
+ margin-top: 0; }
103
+ dl dt {
104
+ grid-column-start: 1; }
105
+ dl dd {
106
+ grid-column-start: 2; }
107
+
108
+ b, strong {
109
+ font-weight: bold; }
110
+
111
+ div.document-stage-band, div.document-type-band {
112
+ background-color: #333333; }
113
+
114
+ #standard-band {
115
+ background-color: #0AC442; }
116
+
117
+ #standard {
118
+ border-bottom: solid 3px #0AC442; }
119
+
120
+ #directive-band {
121
+ background-color: #540D6E; }
122
+
123
+ #directive {
124
+ border-bottom: solid 3px #540D6E; }
125
+
126
+ #guide-band {
127
+ background-color: #D183C9; }
128
+
129
+ #guide {
130
+ border-bottom: solid 3px #D183C9; }
131
+
132
+ #specification-band {
133
+ background-color: #65AFFF; }
134
+
135
+ #specification {
136
+ border-bottom: solid 3px #65AFFF; }
137
+
138
+ #report-band {
139
+ background-color: #3A405A; }
140
+
141
+ #report {
142
+ border-bottom: solid 3px #3A405A; }
143
+
144
+ #amendment-band {
145
+ background-color: #F26430; }
146
+
147
+ #amendment {
148
+ border-bottom: solid 3px #F26430; }
149
+
150
+ #corrigendum-band {
151
+ background-color: #C84630; }
152
+
153
+ #corrigendum {
154
+ border-bottom: solid 3px #C84630; }
155
+
156
+ #administrative-band {
157
+ background-color: #BFAE48; }
158
+
159
+ #administrative {
160
+ border-bottom: solid 3px #BFAE48; }
161
+
162
+ #advisory-band {
163
+ background-color: #BD9391; }
164
+
165
+ #advisory {
166
+ border-bottom: solid 3px #BD9391; }
167
+
168
+ #proposal-band {
169
+ background-color: #39A0ED; }
170
+
171
+ #proposal {
172
+ border-bottom: solid 3px #39A0ED; }
173
+
174
+ #working-draft-band {
175
+ background-color: #2D7393; }
176
+
177
+ #working-draft {
178
+ border-bottom: solid 3px #2D7393; }
179
+
180
+ #committee-draft-band {
181
+ background-color: #2A6B7C; }
182
+
183
+ #committee-draft {
184
+ border-bottom: solid 3px #2A6B7C; }
185
+
186
+ #draft-standard-band {
187
+ background-color: #1C7F7A; }
188
+
189
+ #draft-standard {
190
+ border-bottom: solid 3px #1C7F7A; }
191
+
192
+ #final-draft-band {
193
+ background-color: #53C170; }
194
+
195
+ #final-draft {
196
+ border-bottom: solid 3px #53C170; }
197
+
198
+ #published-band {
199
+ background-color: #069E2D; }
200
+
201
+ #published {
202
+ border-bottom: solid 3px #069E2D; }
203
+
204
+ #withdrawn-band {
205
+ background-color: #004E64; }
206
+
207
+ #withdrawn {
208
+ border-bottom: solid 3px #004E64; }
209
+
210
+ #cancelled-band {
211
+ background-color: #2E382E; }
212
+
213
+ #cancelled {
214
+ border-bottom: solid 3px #2E382E; }
215
+
216
+ body {
217
+ margin-left: auto;
218
+ margin-right: auto;
219
+ max-width: 100%;
220
+ font-size: 15px;
221
+ font-weight: 300;
222
+ line-height: 1.4em;
223
+ color: #212529;
224
+ background-color: #ffffff; }
225
+ body main {
226
+ margin: 0 3em 0 6em; }
227
+
228
+ main {
229
+ margin: 0 3em 0 6em; }
230
+
231
+ #toc {
232
+ font-family: {{bodyfont}};
233
+ font-weight: 400; }
234
+ #toc ul {
235
+ margin: 0;
236
+ padding: 0;
237
+ list-style: none; }
238
+ #toc ul li a {
239
+ padding: 5px 10px; }
240
+ #toc ul a {
241
+ color: #05164d;
242
+ text-decoration: none;
243
+ display: block; }
244
+ #toc ul a:hover {
245
+ box-shadow: none;
246
+ color: #05164d; }
247
+ #toc .h2 {
248
+ padding-left: 30px; }
249
+ #toc .h3 {
250
+ padding-left: 50px; }
251
+ #toc .toc-active, #toc li:hover {
252
+ background: #fedc5b;
253
+ box-shadow: inset -5px 0px 10px -5px #fedc5b !important; }
254
+ #toc .toc-active a, #toc li:hover a {
255
+ color: #05164d; }
256
+ @media print {
257
+ #toc .toc-active, #toc li:hover {
258
+ background: white;
259
+ box-shadow: none !important; }
260
+ #toc .toc-active a {
261
+ color: #05164d; }
262
+ #toc li:hover a {
263
+ color: black; } }
264
+ @media screen and (max-width: 768px) {
265
+ #toc {
266
+ padding: 0 1.5em;
267
+ overflow: visible; } }
268
+ #toc .toc-active a {
269
+ color: #05164d; }
270
+ #toc li a {
271
+ text-transform: uppercase; }
272
+ #toc ul a:hover {
273
+ box-shadow: none;
274
+ color: #05164d; }
275
+
276
+ @media screen and (min-width: 768px) {
277
+ nav {
278
+ position: fixed;
279
+ top: 0;
280
+ bottom: 0;
281
+ left: 0;
282
+ width: 323px;
283
+ font-size: 0.9em;
284
+ overflow: auto;
285
+ padding: 0 0 0 45px;
286
+ background-color: #f7f7f7; } }
287
+
288
+ @media print {
289
+ nav {
290
+ position: relative;
291
+ width: auto;
292
+ font-size: 0.9em;
293
+ overflow: auto;
294
+ padding: 0;
295
+ margin-right: 0;
296
+ background-color: white; } }
297
+
298
+ @media screen and (min-width: 768px) {
299
+ #toggle {
300
+ position: fixed;
301
+ height: 100%;
302
+ width: 30px;
303
+ background-color: #05164D;
304
+ color: white !important;
305
+ cursor: pointer;
306
+ z-index: 100; }
307
+ #toggle span {
308
+ text-align: center;
309
+ width: 100%;
310
+ position: absolute;
311
+ top: 50%;
312
+ transform: translate(0, -50%); } }
313
+
314
+ @media screen and (max-width: 768px) {
315
+ #toggle {
316
+ display: none; } }
317
+
318
+ @media print {
319
+ #toggle {
320
+ display: none; } }
321
+
322
+ #myBtn {
323
+ font-family: {{monospacefont}};
324
+ font-variant-ligatures: none;
325
+ display: none;
326
+ position: fixed;
327
+ bottom: 20px;
328
+ right: 30px;
329
+ z-index: 99;
330
+ font-size: 12px;
331
+ border: none;
332
+ outline: none;
333
+ background-color: #1f8ca0;
334
+ opacity: 0.15;
335
+ color: white;
336
+ cursor: pointer;
337
+ padding: 10px 15px 10px 15px;
338
+ border-radius: 4px;
339
+ text-transform: uppercase; }
340
+ #myBtn:hover {
341
+ opacity: 1; }
342
+ @media print {
343
+ #myBtn {
344
+ display: none; } }
345
+ #myBtn a.anchorjs-link:hover {
346
+ background: none;
347
+ color: #05164d;
348
+ box-shadow: none; }
349
+
350
+ /*
351
+ 2. Responsive navigation layout
352
+ */
353
+ @media screen and (min-width: 768px) {
354
+ .container {
355
+ padding-left: 360px; }
356
+ .rule.toc {
357
+ display: none; }
358
+ h1.toc-contents {
359
+ margin-top: 1em; }
360
+ ul#toc-list {
361
+ padding: 0;
362
+ margin: 0; } }
363
+
364
+ div.figure {
365
+ line-height: 1.6em;
366
+ padding: 1.5em;
367
+ margin: 2em 0 1em 0;
368
+ overflow: auto; }
369
+ div.figure .FigureTitle, div.figure .figure-title {
370
+ font-weight: 700;
371
+ font-size: 1em;
372
+ text-align: center; }
373
+ div.figure > img {
374
+ margin-left: auto;
375
+ margin-right: auto;
376
+ display: block;
377
+ max-width: 100%;
378
+ height: auto; }
379
+
380
+ /*
381
+ Document types + stages
382
+ */
383
+ .document-type-band {
384
+ left: 0;
385
+ top: 180px;
386
+ height: 100%;
387
+ position: fixed;
388
+ display: block;
389
+ z-index: 102; }
390
+ .document-type-band > :first-child {
391
+ position: relative;
392
+ width: 25px;
393
+ font-weight: 400;
394
+ color: white;
395
+ text-transform: uppercase;
396
+ font-size: 0.9em;
397
+ font-weight: 400;
398
+ letter-spacing: 0.05em;
399
+ margin: 0;
400
+ margin-left: 6px;
401
+ writing-mode: tb-rl;
402
+ -webkit-transform: rotate(180deg);
403
+ -moz-transform: rotate(180deg);
404
+ -o-transform: rotate(180deg);
405
+ white-space: nowrap;
406
+ display: block;
407
+ bottom: 0; }
408
+ @media print {
409
+ .document-type-band {
410
+ display: none; } }
411
+ .document-type-band .document-type {
412
+ top: 20px; }
413
+
414
+ .document-stage-band {
415
+ left: 0;
416
+ top: 0;
417
+ height: 100%;
418
+ position: fixed;
419
+ display: block;
420
+ z-index: 101;
421
+ box-shadow: -5px 0px 10px #1d1d1d; }
422
+ .document-stage-band > :first-child {
423
+ position: relative;
424
+ width: 25px;
425
+ font-weight: 300;
426
+ height: 160px;
427
+ color: white;
428
+ text-transform: uppercase;
429
+ font-size: 0.9em;
430
+ font-weight: 400;
431
+ letter-spacing: 0.05em;
432
+ margin: 0;
433
+ margin-left: 6px;
434
+ writing-mode: tb-rl;
435
+ -webkit-transform: rotate(180deg);
436
+ -moz-transform: rotate(180deg);
437
+ -o-transform: rotate(180deg);
438
+ white-space: nowrap;
439
+ display: block;
440
+ bottom: 0; }
441
+ @media print {
442
+ .document-stage-band {
443
+ display: none; } }
444
+ #governance-band p.document-type {
445
+ height: 230px !important; }
446
+
447
+ p.document-stage {
448
+ font-weight: 300;
449
+ height: 160px; }
450
+
451
+ #standard-band p {
452
+ height: 270px; }
453
+
454
+ #proposal-band p {
455
+ height: 150px; }
456
+
457
+ #standard-band,
458
+ #in-force-band {
459
+ background-color: #00AAA9; }
460
+
461
+ #standard,
462
+ #in-force {
463
+ border-bottom: solid 3px #00AAA9; }
464
+
465
+ #specification {
466
+ border-bottom: solid 3px #750697; }
467
+
468
+ #specification-band {
469
+ background-color: #750697; }
470
+
471
+ #draft-proposal,
472
+ #resolution {
473
+ border-bottom: solid 3px #48a0e7; }
474
+
475
+ #draft-proposal-band,
476
+ #resolution-band {
477
+ background-color: #48a0e7; }
478
+
479
+ .coverpage-maturity {
480
+ font-family: {{bodyfont}};
481
+ font-weight: 400;
482
+ font-size: 1em;
483
+ margin: 0 0 2em 0;
484
+ text-transform: uppercase; }
485
+
486
+ #draft-development,
487
+ #regulation {
488
+ border-bottom: solid 3px #F7803C; }
489
+
490
+ #draft-development-band,
491
+ #regulation-band {
492
+ background-color: #F7803C; }
493
+
494
+ #draft-testing {
495
+ border-bottom: solid 3px #fd06fd; }
496
+
497
+ #draft-testing-band {
498
+ background-color: #fd06fd; }
499
+
500
+ #draft-implementation {
501
+ border-bottom: solid 3px #fdf906; }
502
+
503
+ #draft-implementation-band {
504
+ background-color: #fdf906; }
505
+
506
+ #standard {
507
+ border-bottom: solid 3px #00AAA9; }
508
+
509
+ #standard-band {
510
+ background-color: #00AAA9; }
511
+
512
+ #retired {
513
+ border-bottom: solid 3px #7e0d13; }
514
+
515
+ #retired-band {
516
+ background-color: #7e0d13; }
517
+
518
+ /*
519
+ 3. TYPOGRAPHY
520
+ */
521
+ /*
522
+ 3.1 Titles
523
+ */
524
+ h1,
525
+ h2,
526
+ h3,
527
+ h4,
528
+ h5,
529
+ h6 {
530
+ font-family: {{headerfont}};
531
+ color: #05164D;
532
+ font-weight: 300;
533
+ margin-top: 1.6em;
534
+ margin-bottom: 0.3em; }
535
+
536
+ h1 {
537
+ font-size: 1.6em;
538
+ text-transform: uppercase;
539
+ margin-top: 2em; }
540
+
541
+ h1#content {
542
+ margin-top: 2em; }
543
+
544
+ h2 {
545
+ margin-top: 1.3em;
546
+ font-size: 1.3em;
547
+ font-weight: 400; }
548
+
549
+ h3 {
550
+ margin-top: 1.1em;
551
+ font-size: 1.1em;
552
+ font-weight: 100; }
553
+
554
+ .TermNum,
555
+ .Terms,
556
+ .AltTerms {
557
+ color: #05164D;
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
+ .contact-info a:hover {
576
+ color: #05164d;
577
+ text-decoration: underline;
578
+ background: none;
579
+ box-shadow: 0 0 0 0; }
580
+
581
+ /*
582
+ 3.2 Links
583
+ */
584
+ a, a:visited {
585
+ text-decoration: none;
586
+ color: #05164d; }
587
+
588
+ a:hover {
589
+ color: #05164d;
590
+ background: #fedc5b;
591
+ box-shadow: 3px 0 0 #fedc5b, -3px 0 0 #fedc5b; }
592
+
593
+ ::selection,
594
+ ::-moz-selection {
595
+ background: #fedc5b;
596
+ color: #05164d; }
597
+
598
+ /*
599
+ 3.3 Lists
600
+ */
601
+ ul,
602
+ ol {
603
+ margin-left: 1.2em; }
604
+
605
+ ul li {
606
+ list-style: none; }
607
+
608
+ ul > li:before {
609
+ content: "\2014";
610
+ display: inline-block;
611
+ width: 1em;
612
+ margin-left: -1.2em; }
613
+
614
+ ul > li p:first-child {
615
+ display: inline; }
616
+
617
+ ul > li:first-child {
618
+ margin-top: 1em; }
619
+
620
+ #toc-list ul {
621
+ margin-bottom: 0.25em; }
622
+
623
+ #toc-list li {
624
+ list-style-type: none; }
625
+
626
+ #toc li:before {
627
+ content: " ";
628
+ display: none; }
629
+
630
+ /*
631
+ 3.4 Rules
632
+ */
633
+ .rule {
634
+ width: 100%;
635
+ height: 1px;
636
+ background-color: #0e1a85;
637
+ margin: 2em 0; }
638
+
639
+ /*
640
+ 3.5 Bibliograhy
641
+ */
642
+ p.Biblio,
643
+ p.NormRef {
644
+ margin-top: 1em;
645
+ margin-left: 2em; }
646
+
647
+ /*
648
+ 3.6 Source Code + figures
649
+ */
650
+ .figure,
651
+ pre,
652
+ .pseudocode {
653
+ background-color: #f7f7f7;
654
+ font-size: 0.8em;
655
+ line-height: 1.6em;
656
+ padding: 1.5em;
657
+ margin: 2em 0 1em 0;
658
+ overflow: auto; }
659
+ .figure .SourceTitle,
660
+ pre .SourceTitle,
661
+ .pseudocode .SourceTitle {
662
+ font-weight: 700;
663
+ font-size: 1em;
664
+ text-align: center; }
665
+
666
+ pre {
667
+ font-family: {{monospacefont}};
668
+ font-variant-ligatures: none; }
669
+
670
+ .AdmonitionTitle {
671
+ font-weight: 700;
672
+ font-size: 1em;
673
+ text-align: center; }
674
+
675
+ .RecommendationTitle {
676
+ font-weight: 700;
677
+ font-size: 1em;
678
+ text-align: center; }
679
+
680
+ .FigureTitle,
681
+ .SourceTitle {
682
+ font-weight: 700;
683
+ font-size: 1em;
684
+ text-align: center; }
685
+
686
+ /*
687
+ 3.7 Notes
688
+ */
689
+ .Note {
690
+ background-color: #fedc5b;
691
+ color: #47430c;
692
+ padding: 1.2em;
693
+ margin: 1em 0 1em 0; }
694
+ .Note p {
695
+ margin: 0; }
696
+
697
+ .Admonition {
698
+ background-color: #ffcccc;
699
+ color: #47430c;
700
+ padding: 1.2em;
701
+ margin: 1em 0 1em 0; }
702
+ .Admonition p {
703
+ margin: 0; }
704
+
705
+ /*
706
+ 3.8 Examples
707
+ */
708
+ .example {
709
+ background-color: #e1eef1;
710
+ padding: 1.2em;
711
+ margin: 2em 0 1em 0;
712
+ text-align: left;
713
+ color: #424242;
714
+ padding-left: 2.7em; }
715
+ .example p {
716
+ margin: 0; }
717
+ .example .example-title {
718
+ font-weight: 700;
719
+ text-transform: uppercase;
720
+ margin-left: -1.5em; }
721
+ .example .example-title {
722
+ margin-top: 0; }
723
+ .example pre,
724
+ .example .pseudocode {
725
+ background: none; }
726
+
727
+ /*
728
+ 3.9 Tables
729
+ */
730
+ table {
731
+ width: 100%;
732
+ font-weight: 300;
733
+ margin: 1em 0 2em 0;
734
+ margin-left: auto;
735
+ margin-right: auto;
736
+ padding-right: 2em; }
737
+ table, table th, table td {
738
+ border: 1px solid black;
739
+ font-size: 0.95em; }
740
+ table th, table td {
741
+ padding: 1em; }
742
+ table td.header {
743
+ font-weigth: 400; }
744
+
745
+ p.TableTitle {
746
+ text-align: center;
747
+ margin-top: 2.5em;
748
+ font-weight: 400; }
749
+
750
+ /*
751
+ 3.10 Footnotes
752
+ */
753
+ a.footnote-number {
754
+ vertical-align: super;
755
+ font-size: 0.8em; }
756
+
757
+ .footnote {
758
+ font-size: 0.9em; }
759
+
760
+ /*
761
+ 3.11 Blockquotes
762
+ */
763
+ .Quote {
764
+ background-color: #f7f7f7;
765
+ font-style: italic;
766
+ width: 80%;
767
+ padding: 1.5em;
768
+ margin-top: 2em;
769
+ margin-left: auto;
770
+ margin-right: auto; }
771
+
772
+ /*
773
+ 3.12 Formulas
774
+ */
775
+ .formula {
776
+ background-color: #f7f7f7;
777
+ padding: 1.5em;
778
+ margin-top: 2em;
779
+ text-align: center; }
780
+
781
+ /*
782
+ 3.13 Contact Info
783
+ */
784
+ .contact-info {
785
+ padding: 2em;
786
+ margin-top: 5em;
787
+ width: 250px;
788
+ text-align: left;
789
+ border: #05164D solid 2px;
790
+ color: #05164D !important;
791
+ border-radius: 25px; }
792
+
793
+ .contact-info a,
794
+ .contact-info a:hover {
795
+ color: #05164D; }
796
+
797
+ .contact-info p,
798
+ .contact-info a {
799
+ font-family: {{monospacefont}};
800
+ font-variant-ligatures: none;
801
+ font-weight: 400; }
802
+
803
+ .contact-info .name {
804
+ font-weight: 700;
805
+ font-size: 1.2em;
806
+ margin-bottom: 0; }
807
+
808
+ .contact-info .address {
809
+ font-size: 1em;
810
+ line-height: 1.3em;
811
+ margin-top: 0; }
812
+
813
+ /*
814
+ Keywords
815
+ */
816
+ span.keyword {
817
+ font-weight: 600; }
818
+
819
+ /*
820
+ Paragraphs
821
+ */
822
+ p {
823
+ margin-top: 1em;
824
+ margin-bottom: 1em; }
825
+
826
+ h2 p {
827
+ display: inline; }
828
+
829
+ /*
830
+ 4.0 Page header
831
+ */
832
+ /*
833
+ 4.1 Top Logo
834
+ */
835
+ .icon-svg {
836
+ width: 100%;
837
+ color: #5ecf86; }
838
+
839
+ .wrapper-top {
840
+ background: #05164D;
841
+ color: #ffffff;
842
+ padding: 2em 0;
843
+ width: 100%; }
844
+
845
+ .wrapper-top-bottom {
846
+ width: 0;
847
+ height: 0;
848
+ border-top: 100px solid #05164D;
849
+ border-right: 100px solid transparent;
850
+ position: absolute; }
851
+
852
+ .doc-number {
853
+ font-size: 0.5em;
854
+ font-family: {{bodyfont}}; }
855
+
856
+ .coverpage-title {
857
+ padding-bottom: 0.5em;
858
+ font-family: {{headerfont}};
859
+ font-size: 1.2em;
860
+ line-height: 1.5em;
861
+ font-weight: 100;
862
+ padding-left: 1em;
863
+ padding-right: 1em;
864
+ text-transform: uppercase; }
865
+
866
+ .WordSection11 {
867
+ padding: 0 2em 0 3em; }
868
+
869
+ .info-section {
870
+ padding: 0 2em 0 5em; }
871
+
872
+ .prefatory-section {
873
+ padding: 0 3em 0 6em; }
874
+
875
+ .zzSTDTitle1,
876
+ .MsoCommentText {
877
+ display: none; }
878
+
879
+ .coverpage {
880
+ text-align: center;
881
+ padding-left: 1.5em; }
882
+ .coverpage img {
883
+ height: auto;
884
+ width: 400px; }
885
+
886
+ .coverpage-logo span,
887
+ .coverpage-tc-name span {
888
+ font-family: {{bodyfont}};
889
+ text-transform: none;
890
+ font-weight: 300; }
891
+
892
+ .coverpage-tc-name {
893
+ font-size: 1.2em;
894
+ line-height: 1.2em;
895
+ margin: 0.25em 0; }
896
+
897
+ /*
898
+ 4.2 Document Identity
899
+ */
900
+ .coverpage-doc-identity {
901
+ font-size: 2em;
902
+ line-height: 2em; }
903
+
904
+ .coverpage-title .title-second {
905
+ display: none; }
906
+
907
+ .coverpage-stage-block {
908
+ font-family: {{bodyfont}};
909
+ font-weight: 600;
910
+ font-size: 1.25em;
911
+ margin: 2em 0em 2em 0em;
912
+ text-transform: uppercase; }
913
+
914
+ /*
915
+ 4.3 Draft Warning
916
+ */
917
+ .coverpage-warning {
918
+ border: #f36f36 solid 2px;
919
+ color: #f36f36 !important;
920
+ margin: 1em 2em;
921
+ color: #05164d;
922
+ padding: 2em 1em 1em 1em;
923
+ border-radius: 25px; }
924
+
925
+ .coverpage-warning .title {
926
+ font-family: {{headerfont}};
927
+ font-weight: 300;
928
+ text-transform: uppercase;
929
+ font-size: 1.2em; }
930
+
931
+ /*
932
+ 4.4 Copyright
933
+ */
934
+ .boilerplate-copyright {
935
+ padding: 1em;
936
+ font-size: 0.9em;
937
+ text-align: left; }
938
+
939
+ /* .copyright .name, .copyright .address {color: #05164d;} */
940
+ /*
941
+ 5.0 Other styles
942
+ */
943
+ /*
944
+ To top button
945
+ */
946
+ @page {
947
+ margin: 2cm 1cm; }
948
+
949
+ @media print {
950
+ .document-info,
951
+ nav,
952
+ .copyright {
953
+ page-break-before: always; }
954
+ nav {
955
+ page-break-after: always; }
956
+ h1,
957
+ h2,
958
+ h3,
959
+ h4 {
960
+ page-break-after: avoid;
961
+ margin-top: 1.2em; }
962
+ .note,
963
+ .figure,
964
+ pre,
965
+ .pseudocode,
966
+ table {
967
+ page-break-inside: avoid; }
968
+ .info-section {
969
+ display: none; }
970
+ .coverpage {
971
+ height: 23cm; }
972
+ .wrapper-top {
973
+ top: 0;
974
+ padding-top: 4cm;
975
+ padding-bottom: 4cm; }
976
+ .wrapper-top-bottom {
977
+ margin-top: -5px; }
978
+ button#myBtn {
979
+ background-color: white; }
980
+ .container {
981
+ padding-left: 0; }
982
+ h1.content {
983
+ margin-top: 2em;
984
+ line-height: 2.5em; }
985
+ h1 {
986
+ font-size: 1.5em;
987
+ line-height: 1.5; }
988
+ h2 {
989
+ font-size: 1.2em; }
990
+ h3 {
991
+ font-size: 1em; }
992
+ .Note {
993
+ background-color: #fedc5b;
994
+ color: #47430c;
995
+ padding: 5px;
996
+ margin: 2em 0 1em 0; }
997
+ .Note p {
998
+ padding: 0 5px 0 5px; }
999
+ .Admonition {
1000
+ background-color: #ffcccc;
1001
+ color: #47430c;
1002
+ padding: 5px;
1003
+ margin: 2em 0 1em 0; }
1004
+ .Admonition p {
1005
+ padding: 0 5px 0 5px; }
1006
+ .wrapper-top-bottom {
1007
+ display: none; } }