metanorma-mpfd 0.3.14 → 0.3.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: af1cf973b2c765076bbcee9c4b5d5f72dc9fd7cda94f85cb6a852cc5ff155876
4
- data.tar.gz: 56d90ca4c555bc8ef85218c43420d4b8c8e70cfb87bb702a4643b6ebbffdd5f3
3
+ metadata.gz: 77082fb21e5dbefe95f1755dadf504bbeff41b55a9749c55dd917574b7243861
4
+ data.tar.gz: bdc6df32dd4391587af79ed14979307e1ef14a88ecd4f812c74fd3270fb4e651
5
5
  SHA512:
6
- metadata.gz: c40325761b79a0975736e5fb411d7d58132dacd438433bd7b541f83e721b7ab4052242b604eb89fcb306a05d761f890afc3a2fe73f1f9bce4fbf2947d21c893d
7
- data.tar.gz: 1ba3261bb21d504fe837cac76316fee3c25249b211ffe9192d03c10052ee586cd1288f8e1816e86cafec369cff3333c338a03521a72674bd576fc923b6e214c8
6
+ metadata.gz: '0088a8ecc9f2e6ecf3a5e0a1dc10e422ca593fd0cbca6997a4bbb2b91b84da51e77493dcf5419b8f983047fc49721b377bae0b8a1f699d03c171cd3b3517f28b'
7
+ data.tar.gz: 2356684bdc7eeb7802eeb6263d21a927cad705528236daa1c4b253057581af521c4c79fe3ef80cf883c8e644e0af5ea4da3b96831a3bf08939fe8cf78845589d
@@ -80,17 +80,6 @@ module Asciidoctor
80
80
  super
81
81
  end
82
82
 
83
- def doctype(node)
84
- d = node.attr("doctype")
85
- =begin
86
- unless %w{policy-and-procedures best-practices circular supporting-document report legal directives proposal standard}.include? d
87
- warn "#{d} is not a legal document type: reverting to 'standard'"
88
- d = "standard"
89
- end
90
- =end
91
- d
92
- end
93
-
94
83
  def document(node)
95
84
  init(node)
96
85
  ret1 = makexml(node)
@@ -103,6 +92,7 @@ module Asciidoctor
103
92
  word_converter(node).convert filename unless node.attr("nodoc")
104
93
  pdf_converter(node).convert filename unless node.attr("nodoc")
105
94
  end
95
+ @log.write(@filename + ".err") unless @novalid
106
96
  @files_to_delete.each { |f| FileUtils.rm f }
107
97
  ret
108
98
  end
@@ -645,6 +645,11 @@
645
645
  <optional>
646
646
  <attribute name="script"/>
647
647
  </optional>
648
+ <optional>
649
+ <attribute name="inline-header">
650
+ <data type="boolean"/>
651
+ </attribute>
652
+ </optional>
648
653
  <optional>
649
654
  <attribute name="obligation">
650
655
  <choice>
@@ -15,14 +15,14 @@ module Asciidoctor
15
15
  doctype = xmldoc&.at("//bibdata/ext/doctype")&.text
16
16
  %w(policy-and-procedures best-practices supporting-document
17
17
  report legal directives proposal standard).include? doctype or
18
- warn "Document Attributes: #{doctype} is not a recognised document type"
18
+ @log.add("Document Attributes", nil, "#{doctype} is not a recognised document type")
19
19
  end
20
20
 
21
21
  def stage_validate(xmldoc)
22
22
  stage = xmldoc&.at("//bibdata/status/stage")&.text
23
23
  %w(proposal working-draft committee-draft draft-standard final-draft
24
24
  published withdrawn).include? stage or
25
- warn "Document Attributes: #{stage} is not a recognised status"
25
+ @log.add("Document Attributes", nil, "#{stage} is not a recognised status")
26
26
  end
27
27
  end
28
28
  end
@@ -1,9 +1,9 @@
1
1
  <!--
