metanorma-un 0.7.5 → 0.8.3

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: e571be88b769ac9333a8bcacd96bfa1e02b8b24e421b0d93ba912e3f9868b57d
4
- data.tar.gz: b83c712fe918c7660831321f909555e4265c015a4536b344ce1c80bc035e1dfb
3
+ metadata.gz: 8e897d639b2d9b417a3ef99e1ab326938aa787cb4b2be3a45eb21ceaa0c1c218
4
+ data.tar.gz: 15a0b36d604f7a0fa1e0980f3881dd15c31feada00803363a01d9ddbdc2bb4fd
5
5
  SHA512:
6
- metadata.gz: cadb83bac6c3e9ed659b1447cc1c8fd11a2c3e88cee4b6765ce3e60be3122f06aa8f5ca9129f281e78410ac2b3fe648027c534b8972fe839fb37885f99e38f86
7
- data.tar.gz: 1a4874986efb7c85a0bcce107a25472f9f2733ebe2678d7a02fbdb911866911b4a7918dd27ee209085817059638d6f4cb681197eca894d3a7872c92512819cb6
6
+ metadata.gz: b2c920907aee14096ffc4e5569ea9cb41be0ab6373dcbe2658263e3a7fa93a69ee5d6e54afe9b6ca0c452b92ea710029c6b0adb196ee1ee68ba3afa1bb16de5b
7
+ data.tar.gz: 06b61b3e77df557c678eee78a85779d6c8e21cfc98bcd0a2d01fcd54aadd76063081b53269e09dd2a11a4c5da3e13a0757d69fbe4f971288e359cc8d2b64cebb
@@ -9,35 +9,7 @@ on:
9
9
  pull_request:
10
10
 
11
11
  jobs:
12
- rake:
13
- name: Test on Ruby ${{ matrix.ruby }} ${{ matrix.os }}
14
- runs-on: ${{ matrix.os }}
15
- continue-on-error: ${{ matrix.experimental }}
16
- strategy:
17
- fail-fast: false
18
- matrix:
19
- ruby: [ '3.0', '2.7', '2.6', '2.5' ]
20
- os: [ ubuntu-latest, windows-latest, macos-latest ]
21
- experimental: [ false ]
22
- steps:
23
- - uses: actions/checkout@v2
24
- with:
25
- submodules: true
26
-
27
- - uses: ruby/setup-ruby@v1
28
- with:
29
- ruby-version: ${{ matrix.ruby }}
30
- bundler-cache: true
31
-
32
- - run: bundle exec rake
33
-
34
- tests-passed:
35
- needs: rake
36
- runs-on: ubuntu-latest
37
- steps:
38
- - uses: peter-evans/repository-dispatch@v1
39
- with:
40
- token: ${{ secrets.METANORMA_CI_PAT_TOKEN || secrets.GITHUB_TOKEN }}
41
- repository: ${{ github.repository }}
42
- event-type: tests-passed
43
- client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
12
+ notify:
13
+ uses: metanorma/metanorma-build-scripts/.github/workflows/mn-processor-rake.yml@main
14
+ secrets:
15
+ pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
data/.gitignore CHANGED
@@ -1,3 +1,13 @@
1
1
  .DS_Store
2
2
 
3
3
  .rubocop-https--*
4
+
5
+ /.rspec_status
6
+ /Gemfile.devel
7
+ /Gemfile.lock
8
+ /coverage/
9
+ /test.doc
10
+ /test.err
11
+ /test.html
12
+ /test.pdf
13
+ /test.presentation.xml
@@ -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 {