metanorma-ribose 2.0.0 → 2.0.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: 06cb546e7325071cf9b68654d0420d86096a4bf3000de573829f46d9c00c95fa
4
- data.tar.gz: d8d554113de2c87902d124bc3a0022690a52b1e7492160f6213bcebb178ab649
3
+ metadata.gz: e1bbd030e33fe7a12a2a2ca6c14cec0adbdff9033c66b57428bfaeae6970b82d
4
+ data.tar.gz: f0acb7f86fb7973434f9be2bab217bba9fc07eb0e1695133643319855694cc77
5
5
  SHA512:
6
- metadata.gz: ca3fe9e96a18898d4e9ac6509eadc3fdb6e38f4823e02f1ab65cab61eb9b7d08bb6a1bf3c911a0ee7988515ad9e681db76fa207fa78e9183434568764132b65a
7
- data.tar.gz: c38f07f07b0fb15caa48fb7cd3839dd2c96c241e133eb528638ba2df1b99ac09561b25dd2b65558e7c93d1162699c00f42e3e2aaca5b9ecd103844cb36c69717
6
+ metadata.gz: 4539903e8e6d624f91b6d567349ba36936b3c923ea7f3ba85e29e0f18d2956d14822c62c5fd68e41deb8cab77d27adc0a585f4aac19ae86c3193d26f004f66c5
7
+ data.tar.gz: 8580a2b564f1e515e3eefc271b39cdb216fec936e56f34289f6a68342b57d1f8543fb85e168240b2e2a68eff617773dc942fb7dbf6de1e559916692ca4b7c923
@@ -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: #485094;
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: #485094; }
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: #1661AD;
273
273
  box-shadow: inset -5px 0px 10px -5px #1661AD !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: #485094; }
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: #485094; }
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: white; }
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: white; }
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(#485094, #1661AD, #485094);
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
  }