metanorma-iso 2.0.0 → 2.0.1

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: b0023b1a033a6e07c83e9a8cfdd728953c7d8597e86f75beb7e1001b62d34639
4
- data.tar.gz: c43bcc058f114a0223f165c94d11e490aa77782a45d044522a67203f2bd256ba
3
+ metadata.gz: c0699248b19776f1e62c01bf1eda7277d951518a3fd75a73ff2efcee5e5f912e
4
+ data.tar.gz: 0007e43445ba59d8795eab2cb923cf23aa5622d4837850978febbeef7ec9837e
5
5
  SHA512:
6
- metadata.gz: 4d3ffdecf7a8a834e38a1ae0da77a0945638e07656fe95f0f66a28ab05fb9be467754235006a45c66382ac043c59d2989b3bfae232d7990397a07a06902791eb
7
- data.tar.gz: f779a1138797276f389dbf08f88b4191d444fcab194d577a4baf77ac98d1bb1a63a113f101ad0a9b5a3a99ac2d6bb3170d2103cac8ecef2e61fb40fcd392cf2d
6
+ metadata.gz: 3c51b03f8e485be1b90216b994fce5e316dcf0398fd0e8c07f66affd982a8e5055f440b0308ae622d01aa0742290662330eb68fcc7f7966c085746badd20f691
7
+ data.tar.gz: 7dbe12e4a1b2f0f3f43c1bf9cc3df2f22ea95401c7612635b79960288438eb03a3293e5efa5257502eb9b976840146034fb22fdf0ee65c9e64a1057bb4afc32f
@@ -443,44 +443,48 @@ p.Terms {
443
443
  margin-top: 0em; }
444
444
 
445
445
  /* Navigation*/
446
- #toc {
446
+ #toc, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
447
447
  font-family: {{bodyfont}};
448
448
  font-weight: 400; }
449
- #toc ul {
449
+ #toc ul, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul {
450
450
  margin: 0;
451
451
  padding: 0;
452
452
  list-style: none; }
453
- #toc ul li a {
453
+ #toc ul li a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul li a {
454
454
  padding: 5px 10px; }
455
- #toc ul a {
455
+ #toc ul a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a {
456
456
  text-decoration: none;
457
457
  display: block; }
458
- #toc ul a:hover {
458
+ #toc ul a:hover, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
459
459
  box-shadow: none;
460
460
  color: white; }
461
- #toc .h2 {
461
+ #toc .h2, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .h2 {
462
462
  padding-left: 30px; }
463
- #toc .h3 {
463
+ #toc .h3, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .h3 {
464
464
  padding-left: 50px; }
465
- #toc .toc-active, #toc li:hover {
465
+ #toc .toc-active, #toc li:hover, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
466
466
  background: #1d1d1d;
467
467
  box-shadow: inset -5px 0px 10px -5px #1d1d1d !important; }
468
- #toc .toc-active a, #toc li:hover a {
468
+ #toc .toc-active a, #toc li:hover a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
469
469
  color: white; }
470
470
  @media print {
471
- #toc .toc-active, #toc li:hover {
471
+ #toc .toc-active, #toc li:hover, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
472
472
  background: white;
473
473
  box-shadow: none !important; }
474
- #toc li:hover a {
474
+ #toc li:hover a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
475
475
  color: black; } }
476
476
  @media screen and (max-width: 768px) {
477
- #toc {
477
+ #toc, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
478
478
  padding: 0 1.5em;
479
479
  overflow: visible; } }
480
- #toc li:before {
480
+ #toc li:before, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:before {
481
481
  content: " ";
482
482
  display: none; }
483
483
 
484
+ #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
485
+ margin-top: 0;
486
+ margin-bottom: 0; }
487
+
484
488
  nav {
485
489
  line-height: 1.2em; }
486
490
  @media screen and (min-width: 768px) {
@@ -534,7 +538,7 @@ nav {
534
538
  display: none; }
535
539
  h1.toc-contents {
536
540
  margin-top: 1em; }
537
- ul#toc-list {
541
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
538
542
  padding: 0;
539
543
  margin: 0; } }
540
544
 
