metanorma-m3d 1.3.14 → 1.3.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor/m3d/converter.rb +2 -1
- data/lib/asciidoctor/m3d/isodoc.rng +5 -0
- data/lib/asciidoctor/m3d/validate.rb +1 -1
- data/lib/isodoc/m3d/html/htmlstyle.scss +115 -433
- data/lib/metanorma/m3d/version.rb +1 -1
- data/metanorma-m3d.gemspec +0 -1
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2fc164b54927b1d911b3f0752064b8dd6120254e391658506aaafa61d0c558b
|
4
|
+
data.tar.gz: d39d1d5e728602eeaa38432774afafad2ad8b56c98f698389246f6834fe417b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f59bf7e09b01f5da05a504fd694bdceca41f8198486a8236b04f5ec115c93ea3e93b00ebff746ed014b742f786871fb6bfa0a7f663912f370ca17edc107b4b60
|
7
|
+
data.tar.gz: 8d3c1cd71c1479c1b604a8590288dce0935b53a0fd20cf948de469002b247359f0b07c87774a1e566d2a4311bb5f1b1890f771eac60583ffda80e6208af2569c
|
@@ -90,7 +90,7 @@ module Asciidoctor
|
|
90
90
|
def doctype(node)
|
91
91
|
d = node.attr("doctype")
|
92
92
|
unless %w{policy best-practices supporting-document report}.include? d
|
93
|
-
|
93
|
+
@log.add("Document Attributes", nil, "#{d} is not a legal document type: reverting to 'report'")
|
94
94
|
d = "report"
|
95
95
|
end
|
96
96
|
d
|
@@ -108,6 +108,7 @@ module Asciidoctor
|
|
108
108
|
pdf_converter(node).convert filename unless node.attr("nodoc")
|
109
109
|
word_converter(node).convert filename unless node.attr("nodoc")
|
110
110
|
end
|
111
|
+
@log.write(@filename + ".err") unless @novalid
|
111
112
|
@files_to_delete.each { |f| FileUtils.rm f }
|
112
113
|
ret
|
113
114
|
end
|
@@ -14,7 +14,7 @@ module Asciidoctor
|
|
14
14
|
stage = xmldoc&.at("//bibdata/status/stage")&.text
|
15
15
|
%w(proposal working-draft committee-draft draft-standard final-draft
|
16
16
|
published withdrawn).include? stage or
|
17
|
-
|
17
|
+
@log.add("Document Attributes", nil, "#{stage} is not a recognised status")
|
18
18
|
end
|
19
19
|
end
|
20
20
|
end
|
@@ -2,7 +2,7 @@
|
|
2
2
|
0 CSS RESET
|
3
3
|
*/
|
4
4
|
|
5
|
-
/* http://meyerweb.com/eric/tools/css/reset/
|
5
|
+
/* http://meyerweb.com/eric/tools/css/reset/
|
6
6
|
v2.0 | 20110126
|
7
7
|
License: none (public domain)
|
8
8
|
*/
|
@@ -15,188 +15,56 @@ Gray: #69C5DC
|
|
15
15
|
Light Gray: #F5F6F6
|
16
16
|
*/
|
17
17
|
|
18
|
-
|
19
|
-
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
20
|
-
a, abbr, acronym, address, big, cite, code,
|
21
|
-
del, dfn, em, img, ins, kbd, q, s, samp,
|
22
|
-
small, strike, strong, sub, sup, tt, var,
|
23
|
-
b, u, i, center,
|
24
|
-
ol, ul, li,
|
25
|
-
fieldset, form, label, legend,
|
26
|
-
table, caption, tbody, tfoot, thead, tr, th, td,
|
27
|
-
article, aside, canvas, details, embed,
|
28
|
-
figure, figcaption, footer, header, hgroup,
|
29
|
-
menu, nav, output, ruby, section, summary,
|
30
|
-
time, mark, audio, video {
|
31
|
-
margin: 0;
|
32
|
-
padding: 0;
|
33
|
-
}
|
34
|
-
|
35
|
-
html, body, div, span, applet, object, iframe,
|
36
|
-
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
37
|
-
a, abbr, acronym, address, big, cite, code,
|
38
|
-
del, dfn, em, img, ins, kbd, q, s, samp,
|
39
|
-
small, strike, strong, sub, sup, tt, var,
|
40
|
-
b, u, i, center,
|
41
|
-
dl, dt, dd, ol, ul, li,
|
42
|
-
fieldset, form, label, legend,
|
43
|
-
table, caption, tbody, tfoot, thead, tr, th, td,
|
44
|
-
article, aside, canvas, details, embed,
|
45
|
-
figure, figcaption, footer, header, hgroup,
|
46
|
-
menu, nav, output, ruby, section, summary,
|
47
|
-
time, mark, audio, video {
|
48
|
-
border: 0;
|
49
|
-
font-size: 100%;
|
50
|
-
}
|
51
|
-
|
52
|
-
html, body, div, span, applet, object, iframe,
|
53
|
-
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
54
|
-
a, abbr, acronym, address, big, cite, code,
|
55
|
-
del, dfn, em, img, ins, kbd, q, s, samp,
|
56
|
-
small, strike, strong, tt, var,
|
57
|
-
b, u, i, center,
|
58
|
-
dl, dd, ol, ul, li,
|
59
|
-
fieldset, form, label, legend,
|
60
|
-
table, caption, tbody, tfoot, thead, tr, th, td,
|
61
|
-
article, aside, canvas, details, embed,
|
62
|
-
figure, figcaption, footer, header, hgroup,
|
63
|
-
menu, nav, output, ruby, section, summary,
|
64
|
-
time, mark, audio, video {
|
65
|
-
vertical-align: baseline;
|
66
|
-
}
|
67
|
-
|
18
|
+
@import 'base_style/all';
|
68
19
|
|
69
|
-
|
70
|
-
|
71
|
-
a, abbr, acronym, address, big, cite,
|
72
|
-
del, dfn, em, img, ins, q, s,
|
73
|
-
small, strike, strong, sub, sup, var,
|
74
|
-
b, u, i, center,
|
75
|
-
dl, dt, dd, ol, ul, li,
|
76
|
-
fieldset, form, label, legend,
|
77
|
-
table, caption, tbody, tfoot, thead, tr, th, td,
|
78
|
-
article, aside, canvas, details, embed,
|
79
|
-
figure, figcaption, footer, header, hgroup,
|
80
|
-
menu, nav, output, ruby, section, summary,
|
81
|
-
time, mark, audio, video {
|
82
|
-
font-family: $bodyfont;
|
20
|
+
body {
|
21
|
+
@include bodyStyle1(15px, 1.4em, #1d1d1d, #ffffff, 300);
|
83
22
|
}
|
84
23
|
|
85
|
-
|
86
|
-
|
87
|
-
font-variant-ligatures: none;
|
24
|
+
#report {
|
25
|
+
border-bottom: none;
|
88
26
|
}
|
89
27
|
|
90
|
-
|
91
|
-
|
92
|
-
font-variant-ligatures: none;
|
28
|
+
main {
|
29
|
+
margin: 0 3em 0 6em;
|
93
30
|
}
|
94
31
|
|
95
|
-
|
96
|
-
|
97
|
-
|
32
|
+
#toc {
|
33
|
+
@include toc(#69C5DC, #69C5DC, #69C5DC);
|
34
|
+
@include sidebarToc();
|
98
35
|
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
}
|
36
|
+
.toc-active a {
|
37
|
+
color: white;
|
38
|
+
}
|
103
39
|
|
104
|
-
|
105
|
-
|
40
|
+
ul {
|
41
|
+
a:hover {
|
42
|
+
color: white;
|
43
|
+
}
|
44
|
+
}
|
106
45
|
}
|
107
46
|
|
108
|
-
|
109
|
-
|
47
|
+
nav {
|
48
|
+
@include sidebarNav(#f7f7f7, 323px, 45px);
|
110
49
|
}
|
111
50
|
|
112
|
-
|
113
|
-
|
51
|
+
#toggle {
|
52
|
+
@include sidebarNavToggle(white, #69C5DC)
|
114
53
|
}
|
115
54
|
|
55
|
+
#myBtn {
|
56
|
+
@include toTopBtn(white, #69C5DC);
|
116
57
|
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
display: block;
|
121
|
-
}
|
122
|
-
body {
|
123
|
-
line-height: 1;
|
124
|
-
}
|
125
|
-
blockquote, q {
|
126
|
-
quotes: none;
|
127
|
-
}
|
128
|
-
blockquote:before, blockquote:after,
|
129
|
-
q:before, q:after {
|
130
|
-
content: '';
|
131
|
-
content: none;
|
132
|
-
}
|
133
|
-
table {
|
134
|
-
border-collapse: collapse;
|
135
|
-
border-spacing: 0;
|
58
|
+
a.anchorjs-link {
|
59
|
+
@include anchorLink(#485094)
|
60
|
+
}
|
136
61
|
}
|
137
62
|
|
138
|
-
|
139
|
-
/*
|
140
|
-
1. HTML & Body
|
141
|
-
*/
|
142
|
-
|
143
|
-
body {
|
144
|
-
margin: 0;
|
145
|
-
margin-left: auto;
|
146
|
-
margin-right: auto;
|
147
|
-
max-width: 100%;
|
148
|
-
color: #1d1d1d;
|
149
|
-
font-weight: 300;
|
150
|
-
font-size: 15px;
|
151
|
-
line-height: 1.4em;
|
152
|
-
background-color: #ffffff;
|
153
|
-
}
|
154
|
-
|
155
|
-
main {margin: 0 3em 0 6em;}
|
156
|
-
|
157
|
-
#toc{
|
158
|
-
font-family: $bodyfont;
|
159
|
-
font-weight: 400;
|
160
|
-
}
|
161
|
-
|
162
63
|
/*
|
163
64
|
2. Responsive navigation layout
|
164
65
|
*/
|
165
66
|
|
166
|
-
|
167
67
|
@media screen and (min-width: 768px) {
|
168
|
-
nav {
|
169
|
-
position: fixed;
|
170
|
-
top: 0;
|
171
|
-
bottom: 0;
|
172
|
-
left: 0;
|
173
|
-
width: 323px;
|
174
|
-
font-size: 0.9em;
|
175
|
-
overflow: auto;
|
176
|
-
padding: 0 0 0 45px;
|
177
|
-
margin-right: 30px;
|
178
|
-
background-color:#f7f7f7;
|
179
|
-
}
|
180
|
-
|
181
|
-
#toggle {
|
182
|
-
position: fixed;
|
183
|
-
height: 100%;
|
184
|
-
width: 30px;
|
185
|
-
background-color:#69C5DC;
|
186
|
-
color: white!important;
|
187
|
-
cursor: pointer;
|
188
|
-
z-index: 100;
|
189
|
-
}
|
190
|
-
|
191
|
-
#toggle span {
|
192
|
-
text-align: center;
|
193
|
-
width: 100%;
|
194
|
-
position: absolute;
|
195
|
-
top: 50%;
|
196
|
-
transform: translate(0, -50%);
|
197
|
-
|
198
|
-
}
|
199
|
-
|
200
68
|
.container {
|
201
69
|
padding-left: 360px;
|
202
70
|
}
|
@@ -210,72 +78,19 @@ table {
|
|
210
78
|
}
|
211
79
|
|
212
80
|
ul#toc-list {
|
213
|
-
padding:0;
|
214
|
-
margin:0;
|
215
|
-
}
|
216
|
-
}
|
217
|
-
|
218
|
-
@media screen and (max-width: 768px) {
|
219
|
-
#toc {
|
220
|
-
padding: 0 1.5em 0 1.5em;
|
221
|
-
overflow: visible;
|
81
|
+
padding: 0;
|
82
|
+
margin: 0;
|
222
83
|
}
|
223
84
|
|
224
85
|
nav {
|
225
|
-
|
86
|
+
padding-left: 45px;
|
226
87
|
}
|
227
88
|
}
|
228
|
-
|
229
|
-
div.figure > img {
|
230
|
-
margin-left: auto;
|
231
|
-
margin-right: auto;
|
232
|
-
display: block;
|
233
|
-
max-width: 100%;
|
234
|
-
height: auto;
|
235
|
-
}
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
#toc ul {
|
240
|
-
margin: 0;
|
241
|
-
padding: 0;
|
242
|
-
list-style: none;
|
243
|
-
}
|
244
|
-
|
245
|
-
#toc li a {
|
246
|
-
padding: 5px 10px;
|
247
|
-
}
|
248
|
-
|
249
|
-
#toc a {
|
250
|
-
color: #69C5DC;
|
251
|
-
text-decoration: none;
|
252
|
-
display: block;
|
253
|
-
}
|
254
|
-
|
255
|
-
#toc a:hover {
|
256
|
-
box-shadow: none;
|
257
|
-
color: white;
|
258
|
-
}
|
259
|
-
|
260
|
-
#toc .h2 {
|
261
|
-
padding-left: 30px;
|
262
|
-
}
|
263
89
|
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
#toc .toc-active a {
|
269
|
-
color: white;
|
270
|
-
}
|
271
|
-
|
272
|
-
#toc .toc-active, #toc li:hover {
|
273
|
-
background: #69C5DC;
|
274
|
-
box-shadow: inset -5px 0px 10px -5px #69C5DC!important;
|
275
|
-
}
|
276
|
-
|
277
|
-
#toc li:hover a {
|
278
|
-
color: white;
|
90
|
+
div.figure {
|
91
|
+
@include figureBlock();
|
92
|
+
padding: 1.2em 1.2em 1.2em 2.2em;
|
93
|
+
margin: 2em 0 2em -1em;
|
279
94
|
}
|
280
95
|
|
281
96
|
/*
|
@@ -283,66 +98,25 @@ height: auto;
|
|
283
98
|
*/
|
284
99
|
|
285
100
|
.document-type-band {
|
286
|
-
|
287
|
-
top:180px;
|
288
|
-
height: 100%;
|
289
|
-
position: fixed;
|
290
|
-
display: block;
|
291
|
-
z-index: 99;
|
292
|
-
/*box-shadow: -5px 0px 10px #1d1d1d*/
|
293
|
-
|
101
|
+
@include docBand(2, null, 180px);
|
294
102
|
}
|
295
103
|
|
296
104
|
.document-stage-band {
|
297
|
-
|
298
|
-
top:0;
|
299
|
-
height: 100%;
|
300
|
-
position: fixed;
|
301
|
-
display: block;
|
302
|
-
z-index: 98;
|
303
|
-
box-shadow: -5px 0px 10px #1d1d1d
|
304
|
-
}
|
305
|
-
|
306
|
-
.document-type {
|
307
|
-
position: relative;
|
308
|
-
width: 25px;
|
309
|
-
}
|
310
|
-
|
311
|
-
.document-stage {
|
312
|
-
position: relative;
|
313
|
-
width: 25px;
|
105
|
+
@include docBand(1, 150);
|
314
106
|
}
|
315
107
|
|
316
|
-
p.document-type,
|
317
|
-
|
318
|
-
|
319
|
-
font-size: 0.9em;
|
320
|
-
font-weight: 400;
|
321
|
-
letter-spacing: 0.05em;
|
322
|
-
margin:0;
|
323
|
-
margin-left: 6px;
|
324
|
-
writing-mode:tb-rl;
|
325
|
-
-webkit-transform:rotate(180deg);
|
326
|
-
-moz-transform:rotate(180deg);
|
327
|
-
-o-transform: rotate(180deg);
|
328
|
-
white-space:nowrap;
|
329
|
-
display:block;
|
330
|
-
bottom:0;
|
331
|
-
}
|
332
|
-
|
333
|
-
p.document-type {
|
334
|
-
font-weight: 400;
|
335
|
-
height: 120;
|
108
|
+
p.document-type,
|
109
|
+
p.document-stage {
|
110
|
+
@include docBandTitle(120);
|
336
111
|
}
|
337
112
|
|
338
113
|
#governance-band p.document-type {
|
339
|
-
|
340
|
-
height: 230px!important;
|
114
|
+
height: 230px !important;
|
341
115
|
}
|
342
116
|
|
343
117
|
p.document-stage {
|
344
118
|
font-weight: 300;
|
345
|
-
height:160px;
|
119
|
+
height: 160px;
|
346
120
|
}
|
347
121
|
|
348
122
|
#standard-band {
|
@@ -370,12 +144,8 @@ p.document-stage {
|
|
370
144
|
}
|
371
145
|
|
372
146
|
.coverpage-maturity {
|
373
|
-
|
374
|
-
|
375
|
-
font-size: 1em;
|
376
|
-
margin: 0 0 2em 0;
|
377
|
-
text-transform: uppercase;
|
378
|
-
}
|
147
|
+
@include coverpageStageBlock();
|
148
|
+
}
|
379
149
|
|
380
150
|
#proposal {
|
381
151
|
border-bottom: solid 3px #00BFFF;
|
@@ -440,7 +210,7 @@ p.document-stage {
|
|
440
210
|
/*
|
441
211
|
3.1 Titles
|
442
212
|
*/
|
443
|
-
|
213
|
+
|
444
214
|
h1,h2,h3,h4,h5,h6 {
|
445
215
|
font-family: $headerfont;
|
446
216
|
color: black;
|
@@ -450,7 +220,7 @@ p.document-stage {
|
|
450
220
|
}
|
451
221
|
|
452
222
|
h1 {
|
453
|
-
font-size: 1.4em;
|
223
|
+
font-size: 1.4em;
|
454
224
|
text-transform: uppercase;
|
455
225
|
margin-top: 2em;
|
456
226
|
}
|
@@ -458,11 +228,11 @@ p.document-stage {
|
|
458
228
|
h1#content {
|
459
229
|
margin-top: 2em;
|
460
230
|
}
|
461
|
-
|
231
|
+
|
462
232
|
h2 {
|
463
|
-
font-size: 1.3em;
|
233
|
+
font-size: 1.3em;
|
464
234
|
}
|
465
|
-
|
235
|
+
|
466
236
|
h3 {
|
467
237
|
font-size: 1.1em;
|
468
238
|
}
|
@@ -472,8 +242,8 @@ p.document-stage {
|
|
472
242
|
float: left;
|
473
243
|
padding-right: 4px;
|
474
244
|
margin-left: -20px;
|
475
|
-
font-family: "Font Awesome 5 Free";
|
476
|
-
font-weight: 900;
|
245
|
+
font-family: "Font Awesome 5 Free";
|
246
|
+
font-weight: 900;
|
477
247
|
font-size: 0.8em;
|
478
248
|
color: #cfcfcf;
|
479
249
|
content: "\f0c1";
|
@@ -497,7 +267,7 @@ p.document-stage {
|
|
497
267
|
line-height: 1.7em;
|
498
268
|
margin: 0;
|
499
269
|
}
|
500
|
-
|
270
|
+
|
501
271
|
p.AltTerms {
|
502
272
|
font-style: italic;
|
503
273
|
margin: 0;
|
@@ -512,45 +282,16 @@ span.obligation {
|
|
512
282
|
/*
|
513
283
|
3.2 Links
|
514
284
|
*/
|
515
|
-
|
516
|
-
a, a:visited{
|
517
|
-
text-decoration: none;
|
518
|
-
color: #69C5DC;
|
519
|
-
}
|
520
|
-
|
521
|
-
a:hover {
|
522
|
-
color: white;
|
523
|
-
background: #69C5DC;
|
524
|
-
box-shadow: 3px 0 0 #69C5DC, -3px 0 0 #69C5DC;
|
525
|
-
/* padding: 2px 0 2px 0; */
|
526
|
-
}
|
527
|
-
|
528
|
-
::selection {
|
529
|
-
background: #69C5DC; /* WebKit/Blink Browsers */
|
530
|
-
color: white;
|
531
|
-
}
|
532
|
-
::-moz-selection {
|
533
|
-
background: #69C5DC; /* Gecko Browsers */
|
534
|
-
color: white;
|
535
|
-
}
|
536
|
-
|
537
|
-
.contact-info a:hover {
|
538
|
-
color: #69C5DC;
|
539
|
-
text-decoration: underline;
|
540
|
-
background: none;
|
541
|
-
box-shadow: 0 0 0 0;
|
542
|
-
}
|
543
|
-
|
285
|
+
@include elementStyles(#69C5DC, #69C5DC, white);
|
544
286
|
|
545
|
-
|
546
287
|
/*
|
547
288
|
3.3 Lists
|
548
289
|
*/
|
549
|
-
|
290
|
+
|
550
291
|
ul, ol {
|
551
292
|
margin-left: 0.5em;
|
552
293
|
}
|
553
|
-
|
294
|
+
|
554
295
|
#toc ul {
|
555
296
|
margin-bottom: 0.25em; }
|
556
297
|
|
@@ -562,12 +303,9 @@ span.obligation {
|
|
562
303
|
3.4 Rules
|
563
304
|
*/
|
564
305
|
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
background-color: #F22E15;
|
569
|
-
margin: 2em 0;
|
570
|
-
}
|
306
|
+
.rule {
|
307
|
+
@include rule(1px, #F22E15)
|
308
|
+
}
|
571
309
|
|
572
310
|
/*
|
573
311
|
3.5 Bibliograhy
|
@@ -582,27 +320,26 @@ p.Biblio, p.NormRef {
|
|
582
320
|
3.6 Source Code + figures
|
583
321
|
*/
|
584
322
|
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
.figure, pre, .pseudocode {
|
591
|
-
font-size: 0.8em;
|
592
|
-
line-height: 1.6em;
|
593
|
-
padding: 1.5em;
|
594
|
-
background-color: #F5F6F6;
|
595
|
-
border-left: solid 5px #69C5DC;
|
596
|
-
color: rgb(91, 94, 95);
|
323
|
+
.figure,
|
324
|
+
pre,
|
325
|
+
.pseudocode {
|
326
|
+
@include pseudocodeBlock(#F5F6F6);
|
597
327
|
padding: 1.2em 1.2em 1.2em 2.2em;
|
598
|
-
margin: 2em 0 2em -1em
|
599
|
-
|
328
|
+
margin: 2em 0 2em -1em;
|
329
|
+
color: rgb(91, 94, 95);
|
330
|
+
border-left: solid 5px #69C5DC;
|
600
331
|
}
|
601
332
|
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
333
|
+
pre {
|
334
|
+
@include monospaceBlockStyle()
|
335
|
+
}
|
336
|
+
|
337
|
+
@include admonitionBlock();
|
338
|
+
@include recommendationBlock();
|
339
|
+
|
340
|
+
.FigureTitle,
|
341
|
+
.SourceTitle {
|
342
|
+
@include blockTitle()
|
606
343
|
}
|
607
344
|
|
608
345
|
/*
|
@@ -631,56 +368,35 @@ pre {
|
|
631
368
|
*/
|
632
369
|
|
633
370
|
.example {
|
634
|
-
|
371
|
+
@include exampleBlock(#e1eef1, #424242, 1.2em);
|
635
372
|
border-left: solid 5px #69C5DC;
|
636
373
|
color: rgb(91, 94, 95);
|
637
|
-
padding: 1.2em;
|
638
374
|
margin: 2em 0 2em -1em;
|
639
|
-
padding-left: 2em;
|
640
|
-
}
|
641
|
-
|
642
|
-
.example p {
|
643
|
-
margin: 0;
|
644
|
-
}
|
645
|
-
|
646
|
-
.example .example-title {
|
647
|
-
font-weight: 700;
|
648
|
-
text-transform: uppercase;
|
649
|
-
margin-top:0;
|
650
|
-
margin-left:-1.5em;
|
651
|
-
}
|
652
375
|
|
376
|
+
.example-title {
|
377
|
+
margin-top: 0;
|
378
|
+
}
|
379
|
+
p {
|
380
|
+
margin: 0;
|
381
|
+
}
|
653
382
|
|
654
|
-
|
655
|
-
|
383
|
+
pre,
|
384
|
+
.pseudocode {
|
385
|
+
background: none;
|
386
|
+
}
|
656
387
|
}
|
657
388
|
|
658
389
|
/*
|
659
390
|
3.9 Tables
|
660
391
|
*/
|
661
392
|
|
662
|
-
table, th, td {
|
663
|
-
border: none!important;
|
664
|
-
font-size: 0.95em;
|
665
|
-
}
|
666
|
-
|
667
393
|
table {
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
padding-right: 2em;
|
675
|
-
border: solid 1px #F5F6F6!important;
|
676
|
-
}
|
677
|
-
|
678
|
-
td, th {
|
679
|
-
padding: 1em;
|
680
|
-
}
|
681
|
-
|
682
|
-
td.header {
|
683
|
-
font-weight: 400;
|
394
|
+
@include table(solid 1px #F5F6F6 !important);
|
395
|
+
th,
|
396
|
+
td {
|
397
|
+
border: none !important;
|
398
|
+
font-size: 0.95em;
|
399
|
+
}
|
684
400
|
}
|
685
401
|
|
686
402
|
tr:nth-child(even) {
|
@@ -718,17 +434,12 @@ a.footnote-number {
|
|
718
434
|
*/
|
719
435
|
|
720
436
|
.Quote {
|
721
|
-
|
722
|
-
border-left: solid 5px #69C5DC;
|
723
|
-
color: rgb(91, 94, 95);
|
724
|
-
padding: 1.2em 1.2em 1.2em 2.2em;
|
725
|
-
margin: 2em 0 2em -1em;;
|
726
|
-
font-style: italic;
|
437
|
+
@include blockquoteBlock(#f7f7f7);
|
727
438
|
}
|
728
439
|
|
729
|
-
.QuoteAttribution
|
730
|
-
|
731
|
-
|
440
|
+
.QuoteAttribution {
|
441
|
+
text-align:right;
|
442
|
+
}
|
732
443
|
|
733
444
|
/*
|
734
445
|
3.12 Formulas
|
@@ -832,19 +543,19 @@ p {
|
|
832
543
|
padding-bottom: 0.5em;
|
833
544
|
font-family: $headerfont;
|
834
545
|
font-size: 1.5em;
|
835
|
-
font-weight: 900;
|
546
|
+
font-weight: 900;
|
836
547
|
}
|
837
548
|
|
838
549
|
.coverpage-date {
|
839
550
|
font-family: $headerfont;
|
840
|
-
font-weight: 900;
|
551
|
+
font-weight: 900;
|
841
552
|
}
|
842
|
-
|
553
|
+
|
843
554
|
.prefatory-section {
|
844
555
|
padding: 0 2em 0 3em;
|
845
556
|
}
|
846
|
-
|
847
|
-
|
557
|
+
|
558
|
+
|
848
559
|
.zzSTDTitle1, .MsoCommentText {
|
849
560
|
display: none;
|
850
561
|
}
|
@@ -872,15 +583,15 @@ p {
|
|
872
583
|
font-weight: 300;
|
873
584
|
display: block;
|
874
585
|
}
|
875
|
-
|
876
|
-
/*
|
586
|
+
|
587
|
+
/*
|
877
588
|
.coverpage-tc-name {
|
878
589
|
font-size: 1.2em;
|
879
590
|
line-height: 1.2em;
|
880
591
|
margin: 0.25em 0;
|
881
592
|
}
|
882
593
|
*/
|
883
|
-
|
594
|
+
|
884
595
|
/*
|
885
596
|
4.2 Document Identity
|
886
597
|
*/
|
@@ -921,8 +632,8 @@ p {
|
|
921
632
|
background-size: 240px 80px;
|
922
633
|
margin: auto;
|
923
634
|
}
|
924
|
-
|
925
|
-
|
635
|
+
|
636
|
+
|
926
637
|
.coverpage-title .title-second {
|
927
638
|
display: none;
|
928
639
|
}
|
@@ -957,13 +668,13 @@ h2 {
|
|
957
668
|
border-bottom: solid 1px #69C5DC;
|
958
669
|
color: black;
|
959
670
|
}
|
960
|
-
|
961
|
-
|
671
|
+
|
672
|
+
|
962
673
|
/*
|
963
674
|
4.3 Draft Warning
|
964
675
|
*/
|
965
676
|
|
966
|
-
|
677
|
+
|
967
678
|
.coverpage-warning {
|
968
679
|
border-top: solid 1px #F22E15;
|
969
680
|
border-bottom: solid 1px #F22E15;
|
@@ -971,7 +682,7 @@ h2 {
|
|
971
682
|
color: black;
|
972
683
|
padding: 1em;
|
973
684
|
}
|
974
|
-
|
685
|
+
|
975
686
|
.coverpage-warning .title {
|
976
687
|
color: #F22E15;
|
977
688
|
font-family: $headerfont;
|
@@ -980,56 +691,27 @@ h2 {
|
|
980
691
|
font-size: 1.2em;
|
981
692
|
}
|
982
693
|
|
983
|
-
|
984
|
-
|
694
|
+
|
695
|
+
|
985
696
|
/*
|
986
697
|
4.4 Copyright
|
987
|
-
*/
|
698
|
+
*/
|
988
699
|
|
989
700
|
.copyright {
|
990
701
|
padding: 1em;
|
991
702
|
font-size: 0.8em;
|
992
703
|
text-align: left;
|
993
704
|
}
|
994
|
-
|
995
|
-
|
996
|
-
.contact-info {color: black;}
|
997
|
-
|
998
705
|
|
999
706
|
|
1000
|
-
|
1001
|
-
5.0 Other styles
|
1002
|
-
*/
|
707
|
+
.contact-info {color: black;}
|
1003
708
|
|
1004
709
|
|
1005
710
|
|
1006
711
|
/*
|
1007
|
-
|
712
|
+
5.0 Other styles
|
1008
713
|
*/
|
1009
714
|
|
1010
|
-
#myBtn {
|
1011
|
-
font-family: $monospacefont;
|
1012
|
-
font-variant-ligatures: none;
|
1013
|
-
display: none;
|
1014
|
-
position: fixed;
|
1015
|
-
bottom: 20px;
|
1016
|
-
right: 30px;
|
1017
|
-
z-index: 99;
|
1018
|
-
font-size: 12px;
|
1019
|
-
border: none;
|
1020
|
-
outline: none;
|
1021
|
-
background-color: #69C5DC;
|
1022
|
-
opacity: 0.15;
|
1023
|
-
color: white;
|
1024
|
-
cursor: pointer;
|
1025
|
-
padding: 10px 15px 10px 15px;
|
1026
|
-
border-radius: 4px;
|
1027
|
-
}
|
1028
|
-
|
1029
|
-
#myBtn:hover {
|
1030
|
-
opacity: 1;
|
1031
|
-
}
|
1032
|
-
|
1033
715
|
a.anchorjs-link:hover {
|
1034
716
|
background: none;
|
1035
717
|
color: #485094;
|
data/metanorma-m3d.gemspec
CHANGED
@@ -49,5 +49,4 @@ Gem::Specification.new do |spec|
|
|
49
49
|
spec.add_development_dependency "rubocop", "= 0.54.0"
|
50
50
|
spec.add_development_dependency "simplecov", "~> 0.15"
|
51
51
|
spec.add_development_dependency "timecop", "~> 0.9"
|
52
|
-
spec.add_development_dependency "metanorma", "~> 0.3.0"
|
53
52
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-m3d
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciimath
|
@@ -262,20 +262,6 @@ dependencies:
|
|
262
262
|
- - "~>"
|
263
263
|
- !ruby/object:Gem::Version
|
264
264
|
version: '0.9'
|
265
|
-
- !ruby/object:Gem::Dependency
|
266
|
-
name: metanorma
|
267
|
-
requirement: !ruby/object:Gem::Requirement
|
268
|
-
requirements:
|
269
|
-
- - "~>"
|
270
|
-
- !ruby/object:Gem::Version
|
271
|
-
version: 0.3.0
|
272
|
-
type: :development
|
273
|
-
prerelease: false
|
274
|
-
version_requirements: !ruby/object:Gem::Requirement
|
275
|
-
requirements:
|
276
|
-
- - "~>"
|
277
|
-
- !ruby/object:Gem::Version
|
278
|
-
version: 0.3.0
|
279
265
|
description: |
|
280
266
|
metanorma-m3d lets you write M3AAWG Documents (M3D) in AsciiDoc syntax.
|
281
267
|
|