isodoc 3.0.4 → 3.1.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 489435b8dddc8dba521d81e00c4aedff413367caae737b0bc406069d23d9181b
4
- data.tar.gz: 0531fab9b4faf2f409eee7e6d22be86106c642221deec38af06328adf637912b
3
+ metadata.gz: 3a3a3be88ed08f8f5025c255a596b63685e4361411265eb024d0e9473f94fcca
4
+ data.tar.gz: 0e821ce48e0d212e638ee5fe70298ea7ea47780d057255d67e708cecd02f3319
5
5
  SHA512:
6
- metadata.gz: 7b00856fcce581e10566072193968591c255da75aa290f9c22aa636d24a38470055c67f26291f037375e1b02f3dd5959de58086530e0e5f46dc6467c94fa6c4d
7
- data.tar.gz: 36ea446dfa881db1666bd12c884e0f966a2bdeaa55ceee3f4ae66e9b5b8fe27b0f431ad0a68319fdc77b831c4b61924b017f2badcd2d35efd0d778d336bc87c2
6
+ metadata.gz: ab31e514116f9dc989eae235a933062dfdd05418076b2d353e21d51d4a1767a4038e66946aa09d4a8e6616b8b0750bca340f92570b02d3320a63f14b8cc3c701
7
+ data.tar.gz: 7373511670a6a8314374ab368bce30e23fcc5c0088adb53ae43fe85b70b87198347a141fd91127a200dcad2baa01492af476507e561c25785cb232a680876068
data/isodoc.gemspec CHANGED
@@ -53,13 +53,18 @@ Gem::Specification.new do |spec|
53
53
  spec.add_development_dependency "rake", "~> 13.0"
54
54
  spec.add_development_dependency "rspec", "~> 3.6"
55
55
  spec.add_development_dependency "rubocop", "~> 1.5.2"
56
- # spec.add_development_dependency "sassc", "~> 2.4.0"
56
+ =begin
57
57
  if RUBY_VERSION.start_with?("3.1")
58
58
  spec.add_development_dependency "sassc-embedded", "1.54.0"
59
+ spec.add_development_dependency "sass-embedded", "1.54.2"
59
60
  else
60
61
  spec.add_development_dependency "sassc-embedded", "~> 1"
62
+ spec.add_development_dependency "sass-embedded", "~> 1"
61
63
  end
62
64
  #spec.add_development_dependency "sassc-embedded", "~> 1"
65
+ =end
66
+ #spec.add_development_dependency "sassc"
67
+ spec.add_development_dependency "sassc-embedded", "~> 1"
63
68
  spec.add_development_dependency "simplecov", "~> 0.15"
64
69
  spec.add_development_dependency "timecop", "~> 0.9"
65
70
  spec.add_development_dependency "xml-c14n"
