metanorma-gb 1.3.17 → 1.3.18

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: 12d26f3652d331eb89eb5c545dc44ff9f1e6ef1133207e5d956a885ce265fe97
4
- data.tar.gz: 4d3cbba1a209ac37ee19f30fd7ca58d2d3a0109473a9e1cac168508636f93065
3
+ metadata.gz: c17f96bfe0f493dda7d474e7657141d1446fc1d8e5929515a07f5979328e76c1
4
+ data.tar.gz: 39980a1836f220dc4b671d650e37abe25563fca561e4fa1178502bc571ff55e1
5
5
  SHA512:
6
- metadata.gz: 63f65895d2b1c1953037139959c668cda40c5ad4b96253c5492c26fbecab5b781da9c058a4356a640e2257a2ea93c4646d5efddac6ff95d71f87c5ab6fc545bf
7
- data.tar.gz: 66da605ead05aa52d0513ed4518109210fe7099abfc6f1210716f56fe371309c47bea9f5b46a6d645563663c82f7ed54ead3b69feb09630499a05e6a954be62e
6
+ metadata.gz: c8ab47c105e7703bc0bf9b5351fbb97489ebefe0ac9a8560f401c995645773046d45ab23391bcc801e2a99c241d6cfdf126d8c5ae25e1f8ba1b64acf01d97a07
7
+ data.tar.gz: 4e2a684f3da878a41bcf60ed2b348c95356072c8e86157e391880056dfd175538a8e2a3c456c1b659e2a6c9e1a1d75454c87fefadfaf64eff5c2275a1765d081
@@ -995,6 +995,100 @@ ul, ol {margin-left: 2em;}
995
995
  line-height: 1.2;
996
996
  }
997
997
 
998
+ /* https://github.com/metanorma/metanorma-iso/issues/319 : a) ordered lists */
999
+
1000
+ ol[type="alphabet"] {
1001
+ counter-reset: alphabet;
1002
+ }
1003
+ ol[type="arabic"] {
1004
+ counter-reset: arabic;
1005
+ }
1006
+ ol[type="roman"] {
1007
+ counter-reset: roman;
1008
+ }
1009
+ ol[type="alphabet_upper"] {
1010
+ counter-reset: alphabet_upper;
1011
+ }
1012
+ ol[type="roman_upper"] {
1013
+ counter-reset: roman_upper;
1014
+ }
1015
+ ol[type="alphabet"] ol[type="alphabet"] {
1016
+ counter-reset: alphabet2;
1017
+ }
1018
+ ol[type="arabic"] ol[type="arabic"] {
1019
+ counter-reset: arabic2;
1020
+ }
1021
+ ol[type="roman"] ol[type="roman"] {
1022
+ counter-reset: roman2;
1023
+ }
1024
+ ol[type="alphabet_upper"] ol[type="alphabet_upper"] {
1025
+ counter-reset: alphabet_upper2;
1026
+ }
1027
+ ol[type="roman_upper"] ol[type="roman_upper"] {
1028
+ counter-reset: roman_upper2;
1029
+ }
1030
+ ol {
1031
+ counter-reset: alphabet;
1032
+ }
1033
+
1034
+ ol > li {
1035
+ list-style: none;
1036
+ position: relative;
1037
+ }
1038
+ ol > li:before {
1039
+ position: absolute;
1040
+ left: -1.4em;
1041
+ }
1042
+ ol[type="roman"] > li:before {
1043
+ left: -2.0em;
1044
+ }
1045
+ ol[type="roman_upper"] > li:before {
1046
+ left: -2.3em;
1047
+ }
1048
+ ol[type="alphabet"] > li:before {
1049
+ counter-increment: alphabet;
1050
+ content: counter(alphabet, lower-alpha)") "
1051
+ }
1052
+ ol[type="arabic"] > li:before {
1053
+ counter-increment: arabic;
1054
+ content: counter(arabic, decimal)") "
1055
+ }
1056
+ ol[type="roman"] > li:before {
1057
+ counter-increment: roman;
1058
+ content: counter(roman, lower-roman)") "
1059
+ }
1060
+ ol[type="alphabet_upper"] > li:before {
1061
+ counter-increment: alphabet_upper;
1062
+ content: counter(alphabet_upper, upper-alpha)") "
1063
+ }
1064
+ ol[type="roman_upper"] > li:before {
1065
+ counter-increment: roman_upper;
1066
+ content: counter(roman_upper, upper-roman)") "
1067
+ }
1068
+ ol > li:before {
1069
+ counter-increment: alphabet;
1070
+ content: counter(alphabet, lower-alpha)") "
1071
+ }
1072
+ ol[type="alphabet"] ol[type="alphabet"] > li:before {
1073
+ counter-increment: alphabet2;
1074
+ content: counter(alphabet2, lower-alpha)") "
1075
+ }
1076
+ ol[type="arabic"] ol[type="arabic"] > li:before {
1077
+ counter-increment: arabic2;
1078
+ content: counter(arabic2, decimal)") "
1079
+ }
1080
+ ol[type="roman"] ol[type="roman"] > li:before {
1081
+ counter-increment: roman2;
1082
+ content: counter(roman2, lower-roman)") "
1083
+ }
1084
+ ol[type="alphabet_upper"] ol[type="alphabet_upper"] > li:before {
1085
+ counter-increment: alphabet_upper2;
1086
+ content: counter(alphabet_upper2, upper-alpha)") "
1087
+ }
1088
+ ol[type="roman_upper"] ol[type="roman_upper"] > li:before {
1089
+ counter-increment: roman_upper2;
1090
+ content: counter(roman_upper2, upper-roman)") "
1091
+ }
998
1092
 
999
1093
 
1000
1094
  /*
@@ -1029,12 +1123,12 @@ margin-left: 2em;
1029
1123
  3.6 Source Code + figures
1030
1124
  */
1031
1125
 
1032
- .Sourcecode {
1126
+ pre {
1033
1127
  font-family: $monospacefont;
1034
1128
  font-variant-ligatures: none;
1035
1129
  }
1036
1130
 
1037
- .Sourcecode, .figure, .pseudocode {
1131
+ pre, .figure, .pseudocode {
1038
1132
  font-size:0.9em;
1039
1133
  line-height: 1.6em;
1040
1134
  padding: 1.5em;
@@ -1104,7 +1198,7 @@ margin-top:0;
1104
1198
  }
1105
1199
 
1106
1200
 
1107
- .example .Sourcecode, .example .pseudocode {
1201
+ .example pre, .example .pseudocode {
1108
1202
  background: none;
1109
1203
  }
1110
1204
 
@@ -260,7 +260,11 @@ p.Biblio, p.NormRef {
260
260
  */
261
261
  }
262
262
 
263
- .Sourcecode {
263
+ .SourceTitle {
264
+ @include blockTitle();
265
+ }
266
+
267
+ pre {
264
268
  @include sourceBlock(#f7f7f7, null);
265
269
  // Requires fontSize: null, but needs an update in isodoc
266
270
  // @include sourceBlock(#f7f7f7, null, null);
@@ -309,7 +313,7 @@ p.Biblio, p.NormRef {
309
313
  margin-top:0;
310
314
  }
311
315
 
312
- .Sourcecode, .pseudocode {
316
+ pre, .pseudocode {
313
317
  background: none;
314
318
  }
315
319
  }
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Gb
3
- VERSION = "1.3.17"
3
+ VERSION = "1.3.18"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-gb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.17
4
+ version: 1.3.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-02-25 00:00:00.000000000 Z
11
+ date: 2020-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-iso