2
- <div class="document-stage-band" id='{{ stage | downcase | replace: " ", "-" }}-band'>
2
+ <div class="document-stage-band" id="{{ stage | downcase | replace: ' ', '-' }}-band">
3
3
  <p class="document-stage">{{ stage }}</p>
4
4
  </div>
5
5
 
6
- <div class="document-type-band" id='{{ doctype | downcase | replace: " ", "-" }}-band'>
6
+ <div class="document-type-band" id="{{ doctype | downcase | replace: ' ', '-' }}-band">
7
7
  <p class="document-type">Ribose {{ doctype }}</p>
8
8
  </div>
9
9
  -->
@@ -7,264 +7,97 @@
7
7
  License: none (public domain)
8
8
  */
9
9
 
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
- font-variant-ligatures: none;
79
- }
80
-
81
- code *, pre *, tt *, kbd *, samp * {
82
- font-family: $monospacefont !important;
83
- font-variant-ligatures: none;
84
- }
85
-
86
- h1, h2, h3, h4, h5, h6, .h2Annex {
87
- font-family: $headerfont;
88
- }
89
-
90
- dl {
91
- display: grid;
92
- grid-template-columns: max-content auto;
93
- }
94
-
95
- dt {
96
- grid-column-start: 1;
97
- }
98
-
99
- dd {
100
- grid-column-start: 2;
101
- }
102
-
103
- dd p, dt p {
104
- margin-top: 0px;
105
- }
106
-
107
- /* HTML5 display-role reset for older browsers */
108
- article, aside, details, figcaption, figure,
109
- footer, header, hgroup, menu, nav, section {
110
- display: block;
111
- }
112
- body {
113
- line-height: 1;
114
- }
115
-
116
- blockquote, q {
117
- quotes: none;
118
- }
119
- blockquote:before, blockquote:after,
120
- q:before, q:after {
121
- content: '';
122
- content: none;
123
- }
124
- table {
125
- border-collapse: collapse;
126
- border-spacing: 0;
127
- }
128
-
129
- strong {
130
- font-weight: 800;
131
- }
132
-
10
+ @import 'base_style/all';
133
11
 
134
12
  /*
135
13
  1. HTML & Body
136
14
  */
137
15
 
