metanorma-mpfd 0.3.21 → 0.3.23
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/.travis.yml +17 -0
- data/Gemfile +1 -8
- data/README.adoc +1 -96
- data/lib/asciidoctor/mpfd/biblio.rng +166 -567
- data/lib/asciidoctor/mpfd/converter.rb +84 -7
- data/lib/asciidoctor/mpfd/isodoc.rng +727 -763
- data/lib/asciidoctor/mpfd/isostandard.rng +1054 -0
- data/lib/asciidoctor/mpfd/mpfd.rng +145 -11
- data/lib/asciidoctor/mpfd/pdf.js +31 -0
- data/lib/asciidoctor/mpfd/section.rb +51 -23
- data/lib/asciidoctor/mpfd.rb +1 -0
- data/lib/isodoc/mpfd/html/header.html +6 -64
- data/lib/isodoc/mpfd/html/html_rsd_titlepage.html +4 -4
- data/lib/isodoc/mpfd/html/htmlstyle.scss +505 -200
- data/lib/isodoc/mpfd/html/rsd.scss +30 -149
- data/lib/isodoc/mpfd/html/scripts.html +27 -25
- data/lib/isodoc/mpfd/html/scripts.pdf.html +70 -0
- data/lib/isodoc/mpfd/html/word_rsd_titlepage.html +2 -2
- data/lib/isodoc/mpfd/html/wordstyle.scss +9 -61
- data/lib/isodoc/mpfd/html_convert.rb +258 -4
- data/lib/isodoc/mpfd/i18n-en.yaml +0 -1
- data/lib/isodoc/mpfd/metadata.rb +32 -8
- data/lib/isodoc/mpfd/{base_convert.rb → pdf_convert.rb} +137 -40
- data/lib/isodoc/mpfd/word_convert.rb +292 -4
- data/lib/metanorma/mpfd/processor.rb +4 -8
- data/lib/metanorma/mpfd/version.rb +1 -1
- data/lib/metanorma-mpfd.rb +1 -0
- data/metanorma-mpfd.gemspec +8 -7
- metadata +66 -33
- data/.github/workflows/macos.yml +0 -39
- data/.github/workflows/ubuntu.yml +0 -53
- data/.github/workflows/windows.yml +0 -41
- data/.hound.yml +0 -3
- data/.rubocop.yml +0 -10
- data/lib/asciidoctor/mpfd/basicdoc.rng +0 -1059
- data/lib/asciidoctor/mpfd/reqt.rng +0 -171
- data/lib/asciidoctor/mpfd/validate.rb +0 -30
- data/lib/isodoc/mpfd/i18n-zh-Hans.yaml +0 -2
|
@@ -7,97 +7,256 @@
|
|
|
7
7
|
License: none (public domain)
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
html, body, div, span, applet, object, iframe,
|
|
11
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
|
12
|
+
a, abbr, acronym, address, big, cite, code,
|
|
13
|
+
del, dfn, em, img, ins, kbd, q, s, samp,
|
|
14
|
+
small, strike, strong, sub, sup, tt, var,
|
|
15
|
+
b, u, i, center,
|
|
16
|
+
ol, ul, li,
|
|
17
|
+
fieldset, form, label, legend,
|
|
18
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
|
19
|
+
article, aside, canvas, details, embed,
|
|
20
|
+
figure, figcaption, footer, header, hgroup,
|
|
21
|
+
menu, nav, output, ruby, section, summary,
|
|
22
|
+
time, mark, audio, video {
|
|
23
|
+
margin: 0;
|
|
24
|
+
padding: 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
html, body, div, span, applet, object, iframe,
|
|
28
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
|
29
|
+
a, abbr, acronym, address, big, cite, code,
|
|
30
|
+
del, dfn, em, img, ins, kbd, q, s, samp,
|
|
31
|
+
small, strike, strong, sub, sup, tt, var,
|
|
32
|
+
b, u, i, center,
|
|
33
|
+
dl, dt, dd, ol, ul, li,
|
|
34
|
+
fieldset, form, label, legend,
|
|
35
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
|
36
|
+
article, aside, canvas, details, embed,
|
|
37
|
+
figure, figcaption, footer, header, hgroup,
|
|
38
|
+
menu, nav, output, ruby, section, summary,
|
|
39
|
+
time, mark, audio, video {
|
|
40
|
+
border: 0;
|
|
41
|
+
font-size: 100%;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
html, body, div, span, applet, object, iframe,
|
|
45
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
|
46
|
+
a, abbr, acronym, address, big, cite, code,
|
|
47
|
+
del, dfn, em, img, ins, kbd, q, s, samp,
|
|
48
|
+
small, strike, strong, tt, var,
|
|
49
|
+
b, u, i, center,
|
|
50
|
+
dl, dd, ol, ul, li,
|
|
51
|
+
fieldset, form, label, legend,
|
|
52
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
|
53
|
+
article, aside, canvas, details, embed,
|
|
54
|
+
figure, figcaption, footer, header, hgroup,
|
|
55
|
+
menu, nav, output, ruby, section, summary,
|
|
56
|
+
time, mark, audio, video {
|
|
57
|
+
vertical-align: baseline;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
html, body, div, span, applet, object, iframe,
|
|
61
|
+
p, blockquote,
|
|
62
|
+
a, abbr, acronym, address, big, cite,
|
|
63
|
+
del, dfn, em, img, ins, q, s,
|
|
64
|
+
small, strike, strong, sub, sup, var,
|
|
65
|
+
b, u, i, center,
|
|
66
|
+
dl, dt, dd, ol, ul, li,
|
|
67
|
+
fieldset, form, label, legend,
|
|
68
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
|
69
|
+
article, aside, canvas, details, embed,
|
|
70
|
+
figure, figcaption, footer, header, hgroup,
|
|
71
|
+
menu, nav, output, ruby, section, summary,
|
|
72
|
+
time, mark, audio, video {
|
|
73
|
+
font-family: $bodyfont;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
code, pre, tt, kbd, samp {
|
|
77
|
+
font-family: $monospacefont;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
h1, h2, h3, h4, h5, h6, .h2Annex {
|
|
81
|
+
font-family: $headerfont;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
dl {
|
|
85
|
+
display: grid;
|
|
86
|
+
grid-template-columns: max-content auto;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
dt {
|
|
90
|
+
grid-column-start: 1;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
dd {
|
|
94
|
+
grid-column-start: 2;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
dd p, dt p {
|
|
98
|
+
margin-top: 0px;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* HTML5 display-role reset for older browsers */
|
|
102
|
+
article, aside, details, figcaption, figure,
|
|
103
|
+
footer, header, hgroup, menu, nav, section {
|
|
104
|
+
display: block;
|
|
105
|
+
}
|
|
106
|
+
body {
|
|
107
|
+
line-height: 1;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
blockquote, q {
|
|
111
|
+
quotes: none;
|
|
112
|
+
}
|
|
113
|
+
blockquote:before, blockquote:after,
|
|
114
|
+
q:before, q:after {
|
|
115
|
+
content: '';
|
|
116
|
+
content: none;
|
|
117
|
+
}
|
|
118
|
+
table {
|
|
119
|
+
border-collapse: collapse;
|
|
120
|
+
border-spacing: 0;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
strong {
|
|
124
|
+
font-weight: 800;
|
|
125
|
+
}
|
|
126
|
+
|
|
11
127
|
|
|
12
128
|
/*
|
|
13
129
|
1. HTML & Body
|
|
14
130
|
*/
|
|
15
131
|
|
|
16
|
-
body {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
132
|
+
body {
|
|
133
|
+
margin: 0;
|
|
134
|
+
margin-left: auto;
|
|
135
|
+
margin-right: auto;
|
|
136
|
+
max-width: 100%;
|
|
137
|
+
color: #301907;
|
|
138
|
+
font-weight: 300;
|
|
139
|
+
font-size: 15px;
|
|
140
|
+
line-height: 1.4em;
|
|
141
|
+
background-color: #f7f7f7;
|
|
21
142
|
}
|
|
22
|
-
}
|
|
23
143
|
|
|
24
|
-
|
|
25
|
-
@include toc(#301907, #301907, #301907);
|
|
26
|
-
@include sidebarToc();
|
|
144
|
+
main {margin: 0 0 0 6em;}
|
|
27
145
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
box-shadow: none !important;
|
|
32
|
-
border-bottom: solid 1px #301907 !important;
|
|
146
|
+
#toc{
|
|
147
|
+
font-family: $bodyfont;
|
|
148
|
+
font-weight: 400;
|
|
33
149
|
}
|
|
34
150
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
151
|
+
/*
|
|
152
|
+
2. Responsive navigation layout
|
|
153
|
+
*/
|
|
38
154
|
|
|
39
|
-
li a {
|
|
40
|
-
text-transform: uppercase;
|
|
41
|
-
}
|
|
42
155
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
156
|
+
@media screen and (min-width: 768px) {
|
|
157
|
+
nav {
|
|
158
|
+
position: fixed;
|
|
159
|
+
top: 0;
|
|
160
|
+
bottom: 0;
|
|
161
|
+
left: 0;
|
|
162
|
+
width: 328px;
|
|
163
|
+
font-size: 0.9em;
|
|
164
|
+
overflow: auto;
|
|
165
|
+
padding: 0 0 0 15px;
|
|
166
|
+
margin-right: 0px;
|
|
167
|
+
background-color:#f7f7f7;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
#toggle {
|
|
171
|
+
position: fixed;
|
|
172
|
+
height: 100%;
|
|
173
|
+
width: 15px;
|
|
174
|
+
background-color:#301907;
|
|
175
|
+
color: white!important;
|
|
176
|
+
cursor: pointer;
|
|
177
|
+
z-index: 100;
|
|
47
178
|
}
|
|
179
|
+
|
|
180
|
+
#toggle span {
|
|
181
|
+
text-align: center;
|
|
182
|
+
width: 100%;
|
|
183
|
+
position: absolute;
|
|
184
|
+
top: 50%;
|
|
185
|
+
transform: translate(0, -50%);
|
|
186
|
+
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.container {
|
|
190
|
+
padding-left: 343px;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.rule.toc {
|
|
194
|
+
display: none;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
h1.toc-contents {
|
|
198
|
+
margin-top: 1em;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
ul#toc-list {
|
|
202
|
+
padding:0;
|
|
203
|
+
margin:0;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
@media screen {
|
|
208
|
+
img {
|
|
209
|
+
width: 100%;
|
|
210
|
+
height: auto;
|
|
48
211
|
}
|
|
49
212
|
}
|
|
213
|
+
|
|
50
214
|
|
|
51
|
-
|
|
52
|
-
|
|
215
|
+
#toc ul {
|
|
216
|
+
margin: 0;
|
|
217
|
+
padding: 0;
|
|
218
|
+
list-style: none;
|
|
53
219
|
}
|
|
54
220
|
|
|
55
|
-
#
|
|
56
|
-
|
|
221
|
+
#toc li {
|
|
222
|
+
padding: 5px 10px;
|
|
57
223
|
}
|
|
58
224
|
|
|
59
|
-
#
|
|
60
|
-
|
|
61
|
-
|
|
225
|
+
#toc a {
|
|
226
|
+
color: #301907;
|
|
227
|
+
text-decoration: none;
|
|
228
|
+
display: block;
|
|
229
|
+
}
|
|
62
230
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
231
|
+
#toc a:hover {
|
|
232
|
+
color: white;
|
|
66
233
|
}
|
|
67
234
|
|
|
68
|
-
|
|
69
|
-
|
|
235
|
+
#toc .h2 {
|
|
236
|
+
padding-left: 30px;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
#toc .h3 {
|
|
240
|
+
padding-left: 50px;
|
|
70
241
|
}
|
|
71
242
|
|
|
72
243
|
/*
|
|
73
|
-
|
|
244
|
+
#toc .toc-active a {
|
|
245
|
+
color: white;
|
|
246
|
+
}
|
|
74
247
|
*/
|
|
75
248
|
|
|
249
|
+
#toc .toc-active, #toc li:hover {
|
|
250
|
+
border-bottom: solid 1px #301907 !important;
|
|
251
|
+
}
|
|
76
252
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.rule.toc {
|
|
83
|
-
display: none;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
h1.toc-contents {
|
|
87
|
-
margin-top: 1em;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
ul#toc-list {
|
|
91
|
-
padding:0;
|
|
92
|
-
margin:0;
|
|
93
|
-
}
|
|
94
|
-
#toggle {
|
|
95
|
-
width: 15px;
|
|
96
|
-
}
|
|
253
|
+
#toc li:hover a {
|
|
254
|
+
background-color: none;
|
|
255
|
+
box-shadow: none;
|
|
97
256
|
}
|
|
98
257
|
|
|
99
|
-
|
|
100
|
-
|
|
258
|
+
#toc li a {
|
|
259
|
+
text-transform: uppercase;
|
|
101
260
|
}
|
|
102
261
|
|
|
103
262
|
/*
|
|
@@ -105,28 +264,56 @@ div.figure {
|
|
|
105
264
|
*/
|
|
106
265
|
|
|
107
266
|
.document-type-band {
|
|
108
|
-
|
|
267
|
+
left:0;
|
|
268
|
+
top:180px;
|
|
269
|
+
height: 100%;
|
|
270
|
+
position: fixed;
|
|
271
|
+
display: block;
|
|
272
|
+
z-index: 99;
|
|
273
|
+
/*box-shadow: -5px 0px 10px #1d1d1d*/
|
|
109
274
|
|
|
110
|
-
.document-type {
|
|
111
|
-
top: 20px;
|
|
112
|
-
}
|
|
113
275
|
}
|
|
114
276
|
|
|
115
277
|
.document-stage-band {
|
|
116
|
-
|
|
278
|
+
left:0;
|
|
279
|
+
top:0;
|
|
280
|
+
height: 100%;
|
|
281
|
+
position: fixed;
|
|
282
|
+
display: block;
|
|
283
|
+
z-index: 98;
|
|
284
|
+
box-shadow: -5px 0px 10px #1d1d1d
|
|
117
285
|
}
|
|
118
286
|
|
|
119
|
-
|
|
120
|
-
|
|
287
|
+
.document-type {
|
|
288
|
+
position: relative;
|
|
289
|
+
width: 25px;
|
|
121
290
|
}
|
|
122
291
|
|
|
123
|
-
|
|
124
|
-
|
|
292
|
+
.document-stage {
|
|
293
|
+
position: relative;
|
|
294
|
+
width: 25px;
|
|
125
295
|
}
|
|
126
296
|
|
|
127
|
-
p.document-stage {
|
|
128
|
-
|
|
129
|
-
|
|
297
|
+
p.document-type, p.document-stage {
|
|
298
|
+
color: white;
|
|
299
|
+
text-transform: uppercase;
|
|
300
|
+
font-size: 0.9em;
|
|
301
|
+
font-weight: 400;
|
|
302
|
+
letter-spacing: 0.05em;
|
|
303
|
+
margin:0;
|
|
304
|
+
margin-left: 6px;
|
|
305
|
+
writing-mode:tb-rl;
|
|
306
|
+
-webkit-transform:rotate(180deg);
|
|
307
|
+
-moz-transform:rotate(180deg);
|
|
308
|
+
-o-transform: rotate(180deg);
|
|
309
|
+
white-space:nowrap;
|
|
310
|
+
display:block;
|
|
311
|
+
bottom:0;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
p.document-type {
|
|
315
|
+
font-weight: 400;
|
|
316
|
+
height: 150px;
|
|
130
317
|
}
|
|
131
318
|
|
|
132
319
|
#governance-band p.document-type {
|
|
@@ -228,78 +415,106 @@ p.document-stage {
|
|
|
228
415
|
3.1 Titles
|
|
229
416
|
*/
|
|
230
417
|
|
|
231
|
-
h1,h2,h3,h4,h5,h6 {
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
}
|
|
418
|
+
h1,h2,h3,h4,h5,h6 {
|
|
419
|
+
font-family: $headerfont;
|
|
420
|
+
color: #301907;
|
|
421
|
+
font-weight: 300;
|
|
422
|
+
margin-top: 2em;
|
|
423
|
+
}
|
|
237
424
|
|
|
238
|
-
h1 {
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
}
|
|
425
|
+
h1 {
|
|
426
|
+
color: #301907;
|
|
427
|
+
font-size: 1.6em;
|
|
428
|
+
/* margin-top: 5em; */
|
|
429
|
+
margin-bottom: 30px;
|
|
430
|
+
margin-left: -75px;
|
|
431
|
+
padding: 45px 15px 15px 50px;
|
|
432
|
+
border-bottom: solid 5px #FD8924;
|
|
433
|
+
font-weight: 800;
|
|
434
|
+
}
|
|
248
435
|
|
|
249
|
-
h1#content {
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
}
|
|
436
|
+
h1#content {
|
|
437
|
+
margin-top: 0em;
|
|
438
|
+
margin-left: -2em;
|
|
439
|
+
}
|
|
253
440
|
|
|
254
|
-
h1.containerhdr {
|
|
255
|
-
|
|
256
|
-
|
|
441
|
+
h1.containerhdr {
|
|
442
|
+
font-size: 2em;
|
|
443
|
+
font-weight: 400;
|
|
444
|
+
margin-top: 2em;
|
|
445
|
+
margin-bottom: 30px;
|
|
446
|
+
border-bottom: none;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
h2.containerhdr {
|
|
450
|
+
font-size: 1.8em;
|
|
451
|
+
font-weight: 400;
|
|
452
|
+
margin-left: -75px;
|
|
453
|
+
font-style: italic;
|
|
454
|
+
padding: 45px 15px 15px 50px;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
h2 {
|
|
458
|
+
font-size: 1.5em;
|
|
459
|
+
font-weight: 400;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
h3 {
|
|
463
|
+
font-size: 1.1em;
|
|
464
|
+
font-weight: 100;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.TermNum, .Terms, .AltTerms {
|
|
468
|
+
color: #301907;
|
|
469
|
+
font-weight: 100;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
h2.TermNum {
|
|
473
|
+
font-size: 0.9em;
|
|
474
|
+
line-height: 1em;
|
|
475
|
+
margin: 0;
|
|
257
476
|
margin-top: 2em;
|
|
258
|
-
|
|
259
|
-
border-bottom: none;
|
|
260
|
-
}
|
|
477
|
+
}
|
|
261
478
|
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
padding: 45px 15px 15px 50px;
|
|
268
|
-
}
|
|
479
|
+
p.Terms {
|
|
480
|
+
font-size: 1.1em;
|
|
481
|
+
line-height: 1.7em;
|
|
482
|
+
margin: 0;
|
|
483
|
+
}
|
|
269
484
|
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
}
|
|
485
|
+
/*
|
|
486
|
+
3.2 Links
|
|
487
|
+
*/
|
|
274
488
|
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
489
|
+
a, a:visited{
|
|
490
|
+
text-decoration: none;
|
|
491
|
+
color: #485094;
|
|
278
492
|
}
|
|
279
493
|
|
|
280
|
-
|
|
281
|
-
color:
|
|
282
|
-
|
|
494
|
+
a:hover {
|
|
495
|
+
color: white;
|
|
496
|
+
background-color: #301907;
|
|
497
|
+
box-shadow: 3px 0 0 #301907, -3px 0 0 #301907;
|
|
498
|
+
/* padding: 2px 0 2px 0; */
|
|
283
499
|
}
|
|
284
500
|
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
501
|
+
::selection {
|
|
502
|
+
background-color: #1661AD; /* WebKit/Blink Browsers */
|
|
503
|
+
color: white;
|
|
504
|
+
}
|
|
505
|
+
::-moz-selection {
|
|
506
|
+
background-color: #1661AD; /* Gecko Browsers */
|
|
507
|
+
color: white;
|
|
290
508
|
}
|
|
291
509
|
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
510
|
+
.contact-info a:hover {
|
|
511
|
+
color: #485094;
|
|
512
|
+
text-decoration: underline;
|
|
513
|
+
background-color: none;
|
|
514
|
+
box-shadow: 0 0 0 0;
|
|
296
515
|
}
|
|
297
516
|
|
|
298
|
-
/*
|
|
299
|
-
3.2 Links
|
|
300
|
-
*/
|
|
301
517
|
|
|
302
|
-
@include elementStyles(#485094, #301907, white);
|
|
303
518
|
|
|
304
519
|
/*
|
|
305
520
|
3.3 Lists
|
|
@@ -307,21 +522,21 @@ p.Terms {
|
|
|
307
522
|
|
|
308
523
|
ul, ol {margin-left: 1.2em;}
|
|
309
524
|
|
|
310
|
-
ul
|
|
525
|
+
ul li {
|
|
311
526
|
list-style: none;
|
|
312
527
|
}
|
|
313
528
|
|
|
314
|
-
ul
|
|
315
|
-
content: "
|
|
529
|
+
ul li:before {
|
|
530
|
+
content: "—";
|
|
316
531
|
display: inline-block; width: 1em;
|
|
317
532
|
margin-left: -1.2em;
|
|
318
533
|
}
|
|
319
534
|
|
|
320
|
-
ul
|
|
535
|
+
ul li p:first-child {
|
|
321
536
|
display: inline;
|
|
322
537
|
}
|
|
323
538
|
|
|
324
|
-
ul
|
|
539
|
+
ul li:first-child {
|
|
325
540
|
margin-top: 1em;
|
|
326
541
|
}
|
|
327
542
|
|
|
@@ -338,8 +553,12 @@ ul > li:first-child {
|
|
|
338
553
|
/*
|
|
339
554
|
3.4 Rules
|
|
340
555
|
*/
|
|
556
|
+
|
|
341
557
|
.rule {
|
|
342
|
-
|
|
558
|
+
width: 100%;
|
|
559
|
+
height: 1px;
|
|
560
|
+
background-color: #0e1a85;
|
|
561
|
+
margin: 2em 0;
|
|
343
562
|
}
|
|
344
563
|
|
|
345
564
|
/*
|
|
@@ -355,22 +574,20 @@ p.Biblio, p.NormRef {
|
|
|
355
574
|
3.6 Source Code + figures
|
|
356
575
|
*/
|
|
357
576
|
|
|
358
|
-
.figure,
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
577
|
+
.figure, .Sourcecode {
|
|
578
|
+
font-family: $monospacefont;
|
|
579
|
+
background-color: #f7f7f7;
|
|
580
|
+
font-size: 0.8em;
|
|
581
|
+
line-height: 1.6em;
|
|
582
|
+
padding: 1.5em;
|
|
583
|
+
margin: 2em 0 1em 0;
|
|
584
|
+
overflow: auto;
|
|
366
585
|
}
|
|
367
586
|
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
.SourceTitle {
|
|
373
|
-
@include blockTitle()
|
|
587
|
+
.FigureTitle {
|
|
588
|
+
font-weight: 700;
|
|
589
|
+
font-size: 1em;
|
|
590
|
+
text-align: center;
|
|
374
591
|
}
|
|
375
592
|
|
|
376
593
|
/*
|
|
@@ -385,30 +602,24 @@ pre {
|
|
|
385
602
|
|
|
386
603
|
}
|
|
387
604
|
|
|
388
|
-
.Admonition {
|
|
389
|
-
background-color: #ffcccc;
|
|
390
|
-
color: #47430c;
|
|
391
|
-
padding: 1.2em;
|
|
392
|
-
margin: 2em 0 1em 0;
|
|
393
|
-
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
|
|
397
605
|
/*
|
|
398
606
|
3.8 Examples
|
|
399
607
|
*/
|
|
400
608
|
|
|
401
609
|
.example {
|
|
402
|
-
|
|
610
|
+
background-color: #e1eef1;
|
|
611
|
+
margin: 2em 0 1em 0;
|
|
612
|
+
}
|
|
403
613
|
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
614
|
+
table.example {
|
|
615
|
+
padding: 1.2em;
|
|
616
|
+
}
|
|
407
617
|
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
618
|
+
.example .example-title {
|
|
619
|
+
font-weight: 700;
|
|
620
|
+
text-transform: uppercase;
|
|
621
|
+
text-align: center;
|
|
622
|
+
margin-top:0;
|
|
412
623
|
}
|
|
413
624
|
|
|
414
625
|
/*
|
|
@@ -416,18 +627,26 @@ pre {
|
|
|
416
627
|
*/
|
|
417
628
|
|
|
418
629
|
table {
|
|
419
|
-
|
|
630
|
+
border-collapse: collapse;
|
|
631
|
+
width: 100%;
|
|
632
|
+
font-weight: 300;
|
|
633
|
+
margin: 1em 0 2em 0;
|
|
634
|
+
margin-left: auto;
|
|
635
|
+
margin-right: auto;
|
|
636
|
+
padding-right: 2em;
|
|
637
|
+
}
|
|
420
638
|
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
639
|
+
table, th, td {
|
|
640
|
+
border: 1px solid black;
|
|
641
|
+
font-size: 0.95em;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
td, th {
|
|
645
|
+
padding: 1em;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
td.header {
|
|
649
|
+
font-weight: 400;
|
|
431
650
|
}
|
|
432
651
|
|
|
433
652
|
p.TableTitle {
|
|
@@ -436,6 +655,17 @@ p.TableTitle {
|
|
|
436
655
|
font-weight: 400;
|
|
437
656
|
}
|
|
438
657
|
|
|
658
|
+
table.glossary, table.glossary tr, table.glossary td {
|
|
659
|
+
border: none;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
table.glossary td {
|
|
663
|
+
border-bottom: 1px solid black;
|
|
664
|
+
padding-bottom: 5px;
|
|
665
|
+
padding-top: 20px;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
|
|
439
669
|
/*
|
|
440
670
|
3.10 Footnotes
|
|
441
671
|
*/
|
|
@@ -455,7 +685,13 @@ a.footnote-number {
|
|
|
455
685
|
*/
|
|
456
686
|
|
|
457
687
|
.Quote {
|
|
458
|
-
|
|
688
|
+
background-color: #f7f7f7;
|
|
689
|
+
font-style: italic;
|
|
690
|
+
width: 80%;
|
|
691
|
+
padding: 1.5em;
|
|
692
|
+
margin-top: 2em;
|
|
693
|
+
margin-left: auto;
|
|
694
|
+
margin-right: auto;
|
|
459
695
|
}
|
|
460
696
|
|
|
461
697
|
|
|
@@ -464,10 +700,12 @@ a.footnote-number {
|
|
|
464
700
|
*/
|
|
465
701
|
|
|
466
702
|
.formula {
|
|
467
|
-
|
|
703
|
+
background-color: #f7f7f7;
|
|
704
|
+
padding: 1.5em;
|
|
705
|
+
margin-top: 2em;
|
|
706
|
+
text-align: center;
|
|
468
707
|
}
|
|
469
708
|
|
|
470
|
-
|
|
471
709
|
/*
|
|
472
710
|
3.13 Contact Info
|
|
473
711
|
*/
|
|
@@ -490,7 +728,7 @@ a.footnote-number {
|
|
|
490
728
|
}
|
|
491
729
|
|
|
492
730
|
.contact-info p, .contact-info a {
|
|
493
|
-
|
|
731
|
+
font-family: $monospacefont;
|
|
494
732
|
font-weight: 400;
|
|
495
733
|
}
|
|
496
734
|
|
|
@@ -641,7 +879,6 @@ padding: 0 2em 0 5em; }
|
|
|
641
879
|
|
|
642
880
|
.coverpage-doc-identity .logo {
|
|
643
881
|
width: 50px;
|
|
644
|
-
height: auto;
|
|
645
882
|
}
|
|
646
883
|
|
|
647
884
|
.coverpage-doc-identity .logo, .coverpage-doc-identity .publisher {
|
|
@@ -721,10 +958,49 @@ padding: 0 2em 0 5em; }
|
|
|
721
958
|
}
|
|
722
959
|
|
|
723
960
|
|
|
961
|
+
/* .copyright .name, .copyright .address {color: #485094;} */
|
|
962
|
+
|
|
963
|
+
|
|
964
|
+
|
|
724
965
|
/*
|
|
725
966
|
5.0 Other styles
|
|
726
967
|
*/
|
|
727
968
|
|
|
969
|
+
|
|
970
|
+
|
|
971
|
+
/*
|
|
972
|
+
To top button
|
|
973
|
+
*/
|
|
974
|
+
|
|
975
|
+
#myBtn {
|
|
976
|
+
font-family: $monospacefont;
|
|
977
|
+
display: none;
|
|
978
|
+
position: fixed;
|
|
979
|
+
bottom: 20px;
|
|
980
|
+
right: 30px;
|
|
981
|
+
z-index: 99;
|
|
982
|
+
font-size: 12px;
|
|
983
|
+
border: none;
|
|
984
|
+
outline: none;
|
|
985
|
+
background-color: #f36f36;
|
|
986
|
+
opacity: 0.15;
|
|
987
|
+
color: white;
|
|
988
|
+
cursor: pointer;
|
|
989
|
+
padding: 10px 15px 10px 15px;
|
|
990
|
+
border-radius: 4px;
|
|
991
|
+
text-transform: uppercase;
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
#myBtn:hover {
|
|
995
|
+
opacity: 1;
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
a.anchorjs-link:hover {
|
|
999
|
+
background-color: none;
|
|
1000
|
+
color: #485094;
|
|
1001
|
+
box-shadow: none;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
728
1004
|
@page {
|
|
729
1005
|
margin: 2cm 1cm;
|
|
730
1006
|
}
|
|
@@ -744,12 +1020,21 @@ padding: 0 2em 0 5em; }
|
|
|
744
1020
|
border-left: 0.5em solid #888;
|
|
745
1021
|
}
|
|
746
1022
|
|
|
1023
|
+
nav {
|
|
1024
|
+
page-break-after: always;
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
body {
|
|
1028
|
+
background-color: white;
|
|
1029
|
+
color: #000;
|
|
1030
|
+
}
|
|
1031
|
+
|
|
747
1032
|
h1, h2, h3, h4 {
|
|
748
1033
|
page-break-after: avoid;
|
|
749
1034
|
margin-top: 1.2em;
|
|
750
1035
|
}
|
|
751
1036
|
|
|
752
|
-
.note, .figure,
|
|
1037
|
+
.note, .figure, .Sourcecode, table {
|
|
753
1038
|
page-break-inside: avoid;
|
|
754
1039
|
}
|
|
755
1040
|
|
|
@@ -772,10 +1057,43 @@ padding: 0 2em 0 5em; }
|
|
|
772
1057
|
margin-top: -5px;
|
|
773
1058
|
}
|
|
774
1059
|
|
|
1060
|
+
|
|
1061
|
+
#toggle, .document-stage-band,
|
|
1062
|
+
.document-type-band, button#myBtn {
|
|
1063
|
+
display: none;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
button#myBtn {
|
|
1067
|
+
background-color: white;
|
|
1068
|
+
}
|
|
1069
|
+
|
|
775
1070
|
.container {
|
|
776
1071
|
padding-left: 0;
|
|
777
1072
|
}
|
|
778
1073
|
|
|
1074
|
+
nav {
|
|
1075
|
+
position: relative;
|
|
1076
|
+
width: auto;
|
|
1077
|
+
font-size: 0.9em;
|
|
1078
|
+
overflow: auto;
|
|
1079
|
+
padding: 0;
|
|
1080
|
+
margin-right: 0;
|
|
1081
|
+
background-color: white;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
#toc .toc-active a {
|
|
1085
|
+
color: #4D7EA5;
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
#toc .toc-active, #toc li:hover {
|
|
1089
|
+
background-color: white;
|
|
1090
|
+
box-shadow: none !important;
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
#toc li:hover a {
|
|
1094
|
+
color: black; }
|
|
1095
|
+
|
|
1096
|
+
|
|
779
1097
|
h1.content {
|
|
780
1098
|
margin-top: 2em;
|
|
781
1099
|
line-height: 2.5em;
|
|
@@ -805,17 +1123,6 @@ padding: 0 2em 0 5em; }
|
|
|
805
1123
|
padding: 0 5px 0 5px;
|
|
806
1124
|
}
|
|
807
1125
|
|
|
808
|
-
.Admonition {
|
|
809
|
-
background-color: #ffcccc;
|
|
810
|
-
color: #47430c;
|
|
811
|
-
padding: 5px;
|
|
812
|
-
margin: 2em 0 1em 0;
|
|
813
|
-
}
|
|
814
|
-
|
|
815
|
-
.Admonition p {
|
|
816
|
-
padding: 0 5px 0 5px;
|
|
817
|
-
}
|
|
818
|
-
|
|
819
1126
|
nav {
|
|
820
1127
|
line-height: 1;
|
|
821
1128
|
}
|
|
@@ -914,6 +1221,11 @@ padding: 0 2em 0 5em; }
|
|
|
914
1221
|
|
|
915
1222
|
|
|
916
1223
|
@media screen and (max-width: 768px) {
|
|
1224
|
+
#toc {
|
|
1225
|
+
padding: 0 1.5em 0 1.5em;
|
|
1226
|
+
overflow: visible;
|
|
1227
|
+
}
|
|
1228
|
+
|
|
917
1229
|
#toggle {
|
|
918
1230
|
display: none;
|
|
919
1231
|
}
|
|
@@ -923,10 +1235,3 @@ padding: 0 2em 0 5em; }
|
|
|
923
1235
|
}
|
|
924
1236
|
|
|
925
1237
|
}
|
|
926
|
-
|
|
927
|
-
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
|
928
|
-
.main-section h1 {margin-left:14px;}
|
|
929
|
-
.main-section h2, h3, h4, ol, ul, p, .ms-table-wrap {margin-left:75px;}
|
|
930
|
-
.main-section li p {margin-left:5px;}
|
|
931
|
-
.main-section li {margin-left:25px;}
|
|
932
|
-
}
|