metanorma-un 0.8.0 → 0.8.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: 870fc2e2963cf5fca7b05792198da7b3bc75f77fe888ca5cff74e915ddfddb4a
4
- data.tar.gz: 41f55d87269a2ca2c2a13f26e5d25f0f456f1ad61235ee3e844507e23b52f8bf
3
+ metadata.gz: 5ac4adba52174fc7226d97f9c8a0afad7ac4d05c65b707b1aa4e169f6587d852
4
+ data.tar.gz: 0fd140c9e0047fb2e0d1f82525a2f5a2604f23be0ea0f04339fcc03674189bee
5
5
  SHA512:
6
- metadata.gz: 25d58270c7247947460d83c45fddf7d9c3eea82e7a1fcef57e570109a760519739644c33cf8051fa47207d45fc7bcc64d7502d73a5bb57a6e5c290831a637336
7
- data.tar.gz: d33dabc50fc6ef9bb557124de38928735da14daf2c258aafbf2307fb40517e961e4882b7316cc6c67dd0528d09ee617401d35e9047322b3a4c6c827aced7f8ee
6
+ metadata.gz: 61390463399b2a5739fa5be940069cd86eedd454abaedcb6546e98f7250251766a8ba3114a88428d0fb92023e2372015469f47c722e41090b08611b434be6021
7
+ data.tar.gz: 61625f92fd2fd73efb7ef5b3298d097e2a952407dd2d5c9b38b0ebc8fea50d6549baba9df2c11c598971ac5e52be02bf53b8dd4a687143e4a605595eda8ce7ce
@@ -264,58 +264,65 @@ p {
264
264
  /*
265
265
  2. Responsive navigation layout
266
266
  */
267
- #toc {
267
+ #toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
268
268
  font-family: {{bodyfont}};
269
269
  font-weight: 400; }
270
- #toc ul {
270
+ #toc ul, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul {
271
271
  margin: 0;
272
272
  padding: 0;
273
273
  list-style: none; }
274
- #toc ul li a {
274
+ #toc ul li a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul li a {
275
275
  padding: 5px 10px; }
276
- #toc ul a {
276
+ #toc ul a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a {
277
277
  color: #333;
278
278
  text-decoration: none;
279
279
  display: block; }
280
- #toc ul a:hover {
280
+ #toc ul a:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
281
281
  box-shadow: none;
282
282
  color: #333; }
283
- #toc .h2 {
283
+ #toc .h2, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h2 {
284
284
  padding-left: 30px; }
285
- #toc .h3 {
285
+ #toc .h3, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h3 {
286
286
  padding-left: 50px; }
287
- #toc .toc-active, #toc li:hover {
287
+ #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 {
288
288
  background: #1661ad;
289
289
  box-shadow: inset -5px 0px 10px -5px #1661ad !important; }
290
- #toc .toc-active a, #toc li:hover a {
290
+ #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 {
291
291
  color: #333; }
292
292
  @media print {
293
- #toc .toc-active, #toc li:hover {
293
+ #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 {
294
294
  background: white;
295
295
  box-shadow: none !important; }
296
- #toc .toc-active a {
296
+ #toc .toc-active a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a {
297
297
  color: #333; }
298
- #toc li:hover a {
298
+ #toc li:hover a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
299
299
  color: black; } }
300
300
  @media screen and (max-width: 768px) {
301
- #toc {
301
+ #toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
302
302
  padding: 0 1.5em;
303
303
  overflow: visible; } }
304
- #toc .toc-active a {
304
+ #toc .toc-active a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a {
305
305
  color: white; }
306
306
  #toc .toc-active,
307
- #toc li:hover {
307
+ #toc li:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active,
308
+ #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
308
309
  background: linear-gradient(280deg, #00ADEF, #5b92e5);
309
310
  box-shadow: inset -5px 0px 10px -5px #00ADEF !important; }
310
311
  #toc .toc-active a,
311
- #toc li:hover a {
312
+ #toc li:hover a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a,
313
+ #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
312
314
  color: white;
313
315
  background: none;
314
316
  box-shadow: none; }
315
- #toc ul a:hover {
317
+ #toc ul a:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
316
318
  box-shadow: none;
317
319
  color: white; }
318
320
 
321
+ #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
322
+ margin-top: 0;
323
+ margin-bottom: 0;
324
+ font-size: 100%; }
325
+
319
326
  @media screen and (min-width: 768px) {
320
327
  nav {
321
328
  position: fixed;
@@ -369,7 +376,7 @@ p {
369
376
  display: none; }
370
377
  h1.toc-contents {
371
378
  margin-top: 1em; }
372
- ul#toc-list {
379
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
373
380
  margin: 0;
374
381
  padding: 0; } }
375
382
 
@@ -74,7 +74,7 @@ p {
74
74
  2. Responsive navigation layout
75
75
  */
76
76
 
77
- #toc {
77
+ #toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
78
78
  @include toc($un-text, $un-toc, $un-text);
79
79
  @include sidebarToc();
80
80
 
@@ -102,6 +102,12 @@ p {
102
102
  }
103
103
  }
104
104
 
105
+ #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
106
+ margin-top: 0;
107
+ margin-bottom: 0;
108
+ font-size: 100%;
109
+ }
110
+
105
111
  nav {
106
112
  @include sidebarNav(#f2f2f2, 323px, 45px);
107
113
  }
@@ -123,7 +129,7 @@ nav {
123
129
  margin-top: 1em;
124
130
  }
125
131
 
126
- ul#toc-list {
132
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
127
133
  margin: 0;
128
134
  padding: 0;
129
135
  }
@@ -797,8 +797,7 @@ div.example p.MsoListParagraph {
797
797
  font-size: {{smallerfontsize}}; }
798
798
 
799
799
  div.Note p.MsoListParagraph {
800
- font-size: {{smallerfontsize}};
801
- margin-left: 1.0cm; }
800
+ font-size: {{smallerfontsize}}; }
802
801
 
803
802
  div.Note span.stem {
804
803
  font-size: {{smallerfontsize}}; }
@@ -776,7 +776,6 @@ div.example p.MsoListParagraph {
776
776
 
777
777
  div.Note p.MsoListParagraph {
778
778
  font-size: $smallerfontsize;
779
- margin-left: 1.0cm;
780
779
  }
781
780
 
782
781
  div.Note span.stem {