metanorma-iho 0.5.0 → 0.5.4

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: fb1420f3aac9bfe4e2c2cac59d9cc6e208624c72152a59a5532d3a9ddff0d5de
4
+ data.tar.gz: d3ae99d63dd7fac2df165af9e2cb51c2a75f78742d5253736caa79d7a869b1cb
5
5
  SHA512:
6
- metadata.gz: '048b316ef1689e16aa924af0b3b868c725dc64c3d36142c74adecd5c01a4a8c696250d9fbe4f3dfdfc835bd3f8b8185a9d9c20aa5bb2bed4b23c51791dca4b19'
7
- data.tar.gz: c55b5acea52a9d45aa69eb970ea689e8375b5241a4c05486d020e44628a4ae70b8e8ae9c09e96ab801078cb5925e6aabef7427ce442f603751fee092f456b27b
6
+ metadata.gz: f56a3773a9bdbcd18758df578ef2433f50af7c5f59d54d9a01e36e37c7ab215131c7690bc57a549c4f2c171e7e3377b052cd9c46ed43a76aba085307f31bab39
7
+ data.tar.gz: 9a2a67a634abc5eaffe3525f26adcae10e84e79adb9f63e0bbb0ddcbe8d1cff95e85dc2710045691c5ce6d46fb937ec5714ccefe9887f6fb1119a2d4ea417fad
@@ -248,51 +248,56 @@ 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
+ font-size: 100%; }
300
+
296
301
  @media screen and (min-width: 768px) {
297
302
  nav {
298
303
  position: fixed;
@@ -377,7 +382,7 @@ main {
377
382
  display: none; }
378
383
  h1.toc-contents {
379
384
  margin-top: 1em; }
380
- ul#toc-list {
385
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
381
386
  padding: 0;
382
387
  margin: 0; } }
383
388
 
@@ -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,12 @@ 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
+ font-size: 100%;
45
+ }
46
+
41
47
  nav {
42
48
  @include sidebarNav(#f7f7f7, 323px, 45px);
43
49
  }
@@ -72,7 +78,7 @@ nav {
72
78
  margin-top: 1em;
73
79
  }
74
80
 
75
- ul#toc-list {
81
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
76
82
  padding: 0;
77
83
  margin: 0;
78
84
  }
@@ -785,8 +785,7 @@ div.example p.MsoListParagraph {
785
785
  font-size: {{smallerfontsize}}; }
786
786
 
787
787
  div.Note p.MsoListParagraph {
788
- font-size: {{smallerfontsize}};
789
- margin-left: 1.0cm; }
788
+ font-size: {{smallerfontsize}}; }
790
789
 
791
790
  div.Note span.stem {
792
791
  font-size: {{smallerfontsize}}; }
@@ -744,7 +744,6 @@ div.example p.MsoListParagraph {
744
744
 
745
745
  div.Note p.MsoListParagraph {
746
746
  font-size: $smallerfontsize;
747
- margin-left: 1.0cm;
748
747
  }
749
748
 
750
749
  div.Note span.stem {