138
- body {
139
- margin: 0;
140
- margin-left: auto;
141
- margin-right: auto;
142
- max-width: 100%;
143
- color: #301907;
144
- font-weight: 300;
145
- font-size: 15px;
146
- line-height: 1.4em;
147
- background-color: #f7f7f7;
16
+ body {
17
+ @include bodyStyle1(15px, 1.4em, #301907, #f7f7f7, 300);
18
+ // @include sidebarNavContainer(323px);
19
+ main {
20
+ margin: 0 0 0 6em;
148
21
  }
22
+ }
149
23
 
150
- main {margin: 0 0 0 6em;}
24
+ #toc {
25
+ @include toc(#301907, #301907, #301907);
26
+ @include sidebarToc();
151
27
 
152
- #toc{
153
- font-family: $bodyfont;
154
- font-weight: 400;
28
+ .toc-active,
29
+ li:hover {
30
+ background: none;
31
+ box-shadow: none !important;
32
+ border-bottom: solid 1px #301907 !important;
155
33
  }
156
34
 
157
- /*
158
- 2. Responsive navigation layout
159
- */
160
-
161
-
162
- @media screen and (min-width: 768px) {
163
- nav {
164
- position: fixed;
165
- top: 0;
166
- bottom: 0;
167
- left: 0;
168
- width: 328px;
169
- font-size: 0.9em;
170
- overflow: auto;
171
- padding: 0 0 0 15px;
172
- margin-right: 0px;
173
- background-color:#f7f7f7;
174
- }
175
-
176
- #toggle {
177
- position: fixed;
178
- height: 100%;
179
- width: 15px;
180
- background-color:#301907;
181
- color: white!important;
182
- cursor: pointer;
183
- z-index: 100;
184
- }
185
-
186
- #toggle span {
187
- text-align: center;
188
- width: 100%;
189
- position: absolute;
190
- top: 50%;
191
- transform: translate(0, -50%);
192
-
193
- }
194
-
195
- .container {
196
- padding-left: 343px;
197
- }
198
-
199
- .rule.toc {
200
- display: none;
201
- }
35
+ li:hover a {
36
+ color: black;
37
+ }
202
38
 
203
- h1.toc-contents {
204
- margin-top: 1em;
205
- }
39
+ li a {
40
+ text-transform: uppercase;
41
+ }
206
42
 
207
- ul#toc-list {
208
- padding:0;
209
- margin:0;
43
+ ul {
44
+ a:hover {
45
+ box-shadow: none;
46
+ color: white;
210
47
  }
211
- }
212
-
213
- div.figure > img {
214
- margin-left: auto;
215
- margin-right: auto;
216
- display: block;
217
- max-width: 100%;
218
- height: auto;
219
48
  }
220
-
221
-
222
- #toc ul {
223
- margin: 0;
224
- padding: 0;
225
- list-style: none;
226
49
  }
227
50
 
228
- #toc li a {
229
- padding: 5px 10px;
51
+ nav {
52
+ @include sidebarNav(#f7f7f7, 328px, 15px);
230
53
  }
231
54
 
232
- #toc a {
233
- color: #301907;
234
- text-decoration: none;
235
- display: block;
55
+ #toggle {
56
+ @include sidebarNavToggle(white, #301907)
236
57
  }
237
58
 
238
- #toc a:hover {
239
- box-shadow: none;
240
- color: white;
241
- }
59
+ #myBtn {
60
+ @include toTopBtn(white, #f36f36);
61
+ text-transform: uppercase;
242
62
 
243
- #toc .h2 {
244
- padding-left: 30px;
63
+ a.anchorjs-link {
64
+ @include anchorLink(#485094)
65
+ }
245
66
  }
246
67
 
247
- #toc .h3 {
248
- padding-left: 50px;
68
+ strong {
69
+ font-weight: 800;
249
70
  }
250
71
 
251
72
  /*
252
- #toc .toc-active a {
253
- color: white;
254
- }
73
+ 2. Responsive navigation layout
255
74
  */
256
75
 
257
- #toc .toc-active, #toc li:hover {
258
- border-bottom: solid 1px #301907 !important;
259
- }
260
76
 
261
- #toc li:hover a {
262
- background-color: none;
263
- box-shadow: none;
77
+ @media screen and (min-width: 768px) {
78
+ .container {
79
+ padding-left: 343px;
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
+ }
264
97
  }
265
98
 
266
- #toc li a {
267
- text-transform: uppercase;
99
+ div.figure {
100
+ @include figureBlock();
268
101
  }
269
102
 
270
103
  /*
@@ -272,56 +105,25 @@ height: auto;
272
105
  */
273
106
 
274
107
  .document-type-band {
275
- left:0;
276
- top:180px;
277
- height: 100%;
278
- position: fixed;
279
- display: block;
280
- z-index: 99;
281
- /*box-shadow: -5px 0px 10px #1d1d1d*/
282
-
108
+ @include docBand(2, 100%, 180px);
283
109
  }
284
110
 
285
111
  .document-stage-band {
286
- left:0;
287
- top:0;
288
- height: 100%;
289
- position: fixed;
290
- display: block;
291
- z-index: 98;
292
- box-shadow: -5px 0px 10px #1d1d1d
112
+ @include docBand(1, 150);
293
113
  }
294
114
 
295
- .document-type {
296
- position: relative;
297
- width: 25px;
115
+ p.document-type,
116
+ p.document-stage {
117
+ @include docBandTitle(150);
298
118
  }
299
119
 
300
- .document-stage {
301
- position: relative;
302
- width: 25px;
120
+ #governance-band p.document-type {
121
+ height: 230px !important;
303
122
  }
304
123
 
305
- p.document-type, p.document-stage {
306
- color: white;
307
- text-transform: uppercase;
308
- font-size: 0.9em;
309
- font-weight: 400;
310
- letter-spacing: 0.05em;
311
- margin:0;
312
- margin-left: 6px;
313
- writing-mode:tb-rl;
314
- -webkit-transform:rotate(180deg);
315
- -moz-transform:rotate(180deg);
316
- -o-transform: rotate(180deg);
317
- white-space:nowrap;
318
- display:block;
319
- bottom:0;
320
- }
321
-
322
- p.document-type {
323
- font-weight: 400;
324
- height: 150px;
124
+ p.document-stage {
125
+ font-weight: 300;
126
+ height: 160px;
325
127
  }
326
128
 
327
129
  #governance-band p.document-type {
@@ -423,106 +225,78 @@ p.document-stage {
423
225
  3.1 Titles
424
226
  */
425
227
 
426
- h1,h2,h3,h4,h5,h6 {
427
- font-family: $headerfont;
428
- color: #301907;
429
- font-weight: 300;
430
- margin-top: 2em;
431
- }
432
-
433
- h1 {
434
- color: #301907;
435
- font-size: 1.6em;
436
- /* margin-top: 5em; */
437
- margin-bottom: 30px;
438
- margin-left: -75px;
439
- padding: 45px 15px 15px 50px;
440
- border-bottom: solid 5px #FD8924;
441
- font-weight: 800;
442
- }
443
-
444
- h1#content {
445
- margin-top: 0em;
446
- margin-left: -2em;
447
- }
448
-
449
- h1.containerhdr {
450
- font-size: 2em;
451
- font-weight: 400;
452
- margin-top: 2em;
453
- margin-bottom: 30px;
454
- border-bottom: none;
455
- }
456
-
457
- h2.containerhdr {
458
- font-size: 1.8em;
459
- font-weight: 400;
460
- margin-left: -75px;
461
- font-style: italic;
462
- padding: 45px 15px 15px 50px;
463
- }
464
-
465
- h2 {
466
- font-size: 1.5em;
467
- font-weight: 400;
468
- }
228
+ h1,h2,h3,h4,h5,h6 {
229
+ font-family: $headerfont;
230
+ color: #301907;
231
+ font-weight: 300;
232
+ margin-top: 2em;
233
+ }
469
234
 
470
- h3 {
471
- font-size: 1.1em;
472
- font-weight: 100;
473
- }
235
+ h1 {
236
+ color: #301907;
237
+ font-size: 1.6em;
238
+ /* margin-top: 5em; */
239
+ margin-bottom: 30px;
240
+ margin-left: -75px;
241
+ padding: 45px 15px 15px 50px;
242
+ border-bottom: solid 5px #FD8924;
243
+ font-weight: 800;
244
+ }
474
245
 
475
- .TermNum, .Terms, .AltTerms {
476
- color: #301907;
477
- font-weight: 100;
478
- }
246
+ h1#content {
247
+ margin-top: 0em;
248
+ margin-left: -2em;
249
+ }
479
250
 
480
- h2.TermNum {
481
- font-size: 0.9em;
482
- line-height: 1em;
483
- margin: 0;
251
+ h1.containerhdr {
252
+ font-size: 2em;
253
+ font-weight: 400;
484
254
  margin-top: 2em;
485
- }
486
-
487
- p.Terms {
488
- font-size: 1.1em;
489
- line-height: 1.7em;
490
- margin: 0;
491
- }
255
+ margin-bottom: 30px;
256
+ border-bottom: none;
257
+ }
492
258
 
493
- /*
494
- 3.2 Links
495
- */
259
+ h2.containerhdr {
260
+ font-size: 1.8em;
261
+ font-weight: 400;
262
+ margin-left: -75px;
263
+ font-style: italic;
264
+ padding: 45px 15px 15px 50px;
265
+ }
496
266
 
497
- a, a:visited{
498
- text-decoration: none;
499
- color: #485094;
267
+ h2 {
268
+ font-size: 1.5em;
269
+ font-weight: 400;
500
270
  }
501
271
 
502
- a:hover {
503
- color: white;
504
- background-color: #301907;
505
- box-shadow: 3px 0 0 #301907, -3px 0 0 #301907;
506
- /* padding: 2px 0 2px 0; */
272
+ h3 {
273
+ font-size: 1.1em;
274
+ font-weight: 100;
507
275
  }
508
276
 
509
- ::selection {
510
- background-color: #1661AD; /* WebKit/Blink Browsers */
511
- color: white;
277
+ .TermNum, .Terms, .AltTerms {
278
+ color: #301907;
279
+ font-weight: 100;
512
280
  }
513
- ::-moz-selection {
514
- background-color: #1661AD; /* Gecko Browsers */
515
- color: white;
281
+
282
+ h2.TermNum {
283
+ font-size: 0.9em;
284
+ line-height: 1em;
285
+ margin: 0;
286
+ margin-top: 2em;
516
287
  }
517
288
 
518
- .contact-info a:hover {
519
- color: #485094;
520
- text-decoration: underline;
521
- background-color: none;
522
- box-shadow: 0 0 0 0;
289
+ p.Terms {
290
+ font-size: 1.1em;
291
+ line-height: 1.7em;
292
+ margin: 0;
523
293
  }
524
294
 
295
+ /*
296
+ 3.2 Links
297
+ */
525
298
 
299
+ @include elementStyles(#485094, #301907, white);
526
300
 
527
301
  /*
528
302
  3.3 Lists
@@ -561,12 +335,8 @@ ul > li:first-child {
561
335
  /*
562
336
  3.4 Rules
563
337
  */
564
-
565
338
  .rule {
566
- width: 100%;
567
- height: 1px;
568
- background-color: #0e1a85;
569
- margin: 2em 0;
339
+ @include rule(1px, #0e1a85)
570
340
  }
571
341
 
572
342
  /*
@@ -582,24 +352,22 @@ p.Biblio, p.NormRef {
582
352
  3.6 Source Code + figures
583
353
  */
584
354
 
585
- pre {
586
- font-family: $monospacefont;
587
- font-variant-ligatures: none;
355
+ .figure,
356
+ pre,
357
+ .pseudocode {
358
+ @include pseudocodeBlock(#f7f7f7);
588
359
  }
589
360
 
590
- .figure, pre, .pseudocode {
591
- background-color: #f7f7f7;
592
- font-size: 0.8em;
593
- line-height: 1.6em;
594
- padding: 1.5em;
595
- margin: 2em 0 1em 0;
596
- overflow: auto;
361
+ pre {
362
+ @include monospaceBlockStyle()
597
363
  }
598
364
 
599
- .FigureTitle, .SourceTitle, .AdmonitionTitle, .RecommendationTitle {
600
- font-weight: 700;
601
- font-size: 1em;
602
- text-align: center;
365
+ @include admonitionBlock();
366
+ @include recommendationBlock();
367
+
368
+ .FigureTitle,
369
+ .SourceTitle {
370
+ @include blockTitle()
603
371
  }
604
372
 
605
373
  /*
@@ -628,29 +396,16 @@ pre {
628
396
  */
629
397
 
630
398
  .example {
631
- background-color: #e1eef1;
632
- margin: 2em 0 1em 0;
633
- padding-left: 2em;
634
- }
635
-
636
- table.example {
637
- padding: 1.2em;
638
- }
639
-
640
- .example p {
641
- margin: 0;
642
- }
643
-
644
- .example .example-title {
645
- font-weight: 700;
646
- text-transform: uppercase;
647
- margin-top:0;
648
- margin-left:-1.5em;
649
- }
399
+ @include exampleBlock(#e1eef1, #424242, 1.2em);
650
400
 
401
+ .example-title {
402
+ margin-top: 0;
403
+ }
651
404
 
652
- .example pre, .example .pseudocode {
653
- background: none;
405
+ pre,
406
+ .pseudocode {
407
+ background: none;
408
+ }
654
409
  }
655
410
 
656
411
  /*
@@ -658,26 +413,18 @@ table.example {
658
413
  */
659
414
 
660
415
  table {
661
- border-collapse: collapse;
662
- width: 100%;
663
- font-weight: 300;
664
- margin: 1em 0 2em 0;
665
- margin-left: auto;
666
- margin-right: auto;
667
- padding-right: 2em;
668
- }
669
-
670
- table, th, td {
671
- border: 1px solid black;
672
- font-size: 0.95em;
673
- }
674
-
675
- td, th {
676
- padding: 1em;
677
- }
416
+ @include table(1px solid black);
678
417
 
679
- td.header {
680
- font-weight: 400;
418
+ &.glossary,
419
+ &.glossary tr,
420
+ &.glossary td {
421
+ border: none;
422
+ }
423
+ &.glossary td {
424
+ border-bottom: 1px solid black;
425
+ padding-bottom: 5px;
426
+ padding-top: 20px;
427
+ }
681
428
  }
682
429
 
683
430
  p.TableTitle {
@@ -686,17 +433,6 @@ p.TableTitle {
686
433
  font-weight: 400;
687
434
  }
688
435
 
689
- table.glossary, table.glossary tr, table.glossary td {
690
- border: none;
691
- }
692
-
693
- table.glossary td {
694
- border-bottom: 1px solid black;
695
- padding-bottom: 5px;
696
- padding-top: 20px;
697
- }
698
-
699
-
700
436
  /*
701
437
  3.10 Footnotes
702
438
  */
@@ -716,13 +452,7 @@ a.footnote-number {
716
452
  */
717
453
 
718
454
  .Quote {
719
- background-color: #f7f7f7;
720
- font-style: italic;
721
- width: 80%;
722
- padding: 1.5em;
723
- margin-top: 2em;
724
- margin-left: auto;
725
- margin-right: auto;
455
+ @include blockquoteBlock(#f7f7f7);
726
456
  }
727
457
 
728
458
 
@@ -731,12 +461,10 @@ a.footnote-number {
731
461
  */
732
462
 
733
463
  .formula {
734
- background-color: #f7f7f7;
735
- padding: 1.5em;
736
- margin-top: 2em;
737
- text-align: center;
464
+ @include formulaBlock(#f7f7f7)
738
465
  }
739
466
 
467
+
740
468
  /*
741
469
  3.13 Contact Info
742
470
  */
@@ -759,8 +487,7 @@ a.footnote-number {
759
487
  }
760
488
 
761
489
  .contact-info p, .contact-info a {
762
- font-family: $monospacefont;
763
- font-variant-ligatures: none;
490
+ @include monospaceBlockStyle();
764
491
  font-weight: 400;
765
492
  }
766
493
 
@@ -991,50 +718,10 @@ padding: 0 2em 0 5em; }
991
718
  }
992
719
 
993
720
 
994
- /* .copyright .name, .copyright .address {color: #485094;} */
995
-
996
-
997
-
998
721
  /*
999
722
  5.0 Other styles
1000
723
  */
1001
724
 
1002
-
1003
-
1004
- /*
1005
- To top button
1006
- */
1007
-
1008
- #myBtn {
1009
- font-family: $monospacefont;
1010
- font-variant-ligatures: none;
1011
- display: none;
1012
- position: fixed;
1013
- bottom: 20px;
1014
- right: 30px;
1015
- z-index: 99;
1016
- font-size: 12px;
1017
- border: none;
1018
- outline: none;
1019
- background-color: #f36f36;
1020
- opacity: 0.15;
1021
- color: white;
1022
- cursor: pointer;
1023
- padding: 10px 15px 10px 15px;
1024
- border-radius: 4px;
1025
- text-transform: uppercase;
1026
- }
1027
-
1028
- #myBtn:hover {
1029
- opacity: 1;
1030
- }
1031
-
1032
- a.anchorjs-link:hover {
1033
- background-color: none;
1034
- color: #485094;
1035
- box-shadow: none;
1036
- }
1037
-
1038
725
  @page {
1039
726
  margin: 2cm 1cm;
1040
727
  }
@@ -1054,15 +741,6 @@ a.anchorjs-link:hover {
1054
741
  border-left: 0.5em solid #888;
1055
742
  }
1056
743
 
1057
- nav {
1058
- page-break-after: always;
1059
- }
1060
-
1061
- body {
1062
- background-color: white;
1063
- color: #000;
1064
- }
1065
-
1066
744
  h1, h2, h3, h4 {
1067
745
  page-break-after: avoid;
1068
746
  margin-top: 1.2em;
@@ -1091,43 +769,10 @@ a.anchorjs-link:hover {
1091
769
  margin-top: -5px;
1092
770
  }
1093
771
 
1094
-
1095
- #toggle, .document-stage-band,
1096
- .document-type-band, button#myBtn {
1097
- display: none;
1098
- }
1099
-
1100
- button#myBtn {
1101
- background-color: white;
1102
- }
1103
-
1104
772
  .container {
1105
773
  padding-left: 0;
1106
774
  }
1107
775
 
1108
- nav {
1109
- position: relative;
1110
- width: auto;
1111
- font-size: 0.9em;
1112
- overflow: auto;
1113
- padding: 0;
1114
- margin-right: 0;
1115
- background-color: white;
1116
- }
1117
-
1118
- #toc .toc-active a {
1119
- color: #4D7EA5;
1120
- }
1121
-
1122
- #toc .toc-active, #toc li:hover {
1123
- background-color: white;
1124
- box-shadow: none !important;
1125
- }
1126
-
1127
- #toc li:hover a {
1128
- color: black; }
1129
-
1130
-
1131
776
  h1.content {
1132
777
  margin-top: 2em;
1133
778
  line-height: 2.5em;
@@ -1266,11 +911,6 @@ a.anchorjs-link:hover {
1266
911
 
1267
912
 
1268
913
  @media screen and (max-width: 768px) {
1269
- #toc {
1270
- padding: 0 1.5em 0 1.5em;
1271
- overflow: visible;
1272
- }
1273
-
1274
914
  #toggle {
1275
915
  display: none;
1276
916
  }
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Mpfd
3
- VERSION = "0.3.14"
3
+ VERSION = "0.3.15"
4
4
  end
5
5
  end
@@ -41,5 +41,4 @@ Gem::Specification.new do |spec|
41
41
  spec.add_development_dependency "rubocop", "= 0.54.0"
42
42
  spec.add_development_dependency "simplecov", "~> 0.15"
43
43
  spec.add_development_dependency "timecop", "~> 0.9"
44
- spec.add_development_dependency "metanorma", "~> 0.3.0"
45
44
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-mpfd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.14
4
+ version: 0.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-05 00:00:00.000000000 Z
11
+ date: 2020-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: htmlentities
@@ -192,20 +192,6 @@ dependencies:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0.9'
195
- - !ruby/object:Gem::Dependency
196
- name: metanorma
197
- requirement: !ruby/object:Gem::Requirement
198
- requirements:
199
- - - "~>"
200
- - !ruby/object:Gem::Version
201
- version: 0.3.0
202
- type: :development
203
- prerelease: false
204
- version_requirements: !ruby/object:Gem::Requirement
205
- requirements:
206
- - - "~>"
207
- - !ruby/object:Gem::Version
208
- version: 0.3.0
209
195
  description: |
210
196
  metanorma-mpfd lets you write MPF documents in AsciiDoc syntax.
211
197