metanorma-standoc 2.10.5 → 3.0.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 +4 -4
- data/lib/isodoc/html/htmlstyle.css +663 -408
- data/lib/isodoc/html/htmlstyle.scss +22 -19
- data/lib/metanorma/standoc/base.rb +16 -5
- data/lib/metanorma/standoc/basicdoc.rng +37 -32
- data/lib/metanorma/standoc/biblio.rng +2 -0
- data/lib/metanorma/standoc/blocks.rb +3 -1
- data/lib/metanorma/standoc/blocks_notes.rb +4 -2
- data/lib/metanorma/standoc/cleanup_bibdata.rb +1 -1
- data/lib/metanorma/standoc/cleanup_block.rb +3 -3
- data/lib/metanorma/standoc/cleanup_boilerplate.rb +1 -1
- data/lib/metanorma/standoc/cleanup_toc.rb +3 -3
- data/lib/metanorma/standoc/cleanup_xref.rb +19 -4
- data/lib/metanorma/standoc/converter.rb +0 -2
- data/lib/metanorma/standoc/front.rb +3 -3
- data/lib/metanorma/standoc/isodoc-compile.rng +0 -1
- data/lib/metanorma/standoc/isodoc.rng +35 -23
- data/lib/metanorma/standoc/macros_note.rb +1 -0
- data/lib/metanorma/standoc/validate_section.rb +2 -2
- data/lib/metanorma/standoc/version.rb +1 -1
- data/metanorma-standoc.gemspec +2 -2
- metadata +10 -10
@@ -20,7 +20,8 @@ figure, figcaption, footer, header, hgroup,
|
|
20
20
|
menu, output, ruby, section, summary,
|
21
21
|
time, mark, audio, video {
|
22
22
|
margin: 0;
|
23
|
-
padding: 0;
|
23
|
+
padding: 0;
|
24
|
+
}
|
24
25
|
|
25
26
|
html, body, div, span, applet, object, iframe,
|
26
27
|
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
@@ -36,7 +37,8 @@ figure, figcaption, footer, header, hgroup,
|
|
36
37
|
menu, nav, output, ruby, section, summary,
|
37
38
|
time, mark, audio, video {
|
38
39
|
border: 0;
|
39
|
-
font-size: 100%;
|
40
|
+
font-size: 100%;
|
41
|
+
}
|
40
42
|
|
41
43
|
html, body, div, span, applet, object, iframe,
|
42
44
|
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
@@ -51,7 +53,8 @@ article, aside, canvas, details, embed,
|
|
51
53
|
figure, figcaption, footer, header, hgroup,
|
52
54
|
menu, nav, output, ruby, section, summary,
|
53
55
|
time, mark, audio, video {
|
54
|
-
vertical-align: baseline;
|
56
|
+
vertical-align: baseline;
|
57
|
+
}
|
55
58
|
|
56
59
|
html, body, div, span, applet, object, iframe,
|
57
60
|
p, blockquote,
|
@@ -66,90 +69,115 @@ article, aside, canvas, details, embed,
|
|
66
69
|
figure, figcaption, footer, header, hgroup,
|
67
70
|
menu, nav, output, ruby, section, summary,
|
68
71
|
time, mark, audio, video {
|
69
|
-
font-family: {{bodyfont}};
|
72
|
+
font-family: {{bodyfont}};
|
73
|
+
}
|
70
74
|
|
71
75
|
code, pre, tt, kbd, samp {
|
72
76
|
font-family: {{monospacefont}};
|
73
|
-
font-variant-ligatures: none;
|
77
|
+
font-variant-ligatures: none;
|
78
|
+
}
|
74
79
|
|
75
80
|
code *, pre *, tt *, kbd *, samp * {
|
76
81
|
font-family: {{monospacefont}} !important;
|
77
|
-
font-variant-ligatures: none;
|
82
|
+
font-variant-ligatures: none;
|
83
|
+
}
|
78
84
|
|
79
85
|
p code, dt code, li code, label code, legend code, caption code, th code, td code,
|
80
86
|
p tt, dt tt, li tt, label tt, legend tt, caption tt, th tt, td tt,
|
81
87
|
p kbd, dt kbd, li kbd, label kbd, legend kbd, caption kbd, th kbd, td kbd,
|
82
88
|
p samp, dt samp, li samp, label samp, legend samp, caption samp, th samp, td samp {
|
83
|
-
font-size: {{monospacefontsize}};
|
89
|
+
font-size: {{monospacefontsize}};
|
90
|
+
}
|
84
91
|
|
85
92
|
sub, sup {
|
86
|
-
font-size: 0.75em;
|
93
|
+
font-size: 0.75em;
|
94
|
+
}
|
87
95
|
|
88
96
|
article, aside, details, figcaption, figure,
|
89
97
|
footer, header, hgroup, menu, nav, section {
|
90
|
-
display: block;
|
98
|
+
display: block;
|
99
|
+
}
|
91
100
|
|
92
101
|
table {
|
93
102
|
border-collapse: collapse;
|
94
|
-
border-spacing: 0;
|
103
|
+
border-spacing: 0;
|
104
|
+
}
|
95
105
|
|
96
106
|
h1, h2, h3, h4, h5, h6 {
|
97
|
-
font-family: {{headerfont}};
|
107
|
+
font-family: {{headerfont}};
|
108
|
+
}
|
98
109
|
|
99
110
|
.h1, .h2, .h3, .h4, .h5, .h6 {
|
100
|
-
font-family: {{headerfont}};
|
111
|
+
font-family: {{headerfont}};
|
112
|
+
}
|
101
113
|
|
102
114
|
blockquote, q {
|
103
|
-
quotes: none;
|
104
|
-
|
105
|
-
|
106
|
-
|
115
|
+
quotes: none;
|
116
|
+
}
|
117
|
+
blockquote::before, blockquote::after, q::before, q::after {
|
118
|
+
content: "";
|
119
|
+
content: none;
|
120
|
+
}
|
107
121
|
|
108
122
|
.h2Annex {
|
109
|
-
font-family: {{headerfont}};
|
123
|
+
font-family: {{headerfont}};
|
124
|
+
}
|
110
125
|
|
111
126
|
dl {
|
112
127
|
display: grid;
|
113
|
-
grid-template-columns: max-content auto;
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
128
|
+
grid-template-columns: max-content auto;
|
129
|
+
}
|
130
|
+
dl dt p, dl dd p {
|
131
|
+
margin-top: 0;
|
132
|
+
}
|
133
|
+
dl dt {
|
134
|
+
grid-column-start: 1;
|
135
|
+
}
|
136
|
+
dl dd {
|
137
|
+
grid-column-start: 2;
|
138
|
+
}
|
120
139
|
|
121
140
|
b, strong {
|
122
|
-
font-weight: bold;
|
141
|
+
font-weight: bold;
|
142
|
+
}
|
123
143
|
|
124
144
|
div.document-stage-band, div.document-type-band {
|
125
|
-
background-color: #333333;
|
145
|
+
background-color: #333333;
|
146
|
+
}
|
126
147
|
|
127
148
|
a.FootnoteRef + a.FootnoteRef::before {
|
128
149
|
content: ", ";
|
129
|
-
vertical-align: super;
|
150
|
+
vertical-align: super;
|
151
|
+
}
|
130
152
|
|
131
153
|
a.TableFootnoteRef + a.TableFootnoteRef::before {
|
132
154
|
content: ", ";
|
133
|
-
vertical-align: super;
|
155
|
+
vertical-align: super;
|
156
|
+
}
|
134
157
|
|
135
158
|
a.TableFootnoteRef, span.TableFootnoteRef,
|
136
159
|
a.FootnoteRef, span.FootnoteRef {
|
137
|
-
vertical-align: super;
|
160
|
+
vertical-align: super;
|
161
|
+
}
|
138
162
|
|
139
163
|
.addition {
|
140
|
-
color: blue;
|
164
|
+
color: blue;
|
165
|
+
}
|
141
166
|
|
142
167
|
.deletion {
|
143
168
|
color: red;
|
144
|
-
text-decoration: line-through;
|
169
|
+
text-decoration: line-through;
|
170
|
+
}
|
145
171
|
|
146
172
|
ruby {
|
147
173
|
ruby-position: over;
|
148
|
-
-webkit-ruby-position: before;
|
174
|
+
-webkit-ruby-position: before;
|
175
|
+
}
|
149
176
|
|
150
177
|
ruby ruby {
|
151
178
|
ruby-position: under;
|
152
|
-
-webkit-ruby-position: after;
|
179
|
+
-webkit-ruby-position: after;
|
180
|
+
}
|
153
181
|
|
154
182
|
/* code highlighting with line numbers */
|
155
183
|
table.rouge-line-table td.rouge-gutter {
|
@@ -157,13 +185,15 @@ table.rouge-line-table td.rouge-gutter {
|
|
157
185
|
-ms-user-select: none;
|
158
186
|
-webkit-user-select: none;
|
159
187
|
user-select: none;
|
160
|
-
padding-right: 1em;
|
188
|
+
padding-right: 1em;
|
189
|
+
}
|
161
190
|
|
162
191
|
table.rouge-line-table td.rouge-code {
|
163
192
|
-moz-user-select: all;
|
164
193
|
-ms-user-select: all;
|
165
194
|
-webkit-user-select: all;
|
166
|
-
user-select: all;
|
195
|
+
user-select: all;
|
196
|
+
}
|
167
197
|
|
168
198
|
table.rouge-line-table,
|
169
199
|
table.rouge-line-table th,
|
@@ -172,27 +202,32 @@ table.rouge-line-table td {
|
|
172
202
|
border: none;
|
173
203
|
margin: 0;
|
174
204
|
padding: 0;
|
175
|
-
font-size: 100%;
|
205
|
+
font-size: 100%;
|
206
|
+
}
|
176
207
|
|
177
208
|
table.rouge-line-table pre {
|
178
209
|
margin: 0;
|
179
210
|
padding: 0;
|
180
211
|
overflow-x: visible;
|
181
|
-
font-size: 100%;
|
212
|
+
font-size: 100%;
|
213
|
+
}
|
182
214
|
|
183
215
|
/* header § links */
|
184
216
|
a.header {
|
185
217
|
color: inherit;
|
186
|
-
text-decoration: none;
|
218
|
+
text-decoration: none;
|
219
|
+
}
|
187
220
|
|
188
221
|
a.header:hover {
|
189
222
|
color: #a53221 !important;
|
190
223
|
background: inherit;
|
191
|
-
box-shadow: none;
|
224
|
+
box-shadow: none;
|
225
|
+
}
|
192
226
|
|
193
227
|
a.header:visited {
|
194
228
|
color: inherit;
|
195
|
-
text-decoration: none;
|
229
|
+
text-decoration: none;
|
230
|
+
}
|
196
231
|
|
197
232
|
a.anchor {
|
198
233
|
position: absolute;
|
@@ -203,18 +238,21 @@ a.anchor {
|
|
203
238
|
text-decoration: none !important;
|
204
239
|
visibility: hidden;
|
205
240
|
text-align: center;
|
206
|
-
font-weight: 400;
|
241
|
+
font-weight: 400;
|
242
|
+
}
|
207
243
|
|
208
244
|
a.anchor::before {
|
209
|
-
content: "
|
210
|
-
font-size: .85em;
|
245
|
+
content: "§";
|
246
|
+
font-size: 0.85em;
|
211
247
|
display: block;
|
212
|
-
padding-top: .1em;
|
248
|
+
padding-top: 0.1em;
|
249
|
+
}
|
213
250
|
|
214
251
|
a.anchor:hover {
|
215
252
|
color: #a53221;
|
216
253
|
background: inherit;
|
217
|
-
box-shadow: none;
|
254
|
+
box-shadow: none;
|
255
|
+
}
|
218
256
|
|
219
257
|
h1 > a.anchor:hover,
|
220
258
|
h2 > a.anchor:hover,
|
@@ -230,13 +268,15 @@ h4:hover > a.anchor,
|
|
230
268
|
h5:hover > a.anchor,
|
231
269
|
h6:hover > a.anchor,
|
232
270
|
.inline-header:hover > a.anchor {
|
233
|
-
visibility: visible;
|
271
|
+
visibility: visible;
|
272
|
+
}
|
234
273
|
|
235
274
|
/* collapsible snippets: collapsible before hidable */
|
236
275
|
.hidable {
|
237
276
|
max-height: 0;
|
238
277
|
overflow: hidden;
|
239
|
-
transition: max-height 0.2s ease-out;
|
278
|
+
transition: max-height 0.2s ease-out;
|
279
|
+
}
|
240
280
|
|
241
281
|
.collapsible {
|
242
282
|
background-color: #777;
|
@@ -248,119 +288,171 @@ h6:hover > a.anchor,
|
|
248
288
|
border: none;
|
249
289
|
text-align: left;
|
250
290
|
outline: none;
|
251
|
-
font-size: 15px;
|
291
|
+
font-size: 15px;
|
292
|
+
}
|
252
293
|
|
253
294
|
.active, .collapsible:hover {
|
254
|
-
background-color: #555;
|
295
|
+
background-color: #555;
|
296
|
+
}
|
255
297
|
|
256
298
|
.collapsible:after {
|
257
|
-
content:
|
299
|
+
content: "▼";
|
258
300
|
color: white;
|
259
301
|
font-weight: bold;
|
260
302
|
float: right;
|
261
303
|
margin-left: 12px;
|
262
|
-
margin-right: 12px;
|
304
|
+
margin-right: 12px;
|
305
|
+
}
|
263
306
|
|
264
307
|
.active:after {
|
265
|
-
content: "
|
308
|
+
content: "▲";
|
309
|
+
}
|
266
310
|
|
267
311
|
/* collapsible: */
|
268
312
|
.collapsible + .hidable {
|
269
|
-
margin-top: 0;
|
313
|
+
margin-top: 0;
|
314
|
+
}
|
270
315
|
|
271
316
|
.collapsible:not(.active) + .hidable {
|
272
317
|
overflow: hidden;
|
273
|
-
padding: 0;
|
318
|
+
padding: 0;
|
319
|
+
}
|
274
320
|
|
275
|
-
#
|
276
|
-
background-color: #0AC442;
|
321
|
+
#standard-band {
|
322
|
+
background-color: #0AC442;
|
323
|
+
}
|
277
324
|
|
278
|
-
#
|
279
|
-
border-bottom: solid 3px #0AC442;
|
325
|
+
#standard {
|
326
|
+
border-bottom: solid 3px #0AC442;
|
327
|
+
}
|
280
328
|
|
281
|
-
#
|
282
|
-
background-color: #540D6E;
|
329
|
+
#directive-band {
|
330
|
+
background-color: #540D6E;
|
331
|
+
}
|
283
332
|
|
284
|
-
#
|
285
|
-
border-bottom: solid 3px #540D6E;
|
333
|
+
#directive {
|
334
|
+
border-bottom: solid 3px #540D6E;
|
335
|
+
}
|
286
336
|
|
287
|
-
#
|
288
|
-
background-color: #D183C9;
|
337
|
+
#guide-band {
|
338
|
+
background-color: #D183C9;
|
339
|
+
}
|
289
340
|
|
290
|
-
#
|
291
|
-
border-bottom: solid 3px #D183C9;
|
341
|
+
#guide {
|
342
|
+
border-bottom: solid 3px #D183C9;
|
343
|
+
}
|
292
344
|
|
293
|
-
#
|
294
|
-
background-color: #65AFFF;
|
345
|
+
#specification-band {
|
346
|
+
background-color: #65AFFF;
|
347
|
+
}
|
295
348
|
|
296
|
-
#
|
297
|
-
border-bottom: solid 3px #65AFFF;
|
349
|
+
#specification {
|
350
|
+
border-bottom: solid 3px #65AFFF;
|
351
|
+
}
|
298
352
|
|
299
|
-
#
|
300
|
-
background-color: #3A405A;
|
353
|
+
#report-band {
|
354
|
+
background-color: #3A405A;
|
355
|
+
}
|
301
356
|
|
302
|
-
#
|
303
|
-
border-bottom: solid 3px #3A405A;
|
357
|
+
#report {
|
358
|
+
border-bottom: solid 3px #3A405A;
|
359
|
+
}
|
360
|
+
|
361
|
+
#amendment-band {
|
362
|
+
background-color: #F26430;
|
363
|
+
}
|
364
|
+
|
365
|
+
#amendment {
|
366
|
+
border-bottom: solid 3px #F26430;
|
367
|
+
}
|
368
|
+
|
369
|
+
#corrigendum-band {
|
370
|
+
background-color: #C84630;
|
371
|
+
}
|
372
|
+
|
373
|
+
#corrigendum {
|
374
|
+
border-bottom: solid 3px #C84630;
|
375
|
+
}
|
304
376
|
|
305
|
-
#
|
306
|
-
background-color: #
|
377
|
+
#administrative-band {
|
378
|
+
background-color: #BFAE48;
|
379
|
+
}
|
307
380
|
|
308
|
-
#
|
309
|
-
border-bottom: solid 3px #
|
381
|
+
#administrative {
|
382
|
+
border-bottom: solid 3px #BFAE48;
|
383
|
+
}
|
310
384
|
|
311
|
-
#
|
312
|
-
background-color: #
|
385
|
+
#advisory-band {
|
386
|
+
background-color: #BD9391;
|
387
|
+
}
|
313
388
|
|
314
|
-
#
|
315
|
-
border-bottom: solid 3px #
|
389
|
+
#advisory {
|
390
|
+
border-bottom: solid 3px #BD9391;
|
391
|
+
}
|
316
392
|
|
317
|
-
#
|
318
|
-
background-color: #
|
393
|
+
#proposal-band {
|
394
|
+
background-color: #39A0ED;
|
395
|
+
}
|
319
396
|
|
320
|
-
#
|
321
|
-
border-bottom: solid 3px #
|
397
|
+
#proposal {
|
398
|
+
border-bottom: solid 3px #39A0ED;
|
399
|
+
}
|
322
400
|
|
323
|
-
#
|
324
|
-
background-color: #
|
401
|
+
#working-draft-band {
|
402
|
+
background-color: #2D7393;
|
403
|
+
}
|
325
404
|
|
326
|
-
#
|
327
|
-
border-bottom: solid 3px #
|
405
|
+
#working-draft {
|
406
|
+
border-bottom: solid 3px #2D7393;
|
407
|
+
}
|
328
408
|
|
329
|
-
#
|
330
|
-
background-color: #
|
409
|
+
#committee-draft-band {
|
410
|
+
background-color: #2A6B7C;
|
411
|
+
}
|
331
412
|
|
332
|
-
#
|
333
|
-
border-bottom: solid 3px #
|
413
|
+
#committee-draft {
|
414
|
+
border-bottom: solid 3px #2A6B7C;
|
415
|
+
}
|
334
416
|
|
335
|
-
#
|
336
|
-
background-color: #
|
417
|
+
#draft-standard-band {
|
418
|
+
background-color: #1C7F7A;
|
419
|
+
}
|
337
420
|
|
338
|
-
#
|
339
|
-
border-bottom: solid 3px #
|
421
|
+
#draft-standard {
|
422
|
+
border-bottom: solid 3px #1C7F7A;
|
423
|
+
}
|
340
424
|
|
341
|
-
#draft-
|
342
|
-
background-color: #
|
425
|
+
#final-draft-band {
|
426
|
+
background-color: #53C170;
|
427
|
+
}
|
343
428
|
|
344
|
-
#draft
|
345
|
-
border-bottom: solid 3px #
|
429
|
+
#final-draft {
|
430
|
+
border-bottom: solid 3px #53C170;
|
431
|
+
}
|
346
432
|
|
347
|
-
#
|
348
|
-
background-color: #
|
433
|
+
#published-band {
|
434
|
+
background-color: #069E2D;
|
435
|
+
}
|
349
436
|
|
350
|
-
#
|
351
|
-
border-bottom: solid 3px #
|
437
|
+
#published {
|
438
|
+
border-bottom: solid 3px #069E2D;
|
439
|
+
}
|
352
440
|
|
353
|
-
#
|
354
|
-
background-color: #
|
441
|
+
#withdrawn-band {
|
442
|
+
background-color: #004E64;
|
443
|
+
}
|
355
444
|
|
356
|
-
#
|
357
|
-
border-bottom: solid 3px #
|
445
|
+
#withdrawn {
|
446
|
+
border-bottom: solid 3px #004E64;
|
447
|
+
}
|
358
448
|
|
359
|
-
#
|
360
|
-
background-color: #2E382E;
|
449
|
+
#cancelled-band {
|
450
|
+
background-color: #2E382E;
|
451
|
+
}
|
361
452
|
|
362
|
-
#
|
363
|
-
border-bottom: solid 3px #2E382E;
|
453
|
+
#cancelled {
|
454
|
+
border-bottom: solid 3px #2E382E;
|
455
|
+
}
|
364
456
|
|
365
457
|
/*
|
366
458
|
1. HTML & Body
|
@@ -374,79 +466,106 @@ body {
|
|
374
466
|
line-height: 1.4em;
|
375
467
|
color: #1d1d1d;
|
376
468
|
background-color: #ffffff;
|
377
|
-
font-weight: 400;
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
469
|
+
font-weight: 400;
|
470
|
+
}
|
471
|
+
body main {
|
472
|
+
margin: 0 3em 0 6em;
|
473
|
+
}
|
474
|
+
body pre * {
|
475
|
+
font-family: {{bodyfont}} !important;
|
476
|
+
}
|
382
477
|
|
383
478
|
/*
|
384
479
|
2. Responsive navigation layout
|
385
480
|
*/
|
386
481
|
#toc, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
387
482
|
font-family: {{bodyfont}};
|
388
|
-
font-weight: 400;
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
483
|
+
font-weight: 400;
|
484
|
+
}
|
485
|
+
#toc ul, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul {
|
486
|
+
margin: 0;
|
487
|
+
padding: 0;
|
488
|
+
list-style: none;
|
489
|
+
}
|
490
|
+
#toc ul li a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul li a {
|
491
|
+
padding: 5px 10px;
|
492
|
+
}
|
493
|
+
#toc ul a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a {
|
494
|
+
color: #485094;
|
495
|
+
text-decoration: none;
|
496
|
+
display: block;
|
497
|
+
}
|
498
|
+
#toc ul a:hover, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
|
499
|
+
box-shadow: none;
|
500
|
+
color: #485094;
|
501
|
+
}
|
502
|
+
#toc .h2, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .h2 {
|
503
|
+
padding-left: 30px;
|
504
|
+
}
|
505
|
+
#toc .h3, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .h3 {
|
506
|
+
padding-left: 50px;
|
507
|
+
}
|
508
|
+
#toc .h4, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .h4 {
|
509
|
+
padding-left: 70px;
|
510
|
+
}
|
511
|
+
#toc .h5, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .h5 {
|
512
|
+
padding-left: 90px;
|
513
|
+
}
|
514
|
+
#toc .h6, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .h6 {
|
515
|
+
padding-left: 110px;
|
516
|
+
}
|
517
|
+
#toc .toc-active, #toc li:hover, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
|
518
|
+
background: #C70039;
|
519
|
+
box-shadow: inset -5px 0px 10px -5px #C70039 !important;
|
520
|
+
}
|
521
|
+
#toc .toc-active a, #toc li:hover a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
|
522
|
+
color: #485094;
|
523
|
+
}
|
524
|
+
@media print {
|
412
525
|
#toc .toc-active, #toc li:hover, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
|
413
|
-
background:
|
414
|
-
box-shadow:
|
415
|
-
|
416
|
-
color: #485094; }
|
417
|
-
@media print {
|
418
|
-
#toc .toc-active, #toc li:hover, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
|
419
|
-
background: white;
|
420
|
-
box-shadow: none !important; }
|
421
|
-
#toc .toc-active a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a {
|
422
|
-
color: #485094; }
|
423
|
-
#toc li:hover a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
|
424
|
-
color: black; } }
|
425
|
-
@media screen and (max-width: 768px) {
|
426
|
-
#toc, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
427
|
-
padding: 0 1.5em;
|
428
|
-
overflow: visible; } }
|
526
|
+
background: white;
|
527
|
+
box-shadow: none !important;
|
528
|
+
}
|
429
529
|
#toc .toc-active a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a {
|
430
|
-
color:
|
431
|
-
|
432
|
-
#toc li:hover, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6)
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
530
|
+
color: #485094;
|
531
|
+
}
|
532
|
+
#toc li:hover a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
|
533
|
+
color: black;
|
534
|
+
}
|
535
|
+
}
|
536
|
+
@media screen and (max-width: 768px) {
|
537
|
+
#toc, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
538
|
+
padding: 0 1.5em;
|
539
|
+
overflow: visible;
|
540
|
+
}
|
541
|
+
}
|
542
|
+
#toc .toc-active a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a {
|
543
|
+
color: white;
|
544
|
+
}
|
545
|
+
#toc .toc-active,
|
546
|
+
#toc li:hover, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active,
|
547
|
+
#toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
|
548
|
+
box-shadow: none !important;
|
549
|
+
}
|
550
|
+
#toc .toc-active a,
|
551
|
+
#toc li:hover a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a,
|
552
|
+
#toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
|
553
|
+
color: white;
|
554
|
+
background: none;
|
555
|
+
box-shadow: none;
|
556
|
+
}
|
557
|
+
#toc li a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li a {
|
558
|
+
text-transform: uppercase;
|
559
|
+
}
|
560
|
+
#toc ul a:hover, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
|
561
|
+
box-shadow: none;
|
562
|
+
color: white;
|
563
|
+
}
|
446
564
|
|
447
565
|
#toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
448
566
|
margin-top: 0;
|
449
|
-
margin-bottom: 0;
|
567
|
+
margin-bottom: 0;
|
568
|
+
}
|
450
569
|
|
451
570
|
@media screen and (min-width: 768px) {
|
452
571
|
nav {
|
@@ -458,8 +577,9 @@ body {
|
|
458
577
|
font-size: 0.9em;
|
459
578
|
overflow: auto;
|
460
579
|
padding: 0 0 0 45px;
|
461
|
-
background-color: #f7f7f7;
|
462
|
-
|
580
|
+
background-color: #f7f7f7;
|
581
|
+
}
|
582
|
+
}
|
463
583
|
@media print {
|
464
584
|
nav {
|
465
585
|
position: relative;
|
@@ -468,7 +588,9 @@ body {
|
|
468
588
|
overflow: auto;
|
469
589
|
padding: 0;
|
470
590
|
margin-right: 0;
|
471
|
-
background-color: white;
|
591
|
+
background-color: white;
|
592
|
+
}
|
593
|
+
}
|
472
594
|
|
473
595
|
@media screen and (min-width: 768px) {
|
474
596
|
#toggle {
|
@@ -478,48 +600,45 @@ body {
|
|
478
600
|
background-color: #C70039;
|
479
601
|
color: white !important;
|
480
602
|
cursor: pointer;
|
481
|
-
z-index: 100;
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
603
|
+
z-index: 100;
|
604
|
+
}
|
605
|
+
#toggle span {
|
606
|
+
text-align: center;
|
607
|
+
width: 100%;
|
608
|
+
position: absolute;
|
609
|
+
top: 50%;
|
610
|
+
transform: translate(0, -50%);
|
611
|
+
}
|
612
|
+
}
|
489
613
|
@media screen and (max-width: 768px) {
|
490
614
|
#toggle {
|
491
|
-
display: none;
|
492
|
-
|
615
|
+
display: none;
|
616
|
+
}
|
617
|
+
}
|
493
618
|
@media print {
|
494
619
|
#toggle {
|
495
|
-
display: none;
|
496
|
-
|
497
|
-
|
498
|
-
.container {
|
499
|
-
padding-left: 360px; }
|
500
|
-
.rule.toc {
|
501
|
-
display: none; }
|
502
|
-
h1.toc-contents {
|
503
|
-
margin-top: 1em; }
|
504
|
-
ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
505
|
-
padding: 0;
|
506
|
-
margin: 0; } }
|
620
|
+
display: none;
|
621
|
+
}
|
622
|
+
}
|
507
623
|
|
508
624
|
div.figure {
|
509
625
|
line-height: 1.6em;
|
510
626
|
padding: 1.5em;
|
511
627
|
margin: 2em 0 1em 0;
|
512
|
-
overflow: auto;
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
628
|
+
overflow: auto;
|
629
|
+
}
|
630
|
+
div.figure .FigureTitle, div.figure .figure-title {
|
631
|
+
font-weight: 700;
|
632
|
+
font-size: 1em;
|
633
|
+
text-align: center;
|
634
|
+
}
|
635
|
+
div.figure > img, div.figure > svg {
|
636
|
+
margin-left: auto;
|
637
|
+
margin-right: auto;
|
638
|
+
display: block;
|
639
|
+
max-width: 100%;
|
640
|
+
height: auto;
|
641
|
+
}
|
523
642
|
|
524
643
|
/*
|
525
644
|
Document types + stages
|
@@ -530,30 +649,35 @@ div.figure {
|
|
530
649
|
height: 100%;
|
531
650
|
position: fixed;
|
532
651
|
display: block;
|
533
|
-
z-index: 102;
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
.document-type-band
|
556
|
-
|
652
|
+
z-index: 102;
|
653
|
+
}
|
654
|
+
.document-type-band > :first-child {
|
655
|
+
position: relative;
|
656
|
+
width: 25px;
|
657
|
+
font-weight: 400;
|
658
|
+
color: white;
|
659
|
+
text-transform: uppercase;
|
660
|
+
font-size: 0.9em;
|
661
|
+
font-weight: 400;
|
662
|
+
letter-spacing: 0.05em;
|
663
|
+
margin: 0;
|
664
|
+
margin-left: 6px;
|
665
|
+
writing-mode: tb-rl;
|
666
|
+
-webkit-transform: rotate(180deg);
|
667
|
+
-moz-transform: rotate(180deg);
|
668
|
+
-o-transform: rotate(180deg);
|
669
|
+
white-space: nowrap;
|
670
|
+
display: block;
|
671
|
+
bottom: 0;
|
672
|
+
}
|
673
|
+
@media print {
|
674
|
+
.document-type-band {
|
675
|
+
display: none;
|
676
|
+
}
|
677
|
+
}
|
678
|
+
.document-type-band .document-type {
|
679
|
+
top: 20px;
|
680
|
+
}
|
557
681
|
|
558
682
|
.document-stage-band {
|
559
683
|
left: 0;
|
@@ -562,31 +686,37 @@ div.figure {
|
|
562
686
|
position: fixed;
|
563
687
|
display: block;
|
564
688
|
z-index: 101;
|
565
|
-
box-shadow: -5px 0px 10px #1d1d1d;
|
566
|
-
|
567
|
-
position: relative;
|
568
|
-
width: 25px;
|
569
|
-
font-weight: 400;
|
570
|
-
height: 150;
|
571
|
-
color: white;
|
572
|
-
text-transform: uppercase;
|
573
|
-
font-size: 0.9em;
|
574
|
-
font-weight: 400;
|
575
|
-
letter-spacing: 0.05em;
|
576
|
-
margin: 0;
|
577
|
-
margin-left: 6px;
|
578
|
-
writing-mode: tb-rl;
|
579
|
-
-webkit-transform: rotate(180deg);
|
580
|
-
-moz-transform: rotate(180deg);
|
581
|
-
-o-transform: rotate(180deg);
|
582
|
-
white-space: nowrap;
|
583
|
-
display: block;
|
584
|
-
bottom: 0; }
|
585
|
-
@media print {
|
586
|
-
.document-stage-band {
|
587
|
-
display: none; } }
|
689
|
+
box-shadow: -5px 0px 10px #1d1d1d;
|
690
|
+
}
|
588
691
|
.document-stage-band > :first-child {
|
589
|
-
|
692
|
+
position: relative;
|
693
|
+
width: 25px;
|
694
|
+
font-weight: 400;
|
695
|
+
height: 150;
|
696
|
+
color: white;
|
697
|
+
text-transform: uppercase;
|
698
|
+
font-size: 0.9em;
|
699
|
+
font-weight: 400;
|
700
|
+
letter-spacing: 0.05em;
|
701
|
+
margin: 0;
|
702
|
+
margin-left: 6px;
|
703
|
+
writing-mode: tb-rl;
|
704
|
+
-webkit-transform: rotate(180deg);
|
705
|
+
-moz-transform: rotate(180deg);
|
706
|
+
-o-transform: rotate(180deg);
|
707
|
+
white-space: nowrap;
|
708
|
+
display: block;
|
709
|
+
bottom: 0;
|
710
|
+
}
|
711
|
+
@media print {
|
712
|
+
.document-stage-band {
|
713
|
+
display: none;
|
714
|
+
}
|
715
|
+
}
|
716
|
+
|
717
|
+
.document-stage-band > :first-child {
|
718
|
+
font-weight: 300;
|
719
|
+
}
|
590
720
|
|
591
721
|
p.document-stage {
|
592
722
|
position: relative;
|
@@ -606,21 +736,25 @@ p.document-stage {
|
|
606
736
|
-o-transform: rotate(180deg);
|
607
737
|
white-space: nowrap;
|
608
738
|
display: block;
|
609
|
-
bottom: 0;
|
739
|
+
bottom: 0;
|
740
|
+
}
|
610
741
|
|
611
742
|
#governance-band p.document-type {
|
612
|
-
height: 230px !important;
|
743
|
+
height: 230px !important;
|
744
|
+
}
|
613
745
|
|
614
746
|
p.document-stage {
|
615
747
|
font-weight: 300;
|
616
|
-
height: 160px;
|
748
|
+
height: 160px;
|
749
|
+
}
|
617
750
|
|
618
751
|
.coverpage-maturity {
|
619
752
|
font-family: {{bodyfont}};
|
620
753
|
font-weight: 400;
|
621
754
|
font-size: 1em;
|
622
755
|
margin: 0 0 2em 0;
|
623
|
-
text-transform: uppercase;
|
756
|
+
text-transform: uppercase;
|
757
|
+
}
|
624
758
|
|
625
759
|
/*
|
626
760
|
3. TYPOGRAPHY
|
@@ -633,142 +767,175 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
|
|
633
767
|
color: #C70039;
|
634
768
|
font-weight: 300;
|
635
769
|
margin-top: 1.6em;
|
636
|
-
margin-bottom: 0.3em;
|
770
|
+
margin-bottom: 0.3em;
|
771
|
+
}
|
637
772
|
|
638
773
|
h1, .h1 {
|
639
774
|
font-size: 1.6em;
|
640
775
|
text-transform: uppercase;
|
641
|
-
margin-top: 2em;
|
776
|
+
margin-top: 2em;
|
777
|
+
}
|
642
778
|
|
643
|
-
h1#content, #content
|
644
|
-
margin-top: 2em;
|
779
|
+
h1#content, .h1#content {
|
780
|
+
margin-top: 2em;
|
781
|
+
}
|
645
782
|
|
646
783
|
h2, .h2 {
|
647
784
|
margin-top: 1.3em;
|
648
785
|
font-size: 1.3em;
|
649
|
-
font-weight: 400;
|
786
|
+
font-weight: 400;
|
787
|
+
}
|
650
788
|
|
651
789
|
h3, .h3 {
|
652
790
|
margin-top: 1.1em;
|
653
791
|
font-size: 1.1em;
|
654
|
-
font-weight: 100;
|
792
|
+
font-weight: 100;
|
793
|
+
}
|
655
794
|
|
656
795
|
.TermNum {
|
657
796
|
color: #C70039;
|
658
|
-
font-weight: 100;
|
797
|
+
font-weight: 100;
|
798
|
+
}
|
659
799
|
|
660
800
|
h2.TermNum {
|
661
|
-
margin-bottom: 0;
|
801
|
+
margin-bottom: 0;
|
802
|
+
}
|
662
803
|
|
663
804
|
p.Terms {
|
664
805
|
font-size: 1.1em;
|
665
806
|
line-height: 1.5em;
|
666
|
-
margin: 0;
|
807
|
+
margin: 0;
|
808
|
+
}
|
667
809
|
|
668
810
|
p.AltTerms {
|
669
811
|
/*
|
670
|
-
|
671
|
-
|
812
|
+
font-style: italic;
|
813
|
+
*/
|
672
814
|
font-size: 1.1em;
|
673
|
-
margin: 0;
|
815
|
+
margin: 0;
|
816
|
+
}
|
674
817
|
|
675
818
|
/*
|
676
819
|
3.2 Links
|
677
820
|
*/
|
678
821
|
a, a:visited {
|
679
822
|
text-decoration: none;
|
680
|
-
color: #485094;
|
823
|
+
color: #485094;
|
824
|
+
}
|
681
825
|
|
682
826
|
a:hover {
|
683
827
|
color: white;
|
684
828
|
background: #C70039;
|
685
|
-
box-shadow: 3px 0 0 #C70039, -3px 0 0 #C70039;
|
829
|
+
box-shadow: 3px 0 0 #C70039, -3px 0 0 #C70039;
|
830
|
+
}
|
686
831
|
|
687
832
|
*::selection {
|
688
833
|
background: #C70039;
|
689
|
-
color: white;
|
834
|
+
color: white;
|
835
|
+
}
|
690
836
|
|
691
837
|
*::-moz-selection {
|
692
838
|
background: #C70039;
|
693
|
-
color: white;
|
839
|
+
color: white;
|
840
|
+
}
|
694
841
|
|
695
842
|
/*
|
696
843
|
3.3 Lists
|
697
844
|
*/
|
698
845
|
ul, ol {
|
699
|
-
margin-left: 1.2em;
|
846
|
+
margin-left: 1.2em;
|
847
|
+
}
|
700
848
|
|
701
849
|
ul li {
|
702
|
-
list-style: none;
|
850
|
+
list-style: none;
|
851
|
+
}
|
703
852
|
|
704
853
|
ul li::before {
|
705
854
|
content: "—";
|
706
855
|
display: inline-block;
|
707
856
|
width: 1em;
|
708
|
-
margin-left: -1.2em;
|
857
|
+
margin-left: -1.2em;
|
858
|
+
}
|
709
859
|
|
710
860
|
ul li p {
|
711
|
-
display: inline;
|
861
|
+
display: inline;
|
862
|
+
}
|
712
863
|
|
713
864
|
ul li:first-child {
|
714
|
-
margin-top: 1em;
|
865
|
+
margin-top: 1em;
|
866
|
+
}
|
715
867
|
|
716
868
|
#toc-list ul {
|
717
|
-
margin-bottom: 0.25em;
|
869
|
+
margin-bottom: 0.25em;
|
870
|
+
}
|
718
871
|
|
719
872
|
#toc-list li {
|
720
|
-
list-style-type: none;
|
873
|
+
list-style-type: none;
|
874
|
+
}
|
721
875
|
|
722
876
|
#toc li::before {
|
723
877
|
content: " ";
|
724
|
-
display: none;
|
878
|
+
display: none;
|
879
|
+
}
|
725
880
|
|
726
881
|
/* https://github.com/metanorma/metanorma-bipm/issues/47 */
|
727
|
-
ol[class=
|
728
|
-
counter-reset: alphabet;
|
882
|
+
ol[class=alphabet] {
|
883
|
+
counter-reset: alphabet;
|
884
|
+
}
|
729
885
|
|
730
|
-
ol[class=
|
731
|
-
counter-reset: roman;
|
886
|
+
ol[class=roman] {
|
887
|
+
counter-reset: roman;
|
888
|
+
}
|
732
889
|
|
733
|
-
ol[class=
|
734
|
-
counter-reset: none;
|
890
|
+
ol[class=alphabet] ol[class=alphabet] {
|
891
|
+
counter-reset: none;
|
892
|
+
}
|
735
893
|
|
736
|
-
ol[class=
|
894
|
+
ol[class=alphabet] > li {
|
737
895
|
list-style: none;
|
738
|
-
position: relative;
|
896
|
+
position: relative;
|
897
|
+
}
|
739
898
|
|
740
|
-
ol[class=
|
741
|
-
list-style: inherit;
|
899
|
+
ol[class=alphabet] ol[class=alphabet] > li {
|
900
|
+
list-style: inherit;
|
901
|
+
}
|
742
902
|
|
743
|
-
ol[class=
|
903
|
+
ol[class=alphabet] > li::before {
|
744
904
|
counter-increment: alphabet;
|
745
905
|
content: counter(alphabet, lower-alpha) ") ";
|
746
906
|
position: absolute;
|
747
|
-
left: -1.4em;
|
907
|
+
left: -1.4em;
|
908
|
+
}
|
748
909
|
|
749
|
-
ol[class=
|
910
|
+
ol[class=alphabet] ol[class=alphabet] > li::before {
|
750
911
|
counter-increment: none;
|
751
|
-
content: initial;
|
912
|
+
content: initial;
|
913
|
+
}
|
752
914
|
|
753
|
-
ol[class=
|
754
|
-
counter-reset: none;
|
915
|
+
ol[class=roman] ol[class=roman] {
|
916
|
+
counter-reset: none;
|
917
|
+
}
|
755
918
|
|
756
|
-
ol[class=
|
919
|
+
ol[class=roman] > li {
|
757
920
|
list-style: none;
|
758
|
-
position: relative;
|
921
|
+
position: relative;
|
922
|
+
}
|
759
923
|
|
760
|
-
ol[class=
|
761
|
-
list-style: inherit;
|
924
|
+
ol[class=roman] ol[class=roman] > li {
|
925
|
+
list-style: inherit;
|
926
|
+
}
|
762
927
|
|
763
|
-
ol[class=
|
928
|
+
ol[class=roman] > li::before {
|
764
929
|
counter-increment: roman;
|
765
930
|
content: "(" counter(roman, lower-roman) ") ";
|
766
931
|
position: absolute;
|
767
|
-
left: -
|
932
|
+
left: -2em;
|
933
|
+
}
|
768
934
|
|
769
|
-
ol[class=
|
935
|
+
ol[class=roman] ol[class=roman] > li::before {
|
770
936
|
counter-increment: none;
|
771
|
-
content: initial;
|
937
|
+
content: initial;
|
938
|
+
}
|
772
939
|
|
773
940
|
/*
|
774
941
|
3.4 Rules
|
@@ -777,14 +944,16 @@ ol[class="roman"] ol[class="roman"] > li::before {
|
|
777
944
|
width: 100%;
|
778
945
|
height: 1px;
|
779
946
|
background-color: #0e1a85;
|
780
|
-
margin: 2em 0;
|
947
|
+
margin: 2em 0;
|
948
|
+
}
|
781
949
|
|
782
950
|
/*
|
783
951
|
3.5 Bibliograhy
|
784
952
|
*/
|
785
953
|
p.Biblio, p.NormRef {
|
786
954
|
margin-top: 1em;
|
787
|
-
margin-left: 2em;
|
955
|
+
margin-left: 2em;
|
956
|
+
}
|
788
957
|
|
789
958
|
/*
|
790
959
|
3.6 Source Code + figures
|
@@ -797,33 +966,39 @@ pre,
|
|
797
966
|
line-height: 1.6em;
|
798
967
|
padding: 1.5em;
|
799
968
|
margin: 2em 0 1em 0;
|
800
|
-
overflow: auto;
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
969
|
+
overflow: auto;
|
970
|
+
}
|
971
|
+
.figure .SourceTitle,
|
972
|
+
pre .SourceTitle,
|
973
|
+
.pseudocode .SourceTitle {
|
974
|
+
font-weight: 700;
|
975
|
+
font-size: 1em;
|
976
|
+
text-align: center;
|
977
|
+
}
|
807
978
|
|
808
979
|
pre {
|
809
980
|
font-family: {{monospacefont}};
|
810
|
-
font-variant-ligatures: none;
|
981
|
+
font-variant-ligatures: none;
|
982
|
+
}
|
811
983
|
|
812
984
|
.AdmonitionTitle {
|
813
985
|
font-weight: 700;
|
814
986
|
font-size: 1em;
|
815
|
-
text-align: center;
|
987
|
+
text-align: center;
|
988
|
+
}
|
816
989
|
|
817
990
|
.RecommendationTitle {
|
818
991
|
font-weight: 700;
|
819
992
|
font-size: 1em;
|
820
|
-
text-align: center;
|
993
|
+
text-align: center;
|
994
|
+
}
|
821
995
|
|
822
996
|
.FigureTitle,
|
823
997
|
.SourceTitle {
|
824
998
|
font-weight: 700;
|
825
999
|
font-size: 1em;
|
826
|
-
text-align: center;
|
1000
|
+
text-align: center;
|
1001
|
+
}
|
827
1002
|
|
828
1003
|
/*
|
829
1004
|
3.7 Notes
|
@@ -832,9 +1007,11 @@ pre {
|
|
832
1007
|
background-color: #fff495;
|
833
1008
|
color: #47430c;
|
834
1009
|
padding: 1.2em;
|
835
|
-
margin: 1em 0 1em 0;
|
836
|
-
|
837
|
-
|
1010
|
+
margin: 1em 0 1em 0;
|
1011
|
+
}
|
1012
|
+
.Note p {
|
1013
|
+
margin: 0;
|
1014
|
+
}
|
838
1015
|
|
839
1016
|
/*
|
840
1017
|
3.8 Examples
|
@@ -845,18 +1022,23 @@ pre {
|
|
845
1022
|
margin: 2em 0 1em 0;
|
846
1023
|
text-align: left;
|
847
1024
|
color: #424242;
|
848
|
-
padding-left: 2.7em;
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
1025
|
+
padding-left: 2.7em;
|
1026
|
+
}
|
1027
|
+
.example p {
|
1028
|
+
margin: 0;
|
1029
|
+
}
|
1030
|
+
.example .example-title {
|
1031
|
+
font-weight: 700;
|
1032
|
+
text-transform: uppercase;
|
1033
|
+
margin-left: -1.5em;
|
1034
|
+
}
|
1035
|
+
.example .example-title {
|
1036
|
+
margin-top: 0;
|
1037
|
+
}
|
1038
|
+
.example pre,
|
1039
|
+
.example .pseudocode {
|
1040
|
+
background: none;
|
1041
|
+
}
|
860
1042
|
|
861
1043
|
/*
|
862
1044
|
3.9 Tables
|
@@ -867,29 +1049,36 @@ table {
|
|
867
1049
|
margin: 1em 0 2em 0;
|
868
1050
|
margin-left: auto;
|
869
1051
|
margin-right: auto;
|
870
|
-
padding-right: 2em;
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
1052
|
+
padding-right: 2em;
|
1053
|
+
}
|
1054
|
+
table, table th, table td {
|
1055
|
+
border: 1px solid black;
|
1056
|
+
font-size: 0.95em;
|
1057
|
+
}
|
1058
|
+
table th, table td {
|
1059
|
+
padding: 1em;
|
1060
|
+
}
|
1061
|
+
table td.header {
|
1062
|
+
font-weight: 400;
|
1063
|
+
}
|
878
1064
|
|
879
1065
|
p.TableTitle {
|
880
1066
|
text-align: center;
|
881
1067
|
margin-top: 2.5em;
|
882
|
-
font-weight: 400;
|
1068
|
+
font-weight: 400;
|
1069
|
+
}
|
883
1070
|
|
884
1071
|
/*
|
885
1072
|
3.10 Footnotes
|
886
1073
|
*/
|
887
1074
|
a.footnote-number {
|
888
1075
|
vertical-align: super;
|
889
|
-
font-size: 0.8em;
|
1076
|
+
font-size: 0.8em;
|
1077
|
+
}
|
890
1078
|
|
891
1079
|
.footnote {
|
892
|
-
font-size: {{footnotefontsize}};
|
1080
|
+
font-size: {{footnotefontsize}};
|
1081
|
+
}
|
893
1082
|
|
894
1083
|
/*
|
895
1084
|
3.11 Blockquotes
|
@@ -901,7 +1090,8 @@ a.footnote-number {
|
|
901
1090
|
padding: 1.5em;
|
902
1091
|
margin-top: 2em;
|
903
1092
|
margin-left: auto;
|
904
|
-
margin-right: auto;
|
1093
|
+
margin-right: auto;
|
1094
|
+
}
|
905
1095
|
|
906
1096
|
/*
|
907
1097
|
3.12 Formulas
|
@@ -910,7 +1100,8 @@ a.footnote-number {
|
|
910
1100
|
background-color: #f7f7f7;
|
911
1101
|
padding: 1.5em;
|
912
1102
|
margin-top: 2em;
|
913
|
-
text-align: center;
|
1103
|
+
text-align: center;
|
1104
|
+
}
|
914
1105
|
|
915
1106
|
/*
|
916
1107
|
3.13 Contact Info
|
@@ -922,41 +1113,49 @@ a.footnote-number {
|
|
922
1113
|
text-align: left;
|
923
1114
|
border: #C70039 solid 2px;
|
924
1115
|
color: #C70039 !important;
|
925
|
-
border-radius: 25px;
|
1116
|
+
border-radius: 25px;
|
1117
|
+
}
|
926
1118
|
|
927
1119
|
.contact-info a,
|
928
1120
|
.contact-info a:hover {
|
929
|
-
color: #C70039;
|
1121
|
+
color: #C70039;
|
1122
|
+
}
|
930
1123
|
|
931
1124
|
.contact-info p, .contact-info a {
|
932
1125
|
font-family: {{monospacefont}};
|
933
|
-
font-weight: 400;
|
1126
|
+
font-weight: 400;
|
1127
|
+
}
|
934
1128
|
|
935
1129
|
.contact-info .name {
|
936
1130
|
font-weight: 700;
|
937
1131
|
font-size: 1.2em;
|
938
|
-
margin-bottom: 0;
|
1132
|
+
margin-bottom: 0;
|
1133
|
+
}
|
939
1134
|
|
940
1135
|
.contact-info .address {
|
941
1136
|
font-size: 1em;
|
942
1137
|
line-height: 1.3em;
|
943
|
-
margin-top: 0;
|
1138
|
+
margin-top: 0;
|
1139
|
+
}
|
944
1140
|
|
945
1141
|
/*
|
946
1142
|
Keywords
|
947
1143
|
*/
|
948
1144
|
span.keyword {
|
949
|
-
font-weight: 600;
|
1145
|
+
font-weight: 600;
|
1146
|
+
}
|
950
1147
|
|
951
1148
|
/*
|
952
1149
|
Paragraphs
|
953
1150
|
*/
|
954
1151
|
p {
|
955
1152
|
margin-top: 1em;
|
956
|
-
margin-bottom: 1em;
|
1153
|
+
margin-bottom: 1em;
|
1154
|
+
}
|
957
1155
|
|
958
1156
|
h2 p, .h2 p {
|
959
|
-
display: inline;
|
1157
|
+
display: inline;
|
1158
|
+
}
|
960
1159
|
|
961
1160
|
/*
|
962
1161
|
4.0 Page header
|
@@ -966,23 +1165,27 @@ h2 p, .h2 p {
|
|
966
1165
|
*/
|
967
1166
|
.icon-svg {
|
968
1167
|
width: 100%;
|
969
|
-
color: #5ecf86;
|
1168
|
+
color: #5ecf86;
|
1169
|
+
}
|
970
1170
|
|
971
1171
|
.wrapper-top {
|
972
1172
|
background: #C70039;
|
973
1173
|
color: #ffffff;
|
974
1174
|
padding: 2em 0;
|
975
|
-
width: 100%;
|
1175
|
+
width: 100%;
|
1176
|
+
}
|
976
1177
|
|
977
1178
|
.wrapper-top-bottom {
|
978
1179
|
width: 0;
|
979
1180
|
height: 0;
|
980
1181
|
border-top: 100px solid #C70039;
|
981
|
-
position: absolute;
|
1182
|
+
position: absolute;
|
1183
|
+
}
|
982
1184
|
|
983
1185
|
.doc-number {
|
984
1186
|
font-size: 0.5em;
|
985
|
-
font-family: {{bodyfont}};
|
1187
|
+
font-family: {{bodyfont}};
|
1188
|
+
}
|
986
1189
|
|
987
1190
|
.coverpage-title {
|
988
1191
|
padding-bottom: 0.5em;
|
@@ -992,53 +1195,65 @@ h2 p, .h2 p {
|
|
992
1195
|
font-weight: 100;
|
993
1196
|
padding-left: 1em;
|
994
1197
|
padding-right: 1em;
|
995
|
-
text-transform: uppercase;
|
1198
|
+
text-transform: uppercase;
|
1199
|
+
}
|
996
1200
|
|
997
1201
|
.WordSection11 {
|
998
|
-
padding: 0 2em 0 3em;
|
1202
|
+
padding: 0 2em 0 3em;
|
1203
|
+
}
|
999
1204
|
|
1000
1205
|
.info-section {
|
1001
|
-
padding: 0 2em 0 5em;
|
1206
|
+
padding: 0 2em 0 5em;
|
1207
|
+
}
|
1002
1208
|
|
1003
1209
|
.prefatory-section {
|
1004
|
-
padding: 0 3em 0 6em;
|
1210
|
+
padding: 0 3em 0 6em;
|
1211
|
+
}
|
1005
1212
|
|
1006
1213
|
.zzSTDTitle1, .MsoCommentText {
|
1007
|
-
display: none;
|
1214
|
+
display: none;
|
1215
|
+
}
|
1008
1216
|
|
1009
1217
|
.coverpage {
|
1010
1218
|
text-align: center;
|
1011
|
-
padding-left: 1.5em;
|
1219
|
+
padding-left: 1.5em;
|
1220
|
+
}
|
1012
1221
|
|
1013
1222
|
.coverpage-logo span, .coverpage-tc-name span {
|
1014
1223
|
font-family: {{bodyfont}};
|
1015
1224
|
text-transform: none;
|
1016
|
-
font-weight: 300;
|
1225
|
+
font-weight: 300;
|
1226
|
+
}
|
1017
1227
|
|
1018
1228
|
.coverpage-tc-name {
|
1019
1229
|
font-size: 1.2em;
|
1020
1230
|
line-height: 1.2em;
|
1021
|
-
margin: 0.25em 0;
|
1231
|
+
margin: 0.25em 0;
|
1232
|
+
}
|
1022
1233
|
|
1023
1234
|
/*
|
1024
1235
|
4.2 Document Identity
|
1025
1236
|
*/
|
1026
1237
|
.coverpage-doc-identity {
|
1027
1238
|
font-size: 2em;
|
1028
|
-
line-height: 2em;
|
1239
|
+
line-height: 2em;
|
1240
|
+
}
|
1029
1241
|
|
1030
1242
|
.coverpage-title .title-second {
|
1031
|
-
font-size: 0.8em;
|
1243
|
+
font-size: 0.8em;
|
1244
|
+
}
|
1032
1245
|
|
1033
1246
|
.coverpage-title .title-third {
|
1034
|
-
font-size: 0.6em;
|
1247
|
+
font-size: 0.6em;
|
1248
|
+
}
|
1035
1249
|
|
1036
1250
|
.coverpage-stage-block {
|
1037
1251
|
font-family: {{bodyfont}};
|
1038
1252
|
font-weight: 600;
|
1039
1253
|
font-size: 1.25em;
|
1040
1254
|
margin: 2em 0em 2em 0em;
|
1041
|
-
text-transform: uppercase;
|
1255
|
+
text-transform: uppercase;
|
1256
|
+
}
|
1042
1257
|
|
1043
1258
|
/*
|
1044
1259
|
4.3 Draft Warning
|
@@ -1049,13 +1264,15 @@ h2 p, .h2 p {
|
|
1049
1264
|
margin: 1em 2em;
|
1050
1265
|
color: #485094;
|
1051
1266
|
padding: 2em 1em 1em 1em;
|
1052
|
-
border-radius: 25px;
|
1267
|
+
border-radius: 25px;
|
1268
|
+
}
|
1053
1269
|
|
1054
1270
|
.coverpage-warning .title {
|
1055
1271
|
font-family: {{headerfont}};
|
1056
1272
|
font-weight: 300;
|
1057
1273
|
text-transform: uppercase;
|
1058
|
-
font-size: 1.2em;
|
1274
|
+
font-size: 1.2em;
|
1275
|
+
}
|
1059
1276
|
|
1060
1277
|
/*
|
1061
1278
|
4.4 Copyright
|
@@ -1063,7 +1280,8 @@ h2 p, .h2 p {
|
|
1063
1280
|
.copyright {
|
1064
1281
|
padding: 1em;
|
1065
1282
|
font-size: 0.9em;
|
1066
|
-
text-align: left;
|
1283
|
+
text-align: left;
|
1284
|
+
}
|
1067
1285
|
|
1068
1286
|
/* .copyright .name, .copyright .address {color: #485094;} */
|
1069
1287
|
/*
|
@@ -1089,59 +1307,96 @@ To top button
|
|
1089
1307
|
cursor: pointer;
|
1090
1308
|
padding: 10px 15px 10px 15px;
|
1091
1309
|
border-radius: 4px;
|
1092
|
-
text-transform: uppercase;
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
1098
|
-
#myBtn
|
1099
|
-
|
1100
|
-
|
1101
|
-
|
1310
|
+
text-transform: uppercase;
|
1311
|
+
}
|
1312
|
+
#myBtn:hover {
|
1313
|
+
opacity: 1;
|
1314
|
+
}
|
1315
|
+
@media print {
|
1316
|
+
#myBtn {
|
1317
|
+
display: none;
|
1318
|
+
}
|
1319
|
+
}
|
1320
|
+
#myBtn a.anchorjs-link:hover {
|
1321
|
+
background: none;
|
1322
|
+
color: #485094;
|
1323
|
+
box-shadow: none;
|
1324
|
+
}
|
1102
1325
|
|
1103
1326
|
@page {
|
1104
|
-
margin: 2cm 1cm;
|
1105
|
-
|
1327
|
+
margin: 2cm 1cm;
|
1328
|
+
}
|
1329
|
+
@media screen and (min-width: 768px) {
|
1330
|
+
.container {
|
1331
|
+
padding-left: 360px;
|
1332
|
+
}
|
1333
|
+
.rule.toc {
|
1334
|
+
display: none;
|
1335
|
+
}
|
1336
|
+
h1.toc-contents {
|
1337
|
+
margin-top: 1em;
|
1338
|
+
}
|
1339
|
+
ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
1340
|
+
padding: 0;
|
1341
|
+
margin: 0;
|
1342
|
+
}
|
1343
|
+
}
|
1106
1344
|
@media print {
|
1107
1345
|
.document-info, nav, .copyright {
|
1108
|
-
page-break-before: always;
|
1346
|
+
page-break-before: always;
|
1347
|
+
}
|
1109
1348
|
h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
|
1110
1349
|
page-break-after: avoid;
|
1111
|
-
margin-top: 1.2em;
|
1350
|
+
margin-top: 1.2em;
|
1351
|
+
}
|
1112
1352
|
.note, .figure, pre, .pseudocode, table {
|
1113
|
-
page-break-inside: avoid;
|
1353
|
+
page-break-inside: avoid;
|
1354
|
+
}
|
1114
1355
|
.info-section {
|
1115
|
-
display: none;
|
1356
|
+
display: none;
|
1357
|
+
}
|
1116
1358
|
.coverpage {
|
1117
|
-
height: 23cm;
|
1359
|
+
height: 23cm;
|
1360
|
+
}
|
1118
1361
|
.wrapper-top {
|
1119
1362
|
top: 0;
|
1120
1363
|
padding-top: 4cm;
|
1121
|
-
padding-bottom: 4cm;
|
1364
|
+
padding-bottom: 4cm;
|
1365
|
+
}
|
1122
1366
|
.wrapper-top-bottom {
|
1123
|
-
margin-top: -5px;
|
1367
|
+
margin-top: -5px;
|
1368
|
+
}
|
1124
1369
|
#toggle, .document-stage-band,
|
1125
1370
|
.document-type-band, button#myBtn {
|
1126
|
-
display: none;
|
1371
|
+
display: none;
|
1372
|
+
}
|
1127
1373
|
.container {
|
1128
|
-
padding-left: 0;
|
1374
|
+
padding-left: 0;
|
1375
|
+
}
|
1129
1376
|
h1.content {
|
1130
1377
|
margin-top: 2em;
|
1131
|
-
line-height: 2.5em;
|
1378
|
+
line-height: 2.5em;
|
1379
|
+
}
|
1132
1380
|
h1, .h1 {
|
1133
1381
|
font-size: 1.5em;
|
1134
|
-
line-height: 1.5;
|
1382
|
+
line-height: 1.5;
|
1383
|
+
}
|
1135
1384
|
h2, .h2 {
|
1136
|
-
font-size: 1.2em;
|
1385
|
+
font-size: 1.2em;
|
1386
|
+
}
|
1137
1387
|
h3, .h3 {
|
1138
|
-
font-size: 1em;
|
1388
|
+
font-size: 1em;
|
1389
|
+
}
|
1139
1390
|
.Note {
|
1140
1391
|
background-color: #fff495;
|
1141
1392
|
color: #47430c;
|
1142
1393
|
padding: 5px;
|
1143
|
-
margin: 2em 0 1em 0;
|
1394
|
+
margin: 2em 0 1em 0;
|
1395
|
+
}
|
1144
1396
|
.Note p {
|
1145
|
-
padding: 0 5px 0 5px;
|
1397
|
+
padding: 0 5px 0 5px;
|
1398
|
+
}
|
1146
1399
|
.wrapper-top-bottom {
|
1147
|
-
display: none;
|
1400
|
+
display: none;
|
1401
|
+
}
|
1402
|
+
}
|