metanorma-bipm 2.1.1 → 2.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -682,6 +682,12 @@ pre {
682
682
  font-size: 1em;
683
683
  text-align: center; }
684
684
 
685
+ .ListTitle {
686
+ font-weight: 700;
687
+ font-size: 1em;
688
+ text-align: center;
689
+ text-align: left; }
690
+
685
691
  .FigureTitle,
686
692
  .SourceTitle {
687
693
  font-weight: 700;
@@ -355,6 +355,7 @@ pre {
355
355
 
356
356
  @include admonitionBlock();
357
357
  @include recommendationBlock();
358
+ @include listBlock();
358
359
 
359
360
  .FigureTitle,
360
361
  .SourceTitle {
@@ -29,10 +29,10 @@ module IsoDoc
29
29
  end
30
30
 
31
31
  def ol_attrs(node)
32
- klass, style = if node["type"] == "roman" &&
33
- !node.at("./ancestor::xmlns:ol[@type = 'roman']") ||
34
- node["type"] == "alphabet" &&
35
- !node.at("./ancestor::xmlns:ol[@type = 'alphabet']")
32
+ klass, style = if (node["type"] == "roman" &&
33
+ !node.at("./ancestor::xmlns:ol[@type = 'roman']")) ||
34
+ (node["type"] == "alphabet" &&
35
+ !node.at("./ancestor::xmlns:ol[@type = 'alphabet']"))
36
36
  [node["type"], counter_reset(node)]
37
37
  end
38
38
  super.merge(attr_code(type: ol_style((node["type"] || "arabic").to_sym),