@@ -0,0 +1,448 @@
1
+ @charset "UTF-8";
2
+ html, body, div, span, applet, object, iframe,
3
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
4
+ a, abbr, acronym, address, big, cite, code,
5
+ del, dfn, em, img, ins, kbd, q, s, samp,
6
+ small, strike, strong, sub, sup, tt, var,
7
+ b, u, i, center,
8
+ ol, ul, li,
9
+ fieldset, form, label, legend,
10
+ table, caption, tbody, tfoot, thead, tr, th, td,
11
+ article, aside, canvas, details, embed,
12
+ figure, figcaption, footer, header, hgroup,
13
+ menu, output, ruby, section, summary,
14
+ time, mark, audio, video {
15
+ margin: 0;
16
+ padding: 0;
17
+ }
18
+
19
+ html, body, div, span, applet, object, iframe,
20
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
21
+ a, abbr, acronym, address, big, cite, code,
22
+ del, dfn, em, img, ins, kbd, q, s, samp,
23
+ small, strike, strong, sub, sup, tt, var,
24
+ b, u, i, center,
25
+ dl, dt, dd, ol, ul, li,
26
+ fieldset, form, label, legend,
27
+ table, caption, tbody, tfoot, thead, tr, th, td,
28
+ article, aside, canvas, details, embed,
29
+ figure, figcaption, footer, header, hgroup,
30
+ menu, nav, output, ruby, section, summary,
31
+ time, mark, audio, video {
32
+ border: 0;
33
+ font-size: 100%;
34
+ }
35
+
36
+ html, body, div, span, applet, object, iframe,
37
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
38
+ a, abbr, acronym, address, big, cite, code,
39
+ del, dfn, em, img, ins, kbd, q, s, samp,
40
+ small, strike, strong, tt, var,
41
+ b, u, i, center,
42
+ dl, dd, ol, ul, li,
43
+ fieldset, form, label, legend,
44
+ table, caption, tbody, tfoot, thead, tr, th, td,
45
+ article, aside, canvas, details, embed,
46
+ figure, figcaption, footer, header, hgroup,
47
+ menu, nav, output, ruby, section, summary,
48
+ time, mark, audio, video {
49
+ vertical-align: baseline;
50
+ }
51
+
52
+ html, body, div, span, applet, object, iframe,
53
+ p, blockquote,
54
+ a, abbr, acronym, address, big, cite,
55
+ del, dfn, em, img, ins, q, s,
56
+ small, strike, strong, sub, sup, var,
57
+ b, u, i, center,
58
+ dl, dt, 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
+ font-family: {{bodyfont}};
66
+ }
67
+
68
+ code, pre, tt, kbd, samp {
69
+ font-family: {{monospacefont}};
70
+ font-variant-ligatures: none;
71
+ }
72
+
73
+ code *, pre *, tt *, kbd *, samp * {
74
+ font-family: {{monospacefont}} !important;
75
+ font-variant-ligatures: none;
76
+ }
77
+
78
+ p code, dt code, li code, label code, legend code, caption code, th code, td code,
79
+ p tt, dt tt, li tt, label tt, legend tt, caption tt, th tt, td tt,
80
+ p kbd, dt kbd, li kbd, label kbd, legend kbd, caption kbd, th kbd, td kbd,
81
+ p samp, dt samp, li samp, label samp, legend samp, caption samp, th samp, td samp {
82
+ font-size: {{monospacefontsize}};
83
+ }
84
+
85
+ sub, sup {
86
+ font-size: 0.75em;
87
+ }
88
+
89
+ article, aside, details, figcaption, figure,
90
+ footer, header, hgroup, menu, nav, section {
91
+ display: block;
92
+ }
93
+
94
+ table {
95
+ border-collapse: collapse;
96
+ border-spacing: 0;
97
+ }
98
+
99
+ h1, h2, h3, h4, h5, h6 {
100
+ font-family: {{headerfont}};
101
+ }
102
+
103
+ .h1, .h2, .h3, .h4, .h5, .h6 {
104
+ font-family: {{headerfont}};
105
+ }
106
+
107
+ blockquote, q {
108
+ quotes: none;
109
+ }
110
+ blockquote::before, blockquote::after, q::before, q::after {
111
+ content: "";
112
+ content: none;
113
+ }
114
+
115
+ .h2Annex {
116
+ font-family: {{headerfont}};
117
+ }
118
+
119
+ dl {
120
+ display: grid;
121
+ grid-template-columns: max-content auto;
122
+ }
123
+ dl dt p, dl dd p {
124
+ margin-top: 0;
125
+ }
126
+ dl dt {
127
+ grid-column-start: 1;
128
+ }
129
+ dl dd {
130
+ grid-column-start: 2;
131
+ }
132
+
133
+ b, strong {
134
+ font-weight: bold;
135
+ }
136
+
137
+ div.document-stage-band, div.document-type-band {
138
+ background-color: #333333;
139
+ }
140
+
141
+ a.FootnoteRef + a.FootnoteRef::before {
142
+ content: ", ";
143
+ vertical-align: super;
144
+ }
145
+
146
+ a.TableFootnoteRef + a.TableFootnoteRef::before {
147
+ content: ", ";
148
+ vertical-align: super;
149
+ }
150
+
151
+ a.TableFootnoteRef, span.TableFootnoteRef,
152
+ a.FootnoteRef, span.FootnoteRef {
153
+ vertical-align: super;
154
+ }
155
+
156
+ .addition {
157
+ color: blue;
158
+ }
159
+
160
+ .deletion {
161
+ color: red;
162
+ text-decoration: line-through;
163
+ }
164
+
165
+ ruby {
166
+ ruby-position: over;
167
+ -webkit-ruby-position: before;
168
+ }
169
+
170
+ ruby ruby {
171
+ ruby-position: under;
172
+ -webkit-ruby-position: after;
173
+ }
174
+
175
+ /* code highlighting with line numbers */
176
+ table.rouge-line-table td.rouge-gutter {
177
+ -moz-user-select: none;
178
+ -ms-user-select: none;
179
+ -webkit-user-select: none;
180
+ user-select: none;
181
+ padding-right: 1em;
182
+ }
183
+
184
+ table.rouge-line-table td.rouge-code {
185
+ -moz-user-select: all;
186
+ -ms-user-select: all;
187
+ -webkit-user-select: all;
188
+ user-select: all;
189
+ }
190
+
191
+ table.rouge-line-table,
192
+ table.rouge-line-table th,
193
+ table.rouge-line-table td {
194
+ width: auto;
195
+ border: none;
196
+ margin: 0;
197
+ padding: 0;
198
+ font-size: 100%;
199
+ }
200
+
201
+ table.rouge-line-table pre {
202
+ margin: 0;
203
+ padding: 0;
204
+ overflow-x: visible;
205
+ font-size: 100%;
206
+ }
207
+
208
+ /* header § links */
209
+ a.header {
210
+ color: inherit;
211
+ text-decoration: none;
212
+ }
213
+
214
+ a.header:hover {
215
+ color: #a53221 !important;
216
+ background: inherit;
217
+ box-shadow: none;
218
+ }
219
+
220
+ a.header:visited {
221
+ color: inherit;
222
+ text-decoration: none;
223
+ }
224
+
225
+ a.anchor {
226
+ position: absolute;
227
+ z-index: 1001;
228
+ width: 1.5ex;
229
+ margin-left: -1.5ex;
230
+ display: block;
231
+ text-decoration: none !important;
232
+ visibility: hidden;
233
+ text-align: center;
234
+ font-weight: 400;
235
+ }
236
+
237
+ a.anchor::before {
238
+ content: "§";
239
+ font-size: 0.85em;
240
+ display: block;
241
+ padding-top: 0.1em;
242
+ }
243
+
244
+ a.anchor:hover {
245
+ color: #a53221;
246
+ background: inherit;
247
+ box-shadow: none;
248
+ }
249
+
250
+ h1 > a.anchor:hover,
251
+ h2 > a.anchor:hover,
252
+ h3 > a.anchor:hover,
253
+ h4 > a.anchor:hover,
254
+ h5 > a.anchor:hover,
255
+ h6 > a.anchor:hover,
256
+ .inline-header > a.anchor:hover,
257
+ h1:hover > a.anchor,
258
+ h2:hover > a.anchor,
259
+ h3:hover > a.anchor,
260
+ h4:hover > a.anchor,
261
+ h5:hover > a.anchor,
262
+ h6:hover > a.anchor,
263
+ .inline-header:hover > a.anchor {
264
+ visibility: visible;
265
+ }
266
+
267
+ /* collapsible snippets: collapsible before hidable */
268
+ .hidable {
269
+ max-height: 0;
270
+ overflow: hidden;
271
+ transition: max-height 0.2s ease-out;
272
+ }
273
+
274
+ .collapsible {
275
+ background-color: #777;
276
+ color: white;
277
+ cursor: pointer;
278
+ padding: 3px 0;
279
+ margin: 0;
280
+ width: 100%;
281
+ border: none;
282
+ text-align: left;
283
+ outline: none;
284
+ font-size: 15px;
285
+ }
286
+
287
+ .active, .collapsible:hover {
288
+ background-color: #555;
289
+ }
290
+
291
+ .collapsible:after {
292
+ content: "▼";
293
+ color: white;
294
+ font-weight: bold;
295
+ float: right;
296
+ margin-left: 12px;
297
+ margin-right: 12px;
298
+ }
299
+
300
+ .active:after {
301
+ content: "▲";
302
+ }
303
+
304
+ /* collapsible: */
305
+ .collapsible + .hidable {
306
+ margin-top: 0;
307
+ }
308
+
309
+ .collapsible:not(.active) + .hidable {
310
+ overflow: hidden;
311
+ padding: 0;
312
+ }
313
+
314
+ #standard-band {
315
+ background-color: #0AC442;
316
+ }
317
+
318
+ #standard {
319
+ border-bottom: solid 3px #0AC442;
320
+ }
321
+
322
+ #directive-band {
323
+ background-color: #540D6E;
324
+ }
325
+
326
+ #directive {
327
+ border-bottom: solid 3px #540D6E;
328
+ }
329
+
330
+ #guide-band {
331
+ background-color: #D183C9;
332
+ }
333
+
334
+ #guide {
335
+ border-bottom: solid 3px #D183C9;
336
+ }
337
+
338
+ #specification-band {
339
+ background-color: #65AFFF;
340
+ }
341
+
342
+ #specification {
343
+ border-bottom: solid 3px #65AFFF;
344
+ }
345
+
346
+ #report-band {
347
+ background-color: #3A405A;
348
+ }
349
+
350
+ #report {
351
+ border-bottom: solid 3px #3A405A;
352
+ }
353
+
354
+ #amendment-band {
355
+ background-color: #F26430;
356
+ }
357
+
358
+ #amendment {
359
+ border-bottom: solid 3px #F26430;
360
+ }
361
+
362
+ #corrigendum-band {
363
+ background-color: #C84630;
364
+ }
365
+
366
+ #corrigendum {
367
+ border-bottom: solid 3px #C84630;
368
+ }
369
+
370
+ #administrative-band {
371
+ background-color: #BFAE48;
372
+ }
373
+
374
+ #administrative {
375
+ border-bottom: solid 3px #BFAE48;
376
+ }
377
+
378
+ #advisory-band {
379
+ background-color: #BD9391;
380
+ }
381
+
382
+ #advisory {
383
+ border-bottom: solid 3px #BD9391;
384
+ }
385
+
386
+ #proposal-band {
387
+ background-color: #39A0ED;
388
+ }
389
+
390
+ #proposal {
391
+ border-bottom: solid 3px #39A0ED;
392
+ }
393
+
394
+ #working-draft-band {
395
+ background-color: #2D7393;
396
+ }
397
+
398
+ #working-draft {
399
+ border-bottom: solid 3px #2D7393;
400
+ }
401
+
402
+ #committee-draft-band {
403
+ background-color: #2A6B7C;
404
+ }
405
+
406
+ #committee-draft {
407
+ border-bottom: solid 3px #2A6B7C;
408
+ }
409
+
410
+ #draft-standard-band {
411
+ background-color: #1C7F7A;
412
+ }
413
+
414
+ #draft-standard {
415
+ border-bottom: solid 3px #1C7F7A;
416
+ }
417
+
418
+ #final-draft-band {
419
+ background-color: #53C170;
420
+ }
421
+
422
+ #final-draft {
423
+ border-bottom: solid 3px #53C170;
424
+ }
425
+
426
+ #published-band {
427
+ background-color: #069E2D;
428
+ }
429
+
430
+ #published {
431
+ border-bottom: solid 3px #069E2D;
432
+ }
433
+
434
+ #withdrawn-band {
435
+ background-color: #004E64;
436
+ }
437
+
438
+ #withdrawn {
439
+ border-bottom: solid 3px #004E64;
440
+ }
441
+
442
+ #cancelled-band {
443
+ background-color: #2E382E;
444
+ }
445
+
446
+ #cancelled {
447
+ border-bottom: solid 3px #2E382E;
448
+ }
@@ -0,0 +1,135 @@
1
+ #standard-band {
2
+ background-color: #0AC442;
3
+ }
4
+
5
+ #standard {
6
+ border-bottom: solid 3px #0AC442;
7
+ }
8
+
9
+ #directive-band {
10
+ background-color: #540D6E;
11
+ }
12
+
13
+ #directive {
14
+ border-bottom: solid 3px #540D6E;
15
+ }
16
+
17
+ #guide-band {
18
+ background-color: #D183C9;
19
+ }
20
+
21
+ #guide {
22
+ border-bottom: solid 3px #D183C9;
23
+ }
24
+
25
+ #specification-band {
26
+ background-color: #65AFFF;
27
+ }
28
+
29
+ #specification {
30
+ border-bottom: solid 3px #65AFFF;
31
+ }
32
+
33
+ #report-band {
34
+ background-color: #3A405A;
35
+ }
36
+
37
+ #report {
38
+ border-bottom: solid 3px #3A405A;
39
+ }
40
+
41
+ #amendment-band {
42
+ background-color: #F26430;
43
+ }
44
+
45
+ #amendment {
46
+ border-bottom: solid 3px #F26430;
47
+ }
48
+
49
+ #corrigendum-band {
50
+ background-color: #C84630;
51
+ }
52
+
53
+ #corrigendum {
54
+ border-bottom: solid 3px #C84630;
55
+ }
56
+
57
+ #administrative-band {
58
+ background-color: #BFAE48;
59
+ }
60
+
61
+ #administrative {
62
+ border-bottom: solid 3px #BFAE48;
63
+ }
64
+
65
+ #advisory-band {
66
+ background-color: #BD9391;
67
+ }
68
+
69
+ #advisory {
70
+ border-bottom: solid 3px #BD9391;
71
+ }
72
+
73
+ #proposal-band {
74
+ background-color: #39A0ED;
75
+ }
76
+
77
+ #proposal {
78
+ border-bottom: solid 3px #39A0ED;
79
+ }
80
+
81
+ #working-draft-band {
82
+ background-color: #2D7393;
83
+ }
84
+
85
+ #working-draft {
86
+ border-bottom: solid 3px #2D7393;
87
+ }
88
+
89
+ #committee-draft-band {
90
+ background-color: #2A6B7C;
91
+ }
92
+
93
+ #committee-draft {
94
+ border-bottom: solid 3px #2A6B7C;
95
+ }
96
+
97
+ #draft-standard-band {
98
+ background-color: #1C7F7A;
99
+ }
100
+
101
+ #draft-standard {
102
+ border-bottom: solid 3px #1C7F7A;
103
+ }
104
+
105
+ #final-draft-band {
106
+ background-color: #53C170;
107
+ }
108
+
109
+ #final-draft {
110
+ border-bottom: solid 3px #53C170;
111
+ }
112
+
113
+ #published-band {
114
+ background-color: #069E2D;
115
+ }
116
+
117
+ #published {
118
+ border-bottom: solid 3px #069E2D;
119
+ }
120
+
121
+ #withdrawn-band {
122
+ background-color: #004E64;
123
+ }
124
+
125
+ #withdrawn {
126
+ border-bottom: solid 3px #004E64;
127
+ }
128
+
129
+ #cancelled-band {
130
+ background-color: #2E382E;
131
+ }
132
+
133
+ #cancelled {
134
+ border-bottom: solid 3px #2E382E;
135
+ }
File without changes
File without changes
File without changes
@@ -0,0 +1,72 @@
1
+ ol {
2
+ margin-bottom: 0cm;
3
+ }
4
+
5
+ ul {
6
+ margin-bottom: 0cm;
7
+ }
8
+
9
+ table.MsoISOTable tr {
10
+ page-break-inside: avoid;
11
+ }
12
+
13
+ td {
14
+ page-break-inside: avoid;
15
+ }
16
+
17
+ tr {
18
+ page-break-after: avoid;
19
+ }
20
+
21
+ table.MsoISOTableBig tr {
22
+ page-break-inside: auto;
23
+ }
24
+
25
+ table.MsoISOTableBig td {
26
+ page-break-inside: auto;
27
+ }
28
+
29
+ span.stem {
30
+ font-family: "Cambria Math", serif;
31
+ mso-ascii-font-family: "Cambria Math";
32
+ font-style: italic;
33
+ }
34
+
35
+ dt {
36
+ page-break-inside: avoid;
37
+ page-break-after: avoid;
38
+ }
39
+
40
+ br.section {
41
+ page-break-before: always;
42
+ mso-break-type: section-break;
43
+ }
44
+
45
+ br.pagebreak {
46
+ page-break-before: always;
47
+ mso-special-character: line-break;
48
+ }
49
+
50
+ span.addition {
51
+ color: blue;
52
+ }
53
+
54
+ span.deletion {
55
+ color: red;
56
+ text-decoration: line-through;
57
+ }
58
+
59
+ table.rouge-line-table {
60
+ border: none;
61
+ mso-border-alt: none;
62
+ mso-border-insideh: none;
63
+ mso-border-insidev: none;
64
+ }
65
+
66
+ td.rouge-code p.Sourcecode {
67
+ margin: 0px;
68
+ }
69
+
70
+ div.table_container {
71
+ margin-bottom: 14pt;
72
+ }
File without changes
@@ -0,0 +1,312 @@
1
+ @charset "UTF-8";
2
+ html, body, div, span, applet, object, iframe,
3
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
4
+ a, abbr, acronym, address, big, cite, code,
5
+ del, dfn, em, img, ins, kbd, q, s, samp,
6
+ small, strike, strong, sub, sup, tt, var,
7
+ b, u, i, center,
8
+ ol, ul, li,
9
+ fieldset, form, label, legend,
10
+ table, caption, tbody, tfoot, thead, tr, th, td,
11
+ article, aside, canvas, details, embed,
12
+ figure, figcaption, footer, header, hgroup,
13
+ menu, output, ruby, section, summary,
14
+ time, mark, audio, video {
15
+ margin: 0;
16
+ padding: 0;
17
+ }
18
+
19
+ html, body, div, span, applet, object, iframe,
20
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
21
+ a, abbr, acronym, address, big, cite, code,
22
+ del, dfn, em, img, ins, kbd, q, s, samp,
23
+ small, strike, strong, sub, sup, tt, var,
24
+ b, u, i, center,
25
+ dl, dt, dd, ol, ul, li,
26
+ fieldset, form, label, legend,
27
+ table, caption, tbody, tfoot, thead, tr, th, td,
28
+ article, aside, canvas, details, embed,
29
+ figure, figcaption, footer, header, hgroup,
30
+ menu, nav, output, ruby, section, summary,
31
+ time, mark, audio, video {
32
+ border: 0;
33
+ font-size: 100%;
34
+ }
35
+
36
+ html, body, div, span, applet, object, iframe,
37
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
38
+ a, abbr, acronym, address, big, cite, code,
39
+ del, dfn, em, img, ins, kbd, q, s, samp,
40
+ small, strike, strong, tt, var,
41
+ b, u, i, center,
42
+ dl, dd, ol, ul, li,
43
+ fieldset, form, label, legend,
44
+ table, caption, tbody, tfoot, thead, tr, th, td,
45
+ article, aside, canvas, details, embed,
46
+ figure, figcaption, footer, header, hgroup,
47
+ menu, nav, output, ruby, section, summary,
48
+ time, mark, audio, video {
49
+ vertical-align: baseline;
50
+ }
51
+
52
+ html, body, div, span, applet, object, iframe,
53
+ p, blockquote,
54
+ a, abbr, acronym, address, big, cite,
55
+ del, dfn, em, img, ins, q, s,
56
+ small, strike, strong, sub, sup, var,
57
+ b, u, i, center,
58
+ dl, dt, 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
+ font-family: {{bodyfont}};
66
+ }
67
+
68
+ code, pre, tt, kbd, samp {
69
+ font-family: {{monospacefont}};
70
+ font-variant-ligatures: none;
71
+ }
72
+
73
+ code *, pre *, tt *, kbd *, samp * {
74
+ font-family: {{monospacefont}} !important;
75
+ font-variant-ligatures: none;
76
+ }
77
+
78
+ p code, dt code, li code, label code, legend code, caption code, th code, td code,
79
+ p tt, dt tt, li tt, label tt, legend tt, caption tt, th tt, td tt,
80
+ p kbd, dt kbd, li kbd, label kbd, legend kbd, caption kbd, th kbd, td kbd,
81
+ p samp, dt samp, li samp, label samp, legend samp, caption samp, th samp, td samp {
82
+ font-size: {{monospacefontsize}};
83
+ }
84
+
85
+ sub, sup {
86
+ font-size: 0.75em;
87
+ }
88
+
89
+ article, aside, details, figcaption, figure,
90
+ footer, header, hgroup, menu, nav, section {
91
+ display: block;
92
+ }
93
+
94
+ table {
95
+ border-collapse: collapse;
96
+ border-spacing: 0;
97
+ }
98
+
99
+ h1, h2, h3, h4, h5, h6 {
100
+ font-family: {{headerfont}};
101
+ }
102
+
103
+ .h1, .h2, .h3, .h4, .h5, .h6 {
104
+ font-family: {{headerfont}};
105
+ }
106
+
107
+ blockquote, q {
108
+ quotes: none;
109
+ }
110
+ blockquote::before, blockquote::after, q::before, q::after {
111
+ content: "";
112
+ content: none;
113
+ }
114
+
115
+ .h2Annex {
116
+ font-family: {{headerfont}};
117
+ }
118
+
119
+ dl {
120
+ display: grid;
121
+ grid-template-columns: max-content auto;
122
+ }
123
+ dl dt p, dl dd p {
124
+ margin-top: 0;
125
+ }
126
+ dl dt {
127
+ grid-column-start: 1;
128
+ }
129
+ dl dd {
130
+ grid-column-start: 2;
131
+ }
132
+
133
+ b, strong {
134
+ font-weight: bold;
135
+ }
136
+
137
+ div.document-stage-band, div.document-type-band {
138
+ background-color: #333333;
139
+ }
140
+
141
+ a.FootnoteRef + a.FootnoteRef::before {
142
+ content: ", ";
143
+ vertical-align: super;
144
+ }
145
+
146
+ a.TableFootnoteRef + a.TableFootnoteRef::before {
147
+ content: ", ";
148
+ vertical-align: super;
149
+ }
150
+
151
+ a.TableFootnoteRef, span.TableFootnoteRef,
152
+ a.FootnoteRef, span.FootnoteRef {
153
+ vertical-align: super;
154
+ }
155
+
156
+ .addition {
157
+ color: blue;
158
+ }
159
+
160
+ .deletion {
161
+ color: red;
162
+ text-decoration: line-through;
163
+ }
164
+
165
+ ruby {
166
+ ruby-position: over;
167
+ -webkit-ruby-position: before;
168
+ }
169
+
170
+ ruby ruby {
171
+ ruby-position: under;
172
+ -webkit-ruby-position: after;
173
+ }
174
+
175
+ /* code highlighting with line numbers */
176
+ table.rouge-line-table td.rouge-gutter {
177
+ -moz-user-select: none;
178
+ -ms-user-select: none;
179
+ -webkit-user-select: none;
180
+ user-select: none;
181
+ padding-right: 1em;
182
+ }
183
+
184
+ table.rouge-line-table td.rouge-code {
185
+ -moz-user-select: all;
186
+ -ms-user-select: all;
187
+ -webkit-user-select: all;
188
+ user-select: all;
189
+ }
190
+
191
+ table.rouge-line-table,
192
+ table.rouge-line-table th,
193
+ table.rouge-line-table td {
194
+ width: auto;
195
+ border: none;
196
+ margin: 0;
197
+ padding: 0;
198
+ font-size: 100%;
199
+ }
200
+
201
+ table.rouge-line-table pre {
202
+ margin: 0;
203
+ padding: 0;
204
+ overflow-x: visible;
205
+ font-size: 100%;
206
+ }
207
+
208
+ /* header § links */
209
+ a.header {
210
+ color: inherit;
211
+ text-decoration: none;
212
+ }
213
+
214
+ a.header:hover {
215
+ color: #a53221 !important;
216
+ background: inherit;
217
+ box-shadow: none;
218
+ }
219
+
220
+ a.header:visited {
221
+ color: inherit;
222
+ text-decoration: none;
223
+ }
224
+
225
+ a.anchor {
226
+ position: absolute;
227
+ z-index: 1001;
228
+ width: 1.5ex;
229
+ margin-left: -1.5ex;
230
+ display: block;
231
+ text-decoration: none !important;
232
+ visibility: hidden;
233
+ text-align: center;
234
+ font-weight: 400;
235
+ }
236
+
237
+ a.anchor::before {
238
+ content: "§";
239
+ font-size: 0.85em;
240
+ display: block;
241
+ padding-top: 0.1em;
242
+ }
243
+
244
+ a.anchor:hover {
245
+ color: #a53221;
246
+ background: inherit;
247
+ box-shadow: none;
248
+ }
249
+
250
+ h1 > a.anchor:hover,
251
+ h2 > a.anchor:hover,
252
+ h3 > a.anchor:hover,
253
+ h4 > a.anchor:hover,
254
+ h5 > a.anchor:hover,
255
+ h6 > a.anchor:hover,
256
+ .inline-header > a.anchor:hover,
257
+ h1:hover > a.anchor,
258
+ h2:hover > a.anchor,
259
+ h3:hover > a.anchor,
260
+ h4:hover > a.anchor,
261
+ h5:hover > a.anchor,
262
+ h6:hover > a.anchor,
263
+ .inline-header:hover > a.anchor {
264
+ visibility: visible;
265
+ }
266
+
267
+ /* collapsible snippets: collapsible before hidable */
268
+ .hidable {
269
+ max-height: 0;
270
+ overflow: hidden;
271
+ transition: max-height 0.2s ease-out;
272
+ }
273
+
274
+ .collapsible {
275
+ background-color: #777;
276
+ color: white;
277
+ cursor: pointer;
278
+ padding: 3px 0;
279
+ margin: 0;
280
+ width: 100%;
281
+ border: none;
282
+ text-align: left;
283
+ outline: none;
284
+ font-size: 15px;
285
+ }
286
+
287
+ .active, .collapsible:hover {
288
+ background-color: #555;
289
+ }
290
+
291
+ .collapsible:after {
292
+ content: "▼";
293
+ color: white;
294
+ font-weight: bold;
295
+ float: right;
296
+ margin-left: 12px;
297
+ margin-right: 12px;
298
+ }
299
+
300
+ .active:after {
301
+ content: "▲";
302
+ }
303
+
304
+ /* collapsible: */
305
+ .collapsible + .hidable {
306
+ margin-top: 0;
307
+ }
308
+
309
+ .collapsible:not(.active) + .hidable {
310
+ overflow: hidden;
311
+ padding: 0;
312
+ }
File without changes
@@ -1,3 +1,3 @@
1
1
  module IsoDoc
