metanorma-bipm 1.2.2 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -76,6 +76,12 @@ code *, pre *, tt *, kbd *, samp * {
76
76
  font-family: {{monospacefont}} !important;
77
77
  font-variant-ligatures: none; }
78
78
 
79
+ p code, dt code, li code, label code, legend code, caption code, th code, td code,
80
+ p tt, dt tt, li tt, label tt, legend tt, caption tt, th tt, td tt,
81
+ p kbd, dt kbd, li kbd, label kbd, legend kbd, caption kbd, th kbd, td kbd,
82
+ p samp, dt samp, li samp, label samp, legend samp, caption samp, th samp, td samp {
83
+ font-size: {{monospacefontsize}}; }
84
+
79
85
  article, aside, details, figcaption, figure,
80
86
  footer, header, hgroup, menu, nav, section {
81
87
  display: block; }
@@ -87,6 +93,9 @@ table {
87
93
  h1, h2, h3, h4, h5, h6 {
88
94
  font-family: {{headerfont}}; }
89
95
 
96
+ .h1, .h2, .h3, .h4, .h5, .h6 {
97
+ font-family: {{headerfont}}; }
98
+
90
99
  blockquote, q {
91
100
  quotes: none; }
92
101
  blockquote:before, blockquote:after, q:before, q:after {
@@ -470,35 +479,37 @@ p.document-stage {
470
479
  /*
471
480
  3.1 Titles
472
481
  */
473
- h1, h2, h3, h4, h5, h6 {
482
+ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
474
483
  font-family: {{headerfont}};
475
484
  color: #6C734A;
476
485
  font-weight: 300;
477
486
  margin-top: 1.6em;
478
487
  margin-bottom: 0.3em; }
479
488
 
480
- h1 {
489
+ h1, .h1 {
481
490
  font-size: 1.6em;
482
491
  text-transform: uppercase;
483
492
  margin-top: 2em; }
484
493
 
485
- h1#content {
494
+ h1#content, #content.h1 {
486
495
  margin-top: 2em; }
487
496
 
488
- h2 {
497
+ h2, .h2 {
489
498
  margin-top: 1.3em;
490
499
  font-size: 1.3em;
491
500
  font-weight: 400; }
492
501
 
493
- h3 {
502
+ h3, .h3 {
494
503
  margin-top: 1.1em;
495
504
  font-size: 1.1em;
496
505
  font-weight: 100; }
497
506
 
498
- .TermNum, .Terms, .AltTerms {
499
- color: #6C734A;
507
+ .TermNum {
500
508
  font-weight: 100; }
501
509
 
510
+ .TermNum, .Terms, .AltTerms {
511
+ color: #6C734A; }
512
+
502
513
  h2.TermNum {
503
514
  margin-bottom: 0; }
504
515
 
@@ -800,7 +811,7 @@ p {
800
811
  margin-top: 1em;
801
812
  margin-bottom: 1em; }
802
813
 
803
- h2 p {
814
+ h2 p, .h2 p {
804
815
  display: inline; }
805
816
 
806
817
  /*
@@ -952,7 +963,7 @@ To top button
952
963
  @media print {
953
964
  .document-info, nav, .copyright {
954
965
  page-break-before: always; }
955
- h1, h2, h3, h4 {
966
+ h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
956
967
  page-break-after: avoid;
957
968
  margin-top: 1.2em; }
958
969
  .note, .figure, pre, .pseudocode, table {
@@ -972,15 +983,15 @@ To top button
972
983
  display: none; }
973
984
  .container {
974
985
  padding-left: 0; }
975
- h1.content {
986
+ h1.content, .h1.content {
976
987
  margin-top: 2em;
977
988
  line-height: 2.5em; }
978
- h1 {
989
+ h1, .h1 {
979
990
  font-size: 1.5em;
980
991
  line-height: 1.5; }
981
- h2 {
992
+ h2, .h2 {
982
993
  font-size: 1.2em; }
983
- h3 {
994
+ h3, .h3 {
984
995
  font-size: 1em; }
985
996
  .Note {
986
997
  background-color: #fff495;
@@ -159,7 +159,7 @@ p.document-stage {
159
159
  3.1 Titles
160
160
  */
161
161
 
162
- h1,h2,h3,h4,h5,h6 {
162
+ h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6 {
163
163
  font-family: $headerfont;
164
164
  color: #6C734A;
165
165
  font-weight: 300;
@@ -167,31 +167,34 @@ p.document-stage {
167
167
  margin-bottom: 0.3em;
168
168
  }
169
169
 
170
- h1 {
170
+ h1,.h1 {
171
171
  font-size: 1.6em;
172
172
  text-transform: uppercase;
173
173
  margin-top: 2em;
174
174
  }
175
175
 
176
- h1#content {
176
+ h1#content,.h1#content {
177
177
  margin-top: 2em;
178
178
  }
179
179
 
180
- h2 {
180
+ h2,.h2 {
181
181
  margin-top: 1.3em;
182
182
  font-size: 1.3em;
183
183
  font-weight: 400;
184
184
  }
185
185
 
186
- h3 {
186
+ h3,.h3 {
187
187
  margin-top: 1.1em;
188
188
  font-size: 1.1em;
189
189
  font-weight: 100;
190
190
  }
191
191
 
192
+ .TermNum {
193
+ font-weight: 100;
194
+ }
195
+
192
196
  .TermNum, .Terms, .AltTerms {
193
197
  color: #6C734A;
194
- font-weight: 100;
195
198
  }
196
199
 
197
200
  h2.TermNum {
@@ -482,7 +485,7 @@ p {
482
485
  margin-bottom: 1em;
483
486
  }
484
487
 
485
- h2 p {
488
+ h2 p, .h2 p {
486
489
  display: inline;
487
490
  }
488
491
 
@@ -655,7 +658,7 @@ To top button
655
658
  page-break-before: always;
656
659
  }
657
660
 
658
- h1, h2, h3, h4 {
661
+ h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
659
662
  page-break-after: avoid;
660
663
  margin-top: 1.2em;
661
664
  }
@@ -692,21 +695,21 @@ To top button
692
695
  padding-left: 0;
693
696
  }
694
697
 
695
- h1.content {
698
+ h1.content,.h1.content {
696
699
  margin-top: 2em;
697
700
  line-height: 2.5em;
698
701
  }
699
702
 
700
- h1 {
703
+ h1,.h1 {
701
704
  font-size: 1.5em;
702
705
  line-height: 1.5;
703
706
  }
704
707
 
705
- h2 {
708
+ h2,.h2 {
706
709
  font-size: 1.2em
707
710
  }
708
711
 
709
- h3 {
712
+ h3,.h3 {
710
713
  font-size: 1em;
711
714
  }
712
715
 
@@ -17,7 +17,6 @@ $('#toggle').on('click', function(){
17
17
  else {
18
18
  $('nav').show();
19
19
  $('nav').animate({ 'left': '0px' }, 'slow');
20
- $('.container').animate({ 'padding-left': '360px' }, 'slow');
21
20
  }
22
21
  });
23
22
  </script>