metanorma-iho 0.5.0 → 0.5.1

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: 4082060ac60fbd1e8eba4fcf79e0591b0e41b8efe8977c1ace2a00ed3c37d1e5
4
- data.tar.gz: 58176a042041336c07803e46439ebc0ef095c84353db29847669aea5ceeeedb6
3
+ metadata.gz: 4612e6f0572641c8bb7d4cd0fea31d29f08f22a2a91769f6672de6bf5f3b9537
4
+ data.tar.gz: 521bdd5d699fa4366321944b71e58eef8d99b84aa32939b34170d0c601645f15
5
5
  SHA512:
6
- metadata.gz: '048b316ef1689e16aa924af0b3b868c725dc64c3d36142c74adecd5c01a4a8c696250d9fbe4f3dfdfc835bd3f8b8185a9d9c20aa5bb2bed4b23c51791dca4b19'
7
- data.tar.gz: c55b5acea52a9d45aa69eb970ea689e8375b5241a4c05486d020e44628a4ae70b8e8ae9c09e96ab801078cb5925e6aabef7427ce442f603751fee092f456b27b
6
+ metadata.gz: fbe8526f702770249d451bad836eb969a395ec48807f503de3f3bb6ee50d151f6d5e5960813574ec96038249f9d1d792b626e3c6fa4763e94e2553d88ba19f97
7
+ data.tar.gz: 482dba99416e23f4e93ecab8a96a107a4577f3897cf1f1df6460277baf0cdd340f6108169a8de6cbfb35aeb36bfed450bcb2eb172bd9443299269399d088e666
@@ -248,51 +248,55 @@ body {
248
248
  main {
249
249
  margin: 0 3em 0 6em; }
250
250
 
251
- #toc {
251
+ #toc, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
252
252
  font-family: {{bodyfont}};
253
253
  font-weight: 400; }
254
- #toc ul {
254
+ #toc ul, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul {
255
255
  margin: 0;
256
256
  padding: 0;
257
257
  list-style: none; }
258
- #toc ul li a {
258
+ #toc ul li a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul li a {
259
259
  padding: 5px 10px; }
260
- #toc ul a {
260
+ #toc ul a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a {
261
261
  color: #05164d;
262
262
  text-decoration: none;
263
263
  display: block; }
264
- #toc ul a:hover {
264
+ #toc ul a:hover, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
265
265
  box-shadow: none;
266
266
  color: #05164d; }
267
- #toc .h2 {
267
+ #toc .h2, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .h2 {
268
268
  padding-left: 30px; }
269
- #toc .h3 {
269
+ #toc .h3, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .h3 {
270
270
  padding-left: 50px; }
271
- #toc .toc-active, #toc li:hover {
271
+ #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 {
272
272
  background: #fedc5b;
273
273
  box-shadow: inset -5px 0px 10px -5px #fedc5b !important; }
274
- #toc .toc-active a, #toc li:hover a {
274
+ #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 {
275
275
  color: #05164d; }
276
276
  @media print {
277
- #toc .toc-active, #toc li:hover {
277
+ #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 {
278
278
  background: white;
279
279
  box-shadow: none !important; }
280
- #toc .toc-active a {
280
+ #toc .toc-active a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a {
281
281
  color: #05164d; }
282
- #toc li:hover a {
282
+ #toc li:hover a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
283
283
  color: black; } }
284
284
  @media screen and (max-width: 768px) {
285
- #toc {
285
+ #toc, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
286
286
  padding: 0 1.5em;
287
287
  overflow: visible; } }
288
- #toc .toc-active a {
288
+ #toc .toc-active a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a {
289
289
  color: #05164d; }
290
- #toc li a {
290
+ #toc li a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li a {
291
291
  text-transform: uppercase; }
292
- #toc ul a:hover {
292
+ #toc ul a:hover, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
293
293
  box-shadow: none;
294
294
  color: #05164d; }
295
295
 
296
+ #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
297
+ margin-top: 0;
298
+ margin-bottom: 0; }
299
+
296
300
  @media screen and (min-width: 768px) {
297
301
  nav {
298
302
  position: fixed;
@@ -377,7 +381,7 @@ main {
377
381
  display: none; }
378
382
  h1.toc-contents {
379
383
  margin-top: 1em; }
380
- ul#toc-list {
384
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
381
385
  padding: 0;
382
386
  margin: 0; } }
383
387
 
@@ -18,7 +18,7 @@ main {
18
18
  margin: 0 3em 0 6em;
19
19
  }
20
20
 
21
- #toc {
21
+ #toc, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
22
22
  @include toc(#05164d, #fedc5b, #05164d);
23
23
  @include sidebarToc();
24
24
 
@@ -38,6 +38,11 @@ main {
38
38
  }
39
39
  }
40
40
 
41
+ #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
42
+ margin-top: 0;
43
+ margin-bottom: 0;
44
+ }
45
+
41
46
  nav {
42
47
  @include sidebarNav(#f7f7f7, 323px, 45px);
43
48
  }
@@ -72,7 +77,7 @@ nav {
72
77
  margin-top: 1em;
73
78
  }
74
79
 
75
- ul#toc-list {
80
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
76
81
  padding: 0;
77
82
  margin: 0;
78
83
  }