metanorma-un 0.8.0 → 0.8.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: 870fc2e2963cf5fca7b05792198da7b3bc75f77fe888ca5cff74e915ddfddb4a
4
- data.tar.gz: 41f55d87269a2ca2c2a13f26e5d25f0f456f1ad61235ee3e844507e23b52f8bf
3
+ metadata.gz: 022c8bfa77e956809a62e1b8f76bd9aec9fdc5b67351e71ca36e614fc547d1d7
4
+ data.tar.gz: 4aa29619a182c4c7dde75fab499fe698c33daaf22da434413e5d2a642f20b764
5
5
  SHA512:
6
- metadata.gz: 25d58270c7247947460d83c45fddf7d9c3eea82e7a1fcef57e570109a760519739644c33cf8051fa47207d45fc7bcc64d7502d73a5bb57a6e5c290831a637336
7
- data.tar.gz: d33dabc50fc6ef9bb557124de38928735da14daf2c258aafbf2307fb40517e961e4882b7316cc6c67dd0528d09ee617401d35e9047322b3a4c6c827aced7f8ee
6
+ metadata.gz: aac81c6a10b3d4b03fe0e1a43fee00a7cabf96e85bf8024108b45734c756335147c4a9a96233639535190b1e66f2004d69052c179e11e23c2e3d994bc11818b9
7
+ data.tar.gz: f23dc0eff7c0f43330c97411bdc95ef5f38741610a7b5eb5c65cefc27f4e2ced19a7cf176f427726a62c46f5b03258905500dce0262c5e26d7291c6d7653aaac
@@ -264,58 +264,64 @@ 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
+
319
325
  @media screen and (min-width: 768px) {
320
326
  nav {
321
327
  position: fixed;
@@ -369,7 +375,7 @@ p {
369
375
  display: none; }
370
376
  h1.toc-contents {
371
377
  margin-top: 1em; }
372
- ul#toc-list {
378
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
373
379
  margin: 0;
374
380
  padding: 0; } }
375
381
 
@@ -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,11 @@ 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
+ }
109
+
105
110
  nav {
106
111
  @include sidebarNav(#f2f2f2, 323px, 45px);
107
112
  }
@@ -123,7 +128,7 @@ nav {
123
128
  margin-top: 1em;
124
129
  }
125
130
 
126
- ul#toc-list {
131
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
127
132
  margin: 0;
128
133
  padding: 0;
129
134
  }