metanorma-gb 1.4.0 → 1.5.1
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 +10 -7
- data/.github/workflows/windows.yml +0 -1
- data/.gitignore +0 -2
- data/Gemfile +0 -1
- data/Rakefile +17 -0
- data/lib/asciidoctor/gb/cleanup.rb +130 -0
- data/lib/asciidoctor/gb/converter.rb +16 -126
- data/lib/asciidoctor/gb/front_id.rb +3 -3
- data/lib/asciidoctor/gb/isodoc.rng +12 -6
- data/lib/asciidoctor/gb/section_input.rb +11 -0
- data/lib/asciidoctor/gb/validate.rb +0 -1
- data/lib/isodoc/gb/base_convert.rb +25 -77
- data/lib/isodoc/gb/cleanup.rb +0 -11
- data/lib/isodoc/gb/gb.recommendation.xsl +1296 -1178
- data/lib/isodoc/gb/html/_coverpage.css +193 -0
- data/lib/isodoc/gb/html/gb.css +657 -0
- data/lib/isodoc/gb/html/htmlcompliantstyle.css +1303 -0
- data/lib/isodoc/gb/html/htmlcompliantstyle.scss +0 -1
- data/lib/isodoc/gb/html/htmlstyle.css +844 -0
- data/lib/isodoc/gb/html/wordstyle.css +2932 -0
- data/lib/isodoc/gb/html_convert.rb +16 -13
- data/lib/isodoc/gb/i18n.rb +16 -0
- data/lib/isodoc/gb/init.rb +29 -0
- data/lib/isodoc/gb/metadata.rb +1 -1
- data/lib/isodoc/gb/presentation_xml_convert.rb +17 -1
- data/lib/isodoc/gb/word_convert.rb +20 -15
- data/lib/isodoc/gb/xref.rb +6 -0
- data/lib/metanorma/gb/processor.rb +0 -4
- data/lib/metanorma/gb/version.rb +1 -1
- data/metanorma-gb.gemspec +3 -2
- metadata +29 -6
@@ -0,0 +1,844 @@
|
|
1
|
+
html, body, div, span, applet, object, iframe,
|
2
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
3
|
+
a, abbr, acronym, address, big, cite, code,
|
4
|
+
del, dfn, em, img, ins, kbd, q, s, samp,
|
5
|
+
small, strike, strong, sub, sup, tt, var,
|
6
|
+
b, u, i, center,
|
7
|
+
ol, ul, li,
|
8
|
+
fieldset, form, label, legend,
|
9
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
10
|
+
article, aside, canvas, details, embed,
|
11
|
+
figure, figcaption, footer, header, hgroup,
|
12
|
+
menu, nav, output, ruby, section, summary,
|
13
|
+
time, mark, audio, video {
|
14
|
+
margin: 0;
|
15
|
+
padding: 0; }
|
16
|
+
|
17
|
+
html, body, div, span, applet, object, iframe,
|
18
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
19
|
+
a, abbr, acronym, address, big, cite, code,
|
20
|
+
del, dfn, em, img, ins, kbd, q, s, samp,
|
21
|
+
small, strike, strong, sub, sup, tt, var,
|
22
|
+
b, u, i, center,
|
23
|
+
dl, dt, dd, ol, ul, li,
|
24
|
+
fieldset, form, label, legend,
|
25
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
26
|
+
article, aside, canvas, details, embed,
|
27
|
+
figure, figcaption, footer, header, hgroup,
|
28
|
+
menu, nav, output, ruby, section, summary,
|
29
|
+
time, mark, audio, video {
|
30
|
+
border: 0;
|
31
|
+
font-size: 100%; }
|
32
|
+
|
33
|
+
html, body, div, span, applet, object, iframe,
|
34
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
35
|
+
a, abbr, acronym, address, big, cite, code,
|
36
|
+
del, dfn, em, img, ins, kbd, q, s, samp,
|
37
|
+
small, strike, strong, tt, var,
|
38
|
+
b, u, i, center,
|
39
|
+
dl, dd, ol, ul, li,
|
40
|
+
fieldset, form, label, legend,
|
41
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
42
|
+
article, aside, canvas, details, embed,
|
43
|
+
figure, figcaption, footer, header, hgroup,
|
44
|
+
menu, nav, output, ruby, section, summary,
|
45
|
+
time, mark, audio, video {
|
46
|
+
vertical-align: baseline; }
|
47
|
+
|
48
|
+
html, body, div, span, applet, object, iframe,
|
49
|
+
p, blockquote,
|
50
|
+
a, abbr, acronym, address, big, cite,
|
51
|
+
del, dfn, em, img, ins, q, s,
|
52
|
+
small, strike, strong, sub, sup, var,
|
53
|
+
b, u, i, center,
|
54
|
+
dl, dt, dd, ol, ul, li,
|
55
|
+
fieldset, form, label, legend,
|
56
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
57
|
+
article, aside, canvas, details, embed,
|
58
|
+
figure, figcaption, footer, header, hgroup,
|
59
|
+
menu, nav, output, ruby, section, summary,
|
60
|
+
time, mark, audio, video {
|
61
|
+
font-family: {{bodyfont}}; }
|
62
|
+
|
63
|
+
code, pre, tt, kbd, samp {
|
64
|
+
font-family: {{monospacefont}};
|
65
|
+
font-variant-ligatures: none; }
|
66
|
+
|
67
|
+
code *, pre *, tt *, kbd *, samp * {
|
68
|
+
font-family: {{monospacefont}} !important;
|
69
|
+
font-variant-ligatures: none; }
|
70
|
+
|
71
|
+
article, aside, details, figcaption, figure,
|
72
|
+
footer, header, hgroup, menu, nav, section {
|
73
|
+
display: block; }
|
74
|
+
|
75
|
+
table {
|
76
|
+
border-collapse: collapse;
|
77
|
+
border-spacing: 0; }
|
78
|
+
|
79
|
+
h1, h2, h3, h4, h5, h6 {
|
80
|
+
font-family: {{headerfont}}; }
|
81
|
+
|
82
|
+
blockquote, q {
|
83
|
+
quotes: none; }
|
84
|
+
blockquote:before, blockquote:after, q:before, q:after {
|
85
|
+
content: '';
|
86
|
+
content: none; }
|
87
|
+
|
88
|
+
.h2Annex {
|
89
|
+
font-family: {{headerfont}}; }
|
90
|
+
|
91
|
+
dl {
|
92
|
+
display: grid;
|
93
|
+
grid-template-columns: max-content auto; }
|
94
|
+
dl dt p, dl dd p {
|
95
|
+
margin-top: 0; }
|
96
|
+
dl dt {
|
97
|
+
grid-column-start: 1; }
|
98
|
+
dl dd {
|
99
|
+
grid-column-start: 2; }
|
100
|
+
|
101
|
+
b, strong {
|
102
|
+
font-weight: bold; }
|
103
|
+
|
104
|
+
div.document-stage-band, div.document-type-band {
|
105
|
+
background-color: #333333; }
|
106
|
+
|
107
|
+
#standard-band {
|
108
|
+
background-color: #0ac442; }
|
109
|
+
|
110
|
+
#standard {
|
111
|
+
border-bottom: solid 3px #0ac442; }
|
112
|
+
|
113
|
+
#governance-band {
|
114
|
+
background-color: #750697; }
|
115
|
+
|
116
|
+
#governance {
|
117
|
+
border-bottom: solid 3px #750697; }
|
118
|
+
|
119
|
+
#guide-band {
|
120
|
+
background-color: #48a0e7; }
|
121
|
+
|
122
|
+
#guide {
|
123
|
+
border-bottom: solid 3px #48a0e7; }
|
124
|
+
|
125
|
+
#working-draft-band {
|
126
|
+
background-color: #fda706; }
|
127
|
+
|
128
|
+
#working-draft {
|
129
|
+
border-bottom: solid 3px #fda706; }
|
130
|
+
|
131
|
+
#committee-draft-band {
|
132
|
+
background-color: #fd06fd; }
|
133
|
+
|
134
|
+
#committee-draft {
|
135
|
+
border-bottom: solid 3px #fd06fd; }
|
136
|
+
|
137
|
+
#draft-standard-band {
|
138
|
+
background-color: #fdf906; }
|
139
|
+
|
140
|
+
#draft-standard {
|
141
|
+
border-bottom: solid 3px #fdf906; }
|
142
|
+
|
143
|
+
#standard-band {
|
144
|
+
background-color: #0ac442; }
|
145
|
+
|
146
|
+
#standard {
|
147
|
+
border-bottom: solid 3px #0ac442; }
|
148
|
+
|
149
|
+
#obsolete-band {
|
150
|
+
background-color: #7e0d13; }
|
151
|
+
|
152
|
+
#obsolete {
|
153
|
+
border-bottom: solid 3px #7e0d13; }
|
154
|
+
|
155
|
+
body {
|
156
|
+
margin-left: auto;
|
157
|
+
margin-right: auto;
|
158
|
+
max-width: 100%;
|
159
|
+
font-size: {{bodyfont}};
|
160
|
+
font-weight: 400;
|
161
|
+
line-height: 1.3;
|
162
|
+
color: black;
|
163
|
+
background-color: white; }
|
164
|
+
body main {
|
165
|
+
margin: 0 3em 0 6em; }
|
166
|
+
@media screen and (min-width: 768px) {
|
167
|
+
body {
|
168
|
+
padding-left: 323px; } }
|
169
|
+
@media print {
|
170
|
+
body {
|
171
|
+
padding-left: 0; } }
|
172
|
+
.title-section, .prefatory-section {
|
173
|
+
padding-right: 2em;
|
174
|
+
padding-left: 4em;
|
175
|
+
padding-top: 2em; }
|
176
|
+
@media screen and (min-width: 768px) {
|
177
|
+
.title-section, .prefatory-section {
|
178
|
+
padding-top: 0; } }
|
179
|
+
.doctitle-en, .doctitle-fr {
|
180
|
+
margin-top: 2em;
|
181
|
+
text-align: left; }
|
182
|
+
|
183
|
+
.doctitle-en {
|
184
|
+
background-color: black;
|
185
|
+
padding-left: 3em;
|
186
|
+
margin-left: -3em;
|
187
|
+
padding-top: 2em;
|
188
|
+
padding-bottom: 2em; }
|
189
|
+
.doctitle-en span {
|
190
|
+
font-size: 1.5em;
|
191
|
+
line-height: 1.5em;
|
192
|
+
font-weight: 900;
|
193
|
+
display: block;
|
194
|
+
color: white; }
|
195
|
+
|
196
|
+
.doctitle-fr span {
|
197
|
+
font-size: 1.2em;
|
198
|
+
line-height: 1.2em;
|
199
|
+
font-style: italic;
|
200
|
+
display: block; }
|
201
|
+
|
202
|
+
span.title {
|
203
|
+
text-transform: uppercase;
|
204
|
+
font-size: 1em;
|
205
|
+
font-weight: 800; }
|
206
|
+
|
207
|
+
.coverpage_docstage {
|
208
|
+
margin-top: 2em;
|
209
|
+
margin-bottom: 2em; }
|
210
|
+
|
211
|
+
.coverpage_warning {
|
212
|
+
border-top: solid 1px #f36f36;
|
213
|
+
border-bottom: solid 1px #f36f36;
|
214
|
+
margin: 1em 2em;
|
215
|
+
color: #485094;
|
216
|
+
padding: 1em; }
|
217
|
+
.coverpage_warning .title {
|
218
|
+
color: #f36f36;
|
219
|
+
font-weight: 500; }
|
220
|
+
.coverpage_warning .content {
|
221
|
+
font-style: italic; }
|
222
|
+
|
223
|
+
.coverpage_docnumber,
|
224
|
+
.coverpage_techcommittee {
|
225
|
+
text-align: right;
|
226
|
+
font-size: 14.0pt; }
|
227
|
+
|
228
|
+
.coverpage {
|
229
|
+
text-align: center;
|
230
|
+
padding: 2em 0; }
|
231
|
+
|
232
|
+
.coverpage-category {
|
233
|
+
float: left;
|
234
|
+
text-align: left; }
|
235
|
+
|
236
|
+
.coverpage-logo {
|
237
|
+
color: #485094; }
|
238
|
+
|
239
|
+
.coverpage-tc-name {
|
240
|
+
color: #485094;
|
241
|
+
font-size: 1.2em;
|
242
|
+
line-height: 1.2em;
|
243
|
+
margin: 0.25em 0; }
|
244
|
+
|
245
|
+
.coverpage-doc-identity {
|
246
|
+
background-color: #485094;
|
247
|
+
color: white;
|
248
|
+
font-size: 2em;
|
249
|
+
line-height: 2em;
|
250
|
+
margin: 0.5em 0; }
|
251
|
+
|
252
|
+
.coverpage-doc-identity-first {
|
253
|
+
font-size: 5mm;
|
254
|
+
text-align: right;
|
255
|
+
padding-right: 5mm;
|
256
|
+
padding-bottom: 1em;
|
257
|
+
padding-top: 1em; }
|
258
|
+
|
259
|
+
.coverpage-title {
|
260
|
+
font-weight: 400; }
|
261
|
+
.coverpage-title .title-second {
|
262
|
+
display: none; }
|
263
|
+
|
264
|
+
.coverpage-logo-text {
|
265
|
+
font-size: 24.0pt; }
|
266
|
+
|
267
|
+
.coverpage-stage-block {
|
268
|
+
font-style: italic;
|
269
|
+
text-align: center;
|
270
|
+
font-size: 1.25em;
|
271
|
+
font-weight: 600; }
|
272
|
+
|
273
|
+
span.date-publish {
|
274
|
+
float: left; }
|
275
|
+
|
276
|
+
span.date-active {
|
277
|
+
float: right; }
|
278
|
+
|
279
|
+
.coverpage-doc-relations {
|
280
|
+
font-size: 10.5pt;
|
281
|
+
padding-top: 0.5em; }
|
282
|
+
|
283
|
+
.coverpage-title-zh {
|
284
|
+
font-size: 8mm;
|
285
|
+
display: flex;
|
286
|
+
flex-wrap: wrap;
|
287
|
+
justify-content: center;
|
288
|
+
/* flex-direction: column; */
|
289
|
+
font-family: {{headerfont}}; }
|
290
|
+
|
291
|
+
.coverpage-title-zh span {
|
292
|
+
padding-top: 2mm;
|
293
|
+
font-size: 28pt; }
|
294
|
+
|
295
|
+
.coverpage-title-en {
|
296
|
+
margin-top: 10mm;
|
297
|
+
font-size: 18pt;
|
298
|
+
display: flex;
|
299
|
+
flex-wrap: wrap;
|
300
|
+
justify-content: center;
|
301
|
+
font-family: {{headerfont}}; }
|
302
|
+
|
303
|
+
.coverpage-title-en span {
|
304
|
+
display: block; }
|
305
|
+
|
306
|
+
.coverpage-title-en .title-first {
|
307
|
+
text-transform: uppercase; }
|
308
|
+
|
309
|
+
.coverpage-iso-relation {
|
310
|
+
font-size: 14pt;
|
311
|
+
margin-top: 10mm;
|
312
|
+
text-align: center; }
|
313
|
+
|
314
|
+
.coverpage-dates {
|
315
|
+
font-size: 14.0pt;
|
316
|
+
width: 100%;
|
317
|
+
margin-top: 25mm;
|
318
|
+
font-family: {{headerfont}};
|
319
|
+
border-bottom: 1px solid #000; }
|
320
|
+
|
321
|
+
.coverpage_footer {
|
322
|
+
text-align: center;
|
323
|
+
font-size: 16pt;
|
324
|
+
font-weight: 600;
|
325
|
+
width: 100%;
|
326
|
+
margin-top: 10mm; }
|
327
|
+
.coverpage_footer table, .coverpage_footer table th, .coverpage_footer table td {
|
328
|
+
border: 0; }
|
329
|
+
.coverpage_footer table th, .coverpage_footer table td {
|
330
|
+
padding: 5px;
|
331
|
+
font-size: 1.1em;
|
332
|
+
font-weight: 600; }
|
333
|
+
.coverpage_footer .publish {
|
334
|
+
vertical-align: middle; }
|
335
|
+
|
336
|
+
.coverpage-banner {
|
337
|
+
padding-top: 5mm;
|
338
|
+
margin-left: auto;
|
339
|
+
margin-right: auto;
|
340
|
+
width: auto;
|
341
|
+
display: flex;
|
342
|
+
flex-wrap: wrap;
|
343
|
+
justify-content: center; }
|
344
|
+
|
345
|
+
.coverpage-maturity {
|
346
|
+
font-family: 'Overpass', sans-serif;
|
347
|
+
font-weight: 400;
|
348
|
+
font-size: 1em;
|
349
|
+
margin: 0 0 2em 0;
|
350
|
+
text-transform: uppercase; }
|
351
|
+
|
352
|
+
.copyright .year,
|
353
|
+
.copyright .message,
|
354
|
+
.copyright .name,
|
355
|
+
.copyright .address {
|
356
|
+
margin-top: 1em;
|
357
|
+
line-height: 1.1em;
|
358
|
+
display: block; }
|
359
|
+
|
360
|
+
.copyright .message,
|
361
|
+
.copyright .name,
|
362
|
+
.copyright .address {
|
363
|
+
font-size: 0.9em; }
|
364
|
+
|
365
|
+
.copyright .name {
|
366
|
+
color: #485094;
|
367
|
+
font-weight: 600;
|
368
|
+
padding-top: 1em; }
|
369
|
+
|
370
|
+
.copyright .address {
|
371
|
+
color: #485094; }
|
372
|
+
|
373
|
+
.prefatory-section {
|
374
|
+
margin-bottom: 5em; }
|
375
|
+
|
376
|
+
h1 {
|
377
|
+
font-size: 1.5em;
|
378
|
+
line-height: 2em;
|
379
|
+
color: #485094;
|
380
|
+
font-weight: 400;
|
381
|
+
margin-top: 2em;
|
382
|
+
margin-bottom: 1em; }
|
383
|
+
|
384
|
+
h2 {
|
385
|
+
font-size: 1.3em;
|
386
|
+
line-height: 1.5em;
|
387
|
+
color: #485094;
|
388
|
+
font-weight: 300;
|
389
|
+
margin-top: 2em;
|
390
|
+
margin-bottom: 1em; }
|
391
|
+
h2 p {
|
392
|
+
display: inline; }
|
393
|
+
@media screen and (min-width: 768px) {
|
394
|
+
h2.toc-contents {
|
395
|
+
margin-top: 1em; } }
|
396
|
+
h3 {
|
397
|
+
font-size: 1.1em;
|
398
|
+
line-height: 1.3em;
|
399
|
+
color: #485094;
|
400
|
+
font-weight: 300; }
|
401
|
+
|
402
|
+
h4, h5, h6 {
|
403
|
+
line-height: 1.2; }
|
404
|
+
|
405
|
+
p {
|
406
|
+
margin-top: 1em;
|
407
|
+
margin-bottom: 1em;
|
408
|
+
line-height: 1.2em; }
|
409
|
+
|
410
|
+
p.zzSTDTitle1 {
|
411
|
+
font-weight: 700;
|
412
|
+
font-size: 1.5em; }
|
413
|
+
|
414
|
+
span.obligation {
|
415
|
+
font-weight: 400; }
|
416
|
+
|
417
|
+
sup a {
|
418
|
+
vertical-align: super;
|
419
|
+
font-size: 0.8em; }
|
420
|
+
|
421
|
+
a, a:visited {
|
422
|
+
text-decoration: none;
|
423
|
+
color: #485094; }
|
424
|
+
|
425
|
+
a:hover {
|
426
|
+
text-style: italic;
|
427
|
+
color: #485094; }
|
428
|
+
|
429
|
+
ul, ol {
|
430
|
+
margin-left: 2em; }
|
431
|
+
ul li p, ol li p {
|
432
|
+
margin-bottom: 0.6em;
|
433
|
+
line-height: 1.2; }
|
434
|
+
|
435
|
+
ol > li > p:before {
|
436
|
+
content: "";
|
437
|
+
display: none; }
|
438
|
+
|
439
|
+
span.keyword {
|
440
|
+
font-weight: 600; }
|
441
|
+
|
442
|
+
p.TermNum,
|
443
|
+
p.Terms,
|
444
|
+
p.AltTerms,
|
445
|
+
p.DeprecatedTerms {
|
446
|
+
margin: 0;
|
447
|
+
color: #485094;
|
448
|
+
font-weight: 400; }
|
449
|
+
|
450
|
+
p.AltTerms,
|
451
|
+
p.DeprecatedTerms {
|
452
|
+
font-style: italic; }
|
453
|
+
|
454
|
+
@media screen and (min-width: 768px) {
|
455
|
+
nav {
|
456
|
+
position: fixed;
|
457
|
+
top: 0;
|
458
|
+
bottom: 0;
|
459
|
+
left: 0;
|
460
|
+
width: 278px;
|
461
|
+
font-size: 0.9em;
|
462
|
+
overflow: auto;
|
463
|
+
padding: 0 0 0 45px;
|
464
|
+
background-color: #f7f7f7; } }
|
465
|
+
|
466
|
+
@media print {
|
467
|
+
nav {
|
468
|
+
position: relative;
|
469
|
+
width: auto;
|
470
|
+
font-size: 0.9em;
|
471
|
+
overflow: auto;
|
472
|
+
padding: 0;
|
473
|
+
margin-right: 0;
|
474
|
+
background-color: white; } }
|
475
|
+
|
476
|
+
nav a {
|
477
|
+
color: black;
|
478
|
+
text-decoration: none;
|
479
|
+
line-height: 1.2em; }
|
480
|
+
|
481
|
+
@media screen and (min-width: 768px) {
|
482
|
+
#toggle {
|
483
|
+
position: fixed;
|
484
|
+
height: 100%;
|
485
|
+
width: 30px;
|
486
|
+
background-color: black;
|
487
|
+
color: white !important;
|
488
|
+
cursor: pointer;
|
489
|
+
z-index: 100; }
|
490
|
+
#toggle span {
|
491
|
+
text-align: center;
|
492
|
+
width: 100%;
|
493
|
+
position: absolute;
|
494
|
+
top: 50%;
|
495
|
+
transform: translate(0, -50%); } }
|
496
|
+
|
497
|
+
@media screen and (max-width: 768px) {
|
498
|
+
#toggle {
|
499
|
+
display: none; } }
|
500
|
+
|
501
|
+
@media print {
|
502
|
+
#toggle {
|
503
|
+
display: none; } }
|
504
|
+
|
505
|
+
@media screen and (min-width: 768px) {
|
506
|
+
#toggle {
|
507
|
+
margin-left: -4em;
|
508
|
+
width: 30px; } }
|
509
|
+
|
510
|
+
#toc ul {
|
511
|
+
margin: 0;
|
512
|
+
padding: 0;
|
513
|
+
list-style: none; }
|
514
|
+
#toc ul li a {
|
515
|
+
padding: 5px 10px; }
|
516
|
+
#toc ul a {
|
517
|
+
color: inherit;
|
518
|
+
text-decoration: none;
|
519
|
+
display: block; }
|
520
|
+
#toc ul a:hover {
|
521
|
+
box-shadow: none;
|
522
|
+
color: white; }
|
523
|
+
|
524
|
+
#toc .h2 {
|
525
|
+
padding-left: 30px; }
|
526
|
+
|
527
|
+
#toc .h3 {
|
528
|
+
padding-left: 50px; }
|
529
|
+
|
530
|
+
#toc .toc-active, #toc li:hover {
|
531
|
+
background: #1d1d1d;
|
532
|
+
box-shadow: inset -5px 0px 10px -5px #1d1d1d !important; }
|
533
|
+
#toc .toc-active a, #toc li:hover a {
|
534
|
+
color: white; }
|
535
|
+
|
536
|
+
@media print {
|
537
|
+
#toc .toc-active, #toc li:hover {
|
538
|
+
background: white;
|
539
|
+
box-shadow: none !important; }
|
540
|
+
#toc .toc-active a {
|
541
|
+
color: inherit; }
|
542
|
+
#toc li:hover a {
|
543
|
+
color: black; } }
|
544
|
+
|
545
|
+
#toc li:before {
|
546
|
+
content: " ";
|
547
|
+
display: none; }
|
548
|
+
|
549
|
+
#toc-list ul {
|
550
|
+
margin-bottom: 0.25em; }
|
551
|
+
#toc-list ul li {
|
552
|
+
list-style-type: none; }
|
553
|
+
|
554
|
+
@media screen and (min-width: 768px) {
|
555
|
+
#toc-list {
|
556
|
+
padding: 0;
|
557
|
+
margin: 0; } }
|
558
|
+
|
559
|
+
#myBtn {
|
560
|
+
font-family: {{monospacefont}};
|
561
|
+
font-variant-ligatures: none;
|
562
|
+
display: none;
|
563
|
+
position: fixed;
|
564
|
+
bottom: 20px;
|
565
|
+
right: 30px;
|
566
|
+
z-index: 99;
|
567
|
+
font-size: 12px;
|
568
|
+
border: none;
|
569
|
+
outline: none;
|
570
|
+
background-color: #1d1d1d;
|
571
|
+
opacity: 0.15;
|
572
|
+
color: white;
|
573
|
+
cursor: pointer;
|
574
|
+
padding: 10px 15px 10px 15px;
|
575
|
+
border-radius: 4px; }
|
576
|
+
#myBtn:hover {
|
577
|
+
opacity: 1; }
|
578
|
+
@media print {
|
579
|
+
#myBtn {
|
580
|
+
display: none; } }
|
581
|
+
.rule {
|
582
|
+
width: 100%;
|
583
|
+
height: 1px;
|
584
|
+
background-color: #0e1a85;
|
585
|
+
margin: 2em 0; }
|
586
|
+
@media screen and (min-width: 768px) {
|
587
|
+
.rule.toc {
|
588
|
+
display: none; } }
|
589
|
+
.document-stage-band {
|
590
|
+
left: 0;
|
591
|
+
top: 0;
|
592
|
+
height: 100%;
|
593
|
+
position: fixed;
|
594
|
+
display: block;
|
595
|
+
z-index: 101;
|
596
|
+
box-shadow: -5px 0px 10px #1d1d1d; }
|
597
|
+
.document-stage-band > :first-child {
|
598
|
+
position: relative;
|
599
|
+
width: 25px;
|
600
|
+
font-weight: 300;
|
601
|
+
height: 160px;
|
602
|
+
color: white;
|
603
|
+
text-transform: uppercase;
|
604
|
+
font-size: 0.9em;
|
605
|
+
font-weight: 400;
|
606
|
+
letter-spacing: 0.05em;
|
607
|
+
margin: 0;
|
608
|
+
margin-left: 6px;
|
609
|
+
writing-mode: tb-rl;
|
610
|
+
-webkit-transform: rotate(180deg);
|
611
|
+
-moz-transform: rotate(180deg);
|
612
|
+
-o-transform: rotate(180deg);
|
613
|
+
white-space: nowrap;
|
614
|
+
display: block;
|
615
|
+
bottom: 0; }
|
616
|
+
@media print {
|
617
|
+
.document-stage-band {
|
618
|
+
display: none; } }
|
619
|
+
.document-type-band {
|
620
|
+
left: 0;
|
621
|
+
top: 180px;
|
622
|
+
height: 100%;
|
623
|
+
position: fixed;
|
624
|
+
display: block;
|
625
|
+
z-index: 102; }
|
626
|
+
.document-type-band > :first-child {
|
627
|
+
position: relative;
|
628
|
+
width: 25px;
|
629
|
+
font-weight: 400;
|
630
|
+
color: white;
|
631
|
+
text-transform: uppercase;
|
632
|
+
font-size: 0.9em;
|
633
|
+
font-weight: 400;
|
634
|
+
letter-spacing: 0.05em;
|
635
|
+
margin: 0;
|
636
|
+
margin-left: 6px;
|
637
|
+
writing-mode: tb-rl;
|
638
|
+
-webkit-transform: rotate(180deg);
|
639
|
+
-moz-transform: rotate(180deg);
|
640
|
+
-o-transform: rotate(180deg);
|
641
|
+
white-space: nowrap;
|
642
|
+
display: block;
|
643
|
+
bottom: 0; }
|
644
|
+
@media print {
|
645
|
+
.document-type-band {
|
646
|
+
display: none; } }
|
647
|
+
.document-type-band .document-type {
|
648
|
+
top: 20px; }
|
649
|
+
|
650
|
+
#governance-band p.document-type {
|
651
|
+
font-weight: 400;
|
652
|
+
height: 230px !important; }
|
653
|
+
|
654
|
+
p.Biblio, p.NormRef {
|
655
|
+
margin-top: 1em;
|
656
|
+
margin-left: 2em; }
|
657
|
+
|
658
|
+
.figure {
|
659
|
+
line-height: 1.6em;
|
660
|
+
padding: 1.5em;
|
661
|
+
margin: 2em 0 1em 0;
|
662
|
+
overflow: auto;
|
663
|
+
background-color: #f7f7f7;
|
664
|
+
/*
|
665
|
+
div.figure > img:not(.logo) {
|
666
|
+
TODO: ^^^ Relevant selector?
|
667
|
+
margin-left: auto;
|
668
|
+
margin-right: auto;
|
669
|
+
display: block;
|
670
|
+
max-width: 100%;
|
671
|
+
height: auto;
|
672
|
+
}
|
673
|
+
*/ }
|
674
|
+
.figure .FigureTitle, .figure .figure-title {
|
675
|
+
font-weight: 700;
|
676
|
+
font-size: 1em;
|
677
|
+
text-align: center; }
|
678
|
+
.figure > img {
|
679
|
+
margin-left: auto;
|
680
|
+
margin-right: auto;
|
681
|
+
display: block;
|
682
|
+
max-width: 100%;
|
683
|
+
height: auto; }
|
684
|
+
|
685
|
+
.SourceTitle {
|
686
|
+
font-weight: 700;
|
687
|
+
font-size: 1em;
|
688
|
+
text-align: center; }
|
689
|
+
|
690
|
+
pre {
|
691
|
+
font-family: {{monospacefont}};
|
692
|
+
font-variant-ligatures: none;
|
693
|
+
background-color: #f7f7f7;
|
694
|
+
font-size: 0.8em;
|
695
|
+
line-height: 1.6em;
|
696
|
+
padding: 1.5em;
|
697
|
+
margin: 2em 0 1em 0;
|
698
|
+
overflow-y: auto;
|
699
|
+
overflow-x: scroll; }
|
700
|
+
|
701
|
+
.pseudocode {
|
702
|
+
background-color: #f7f7f7;
|
703
|
+
font-size: 0.8em;
|
704
|
+
line-height: 1.6em;
|
705
|
+
padding: 1.5em;
|
706
|
+
margin: 2em 0 1em 0;
|
707
|
+
overflow: auto; }
|
708
|
+
.pseudocode .SourceTitle {
|
709
|
+
font-weight: 700;
|
710
|
+
font-size: 1em;
|
711
|
+
text-align: center; }
|
712
|
+
|
713
|
+
.RecommendationTitle {
|
714
|
+
font-weight: 700;
|
715
|
+
font-size: 1em;
|
716
|
+
text-align: center; }
|
717
|
+
|
718
|
+
.Note, .note {
|
719
|
+
background-color: #fff495;
|
720
|
+
color: #47430c;
|
721
|
+
padding: 0.5em;
|
722
|
+
margin: 1.5em 0 1.5em 0;
|
723
|
+
text-align: left; }
|
724
|
+
.Note p, .note p {
|
725
|
+
margin: 0; }
|
726
|
+
|
727
|
+
.Admonition {
|
728
|
+
background-color: #ffcccc;
|
729
|
+
color: #47430c;
|
730
|
+
padding: 0.5em;
|
731
|
+
margin: 1.5em 0 1.5em 0;
|
732
|
+
text-align: left; }
|
733
|
+
.Admonition .AdmonitionTitle {
|
734
|
+
font-weight: 700;
|
735
|
+
font-size: 1em;
|
736
|
+
text-align: center; }
|
737
|
+
.Admonition p {
|
738
|
+
margin: 0; }
|
739
|
+
|
740
|
+
.example {
|
741
|
+
background-color: #e1eef1;
|
742
|
+
padding: 0.5em;
|
743
|
+
margin: 2em 0 1em 0;
|
744
|
+
text-align: left;
|
745
|
+
padding-left: 2em; }
|
746
|
+
.example p {
|
747
|
+
margin: 0; }
|
748
|
+
.example .example-title {
|
749
|
+
font-weight: 700;
|
750
|
+
text-transform: uppercase;
|
751
|
+
margin-left: -1.5em; }
|
752
|
+
.example .example-title {
|
753
|
+
margin-top: 0; }
|
754
|
+
.example pre, .example .pseudocode {
|
755
|
+
background: none; }
|
756
|
+
|
757
|
+
.blockquote, .Quote {
|
758
|
+
background-color: #f7f7f7;
|
759
|
+
font-style: italic;
|
760
|
+
width: 80%;
|
761
|
+
padding: 1.5em;
|
762
|
+
margin-top: 2em;
|
763
|
+
margin-left: auto;
|
764
|
+
margin-right: auto; }
|
765
|
+
|
766
|
+
.formula {
|
767
|
+
background-color: #f7f7f7;
|
768
|
+
padding: 1.5em;
|
769
|
+
margin-top: 2em;
|
770
|
+
text-align: center;
|
771
|
+
margin-left: 20%;
|
772
|
+
margin-right: 20%;
|
773
|
+
font-size: 0.9em; }
|
774
|
+
|
775
|
+
dl.formula_dl {
|
776
|
+
background-color: #f7f7f7;
|
777
|
+
margin-left: 20%;
|
778
|
+
margin-right: 20%;
|
779
|
+
font-size: 0.9em; }
|
780
|
+
|
781
|
+
.Admonition, .admonition {
|
782
|
+
background-color: #ffb3b3;
|
783
|
+
padding: 0.5em;
|
784
|
+
margin: 1.5em 0 1.5em 0;
|
785
|
+
text-align: left; }
|
786
|
+
.Admonition p, .admonition p {
|
787
|
+
margin: 0; }
|
788
|
+
|
789
|
+
table {
|
790
|
+
width: 100%;
|
791
|
+
font-weight: 300;
|
792
|
+
margin: 1em 0 2em 0;
|
793
|
+
margin-left: auto;
|
794
|
+
margin-right: auto;
|
795
|
+
padding-right: 2em;
|
796
|
+
text-align: center; }
|
797
|
+
table, table th, table td {
|
798
|
+
border: 1px solid black;
|
799
|
+
font-size: 0.95em; }
|
800
|
+
table th, table td {
|
801
|
+
padding: 1em; }
|
802
|
+
table td.header {
|
803
|
+
font-weigth: 400; }
|
804
|
+
|
805
|
+
p.TableTitle {
|
806
|
+
text-align: center;
|
807
|
+
margin-top: 2.5em;
|
808
|
+
font-weight: 800;
|
809
|
+
font-size: 1.1em; }
|
810
|
+
|
811
|
+
.TableFootnote {
|
812
|
+
text-align: left !important; }
|
813
|
+
|
814
|
+
a.footnote-number, a.TableFootnoteRef, span.TableFootnoteRef {
|
815
|
+
vertical-align: super;
|
816
|
+
font-size: 0.8em; }
|
817
|
+
|
818
|
+
.footnote {
|
819
|
+
font-size: 0.9em; }
|
820
|
+
|
821
|
+
#footnote_box {
|
822
|
+
font-size: 14px;
|
823
|
+
background: white;
|
824
|
+
padding: 0 10px;
|
825
|
+
margin: 10px;
|
826
|
+
border: 1px solid #888;
|
827
|
+
-moz-box-shadow: 0px 0px 5px #888;
|
828
|
+
-webkit-box-shadow: 0px 0px 5px #888;
|
829
|
+
box-shadow: 0px 0px 5px #888; }
|
830
|
+
|
831
|
+
ol.footnotes-list, aside.footnote {
|
832
|
+
margin-left: 1em; }
|
833
|
+
|
834
|
+
ol.footnotes-list li, aside.footnote {
|
835
|
+
font-size: 0.9em;
|
836
|
+
vertical-align: top;
|
837
|
+
list-style: decimal;
|
838
|
+
margin-bottom: 1em; }
|
839
|
+
|
840
|
+
ol.footnotes-list:first-child {
|
841
|
+
margin-top: 2em; }
|
842
|
+
|
843
|
+
ol.footnotes-list p, aside.footnote {
|
844
|
+
display: inline; }
|