metanorma-m3aawg 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: b66e5e9cc882d2d3d234a5195e736236a4208e868afc9fc43808cef0ce1e7471
4
- data.tar.gz: 02a788af432e5c08a854b1b4260c5239df579ad1b13e7020b1c0ebe12f921f58
3
+ metadata.gz: df998bd97a229006f4b26753caa187a9d876a9ece091ace845a8a5bd8dba26c1
4
+ data.tar.gz: 514d7c78a5469e22d43c2a9b678eff6a1affba14c64e9e6cb5c06b806f26f784
5
5
  SHA512:
6
- metadata.gz: f477dfd86753e50cb16f0231eb35c0e6b38f8ff4df933b61e187a185313be6a71cff839add70b00ebab20234bd0cd15d996a13f2dced49596ce5e1989c0746de
7
- data.tar.gz: 0f69e70b9e18c739f05670afe60b368576c080568639a92771c50529b8a437beb6343f21568a3c2f3140ac827516429c8e84ad84195570613e2b77fb57384bdd
6
+ metadata.gz: 3416a37d1ead07539b02527375d9bb889d85839ff61a6bd0b1cbf94c27901854adb2656c472f5b4e6d1d9c650d21f915a299f8310326bed11dbc0c05ae6c6e91
7
+ data.tar.gz: 8e7f3f16f644c4bdbdb8513aab020183291c577a999489176db711dcd3585f1fcf5239db48d22fb81cf1535bd74ca30c6b8c25231eb4104ee0c75073e9c5832d
@@ -261,48 +261,52 @@ main {
261
261
  div.colophon {
262
262
  margin: 0 3em 0 6em; }
263
263
 
264
- #toc {
264
+ #toc, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
265
265
  font-family: {{bodyfont}};
266
266
  font-weight: 400; }
267
- #toc ul {
267
+ #toc ul, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul {
268
268
  margin: 0;
269
269
  padding: 0;
270
270
  list-style: none; }
271
- #toc ul li a {
271
+ #toc ul li a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul li a {
272
272
  padding: 5px 10px; }
273
- #toc ul a {
273
+ #toc ul a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a {
274
274
  color: #69C5DC;
275
275
  text-decoration: none;
276
276
  display: block; }
277
- #toc ul a:hover {
277
+ #toc ul a:hover, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
278
278
  box-shadow: none;
279
279
  color: #69C5DC; }
280
- #toc .h2 {
280
+ #toc .h2, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .h2 {
281
281
  padding-left: 30px; }
282
- #toc .h3 {
282
+ #toc .h3, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .h3 {
283
283
  padding-left: 50px; }
284
- #toc .toc-active, #toc li:hover {
284
+ #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 {
285
285
  background: #69C5DC;
286
286
  box-shadow: inset -5px 0px 10px -5px #69C5DC !important; }
287
- #toc .toc-active a, #toc li:hover a {
287
+ #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 {
288
288
  color: #69C5DC; }
289
289
  @media print {
290
- #toc .toc-active, #toc li:hover {
290
+ #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 {
291
291
  background: white;
292
292
  box-shadow: none !important; }
293
- #toc .toc-active a {
293
+ #toc .toc-active a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a {
294
294
  color: #69C5DC; }
295
- #toc li:hover a {
295
+ #toc li:hover a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
296
296
  color: black; } }
297
297
  @media screen and (max-width: 768px) {
298
- #toc {
298
+ #toc, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
299
299
  padding: 0 1.5em;
300
300
  overflow: visible; } }
301
- #toc .toc-active a {
301
+ #toc .toc-active a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a {
302
302
  color: white; }
303
- #toc ul a:hover {
303
+ #toc ul a:hover, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
304
304
  color: white; }
305
305
 
306
+ #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
307
+ margin-top: 0;
308
+ margin-bottom: 0; }
309
+
306
310
  @media screen and (min-width: 768px) {
307
311
  nav {
308
312
  position: fixed;
@@ -386,7 +390,7 @@ div.colophon {
386
390
  display: none; }
387
391
  h1.toc-contents {
388
392
  margin-top: 1em; }
389
- ul#toc-list {
393
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
390
394
  padding: 0;
391
395
  margin: 0; }
392
396
  nav {
@@ -32,7 +32,7 @@ div.colophon {
32
32
  margin: 0 3em 0 6em;
33
33
  }
34
34
 
35
- #toc {
35
+ #toc, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
36
36
  @include toc(#69C5DC, #69C5DC, #69C5DC);
37
37
  @include sidebarToc();
38
38
 
@@ -47,6 +47,11 @@ div.colophon {
47
47
  }
48
48
  }
49
49
 
50
+ #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
51
+ margin-top: 0;
52
+ margin-bottom: 0;
53
+ }
54
+
50
55
  nav {
51
56
  @include sidebarNav(#f7f7f7, 323px, 45px);
52
57
  }
@@ -80,7 +85,7 @@ nav {
80
85
  margin-top: 1em;
81
86
  }
82
87
 
83
- ul#toc-list {
88
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
84
89
  padding: 0;
85
90
  margin: 0;
86
91
  }