metanorma-ribose 1.5.0 → 1.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9f9273c5a54719076d74cea00317006d4dc5036c5896aa31dc97519d6d074589
4
- data.tar.gz: 3506a3c998bafc8e8b7dff428d5502a27f21602af6f17499c66d4acd46272cc8
3
+ metadata.gz: fd8a7ba923060d8d77a27cc47590c5e2f4722689aeaf1d416f73f000cb60d558
4
+ data.tar.gz: a47926affab1e612888f0a935cfc4b9df2f66c75e6af582407bbf7b87b802bbd
5
5
  SHA512:
6
- metadata.gz: dd1d919cf94710aa2e787711b00dfc96ad0fae85a0fd5a3648963c0019a6675661af1e10cd973989aaee4aba14cffefd7cf8b890f45be36c9c3db1dfe49d433e
7
- data.tar.gz: 2e62ff6d014694a656f4d7ead74b97dbb123af55a0f7d13aee2cbe4cd1bb88cfd0a34716e6b3cd3a61305534b2032401012944a92f83b19fa4fc4c8190be821b
6
+ metadata.gz: 047a79ad6e5d1d4d1274ead5f3582e2b6927ef9911eadc963590afef810628c41584fd24718c05f2ac51e920977a18ccba2b4753d941fd6fbcdc95f20ad2d01e
7
+ data.tar.gz: ee23c689871c32d12bc9ec2016a6da6657173dc542ceecd7840ae5bf8ccda3693706ed0c89d2b2a41787d677cee7b9216d8364e3b1ff89ba12f2c0371eda3b6d
@@ -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
@@ -13,8 +13,7 @@ module Asciidoctor
13
13
  register_for "ribose"
14
14
 
15
15
  def sectiontype(node, level = true)
16
- ret = node&.attr("heading")&.downcase ||
17
- node.title.gsub(/<[^>]+>/, "").downcase
16
+ ret = sectiontype1(node)
18
17
  ret1 = sectiontype_streamline(ret)
19
18
  return ret1 if "symbols and abbreviated terms" == ret1
20
19
  return ret1 if "executive summary" == ret1
@@ -38,7 +37,7 @@ module Asciidoctor
38
37
  end
39
38
 
40
39
  def clause_parse(attrs, xml, node)
41
- sectiontype(node) == "executive summary" and
40
+ sectiontype1(node) == "executive summary" and
42
41
  return executivesummary_parse(attrs, xml, node)
43
42
  super
44
43
  end
@@ -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,21 +1,6 @@
1
1
  module IsoDoc
2
2
  module Ribose
3
3
  module BaseConvert
4
- def metadata_init(lang, script, labels)
5
- @meta = Metadata.new(lang, script, labels)
6
- end
7
-
8
- def xref_init(lang, script, klass, labels, options)
9
- @xrefs = Xref.new(lang, script, klass, labels, options)
10
- end
11
-
12
- def annex_name(annex, name, div)
13
- div.h1 **{ class: "Annex" } do |t|
14
- t << "#{@xrefs.anchor(annex['id'], :label)}<br/><br/>"
15
- name&.children&.each { |c2| parse(c2, t) }
16
- end
17
- end
18
-
19
4
  def executivesummary docxml, out
20
5
  f = docxml.at(ns("//executivesummary")) || return
21
6
  title_attr = { class: "IntroTitle" }
@@ -28,6 +13,11 @@ module IsoDoc
28
13
  end
29
14
  end
30
15
 
16
+ def is_clause?(name)
17
+ return true if name == "executivesummary"
18
+ super
19
+ end
20
+
31
21
  def clausedelim
32
22
  ""
33
23
  end