2
- VERSION = "3.0.4".freeze
2
+ VERSION = "3.1.0".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isodoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.4
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-03 00:00:00.000000000 Z
11
+ date: 2025-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64
@@ -294,16 +294,16 @@ dependencies:
294
294
  name: sassc-embedded
295
295
  requirement: !ruby/object:Gem::Requirement
296
296
  requirements:
297
- - - '='
297
+ - - "~>"
298
298
  - !ruby/object:Gem::Version
299
- version: 1.54.0
299
+ version: '1'
300
300
  type: :development
301
301
  prerelease: false
302
302
  version_requirements: !ruby/object:Gem::Requirement
303
303
  requirements:
304
- - - '='
304
+ - - "~>"
305
305
  - !ruby/object:Gem::Version
306
- version: 1.54.0
306
+ version: '1'
307
307
  - !ruby/object:Gem::Dependency
308
308
  name: simplecov
309
309
  requirement: !ruby/object:Gem::Requirement
@@ -375,16 +375,25 @@ files:
375
375
  - lib/isodoc-yaml/i18n-ru.yaml
376
376
  - lib/isodoc-yaml/i18n-zh-Hans.yaml
377
377
  - lib/isodoc.rb
378
+ - lib/isodoc/base_style/all.css
378
379
  - lib/isodoc/base_style/all.scss
380
+ - lib/isodoc/base_style/bands.css
379
381
  - lib/isodoc/base_style/bands.scss
382
+ - lib/isodoc/base_style/blocks.css
380
383
  - lib/isodoc/base_style/blocks.scss
384
+ - lib/isodoc/base_style/coverpage.css
381
385
  - lib/isodoc/base_style/coverpage.scss
386
+ - lib/isodoc/base_style/defaults.css
382
387
  - lib/isodoc/base_style/defaults.scss
388
+ - lib/isodoc/base_style/metanorma_word.css
383
389
  - lib/isodoc/base_style/metanorma_word.scss
390
+ - lib/isodoc/base_style/nav.css
384
391
  - lib/isodoc/base_style/nav.scss
392
+ - lib/isodoc/base_style/reset.css
385
393
  - lib/isodoc/base_style/reset.scss
386
394
  - lib/isodoc/base_style/rouge.css
387
395
  - lib/isodoc/base_style/scripts.html
396
+ - lib/isodoc/base_style/typography.css
388
397
  - lib/isodoc/base_style/typography.scss
389
398
  - lib/isodoc/class_utils.rb
390
399
  - lib/isodoc/common.rb