@@ -259,7 +259,7 @@ p.Terms {
259
259
 
260
260
  /* Navigation*/
261
261
 
262
- #toc {
262
+ #toc, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
263
263
  @include toc(null, #1d1d1d, white);
264
264
  @include sidebarToc();
265
265
 
@@ -275,6 +275,11 @@ p.Terms {
275
275
  }
276
276
  }
277
277
 
278
+ #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
279
+ margin-top: 0;
280
+ margin-bottom: 0;
281
+ }
282
+
278
283
  nav {
279
284
  @include sidebarNav(#f7f7f7, 278px, 20px);
280
285
  line-height: 1.2em;
@@ -299,7 +304,7 @@ nav {
299
304
  margin-top: 1em;
300
305
  }
301
306
 
302
- ul#toc-list {
307
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
303
308
  padding: 0;
304
309
  margin: 0;
305
310
  }
@@ -390,48 +390,53 @@ p.Terms {
390
390
  margin-top: 0em; }
391
391
 
392
392
  /* Navigation*/
393
- #toc {
393
+ #toc, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
394
394
  font-family: {{bodyfont}};
395
395
  font-weight: 400; }
396
- #toc ul {
396
+ #toc ul, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul {
397
397
  margin: 0;
398
398
  padding: 0;
399
399
  list-style: none; }
400
- #toc ul li a {
400
+ #toc ul li a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul li a {
401
401
  padding: 5px 10px; }
402
- #toc ul a {
402
+ #toc ul a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a {
403
403
  text-decoration: none;
404
404
  display: block; }
405
- #toc ul a:hover {
405
+ #toc ul a:hover, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
406
406
  box-shadow: none;
407
407
  color: black; }
408
- #toc .h2 {
408
+ #toc .h2, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .h2 {
409
409
  padding-left: 30px; }
410
- #toc .h3 {
410
+ #toc .h3, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .h3 {
411
411
  padding-left: 50px; }
412
- #toc .toc-active, #toc li:hover {
412
+ #toc .toc-active, #toc li:hover, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
413
413
  background: #f7f7f7;
414
414
  box-shadow: inset -5px 0px 10px -5px #f7f7f7 !important; }
415
- #toc .toc-active a, #toc li:hover a {
415
+ #toc .toc-active a, #toc li:hover a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
416
416
  color: black; }
417
417
  @media print {
418
- #toc .toc-active, #toc li:hover {
418
+ #toc .toc-active, #toc li:hover, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
419
419
  background: white;
420
420
  box-shadow: none !important; }
421
- #toc li:hover a {
421
+ #toc li:hover a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
422
422
  color: black; } }
423
423
  @media screen and (max-width: 768px) {
424
- #toc {
424
+ #toc, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
425
425
  padding: 0 1.5em;
426
426
  overflow: visible; } }
427
427
  #toc .toc-active,
428
- #toc li:hover {
428
+ #toc li:hover, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active,
429
+ #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
429
430
  box-shadow: 0px 1px 0px 0px black !important;
430
431
  background: none; }
431
- #toc li:before {
432
+ #toc li:before, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:before {
432
433
  content: " ";
433
434
  display: none; }
434
435
 
436
+ #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
437
+ margin-top: 0;
438
+ margin-bottom: 0; }
439
+
435
440
  nav {
436
441
  line-height: 1.2em; }
437
442
  @media screen and (min-width: 768px) {
@@ -486,7 +491,7 @@ nav {
486
491
  display: none; }
487
492
  h1.toc-contents {
488
493
  margin-top: 1em; }
489
- ul#toc-list {
494
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
490
495
  padding: 0;
491
496
  margin: 0; } }
492
497
 
@@ -198,7 +198,7 @@ p.Terms {
198
198
 
199
199
  /* Navigation*/
200
200
 
201
- #toc {
201
+ #toc, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
202
202
  @include toc(null, #f7f7f7, black);
203
203
  @include sidebarToc();
204
204
 
@@ -214,6 +214,12 @@ p.Terms {
214
214
  }
215
215
  }
216
216
 
217
+ #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
218
+ margin-top: 0;
219
+ margin-bottom: 0;
220
+ }
221
+
222
+
217
223
  nav {
218
224
  @include sidebarNav(#f7f7f7, 278px, 20px);
219
225
  line-height: 1.2em;
@@ -239,7 +245,7 @@ nav {
239
245
  margin-top: 1em;
240
246
  }
241
247
 
242
- ul#toc-list {
248
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
243
249
  padding:0;
244
250
  margin:0;
245
251
  }