@@ -0,0 +1,1004 @@
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: #1d1d1d;
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: #485094;
242
+ text-decoration: none;
243
+ display: block; }
244
+ #toc ul a:hover {
245
+ box-shadow: none;
246
+ color: #485094; }
247
+ #toc .h2 {
248
+ padding-left: 30px; }
249
+ #toc .h3 {
250
+ padding-left: 50px; }
251
+ #toc .toc-active, #toc li:hover {
252
+ background: #1661AD;
253
+ box-shadow: inset -5px 0px 10px -5px #1661AD !important; }
254
+ #toc .toc-active a, #toc li:hover a {
255
+ color: #485094; }
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: #485094; }
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: white; }
270
+ #toc li a {
271
+ text-transform: uppercase; }
272
+ #toc ul a:hover {
273
+ box-shadow: none;
274
+ color: white; }
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: #1661AD;
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: #485094;
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
+ #published-band {
459
+ background-color: #9ABD48; }
460
+
461
+ #standard,
462
+ #published {
463
+ border-bottom: solid 3px #9ABD48; }
464
+
465
+ #governance,
466
+ #policy-and-procedures {
467
+ border-bottom: solid 3px #750697; }
468
+
469
+ #governance-band,
470
+ #policy-and-procedures-band {
471
+ background-color: #750697; }
472
+
473
+ #guide {
474
+ border-bottom: solid 3px #48a0e7; }
475
+
476
+ #guide-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
+ #working-draft,
487
+ #proposal {
488
+ border-bottom: solid 3px #F7803C; }
489
+
490
+ #working-draft-band,
491
+ #proposal-band {
492
+ background-color: #F7803C; }
493
+
494
+ #committee-draft {
495
+ border-bottom: solid 3px #fd06fd; }
496
+
497
+ #committee-draft-band {
498
+ background-color: #fd06fd; }
499
+
500
+ #draft-standard {
501
+ border-bottom: solid 3px #fdf906; }
502
+
503
+ #draft-standard-band {
504
+ background-color: #fdf906; }
505
+
506
+ #standard {
507
+ border-bottom: solid 3px #9ABD48; }
508
+
509
+ #standard-band {
510
+ background-color: #9ABD48; }
511
+
512
+ #obsolete {
513
+ border-bottom: solid 3px #7e0d13; }
514
+
515
+ #obsolete-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: #1661AD;
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: #1661AD;
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: #485094;
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: #485094; }
587
+
588
+ a:hover {
589
+ color: white;
590
+ background: #1661AD;
591
+ box-shadow: 3px 0 0 #1661AD, -3px 0 0 #1661AD; }
592
+
593
+ ::selection,
594
+ ::-moz-selection {
595
+ background: #1661AD;
596
+ color: white; }
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: #fff495;
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: #1661AD solid 2px;
790
+ color: #1661AD !important;
791
+ border-radius: 25px; }
792
+
793
+ .contact-info a,
794
+ .contact-info a:hover {
795
+ color: #1661AD; }
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: linear-gradient(200deg, #0f365e, #1661AD);
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 #1661AD;
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
+
883
+ .coverpage-logo span,
884
+ .coverpage-tc-name span {
885
+ font-family: {{bodyfont}};
886
+ text-transform: none;
887
+ font-weight: 300; }
888
+
889
+ .coverpage-tc-name {
890
+ font-size: 1.2em;
891
+ line-height: 1.2em;
892
+ margin: 0.25em 0; }
893
+
894
+ /*
895
+ 4.2 Document Identity
896
+ */
897
+ .coverpage-doc-identity {
898
+ font-size: 2em;
899
+ line-height: 2em; }
900
+
901
+ .coverpage-title .title-second {
902
+ display: none; }
903
+
904
+ .coverpage-stage-block {
905
+ font-family: {{bodyfont}};
906
+ font-weight: 600;
907
+ font-size: 1.25em;
908
+ margin: 2em 0em 2em 0em;
909
+ text-transform: uppercase; }
910
+
911
+ /*
912
+ 4.3 Draft Warning
913
+ */
914
+ .coverpage-warning {
915
+ border: #f36f36 solid 2px;
916
+ color: #f36f36 !important;
917
+ margin: 1em 2em;
918
+ color: #485094;
919
+ padding: 2em 1em 1em 1em;
920
+ border-radius: 25px; }
921
+
922
+ .coverpage-warning .title {
923
+ font-family: {{headerfont}};
924
+ font-weight: 300;
925
+ text-transform: uppercase;
926
+ font-size: 1.2em; }
927
+
928
+ /*
929
+ 4.4 Copyright
930
+ */
931
+ .boilerplate-copyright {
932
+ padding: 1em;
933
+ font-size: 0.9em;
934
+ text-align: left; }
935
+
936
+ /* .copyright .name, .copyright .address {color: #485094;} */
937
+ /*
938
+ 5.0 Other styles
939
+ */
940
+ /*
941
+ To top button
942
+ */
943
+ @page {
944
+ margin: 2cm 1cm; }
945
+
946
+ @media print {
947
+ .document-info,
948
+ nav,
949
+ .copyright {
950
+ page-break-before: always; }
951
+ nav {
952
+ page-break-after: always; }
953
+ h1,
954
+ h2,
955
+ h3,
956
+ h4 {
957
+ page-break-after: avoid;
958
+ margin-top: 1.2em; }
959
+ .note,
960
+ .figure,
961
+ pre,
962
+ .pseudocode,
963
+ table {
964
+ page-break-inside: avoid; }
965
+ .info-section {
966
+ display: none; }
967
+ .coverpage {
968
+ height: 23cm; }
969
+ .wrapper-top {
970
+ top: 0;
971
+ padding-top: 4cm;
972
+ padding-bottom: 4cm; }
973
+ .wrapper-top-bottom {
974
+ margin-top: -5px; }
975
+ button#myBtn {
976
+ background-color: white; }
977
+ .container {
978
+ padding-left: 0; }
979
+ h1.content {
980
+ margin-top: 2em;
981
+ line-height: 2.5em; }
982
+ h1 {
983
+ font-size: 1.5em;
984
+ line-height: 1.5; }
985
+ h2 {
986
+ font-size: 1.2em; }
987
+ h3 {
988
+ font-size: 1em; }
989
+ .Note {
990
+ background-color: #fff495;
991
+ color: #47430c;
992
+ padding: 5px;
993
+ margin: 2em 0 1em 0; }
994
+ .Note p {
995
+ padding: 0 5px 0 5px; }
996
+ .Admonition {
997
+ background-color: #ffcccc;
998
+ color: #47430c;
999
+ padding: 5px;
1000
+ margin: 2em 0 1em 0; }
1001
+ .Admonition p {
1002
+ padding: 0 5px 0 5px; }
1003
+ .wrapper-top-bottom {
1004
+ display: none; } }