metanorma-iso 1.3.26 → 1.4.3.pre.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/macos.yml +0 -1
- data/.github/workflows/ubuntu.yml +6 -3
- data/.github/workflows/windows.yml +0 -1
- data/Gemfile +1 -0
- data/Rakefile +2 -0
- data/lib/asciidoctor/iso/base.rb +11 -14
- data/lib/asciidoctor/iso/biblio.rng +1 -1
- data/lib/asciidoctor/iso/cleanup.rb +1 -1
- data/lib/asciidoctor/iso/front_id.rb +1 -1
- data/lib/asciidoctor/iso/isodoc.rng +427 -0
- data/lib/asciidoctor/iso/isostandard.rng +3 -0
- data/lib/asciidoctor/iso/reqt.rng +23 -0
- data/lib/asciidoctor/iso/term_lookup_cleanup.rb +2 -2
- data/lib/asciidoctor/iso/validate.rb +1 -5
- data/lib/asciidoctor/iso/validate_title.rb +1 -1
- data/lib/isodoc/iso/base_convert.rb +66 -79
- data/lib/isodoc/iso/html/htmlstyle.css +47 -0
- data/lib/isodoc/iso/html/htmlstyle.scss +0 -1
- data/lib/isodoc/iso/html/isodoc.css +862 -0
- data/lib/isodoc/iso/html/isodoc.scss +4 -1
- data/lib/isodoc/iso/html/style-human.css +968 -0
- data/lib/isodoc/iso/html/style-human.scss +3 -0
- data/lib/isodoc/iso/html/style-iso.css +996 -0
- data/lib/isodoc/iso/html/style-iso.scss +3 -0
- data/lib/isodoc/iso/html/word_iso_intro.html +4 -0
- data/lib/isodoc/iso/html/wordstyle.css +1515 -0
- data/lib/isodoc/iso/html/wordstyle.scss +0 -1
- data/lib/isodoc/iso/iso.amendment.xsl +778 -261
- data/lib/isodoc/iso/iso.international-standard.xsl +778 -261
- data/lib/isodoc/iso/metadata.rb +1 -1
- data/lib/isodoc/iso/pdf_convert.rb +1 -14
- data/lib/isodoc/iso/presentation_xml_convert.rb +13 -0
- data/lib/isodoc/iso/sections.rb +2 -2
- data/lib/isodoc/iso/sts_convert.rb +8 -6
- data/lib/isodoc/iso/xref.rb +111 -0
- data/lib/metanorma-iso.rb +1 -0
- data/lib/metanorma/iso/processor.rb +11 -8
- data/lib/metanorma/iso/version.rb +1 -1
- data/metanorma-iso.gemspec +3 -2
- data/spec/asciidoctor-iso/amd_spec.rb +7 -7
- data/spec/asciidoctor-iso/base_spec.rb +5 -5
- data/spec/asciidoctor-iso/cleanup_spec.rb +2 -2
- data/spec/asciidoctor-iso/macros_spec.rb +20 -6
- data/spec/asciidoctor-iso/refs_spec.rb +1 -1
- data/spec/asciidoctor-iso/table_spec.rb +1 -1
- data/spec/isodoc/amd_spec.rb +48 -2
- data/spec/isodoc/blocks_spec.rb +112 -27
- data/spec/isodoc/inline_spec.rb +2 -2
- data/spec/isodoc/metadata_spec.rb +86 -4
- data/spec/isodoc/postproc_spec.rb +1 -1
- data/spec/isodoc/ref_spec.rb +5 -5
- data/spec/isodoc/table_spec.rb +8 -8
- data/spec/isodoc/terms_spec.rb +4 -4
- data/spec/isodoc/xref_spec.rb +24 -18
- data/spec/metanorma/processor_spec.rb +2 -2
- metadata +35 -15
@@ -0,0 +1,996 @@
|
|
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: 16px;
|
221
|
+
font-weight: 300;
|
222
|
+
line-height: 1.4em;
|
223
|
+
color: -internal-root-color;
|
224
|
+
background-color: #ffffff; }
|
225
|
+
body main {
|
226
|
+
margin: 0 3em 0 6em; }
|
227
|
+
body main {
|
228
|
+
margin: 0; }
|
229
|
+
|
230
|
+
/* HTML5 display-role reset for older browsers */
|
231
|
+
article, aside, details, figcaption, figure,
|
232
|
+
footer, header, hgroup, menu, nav, section {
|
233
|
+
display: block; }
|
234
|
+
|
235
|
+
body {
|
236
|
+
line-height: 1.3; }
|
237
|
+
|
238
|
+
blockquote, q {
|
239
|
+
quotes: none; }
|
240
|
+
|
241
|
+
blockquote:before, blockquote:after,
|
242
|
+
q:before, q:after {
|
243
|
+
content: '';
|
244
|
+
content: none; }
|
245
|
+
|
246
|
+
/* New CSS */
|
247
|
+
body {
|
248
|
+
margin-left: 298px;
|
249
|
+
margin-right: 2em; }
|
250
|
+
|
251
|
+
main {
|
252
|
+
padding-left: 4em;
|
253
|
+
padding-right: 2em; }
|
254
|
+
|
255
|
+
.title-section, .prefatory-section {
|
256
|
+
padding-left: 4em;
|
257
|
+
padding-top: 2em; }
|
258
|
+
|
259
|
+
.coverpage_docnumber, .coverpage_techcommittee {
|
260
|
+
text-align: right;
|
261
|
+
font-size: 0.9em;
|
262
|
+
line-height: 0.5em; }
|
263
|
+
|
264
|
+
.doctitle-en, .doctitle-fr {
|
265
|
+
margin-top: 2em;
|
266
|
+
text-align: left; }
|
267
|
+
|
268
|
+
.doctitle-en {
|
269
|
+
padding-left: 3em;
|
270
|
+
margin-left: -3em;
|
271
|
+
/*padding-top: 2em;*/
|
272
|
+
padding-bottom: 2em; }
|
273
|
+
|
274
|
+
.doctitle-en span {
|
275
|
+
font-size: 2em;
|
276
|
+
line-height: 1.5em; }
|
277
|
+
|
278
|
+
.doctitle-fr span {
|
279
|
+
font-size: 1.5em;
|
280
|
+
line-height: 1.2em;
|
281
|
+
font-style: italic; }
|
282
|
+
|
283
|
+
.doctitle-part {
|
284
|
+
margin-top: 1em; }
|
285
|
+
|
286
|
+
span.title, span.subtitle, span.part {
|
287
|
+
font-weight: 800; }
|
288
|
+
|
289
|
+
span.partlabel {
|
290
|
+
display: block; }
|
291
|
+
|
292
|
+
.coverpage_docstage {
|
293
|
+
margin-top: 2em;
|
294
|
+
margin-bottom: 2em; }
|
295
|
+
|
296
|
+
.coverpage_warning {
|
297
|
+
font-size: 0.9em;
|
298
|
+
font-style: italic;
|
299
|
+
padding-bottom: 1em; }
|
300
|
+
|
301
|
+
.boilerplate-copyright p {
|
302
|
+
margin-top: 1em;
|
303
|
+
display: block;
|
304
|
+
font-size: 0.9em; }
|
305
|
+
|
306
|
+
/* TYPOGRAPHY */
|
307
|
+
h1 {
|
308
|
+
font-size: 1.5em;
|
309
|
+
line-height: 2em;
|
310
|
+
margin-top: 2em;
|
311
|
+
margin-bottom: 1em; }
|
312
|
+
|
313
|
+
h2 {
|
314
|
+
font-size: 1.2em;
|
315
|
+
line-height: 1.5em;
|
316
|
+
margin-top: 2em;
|
317
|
+
margin-bottom: 1em; }
|
318
|
+
|
319
|
+
h1, h2, h3, h4, h5, h6 {
|
320
|
+
line-height: 1.2; }
|
321
|
+
|
322
|
+
{% if doctype == "Amendment" or doctype == "Technical Corrigendum" %}
|
323
|
+
h1, h2, h3, h4, h5, h6 {
|
324
|
+
font-weight: normal;
|
325
|
+
font-size: initial;
|
326
|
+
font-style: italic; }
|
327
|
+
|
328
|
+
{% endif %}
|
329
|
+
p {
|
330
|
+
margin-top: 1em;
|
331
|
+
margin-bottom: 1em; }
|
332
|
+
|
333
|
+
p.zzSTDTitle1 {
|
334
|
+
font-weight: 700;
|
335
|
+
font-size: 1.5em; }
|
336
|
+
|
337
|
+
p.zzSTDTitle2 {
|
338
|
+
font-size: 1.5em; }
|
339
|
+
|
340
|
+
span.obligation {
|
341
|
+
font-weight: 400; }
|
342
|
+
|
343
|
+
a {
|
344
|
+
color: black;
|
345
|
+
text-decoration-color: black; }
|
346
|
+
|
347
|
+
h2 p {
|
348
|
+
display: inline; }
|
349
|
+
|
350
|
+
ul > li {
|
351
|
+
list-style: none; }
|
352
|
+
|
353
|
+
ul > li > p:first-child:before {
|
354
|
+
content: "\2014";
|
355
|
+
display: inline-block;
|
356
|
+
width: 1em;
|
357
|
+
margin-left: -1.5em;
|
358
|
+
margin-right: 0.5em; }
|
359
|
+
|
360
|
+
li p {
|
361
|
+
margin-bottom: 0.6em;
|
362
|
+
line-height: 1.2; }
|
363
|
+
|
364
|
+
p.AltTerms {
|
365
|
+
margin-bottom: 0;
|
366
|
+
font-style: italic;
|
367
|
+
margin-left: 2em; }
|
368
|
+
|
369
|
+
p.Terms {
|
370
|
+
font-weight: bold;
|
371
|
+
margin-top: 0em; }
|
372
|
+
|
373
|
+
/* Navigation*/
|
374
|
+
#toc {
|
375
|
+
font-family: {{bodyfont}};
|
376
|
+
font-weight: 400; }
|
377
|
+
#toc ul {
|
378
|
+
margin: 0;
|
379
|
+
padding: 0;
|
380
|
+
list-style: none; }
|
381
|
+
#toc ul li a {
|
382
|
+
padding: 5px 10px; }
|
383
|
+
#toc ul a {
|
384
|
+
text-decoration: none;
|
385
|
+
display: block; }
|
386
|
+
#toc ul a:hover {
|
387
|
+
box-shadow: none;
|
388
|
+
color: black; }
|
389
|
+
#toc .h2 {
|
390
|
+
padding-left: 30px; }
|
391
|
+
#toc .h3 {
|
392
|
+
padding-left: 50px; }
|
393
|
+
#toc .toc-active, #toc li:hover {
|
394
|
+
background: #f7f7f7;
|
395
|
+
box-shadow: inset -5px 0px 10px -5px #f7f7f7 !important; }
|
396
|
+
#toc .toc-active a, #toc li:hover a {
|
397
|
+
color: black; }
|
398
|
+
@media print {
|
399
|
+
#toc .toc-active, #toc li:hover {
|
400
|
+
background: white;
|
401
|
+
box-shadow: none !important; }
|
402
|
+
#toc li:hover a {
|
403
|
+
color: black; } }
|
404
|
+
@media screen and (max-width: 768px) {
|
405
|
+
#toc {
|
406
|
+
padding: 0 1.5em;
|
407
|
+
overflow: visible; } }
|
408
|
+
#toc .toc-active,
|
409
|
+
#toc li:hover {
|
410
|
+
box-shadow: 0px 1px 0px 0px black !important;
|
411
|
+
background: none; }
|
412
|
+
#toc li:before {
|
413
|
+
content: " ";
|
414
|
+
display: none; }
|
415
|
+
|
416
|
+
nav {
|
417
|
+
line-height: 1.2em; }
|
418
|
+
@media screen and (min-width: 768px) {
|
419
|
+
nav {
|
420
|
+
position: fixed;
|
421
|
+
top: 0;
|
422
|
+
bottom: 0;
|
423
|
+
left: 0;
|
424
|
+
width: 278px;
|
425
|
+
font-size: 0.9em;
|
426
|
+
overflow: auto;
|
427
|
+
padding: 0 0 0 20px;
|
428
|
+
background-color: #f7f7f7; } }
|
429
|
+
@media print {
|
430
|
+
nav {
|
431
|
+
position: relative;
|
432
|
+
width: auto;
|
433
|
+
font-size: 0.9em;
|
434
|
+
overflow: auto;
|
435
|
+
padding: 0;
|
436
|
+
margin-right: 0;
|
437
|
+
background-color: white; } }
|
438
|
+
#toggle {
|
439
|
+
border-right: solid black 1px;
|
440
|
+
margin-left: -4em;
|
441
|
+
margin-top: -2em; }
|
442
|
+
@media screen and (min-width: 768px) {
|
443
|
+
#toggle {
|
444
|
+
position: fixed;
|
445
|
+
height: 100%;
|
446
|
+
width: 30px;
|
447
|
+
background-color: #f7f7f7;
|
448
|
+
color: black !important;
|
449
|
+
cursor: pointer;
|
450
|
+
z-index: 100; }
|
451
|
+
#toggle span {
|
452
|
+
text-align: center;
|
453
|
+
width: 100%;
|
454
|
+
position: absolute;
|
455
|
+
top: 50%;
|
456
|
+
transform: translate(0, -50%); } }
|
457
|
+
@media screen and (max-width: 768px) {
|
458
|
+
#toggle {
|
459
|
+
display: none; } }
|
460
|
+
@media print {
|
461
|
+
#toggle {
|
462
|
+
display: none; } }
|
463
|
+
@media screen and (min-width: 768px) {
|
464
|
+
.container {
|
465
|
+
padding-left: 360px; }
|
466
|
+
.rule.toc {
|
467
|
+
display: none; }
|
468
|
+
h1.toc-contents {
|
469
|
+
margin-top: 1em; }
|
470
|
+
ul#toc-list {
|
471
|
+
padding: 0;
|
472
|
+
margin: 0; } }
|
473
|
+
|
474
|
+
@media screen and (max-width: 768px) {
|
475
|
+
body {
|
476
|
+
margin-left: 2em; }
|
477
|
+
main {
|
478
|
+
padding: 0; }
|
479
|
+
.title-section, .prefatory-section {
|
480
|
+
padding-left: 0;
|
481
|
+
padding-top: 0;
|
482
|
+
width: 100%; } }
|
483
|
+
|
484
|
+
.figure,
|
485
|
+
pre,
|
486
|
+
.pseudocode {
|
487
|
+
background-color: #f7f7f7;
|
488
|
+
font-size: 0.8em;
|
489
|
+
line-height: 1.6em;
|
490
|
+
padding: 1.5em;
|
491
|
+
margin: 2em 0 1em 0;
|
492
|
+
overflow: auto;
|
493
|
+
font-size: 1em; }
|
494
|
+
.figure .SourceTitle,
|
495
|
+
pre .SourceTitle,
|
496
|
+
.pseudocode .SourceTitle {
|
497
|
+
font-weight: 700;
|
498
|
+
font-size: 1em;
|
499
|
+
text-align: center; }
|
500
|
+
|
501
|
+
div.figure {
|
502
|
+
line-height: 1.6em;
|
503
|
+
padding: 1.5em;
|
504
|
+
margin: 2em 0 1em 0;
|
505
|
+
overflow: auto; }
|
506
|
+
div.figure .FigureTitle, div.figure .figure-title {
|
507
|
+
font-weight: 700;
|
508
|
+
font-size: 1em;
|
509
|
+
text-align: center; }
|
510
|
+
div.figure > img {
|
511
|
+
margin-left: auto;
|
512
|
+
margin-right: auto;
|
513
|
+
display: block;
|
514
|
+
max-width: 100%;
|
515
|
+
height: auto; }
|
516
|
+
|
517
|
+
/*
|
518
|
+
Document types + stages
|
519
|
+
*/
|
520
|
+
.document-type-band {
|
521
|
+
left: 0;
|
522
|
+
top: 180px;
|
523
|
+
height: 100%;
|
524
|
+
position: fixed;
|
525
|
+
display: block;
|
526
|
+
z-index: 102; }
|
527
|
+
.document-type-band > :first-child {
|
528
|
+
position: relative;
|
529
|
+
width: 25px;
|
530
|
+
font-weight: 400;
|
531
|
+
color: white;
|
532
|
+
text-transform: uppercase;
|
533
|
+
font-size: 0.9em;
|
534
|
+
font-weight: 400;
|
535
|
+
letter-spacing: 0.05em;
|
536
|
+
margin: 0;
|
537
|
+
margin-left: 6px;
|
538
|
+
writing-mode: tb-rl;
|
539
|
+
-webkit-transform: rotate(180deg);
|
540
|
+
-moz-transform: rotate(180deg);
|
541
|
+
-o-transform: rotate(180deg);
|
542
|
+
white-space: nowrap;
|
543
|
+
display: block;
|
544
|
+
bottom: 0; }
|
545
|
+
@media print {
|
546
|
+
.document-type-band {
|
547
|
+
display: none; } }
|
548
|
+
.document-type-band .document-type {
|
549
|
+
top: 20px; }
|
550
|
+
|
551
|
+
.document-stage-band {
|
552
|
+
left: 0;
|
553
|
+
top: 0;
|
554
|
+
height: 100%;
|
555
|
+
position: fixed;
|
556
|
+
display: block;
|
557
|
+
z-index: 101;
|
558
|
+
box-shadow: -5px 0px 10px #1d1d1d; }
|
559
|
+
.document-stage-band > :first-child {
|
560
|
+
position: relative;
|
561
|
+
width: 25px;
|
562
|
+
font-weight: 400;
|
563
|
+
height: 100%;
|
564
|
+
color: white;
|
565
|
+
text-transform: uppercase;
|
566
|
+
font-size: 0.9em;
|
567
|
+
font-weight: 400;
|
568
|
+
letter-spacing: 0.05em;
|
569
|
+
margin: 0;
|
570
|
+
margin-left: 6px;
|
571
|
+
writing-mode: tb-rl;
|
572
|
+
-webkit-transform: rotate(180deg);
|
573
|
+
-moz-transform: rotate(180deg);
|
574
|
+
-o-transform: rotate(180deg);
|
575
|
+
white-space: nowrap;
|
576
|
+
display: block;
|
577
|
+
bottom: 0; }
|
578
|
+
@media print {
|
579
|
+
.document-stage-band {
|
580
|
+
display: none; } }
|
581
|
+
p.document-stage {
|
582
|
+
position: relative;
|
583
|
+
width: 25px;
|
584
|
+
font-weight: 400;
|
585
|
+
height: 210px;
|
586
|
+
color: white;
|
587
|
+
text-transform: uppercase;
|
588
|
+
font-size: 0.9em;
|
589
|
+
font-weight: 400;
|
590
|
+
letter-spacing: 0.05em;
|
591
|
+
margin: 0;
|
592
|
+
margin-left: 6px;
|
593
|
+
writing-mode: tb-rl;
|
594
|
+
-webkit-transform: rotate(180deg);
|
595
|
+
-moz-transform: rotate(180deg);
|
596
|
+
-o-transform: rotate(180deg);
|
597
|
+
white-space: nowrap;
|
598
|
+
display: block;
|
599
|
+
bottom: 0;
|
600
|
+
writing-mode: vertical-rl; }
|
601
|
+
|
602
|
+
#governance-band p.document-type {
|
603
|
+
font-weight: 400;
|
604
|
+
height: 230px !important; }
|
605
|
+
|
606
|
+
p.document-stage {
|
607
|
+
font-weight: 300;
|
608
|
+
height: 160px; }
|
609
|
+
|
610
|
+
#standard-band {
|
611
|
+
background-color: #0ac442; }
|
612
|
+
|
613
|
+
#standard {
|
614
|
+
border-bottom: solid 3px #0ac442; }
|
615
|
+
|
616
|
+
#governance {
|
617
|
+
border-bottom: solid 3px #750697; }
|
618
|
+
|
619
|
+
#governance-band {
|
620
|
+
background-color: #750697; }
|
621
|
+
|
622
|
+
#guide {
|
623
|
+
border-bottom: solid 3px #48a0e7; }
|
624
|
+
|
625
|
+
#guide-band {
|
626
|
+
background-color: #48a0e7; }
|
627
|
+
|
628
|
+
.coverpage-maturity {
|
629
|
+
font-family: 'Overpass', sans-serif;
|
630
|
+
font-weight: 400;
|
631
|
+
font-size: 1em;
|
632
|
+
margin: 0 0 2em 0;
|
633
|
+
text-transform: uppercase; }
|
634
|
+
|
635
|
+
#working-draft {
|
636
|
+
border-bottom: solid 3px #fda706; }
|
637
|
+
|
638
|
+
#working-draft-band {
|
639
|
+
background-color: #fda706; }
|
640
|
+
|
641
|
+
#committee-draft {
|
642
|
+
border-bottom: solid 3px #fd06fd; }
|
643
|
+
|
644
|
+
#committee-draft-band {
|
645
|
+
background-color: #fd06fd; }
|
646
|
+
|
647
|
+
#draft-standard {
|
648
|
+
border-bottom: solid 3px #fdf906; }
|
649
|
+
|
650
|
+
#draft-standard {
|
651
|
+
border-bottom: solid 3px #fdf906; }
|
652
|
+
|
653
|
+
#standard {
|
654
|
+
border-bottom: solid 3px #0ac442; }
|
655
|
+
|
656
|
+
#standard-band {
|
657
|
+
background-color: #0ac442; }
|
658
|
+
|
659
|
+
#obsolete {
|
660
|
+
border-bottom: solid 3px #7e0d13; }
|
661
|
+
|
662
|
+
#obsolete-band {
|
663
|
+
background-color: #7e0d13; }
|
664
|
+
|
665
|
+
/* 3 Other styles */
|
666
|
+
/*
|
667
|
+
3.2 Links
|
668
|
+
*/
|
669
|
+
a {
|
670
|
+
color: black;
|
671
|
+
text-decoration-color: black; }
|
672
|
+
|
673
|
+
/*
|
674
|
+
3.3 Lists
|
675
|
+
*/
|
676
|
+
ul, ol {
|
677
|
+
margin-left: 2em; }
|
678
|
+
|
679
|
+
#toc-list ul {
|
680
|
+
margin-bottom: 0.25em; }
|
681
|
+
|
682
|
+
#toc-list ol li {
|
683
|
+
list-style-type: none; }
|
684
|
+
|
685
|
+
/* https://github.com/metanorma/metanorma-iso/issues/319 : force a) parentheses for ordered lists */
|
686
|
+
ol[type="alphabet"] {
|
687
|
+
counter-reset: alphabet; }
|
688
|
+
|
689
|
+
ol[type="arabic"] {
|
690
|
+
counter-reset: arabic; }
|
691
|
+
|
692
|
+
ol[type="roman"] {
|
693
|
+
counter-reset: roman; }
|
694
|
+
|
695
|
+
ol[type="alphabet_upper"] {
|
696
|
+
counter-reset: alphabet_upper; }
|
697
|
+
|
698
|
+
ol[type="roman_upper"] {
|
699
|
+
counter-reset: roman_upper; }
|
700
|
+
|
701
|
+
ol[type="alphabet"] ol[type="alphabet"] {
|
702
|
+
counter-reset: alphabet2; }
|
703
|
+
|
704
|
+
ol[type="arabic"] ol[type="arabic"] {
|
705
|
+
counter-reset: arabic2; }
|
706
|
+
|
707
|
+
ol[type="roman"] ol[type="roman"] {
|
708
|
+
counter-reset: roman2; }
|
709
|
+
|
710
|
+
ol[type="alphabet_upper"] ol[type="alphabet_upper"] {
|
711
|
+
counter-reset: alphabet_upper2; }
|
712
|
+
|
713
|
+
ol[type="roman_upper"] ol[type="roman_upper"] {
|
714
|
+
counter-reset: roman_upper2; }
|
715
|
+
|
716
|
+
ol {
|
717
|
+
counter-reset: alphabet; }
|
718
|
+
|
719
|
+
ol > li {
|
720
|
+
list-style: none;
|
721
|
+
position: relative; }
|
722
|
+
|
723
|
+
ol > li:before {
|
724
|
+
position: absolute;
|
725
|
+
left: -1.4em; }
|
726
|
+
|
727
|
+
ol[type="roman"] > li:before {
|
728
|
+
left: -2.0em; }
|
729
|
+
|
730
|
+
ol[type="roman_upper"] > li:before {
|
731
|
+
left: -2.3em; }
|
732
|
+
|
733
|
+
ol[type="alphabet"] > li:before {
|
734
|
+
counter-increment: alphabet;
|
735
|
+
content: counter(alphabet, lower-alpha) ") "; }
|
736
|
+
|
737
|
+
ol[type="arabic"] > li:before {
|
738
|
+
counter-increment: arabic;
|
739
|
+
content: counter(arabic, decimal) ") "; }
|
740
|
+
|
741
|
+
ol[type="roman"] > li:before {
|
742
|
+
counter-increment: roman;
|
743
|
+
content: counter(roman, lower-roman) ") "; }
|
744
|
+
|
745
|
+
ol[type="alphabet_upper"] > li:before {
|
746
|
+
counter-increment: alphabet_upper;
|
747
|
+
content: counter(alphabet_upper, upper-alpha) ") "; }
|
748
|
+
|
749
|
+
ol[type="roman_upper"] > li:before {
|
750
|
+
counter-increment: roman_upper;
|
751
|
+
content: counter(roman_upper, upper-roman) ") "; }
|
752
|
+
|
753
|
+
ol > li:before {
|
754
|
+
counter-increment: alphabet;
|
755
|
+
content: counter(alphabet, lower-alpha) ") "; }
|
756
|
+
|
757
|
+
ol[type="alphabet"] ol[type="alphabet"] > li:before {
|
758
|
+
counter-increment: alphabet2;
|
759
|
+
content: counter(alphabet2, lower-alpha) ") "; }
|
760
|
+
|
761
|
+
ol[type="arabic"] ol[type="arabic"] > li:before {
|
762
|
+
counter-increment: arabic2;
|
763
|
+
content: counter(arabic2, decimal) ") "; }
|
764
|
+
|
765
|
+
ol[type="roman"] ol[type="roman"] > li:before {
|
766
|
+
counter-increment: roman2;
|
767
|
+
content: counter(roman2, lower-roman) ") "; }
|
768
|
+
|
769
|
+
ol[type="alphabet_upper"] ol[type="alphabet_upper"] > li:before {
|
770
|
+
counter-increment: alphabet_upper2;
|
771
|
+
content: counter(alphabet_upper2, upper-alpha) ") "; }
|
772
|
+
|
773
|
+
ol[type="roman_upper"] ol[type="roman_upper"] > li:before {
|
774
|
+
counter-increment: roman_upper2;
|
775
|
+
content: counter(roman_upper2, upper-roman) ") "; }
|
776
|
+
|
777
|
+
/*
|
778
|
+
3.4 Rules
|
779
|
+
*/
|
780
|
+
.rule {
|
781
|
+
width: 100%;
|
782
|
+
height: 1px;
|
783
|
+
background-color: #0e1a85;
|
784
|
+
margin: 2em 0; }
|
785
|
+
|
786
|
+
/*
|
787
|
+
3.5 Bibliograhy
|
788
|
+
*/
|
789
|
+
p.Biblio, p.NormRef {
|
790
|
+
margin-top: 1em;
|
791
|
+
margin-left: 2em; }
|
792
|
+
|
793
|
+
/*
|
794
|
+
3.6 Source Code + figures
|
795
|
+
*/
|
796
|
+
.figure,
|
797
|
+
pre,
|
798
|
+
.pseudocode {
|
799
|
+
background-color: #f7f7f7;
|
800
|
+
font-size: 0.8em;
|
801
|
+
line-height: 1.6em;
|
802
|
+
padding: 1.5em;
|
803
|
+
margin: 2em 0 1em 0;
|
804
|
+
overflow: auto;
|
805
|
+
font-size: 1em; }
|
806
|
+
.figure .SourceTitle,
|
807
|
+
pre .SourceTitle,
|
808
|
+
.pseudocode .SourceTitle {
|
809
|
+
font-weight: 700;
|
810
|
+
font-size: 1em;
|
811
|
+
text-align: center; }
|
812
|
+
|
813
|
+
pre {
|
814
|
+
font-family: {{monospacefont}};
|
815
|
+
font-variant-ligatures: none; }
|
816
|
+
|
817
|
+
.AdmonitionTitle {
|
818
|
+
font-weight: 700;
|
819
|
+
font-size: 1em;
|
820
|
+
text-align: center; }
|
821
|
+
|
822
|
+
.RecommendationTitle {
|
823
|
+
font-weight: 700;
|
824
|
+
font-size: 1em;
|
825
|
+
text-align: center; }
|
826
|
+
|
827
|
+
.figure-title, .FigureTitle, .SourceTitle, .AdmonitionTitle, .RecommendationTitle {
|
828
|
+
font-weight: 700;
|
829
|
+
font-size: 1em;
|
830
|
+
text-align: center; }
|
831
|
+
|
832
|
+
/*
|
833
|
+
3.7 Notes
|
834
|
+
*/
|
835
|
+
.Note, .note {
|
836
|
+
background-color: #fff495;
|
837
|
+
color: #47430c;
|
838
|
+
padding: 0.5em;
|
839
|
+
margin: 1.5em 0 1.5em 0;
|
840
|
+
text-align: left; }
|
841
|
+
|
842
|
+
.Note p, .note p {
|
843
|
+
margin: 0; }
|
844
|
+
|
845
|
+
.Admonition {
|
846
|
+
background-color: #ffcccc;
|
847
|
+
color: #47430c;
|
848
|
+
padding: 0.5em;
|
849
|
+
margin: 1.5em 0 1.5em 0;
|
850
|
+
text-align: left; }
|
851
|
+
|
852
|
+
.Admonition p {
|
853
|
+
margin: 0; }
|
854
|
+
|
855
|
+
/*
|
856
|
+
3.8 Examples
|
857
|
+
*/
|
858
|
+
.example {
|
859
|
+
background-color: #e1eef1;
|
860
|
+
padding: 0.5em;
|
861
|
+
margin: 2em 0 1em 0;
|
862
|
+
text-align: left;
|
863
|
+
color: #424242;
|
864
|
+
padding-left: 2em;
|
865
|
+
color: black;
|
866
|
+
padding-left: 0.5em; }
|
867
|
+
.example p {
|
868
|
+
margin: 0; }
|
869
|
+
.example .example-title {
|
870
|
+
font-weight: 700;
|
871
|
+
text-transform: uppercase;
|
872
|
+
margin-left: -1.5em; }
|
873
|
+
.example .example-title {
|
874
|
+
margin-top: 0; }
|
875
|
+
.example pre,
|
876
|
+
.example .pseudocode {
|
877
|
+
background: none; }
|
878
|
+
|
879
|
+
/*
|
880
|
+
3.9 Tables
|
881
|
+
*/
|
882
|
+
table {
|
883
|
+
width: 100%;
|
884
|
+
font-weight: 300;
|
885
|
+
margin: 1em 0 2em 0;
|
886
|
+
margin-left: auto;
|
887
|
+
margin-right: auto;
|
888
|
+
padding-right: 2em;
|
889
|
+
text-align: center; }
|
890
|
+
table, table th, table td {
|
891
|
+
border: 1px solid black;
|
892
|
+
font-size: 0.95em; }
|
893
|
+
table th, table td {
|
894
|
+
padding: 1em; }
|
895
|
+
table td.header {
|
896
|
+
font-weigth: 400; }
|
897
|
+
|
898
|
+
td,
|
899
|
+
th {
|
900
|
+
padding: 1em !important; }
|
901
|
+
|
902
|
+
p.TableTitle {
|
903
|
+
text-align: center;
|
904
|
+
margin-top: 2.5em;
|
905
|
+
font-weight: 800;
|
906
|
+
font-size: 1.1em; }
|
907
|
+
|
908
|
+
.TableFootnote {
|
909
|
+
text-align: left !important; }
|
910
|
+
|
911
|
+
/*
|
912
|
+
3.10 Footnotes
|
913
|
+
*/
|
914
|
+
a.footnote-number, a.TableFootnoteRef, span.TableFootnoteRef {
|
915
|
+
vertical-align: super;
|
916
|
+
font-size: 0.8em; }
|
917
|
+
|
918
|
+
.footnote {
|
919
|
+
font-size: 0.9em; }
|
920
|
+
|
921
|
+
sup a {
|
922
|
+
vertical-align: super;
|
923
|
+
font-size: 0.8em; }
|
924
|
+
|
925
|
+
#footnote_box {
|
926
|
+
font-size: 14px;
|
927
|
+
background: white;
|
928
|
+
padding: 0 10px;
|
929
|
+
margin: 10px;
|
930
|
+
border: 1px solid #888;
|
931
|
+
-moz-box-shadow: 0px 0px 5px #888;
|
932
|
+
-webkit-box-shadow: 0px 0px 5px #888;
|
933
|
+
box-shadow: 0px 0px 5px #888; }
|
934
|
+
|
935
|
+
ol.footnotes-list, aside.footnote {
|
936
|
+
margin-left: 1em; }
|
937
|
+
|
938
|
+
ol.footnotes-list li, aside.footnote {
|
939
|
+
font-size: 0.9em;
|
940
|
+
vertical-align: top;
|
941
|
+
list-style: decimal;
|
942
|
+
margin-bottom: 1em; }
|
943
|
+
|
944
|
+
ol.footnotes-list:first-child {
|
945
|
+
margin-top: 2em; }
|
946
|
+
|
947
|
+
ol.footnotes-list p, aside.footnote p {
|
948
|
+
display: inline; }
|
949
|
+
|
950
|
+
ol > li > p:before {
|
951
|
+
content: "";
|
952
|
+
display: none; }
|
953
|
+
|
954
|
+
/*
|
955
|
+
3.11 Blockquotes
|
956
|
+
*/
|
957
|
+
.Quote {
|
958
|
+
background-color: #f7f7f7;
|
959
|
+
font-style: italic;
|
960
|
+
width: 80%;
|
961
|
+
padding: 1.5em;
|
962
|
+
margin-top: 2em;
|
963
|
+
margin-left: auto;
|
964
|
+
margin-right: auto; }
|
965
|
+
|
966
|
+
/*
|
967
|
+
3.12 Formulas
|
968
|
+
*/
|
969
|
+
.formula {
|
970
|
+
background-color: #f7f7f7;
|
971
|
+
padding: 1.5em;
|
972
|
+
margin-top: 2em;
|
973
|
+
text-align: center;
|
974
|
+
margin-left: 20%;
|
975
|
+
margin-right: 20%; }
|
976
|
+
|
977
|
+
dl.formula_dl {
|
978
|
+
background-color: #f7f7f7;
|
979
|
+
margin-left: 20%;
|
980
|
+
margin-right: 20%; }
|
981
|
+
|
982
|
+
/*
|
983
|
+
Keywords
|
984
|
+
*/
|
985
|
+
span.keyword {
|
986
|
+
font-weight: 600; }
|
987
|
+
|
988
|
+
.Admonition, .admonition {
|
989
|
+
background-color: #ffb3b3;
|
990
|
+
/* color: #47430c;*/
|
991
|
+
padding: 0.5em;
|
992
|
+
margin: 1.5em 0 1.5em 0;
|
993
|
+
text-align: left; }
|
994
|
+
|
995
|
+
.Admonition p, .admonition p {
|
996
|
+
margin: 0; }
|