metanorma-iec 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: 987a5334c5d941aa6ff1eac64f0b8edc6eb8958fdff9950d1af258e64a8b4664
4
- data.tar.gz: 47cae3021910adfe22bffa239954953e4855a1761d23b3b60a1ad2c747ef4f25
3
+ metadata.gz: 5617a52839fd8bbf4b1206b15758ad40837e347086f4cc3b4464b3234569316c
4
+ data.tar.gz: 79eed9d40be90fff9c0b6e67dd23b8f284b2451445a852237044e1fac05830b3
5
5
  SHA512:
6
- metadata.gz: 81403aa9928d89f6dcf70efe826c4e973a2b8eb6bf0b072463d07de91d723bd89b27244fa14b45fd6873dbb3ec10c7681762528d3ab878838b79cbd553fd3604
7
- data.tar.gz: 1a7f54fb482fef04f0ab1fa9107a82e09b0e40c093477c797205a4475e317f39192d525fa467aad44f6ded89b90960a5919e01254670f7a30483659e05e6bae4
6
+ metadata.gz: e51f50f3b61bceec62e3d5704ce71b025e1a3d6e24f8412b637a974618eaa488805c0def7524774b14b82fbaafa3324940d0c833027db169a59b9668c8259b98
7
+ data.tar.gz: 228d4604e588b363afdf2099db6a6fe466e3e98c8d61438dc1da5e66ed4765630a7339d6255d5a6d21203178a1ea92c278186f8c46e6037a8f1988408c729c3f
@@ -426,52 +426,57 @@ p.TermNum {
426
426
  #toggle {
427
427
  display: none; } }
428
428
 
429
- #toc {
429
+ #toc, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
430
430
  font-family: {{bodyfont}};
431
431
  font-weight: 400; }
432
- #toc ul {
432
+ #toc ul, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul {
433
433
  margin: 0;
434
434
  padding: 0;
435
435
  list-style: none; }
436
- #toc ul li a {
436
+ #toc ul li a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul li a {
437
437
  padding: 5px 10px; }
438
- #toc ul a {
438
+ #toc ul a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a {
439
439
  color: black;
440
440
  text-decoration: none;
441
441
  display: block; }
442
- #toc ul a:hover {
442
+ #toc ul a:hover, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
443
443
  box-shadow: none;
444
444
  color: black; }
445
- #toc .h2 {
445
+ #toc .h2, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .h2 {
446
446
  padding-left: 30px; }
447
- #toc .h3 {
447
+ #toc .h3, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .h3 {
448
448
  padding-left: 50px; }
449
- #toc .toc-active, #toc li:hover {
449
+ #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 {
450
450
  background: black;
451
451
  box-shadow: inset -5px 0px 10px -5px black !important; }
452
- #toc .toc-active a, #toc li:hover a {
452
+ #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 {
453
453
  color: black; }
454
454
  @media print {
455
- #toc .toc-active, #toc li:hover {
455
+ #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 {
456
456
  background: white;
457
457
  box-shadow: none !important; }
458
- #toc .toc-active a {
458
+ #toc .toc-active a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a {
459
459
  color: black; }
460
- #toc li:hover a {
460
+ #toc li:hover a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
461
461
  color: black; } }
462
462
  @media screen and (max-width: 768px) {
463
- #toc {
463
+ #toc, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
464
464
  padding: 0 1.5em;
465
465
  overflow: visible; } }
466
466
  #toc .toc-active,
467
- #toc li:hover {
467
+ #toc li:hover, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active,
468
+ #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
468
469
  box-shadow: 0px 1px 0px 0px black !important;
469
470
  color: black;
470
471
  background: none; }
471
- #toc ul a:hover {
472
+ #toc ul a:hover, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
472
473
  box-shadow: none;
473
474
  color: black; }
474
475
 
476
+ #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
477
+ margin-top: 0;
478
+ margin-bottom: 0; }
479
+
475
480
  @media screen and (min-width: 768px) {
476
481
  nav {
477
482
  line-height: 1.2em; }
@@ -485,7 +490,7 @@ p.TermNum {
485
490
  display: none; }
486
491
  h1.toc-contents {
487
492
  margin-top: 1em; }
488
- ul#toc-list {
493
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
489
494
  padding: 0;
490
495
  margin: 0; } }
491
496
 
@@ -205,7 +205,7 @@ nav {
205
205
  @include sidebarNavToggle(black, #f5faff)
206
206
  }
207
207
 
208
- #toc {
208
+ #toc, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
209
209
  @include toc(black, black, black);
210
210
  @include sidebarToc();
211
211
 
@@ -224,6 +224,11 @@ nav {
224
224
  }
225
225
  }
226
226
 
227
+ #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
228
+ margin-top: 0;
229
+ margin-bottom: 0;
230
+ }
231
+
227
232
  @media screen and (min-width: 768px) {
228
233
  nav {
229
234
  line-height: 1.2em;
@@ -247,7 +252,7 @@ nav {
247
252
  margin-top: 1em;
248
253
  }
249
254
 
250
- ul#toc-list {
255
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
251
256
  padding:0;
252
257
  margin:0;
253
258
  }
@@ -18,7 +18,7 @@ term_def_boilerplate: |
18
18
  <link target="http://www.iso.org/obp"/></p> </li>
19
19
  </ul>
20
20
  doctype_dict:
21
- international-standard: Norme international
21
+ international-standard: Norme internationale
22
22
  technical-specification: Spécification technique
23
23
  technical-report: Rapport technique
24
24
  publicly-available-specification: Spécification disponible publiquement