metanorma-gb 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -0
  3. data/.hound.yml +3 -0
  4. data/.oss-guides.rubocop.yml +1077 -0
  5. data/.rubocop.ribose.yml +65 -0
  6. data/.rubocop.tb.yml +650 -0
  7. data/.rubocop.yml +15 -0
  8. data/.travis.yml +15 -0
  9. data/CODE_OF_CONDUCT.md +74 -0
  10. data/Gemfile +9 -0
  11. data/LICENSE +25 -0
  12. data/README.adoc +369 -0
  13. data/Rakefile +6 -0
  14. data/asciidoctor-gb.gemspec.old +47 -0
  15. data/bin/console +14 -0
  16. data/bin/rspec +18 -0
  17. data/bin/setup +8 -0
  18. data/lib/asciidoctor-gb.rb +11 -0
  19. data/lib/asciidoctor/gb.rb +7 -0
  20. data/lib/asciidoctor/gb/biblio.rng +836 -0
  21. data/lib/asciidoctor/gb/converter.rb +224 -0
  22. data/lib/asciidoctor/gb/front.rb +228 -0
  23. data/lib/asciidoctor/gb/gbstandard.rng +409 -0
  24. data/lib/asciidoctor/gb/html/blank.png +0 -0
  25. data/lib/asciidoctor/gb/html/footer.png +0 -0
  26. data/lib/asciidoctor/gb/html/gb-logos/gb-issuer-default.png +0 -0
  27. data/lib/asciidoctor/gb/html/gb-logos/gb-issuer-default.svg +980 -0
  28. data/lib/asciidoctor/gb/html/gb-logos/gb-standard-db.gif +0 -0
  29. data/lib/asciidoctor/gb/html/gb-logos/gb-standard-db.png +0 -0
  30. data/lib/asciidoctor/gb/html/gb-logos/gb-standard-db.svg +1 -0
  31. data/lib/asciidoctor/gb/html/gb-logos/gb-standard-gb.gif +0 -0
  32. data/lib/asciidoctor/gb/html/gb-logos/gb-standard-gb.png +0 -0
  33. data/lib/asciidoctor/gb/html/gb-logos/gb-standard-gb.svg +1 -0
  34. data/lib/asciidoctor/gb/html/gb-logos/gb-standard-gjb.gif +0 -0
  35. data/lib/asciidoctor/gb/html/gb-logos/gb-standard-gjb.png +0 -0
  36. data/lib/asciidoctor/gb/html/gb-logos/gb-standard-gjb.svg +1 -0
  37. data/lib/asciidoctor/gb/html/gb-logos/gb-standard-gm.gif +0 -0
  38. data/lib/asciidoctor/gb/html/gb-logos/gb-standard-gm.png +0 -0
  39. data/lib/asciidoctor/gb/html/gb-logos/gb-standard-gm.svg +1 -0
  40. data/lib/asciidoctor/gb/html/gb-logos/gb-standard-jjf.gif +0 -0
  41. data/lib/asciidoctor/gb/html/gb-logos/gb-standard-jjf.png +0 -0
  42. data/lib/asciidoctor/gb/html/gb-logos/gb-standard-jjf.svg +1 -0
  43. data/lib/asciidoctor/gb/html/gb-logos/gb-standard-zb.gif +0 -0
  44. data/lib/asciidoctor/gb/html/gb-logos/gb-standard-zb.png +0 -0
  45. data/lib/asciidoctor/gb/html/gb-logos/gb-standard-zb.svg +13 -0
  46. data/lib/asciidoctor/gb/html/gb.scss +556 -0
  47. data/lib/asciidoctor/gb/html/header.html +216 -0
  48. data/lib/asciidoctor/gb/html/html_gb_intro.html +9 -0
  49. data/lib/asciidoctor/gb/html/html_gb_titlepage.html +99 -0
  50. data/lib/asciidoctor/gb/html/htmlstyle.scss +269 -0
  51. data/lib/asciidoctor/gb/html/logo.png +0 -0
  52. data/lib/asciidoctor/gb/html/word_gb_intro.html +3 -0
  53. data/lib/asciidoctor/gb/html/word_gb_titlepage.html +388 -0
  54. data/lib/asciidoctor/gb/html/wordstyle.scss +2543 -0
  55. data/lib/asciidoctor/gb/isodoc.rng +1059 -0
  56. data/lib/asciidoctor/gb/isostandard.rng +1001 -0
  57. data/lib/asciidoctor/gb/section_input.rb +150 -0
  58. data/lib/asciidoctor/gb/validate.rb +115 -0
  59. data/lib/asciidoctor/gb/version.rb +5 -0
  60. data/lib/isodoc/gb/gbcleanup.rb +90 -0
  61. data/lib/isodoc/gb/gbconvert.rb +66 -0
  62. data/lib/isodoc/gb/gbhtmlconvert.rb +84 -0
  63. data/lib/isodoc/gb/gbhtmlrender.rb +208 -0
  64. data/lib/isodoc/gb/gbwordconvert.rb +136 -0
  65. data/lib/isodoc/gb/gbwordrender.rb +206 -0
  66. data/lib/isodoc/gb/html/blank.png +0 -0
  67. data/lib/isodoc/gb/html/footer.png +0 -0
  68. data/lib/isodoc/gb/html/gb-logos/gb-issuer-default.png +0 -0
  69. data/lib/isodoc/gb/html/gb-logos/gb-issuer-default.svg +980 -0
  70. data/lib/isodoc/gb/html/gb-logos/gb-standard-db.gif +0 -0
  71. data/lib/isodoc/gb/html/gb-logos/gb-standard-db.png +0 -0
  72. data/lib/isodoc/gb/html/gb-logos/gb-standard-db.svg +1 -0
  73. data/lib/isodoc/gb/html/gb-logos/gb-standard-gb.gif +0 -0
  74. data/lib/isodoc/gb/html/gb-logos/gb-standard-gb.png +0 -0
  75. data/lib/isodoc/gb/html/gb-logos/gb-standard-gb.svg +1 -0
  76. data/lib/isodoc/gb/html/gb-logos/gb-standard-gjb.gif +0 -0
  77. data/lib/isodoc/gb/html/gb-logos/gb-standard-gjb.png +0 -0
  78. data/lib/isodoc/gb/html/gb-logos/gb-standard-gjb.svg +1 -0
  79. data/lib/isodoc/gb/html/gb-logos/gb-standard-gm.gif +0 -0
  80. data/lib/isodoc/gb/html/gb-logos/gb-standard-gm.png +0 -0
  81. data/lib/isodoc/gb/html/gb-logos/gb-standard-gm.svg +1 -0
  82. data/lib/isodoc/gb/html/gb-logos/gb-standard-jjf.gif +0 -0
  83. data/lib/isodoc/gb/html/gb-logos/gb-standard-jjf.png +0 -0
  84. data/lib/isodoc/gb/html/gb-logos/gb-standard-jjf.svg +1 -0
  85. data/lib/isodoc/gb/html/gb-logos/gb-standard-zb.gif +0 -0
  86. data/lib/isodoc/gb/html/gb-logos/gb-standard-zb.png +0 -0
  87. data/lib/isodoc/gb/html/gb-logos/gb-standard-zb.svg +13 -0
  88. data/lib/isodoc/gb/html/gb.scss +556 -0
  89. data/lib/isodoc/gb/html/header.html +216 -0
  90. data/lib/isodoc/gb/html/html_compliant_gb_titlepage.html +116 -0
  91. data/lib/isodoc/gb/html/html_gb_intro.html +6 -0
  92. data/lib/isodoc/gb/html/html_gb_titlepage.html +94 -0
  93. data/lib/isodoc/gb/html/htmlcompliantstyle.scss +1220 -0
  94. data/lib/isodoc/gb/html/htmlstyle.scss +1007 -0
  95. data/lib/isodoc/gb/html/logo.png +0 -0
  96. data/lib/isodoc/gb/html/scripts.html +71 -0
  97. data/lib/isodoc/gb/html/word_gb_intro.html +3 -0
  98. data/lib/isodoc/gb/html/word_gb_titlepage.html +388 -0
  99. data/lib/isodoc/gb/html/wordstyle.scss +2543 -0
  100. data/lib/isodoc/gb/i18n-en.yaml +12 -0
  101. data/lib/isodoc/gb/i18n-zh-Hans.yaml +12 -0
  102. data/lib/isodoc/gb/metadata.rb +232 -0
  103. data/lib/metanorma/gb.rb +7 -0
  104. data/lib/metanorma/gb/processor.rb +43 -0
  105. data/metanorma-gb.gemspec +48 -0
  106. metadata +380 -0
@@ -0,0 +1,216 @@
1
+ <html xmlns:v="urn:schemas-microsoft-com:vml"
2
+ xmlns:o="urn:schemas-microsoft-com:office:office"
3
+ xmlns:w="urn:schemas-microsoft-com:office:word"
4
+ xmlns:m="http://schemas.microsoft.com/office/2004/12/omml"
5
+ xmlns="http://www.w3.org/TR/REC-html40">
6
+
7
+ <head>
8
+ <meta http-equiv=Content-Type content="text/html; charset=utf-8">
9
+ <meta name=ProgId content=Word.Document>
10
+ <meta name=Generator content="Microsoft Word 15">
11
+ <meta name=Originator content="Microsoft Word 15">
12
+ <link id=Main-File rel=Main-File
13
+ href="../62f429ed-d80f-4162-a529-68b3a4b34439.html">
14
+ <!--[if gte mso 9]><xml>
15
+ <o:shapedefaults v:ext="edit" spidmax="2054" fillcolor="white">
16
+ <v:fill color="white"/>
17
+ </o:shapedefaults></xml><![endif]--><!--[if gte mso 9]><xml>
18
+ <o:shapelayout v:ext="edit">
19
+ <o:idmap v:ext="edit" data="2"/>
20
+ </o:shapelayout></xml><![endif]-->
21
+ </head>
22
+
23
+ <body lang=ZH-CN link="#000000" vlink=purple>
24
+
25
+ <div style='mso-element:footnote-separator' id=fs>
26
+
27
+ <p class=MsoNormal><span lang=EN-US><span style='mso-special-character:footnote-separator'><![if !supportFootnotes]>
28
+
29
+ <hr align=left size=1 width="33%">
30
+
31
+ <![endif]></span></span></p>
32
+
33
+ </div>
34
+
35
+ <div style='mso-element:footnote-continuation-separator' id=fcs>
36
+
37
+ <p class=MsoNormal><span lang=EN-US><span style='mso-special-character:footnote-continuation-separator'><![if !supportFootnotes]>
38
+
39
+ <hr align=left size=1>
40
+
41
+ <![endif]></span></span></p>
42
+
43
+ </div>
44
+
45
+ <div style='mso-element:endnote-separator' id=es>
46
+
47
+ <p class=MsoNormal><span lang=EN-US><span style='mso-special-character:footnote-separator'><![if !supportFootnotes]>
48
+
49
+ <hr align=left size=1 width="33%">
50
+
51
+ <![endif]></span></span></p>
52
+
53
+ </div>
54
+
55
+ <div style='mso-element:endnote-continuation-separator' id=ecs>
56
+
57
+ <p class=MsoNormal><span lang=EN-US><span style='mso-special-character:footnote-continuation-separator'><![if !supportFootnotes]>
58
+
59
+ <hr align=left size=1>
60
+
61
+ <![endif]></span></span></p>
62
+
63
+ </div>
64
+
65
+ <div style='mso-element:header' id=eh1>
66
+
67
+ <p class=MsoHeader align=left style='text-align:left'><span lang=EN-US>{{ docidentifier }}—{{ docyear }}</span></p>
68
+
69
+ </div>
70
+
71
+ <div style='mso-element:header' id=h1>
72
+
73
+ <p class=aff1><span lang=EN-US>{{ docidentifier }}—{{ docyear }}</span></p>
74
+
75
+ </div>
76
+
77
+ <div style='mso-element:footer' id=ef1>
78
+
79
+ <p class=MsoFooter align=center style='text-align:center'><span lang=EN-US><o:p>&nbsp;</o:p></span></p>
80
+
81
+ <p class=leftpagenumber><span class=MsoPageNumber><span lang=EN-US style='font-family:
82
+ SimSun;mso-hansi-font-family:"Times New Roman"'><o:p>&nbsp;</o:p></span></span></p>
83
+
84
+ </div>
85
+
86
+ <div style='mso-element:footer' id=f1>
87
+
88
+ <p class=MsoFooter><span lang=EN-US><o:p>&nbsp;</o:p></span></p>
89
+
90
+ </div>
91
+
92
+ <div style='mso-element:header' id=fh1>
93
+
94
+ <div style='mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt;
95
+ mso-border-bottom-alt:solid windowtext .75pt;padding:0cm 0cm 1.0pt 0cm'>
96
+
97
+ <p class=MsoHeader><span lang=EN-US><o:p>&nbsp;</o:p></span></p>
98
+
99
+ </div>
100
+
101
+ </div>
102
+
103
+ <div style='mso-element:footer' id=ff1>
104
+
105
+ <p class=MsoFooter align=left style='text-align:left;tab-stops:center 207.65pt 228.6pt right 415.3pt 457.25pt'><span
106
+ lang=EN-US><span style='mso-tab-count:1'>                                                                                                        </span><span
107
+ style='mso-tab-count:1'>           </span></span></p>
108
+
109
+ </div>
110
+
111
+ <div style='mso-element:header' id=eh2>
112
+
113
+ <p class=aff1 align=left style='text-align:left'><span lang=EN-US
114
+ style='font-family:SimHei;mso-hansi-font-family:"Times New Roman"'>{{ docidentifier }}</span><span
115
+ lang=ZH-CN style='font-family:SimHei;mso-hansi-font-family:"Times New Roman"'>—</span><span
116
+ lang=EN-US style='font-family:SimHei;mso-hansi-font-family:"Times New Roman"'>{{ docyear }}<o:p></o:p></span></p>
117
+
118
+ </div>
119
+
120
+ <div style='mso-element:header' id=h2>
121
+
122
+ <p class=aff1><span lang=EN-US style='font-family:SimHei;mso-hansi-font-family:
123
+ "Times New Roman"'>{{ docidentifier }}</span><span lang=ZH-CN style='font-family:SimHei;
124
+ mso-hansi-font-family:"Times New Roman"'>—</span><span lang=EN-US
125
+ style='font-family:SimHei;mso-hansi-font-family:"Times New Roman"'>{{ docyear }}<o:p></o:p></span></p>
126
+
127
+ </div>
128
+
129
+ <div style='mso-element:footer' id=ef2>
130
+
131
+ <p class=MsoFooter style='mso-element:frame;mso-element-wrap:none;
132
+ mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:margin;
133
+ mso-element-left:outside;mso-element-top:.05pt;mso-height-rule:exactly'><!--[if supportFields]><span
134
+ class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
135
+ style='mso-element:field-begin'></span><span
136
+ style='mso-spacerun:yes'> </span>PAGE <span style='mso-element:field-separator'></span></span></span><![endif]--><span
137
+ class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
138
+ style='mso-no-proof:yes'>IV</span></span></span><!--[if supportFields]><span
139
+ class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
140
+ style='mso-element:field-end'></span></span></span><![endif]--><span
141
+ class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><o:p></o:p><w:sdtPr></w:sdtPr></span></span></p>
142
+
143
+ </div>
144
+
145
+ <div style='mso-element:footer' id=f2>
146
+
147
+ <p class=MsoFooter style='mso-element:frame;mso-element-wrap:none;
148
+ mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:margin;
149
+ mso-element-left:outside;mso-element-top:.05pt;mso-height-rule:exactly'><!--[if supportFields]><span
150
+ class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
151
+ style='mso-element:field-begin'></span><span
152
+ style='mso-spacerun:yes'> </span>PAGE <span style='mso-element:field-separator'></span></span></span><![endif]--><span
153
+ class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
154
+ style='mso-no-proof:yes'>III</span></span></span><!--[if supportFields]><span
155
+ class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
156
+ style='mso-element:field-end'></span></span></span><![endif]--><span
157
+ class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><o:p></o:p><w:sdtPr></w:sdtPr></span></span></p>
158
+
159
+ </div>
160
+
161
+ <div style='mso-element:header' id=fh2>
162
+
163
+ <p class=aff1><span lang=EN-US>{{ docidentifier }}—{{ docyear }}</span></p>
164
+
165
+ </div>
166
+
167
+ <div style='mso-element:footer' id=ff2>
168
+
169
+ <p class=MsoFooter style='mso-element:frame;mso-element-wrap:none;
170
+ mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:margin;
171
+ mso-element-left:outside;mso-element-top:.05pt;mso-height-rule:exactly'><!--[if supportFields]><span
172
+ class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
173
+ style='mso-element:field-begin'></span><span
174
+ style='mso-spacerun:yes'> </span>PAGE <span style='mso-element:field-separator'></span></span></span><![endif]--><span
175
+ class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
176
+ style='mso-no-proof:yes'>IV</span></span></span><!--[if supportFields]><span
177
+ class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
178
+ style='mso-element:field-end'></span></span></span><![endif]--><span
179
+ class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><o:p></o:p><w:sdtPr></w:sdtPr></span></span></p>
180
+
181
+ </div>
182
+
183
+ <div style='mso-element:footer' id=ef3>
184
+
185
+ <p class=MsoFooter style='mso-element:frame;mso-element-wrap:none;
186
+ mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:margin;
187
+ mso-element-left:outside;mso-element-top:.05pt;mso-height-rule:exactly'><!--[if supportFields]><span
188
+ class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
189
+ style='mso-element:field-begin'></span><span
190
+ style='mso-spacerun:yes'> </span>PAGE <span style='mso-element:field-separator'></span></span></span><![endif]--><span
191
+ class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
192
+ style='mso-no-proof:yes'>7</span></span></span><!--[if supportFields]><span
193
+ class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
194
+ style='mso-element:field-end'></span></span></span><![endif]--><span
195
+ class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><o:p></o:p><w:sdtPr></w:sdtPr></span></span></p>
196
+
197
+ </div>
198
+
199
+ <div style='mso-element:footer' id=f3>
200
+ <p class=MsoFooter style='mso-element:frame;mso-element-wrap:none;
201
+ mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:margin;
202
+ mso-element-left:outside;mso-element-top:.05pt;mso-height-rule:exactly'><!--[if supportFields]><span
203
+ class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
204
+ style='mso-element:field-begin'></span><span
205
+ style='mso-spacerun:yes'> </span>PAGE <span style='mso-element:field-separator'></span></span></span><![endif]--><span
206
+ class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
207
+ style='mso-no-proof:yes'>7</span></span></span><!--[if supportFields]><span
208
+ class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><span
209
+ style='mso-element:field-end'></span></span></span><![endif]--><span
210
+ class=MsoPageNumber><span lang=EN-US style='font-family:SimSun'><o:p></o:p><w:sdtPr></w:sdtPr></span></span></p>
211
+
212
+ </div>
213
+
214
+ </body>
215
+
216
+ </html>
@@ -0,0 +1,116 @@
1
+ <div class="document-stage-band" id="{{ status | downcase }}-band">
2
+ <p class="document-stage">{{ status }}</p>
3
+ </div>
4
+
5
+ <div class="document-type-band" id="{{ doctype | downcase}}-band">
6
+ <p class="document-type">{{ doctype }}</p>
7
+ </div>
8
+
9
+ <div id='toggle'> <span>•</span> </div>
10
+
11
+ <header>
12
+ <div class="coverpage">
13
+ <div class="coverpage-header">
14
+
15
+
16
+ <div class="coverpage-category">
17
+ <span class="category-1">{{ libraryid_ccs }}</span>
18
+ <span class="category-2">ICS {{ libraryid_ics }} </span>
19
+ </div>
20
+
21
+ <div class="coverpage-logo">
22
+ <div class="coverpage-logo-gb-img">{{ standard_logo }}</div>
23
+ </div>
24
+
25
+ <div class="coverpage-logo-header">
26
+ <div>
27
+ <span class="coverpage-logo-text">
28
+
29
+ <span class="coverpage-logo-text">{{ standard_class }}</span>
30
+
31
+ </div>
32
+
33
+ <div class="coverpage-doc-identity-first">
34
+ <div class="coverpage_docnumber">
35
+ <span class="docnumber">{{ docidentifier }}</span>
36
+ {{ draftinfo }}
37
+ {%- if isostandard and gbequivalence == "IDT" -%}
38
+ /<span class="docnumber">{{ isostandard }}</span>
39
+ {%- endif -%}
40
+ </div>
41
+
42
+ <div class="coverpage-doc-relations">
43
+ {% if obsoletes %}
44
+ {% if obsoletes_part %}
45
+ <span class="partially-supercedes">{{ partly_supercedes_lbl }}</span>
46
+ {% else %}
47
+ <span class="supercedes">{{ supercedes_lbl }}</span>
48
+ {% endif %}
49
+ {{ obsoletes }}
50
+ {% endif %}
51
+ </div>
52
+ </div>
53
+ </div>
54
+ </div>
55
+ </div>
56
+
57
+ <div class="coverpage-banner">
58
+
59
+
60
+ <div class="coverpage-doc-identity-second">
61
+ <div class="coverpage-title-zh">
62
+ <span class="title-first">{{ docmaintitlezh }}</span>
63
+ <span class="title-second">{{ docsubtitlezh }}</span>
64
+ <span class="title-third"> {{ docparttitlezh }}</span>
65
+ </div>
66
+
67
+ <!-- for local standards (DB, DB/T), no en title -->
68
+ <div class="coverpage-title-en">
69
+ <span class="title-first">{{ docmaintitleen }}</span>
70
+ <span class="title-second">{{ docsubtitleen }}</span>
71
+ <span class="title-third">{{ docparttitleen }}</span>
72
+ </div>
73
+ </div>
74
+
75
+
76
+ <div class="coverpage-footer">
77
+ <!-- for local standards (DB, DB/T), no relation to ISO standards -->
78
+ <!-- if related to ISO standards -->
79
+ {% if isostandard %}
80
+ <div class="coverpage-iso-relation">
81
+ <span class="openparen">(</span>
82
+ <span class="iso-document-code">{{ isostandard }}</span>
83
+ {% if isostandardtitle != "[not supplied]" %}
84
+ <span class="iso-title-first">{{ isostandardtitle }}</span>
85
+ {% endif %}
86
+ <span class="join">,</span>
87
+ <span class="iso-equivalence-code">{{ gbequivalence }}</span>
88
+ <span class="closeparen">)</span>
89
+ </div>
90
+ {% endif %}
91
+
92
+ <div class="coverpage-stage-block" lang="{{ language }}">
93
+ {% if stage and stage < 60 %}
94
+ <span class="stage-if-draft">({{ stageabbr }})</span> <br/>
95
+ {% if stage == 30 %}
96
+ <div class="coverpage_warning">
97
+ {{ patent_request }}
98
+ </div>
99
+ {% endif %}
100
+ {% if revdate %}
101
+ <span class="revision-if-draft">({{completion_date}} {{ revdate }})</span>
102
+ {% endif %}
103
+ {% endif %}
104
+ </div>
105
+ </div>
106
+ </div>
107
+ <div class="coverpage-dates">
108
+ <span class="date-publish">{{ labelled_publisheddate }}</span>
109
+ <span class="date-active">{{ labelled_implementeddate }}</span>
110
+ </div>
111
+
112
+
113
+ <div class="coverpage_footer">
114
+ {{ standard_agency_formatted }}
115
+ </div>
116
+ </header>
@@ -0,0 +1,6 @@
1
+ <nav>
2
+
3
+ <h1 id="content">Contents</h1>
4
+ <div id="toc"></div>
5
+
6
+ </nav>
@@ -0,0 +1,94 @@
1
+ <div id='toggle'> <span>•</span> </div>
2
+
3
+
4
+
5
+ <div class="coverpage-category">
6
+ <span class="category-1">ICS {{ libraryid_ics }} </span>
7
+ <span class="category-2">{{ libraryid_ccs }}</span>
8
+ </div>
9
+
10
+ <div class="coverpage-logo">
11
+ <div class="coverpage-logo-gb-img">{{ standard_logo }}</div>
12
+
13
+ <span class="coverpage-logo-text">{{ standard_class }}</span>
14
+
15
+ </div>
16
+
17
+ <div class="coverpage-doc-identity-first">
18
+ <div class="coverpage_docnumber">
19
+ <span class="docnumber">{{ docidentifier }}</span>
20
+ <span class="docnumber-separator">
21
+ {{ draftinfo }}
22
+ {%- if isostandard and gbequivalence == "IDT" -%}
23
+ /<span class="docnumber">{{ isostandard }}</span>
24
+ {%- endif -%}
25
+ </div>
26
+
27
+ <div class="coverpage-doc-relations">
28
+ {% if obsoletes %}
29
+ {% if obsoletes_part %}
30
+ <span class="partially-supercedes">{{ partly_supercedes_lbl }}</span>
31
+ {% else %}
32
+ <span class="supercedes">{{ supercedes_lbl }}</span>
33
+ {% endif %}
34
+ {{ obsoletes }}
35
+ {% endif %}
36
+ </div>
37
+ </div>
38
+
39
+ <hr/>
40
+
41
+ <div class="coverpage-doc-identity-second">
42
+ <div class="coverpage-title-zh">
43
+ <span class="title-first">{{ docmaintitlezh }}</span>
44
+ <span class="title-second">{{ docsubtitlezh }}</span>
45
+ <span class="title-third"> {{ docpartitlezh }}</span>
46
+ </div>
47
+
48
+ <!-- for local standards (DB, DB/T), no en title -->
49
+ <div class="coverpage-title-en">
50
+ <span class="title-first">{{ docmaintitleen }}</span>
51
+ <span class="title-second">{{ docsubtitleen }}</span>
52
+ <span class="title-third">{{ docpartitleen }}</span>
53
+ </div>
54
+
55
+ <!-- for local standards (DB, DB/T), no relation to ISO standards -->
56
+ <!-- if related to ISO standards -->
57
+ {% if isostandard %}
58
+ <div class="coverpage-iso-relation">
59
+ <span class="openparen">(</span>
60
+ <span class="iso-document-code">{{ isostandard }}</span>
61
+ {% if isostandardtitle != "[not supplied]" %}
62
+ <span class="iso-title-first">{{ isostandardtitle }}</span>
63
+ {% endif %}
64
+ <span class="join">,</span>
65
+ <span class="iso-equivalence-code">{{ gbequivalence }}</span>
66
+ <span class="closeparen">)</span>
67
+ </div>
68
+ {% endif %}
69
+ </div>
70
+
71
+ <div class="coverpage-stage-block" lang="{{ language }}">
72
+ {% if stage and stage < 60 %}
73
+ <span class="stage-if-draft">({{ stageabbr }})</span>
74
+ {% if revdate %}
75
+ <span class="revision-if-draft">({{completion_date}}:{{ revdate }})</span>
76
+ {% endif %}
77
+ {% if stage == 30 %}
78
+ <div class="coverpage_warning">
79
+ {{ patent_request }}
80
+ </div>
81
+ {% endif %}
82
+ {% endif %}
83
+ </div>
84
+
85
+ <div class="coverpage-dates">
86
+ <span class="date-publish">{{ labelled_publisheddate }}</span>
87
+ <span class="date-active">{{ labelled_implementeddate }}</span>
88
+ </div>
89
+
90
+ <div class="coverpage_footer">
91
+ {{ standard_agency_formatted }}
92
+ </div>
93
+
94
+
@@ -0,0 +1,1220 @@
1
+ /*
2
+ 0 CSS RESET
3
+ */
4
+
5
+ /* http://meyerweb.com/eric/tools/css/reset/
6
+ v2.0 | 20110126
7
+ License: none (public domain)
8
+ */
9
+
10
+ html, body, div, span, applet, object, iframe,
11
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
12
+ a, abbr, acronym, address, big, cite, code,
13
+ del, dfn, em, img, ins, kbd, q, s, samp,
14
+ small, strike, strong, sub, sup, tt, var,
15
+ b, u, i, center,
16
+ ol, ul, li,
17
+ fieldset, form, label, legend,
18
+ table, caption, tbody, tfoot, thead, tr, th, td,
19
+ article, aside, canvas, details, embed,
20
+ figure, figcaption, footer, header, hgroup,
21
+ menu, nav, output, ruby, section, summary,
22
+ time, mark, audio, video {
23
+ margin: 0;
24
+ padding: 0;
25
+ }
26
+
27
+ html, body, div, span, applet, object, iframe,
28
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
29
+ a, abbr, acronym, address, big, cite, code,
30
+ del, dfn, em, img, ins, kbd, q, s, samp,
31
+ small, strike, strong, sub, sup, tt, var,
32
+ b, u, i, center,
33
+ dl, dt, dd, ol, ul, li,
34
+ fieldset, form, label, legend,
35
+ table, caption, tbody, tfoot, thead, tr, th, td,
36
+ article, aside, canvas, details, embed,
37
+ figure, figcaption, footer, header, hgroup,
38
+ menu, nav, output, ruby, section, summary,
39
+ time, mark, audio, video {
40
+ border: 0;
41
+ font-size: 100%;
42
+ }
43
+
44
+ html, body, div, span, applet, object, iframe,
45
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
46
+ a, abbr, acronym, address, big, cite, code,
47
+ del, dfn, em, img, ins, kbd, q, s, samp,
48
+ small, strike, strong, tt, var,
49
+ b, u, i, center,
50
+ dl, dd, ol, ul, li,
51
+ fieldset, form, label, legend,
52
+ table, caption, tbody, tfoot, thead, tr, th, td,
53
+ article, aside, canvas, details, embed,
54
+ figure, figcaption, footer, header, hgroup,
55
+ menu, nav, output, ruby, section, summary,
56
+ time, mark, audio, video {
57
+ vertical-align: baseline;
58
+ }
59
+
60
+
61
+ html, body, div, span, applet, object, iframe,
62
+ p, blockquote, pre,
63
+ a, abbr, acronym, address, big, cite, code,
64
+ del, dfn, em, img, ins, kbd, q, s, samp,
65
+ small, strike, strong, sub, sup, tt, var,
66
+ b, u, i, center,
67
+ dl, dt, dd, ol, ul, li,
68
+ fieldset, form, label, legend,
69
+ table, caption, tbody, tfoot, thead, tr, th, td,
70
+ article, aside, canvas, details, embed,
71
+ figure, figcaption, footer, header, hgroup,
72
+ menu, nav, output, ruby, section, summary,
73
+ time, mark, audio, video {
74
+ font-family: $bodyfont;
75
+ }
76
+
77
+ h1, h2, h3, h4, h5, h6, .h2Annex {
78
+ margin-top: 1.5em;
79
+ margin-bottom: 0.3em;
80
+ color: #000000;
81
+ font-family: $headerfont;
82
+ }
83
+
84
+ dl {
85
+ display: grid;
86
+ grid-template-columns: max-content auto;
87
+ }
88
+
89
+ dt {
90
+ grid-column-start: 1;
91
+ }
92
+
93
+ dd {
94
+ grid-column-start: 2;
95
+ }
96
+
97
+ dd p, dt p {
98
+ margin-top: 0px;
99
+ }
100
+
101
+ /* HTML5 display-role reset for older browsers */
102
+ article, aside, details, figcaption, figure,
103
+ footer, header, hgroup, menu, nav, section {
104
+ display: block;
105
+ }
106
+ body {
107
+ line-height: 1;
108
+ margin: 0;
109
+ }
110
+
111
+ body {
112
+ margin-left: 298px;
113
+ margin-right: 2em;
114
+ }
115
+
116
+ blockquote, q {
117
+ quotes: none;
118
+ }
119
+ blockquote:before, blockquote:after,
120
+ q:before, q:after {
121
+ content: '';
122
+ content: none;
123
+ }
124
+ table {
125
+ border-collapse: collapse;
126
+ border-spacing: 0;
127
+ }
128
+
129
+ /* Setting of the page size and margins */
130
+
131
+ @page {
132
+ size: 210mm 297mm;
133
+ margin: 10mm 15mm 20mm 25mm;
134
+ }
135
+
136
+ .title-section {
137
+ padding-left: 4em;
138
+ padding-top: 10mm;
139
+ }
140
+
141
+ .prefatory-section {
142
+ padding: 0 3em 0 6em;
143
+ }
144
+
145
+
146
+ .prefatory-section, main {
147
+ margin: 0 1.5em;
148
+ }
149
+
150
+ main {
151
+ padding-left: 4em;
152
+ padding-right: 2em;
153
+ }
154
+
155
+ .zzSTDTitle1, .MsoCommentText {
156
+ display: none; }
157
+
158
+
159
+
160
+ .doctitle-en, .doctitle-fr {
161
+ margin-top: 2em;
162
+ text-align: left;
163
+ }
164
+
165
+ .doctitle-en {
166
+ padding-left: 3em;
167
+ margin-left: -3em;
168
+ padding-top: 2em;
169
+ padding-bottom: 2em;
170
+
171
+ }
172
+
173
+ .doctitle-en span {
174
+ font-size: 2em;
175
+ line-height: 1.5em;
176
+ display: block;
177
+ }
178
+
179
+
180
+ .doctitle-fr span {
181
+ font-size: 1.5em;
182
+ line-height: 1.2em;
183
+ font-style: italic;
184
+ display: block;
185
+ }
186
+
187
+ span.title {
188
+ text-transform: uppercase;
189
+ font-size: 1em;
190
+ font-weight: 800;
191
+ }
192
+
193
+ .coverpage_docstage {
194
+ margin-top: 2em;
195
+ margin-bottom: 2em;
196
+ }
197
+
198
+ /*
199
+ .coverpage_warning {
200
+ border-top: solid 1px #f36f36;
201
+ border-bottom: solid 1px #f36f36;
202
+ margin: 1em 2em;
203
+ color: #485094;
204
+ padding: 1em;
205
+ }
206
+ */
207
+
208
+ .coverpage_warning {
209
+ font-size: 0.9em;
210
+ font-style: italic;
211
+ padding-bottom: 1em;
212
+ }
213
+
214
+ /*
215
+ .coverpage_warning .title {
216
+ color: #f36f36;
217
+ font-weight: 500;
218
+ }
219
+
220
+ .coverpage_warning .content {
221
+ font-style: italic;
222
+ }
223
+
224
+ .coverpage_docnumber, .coverpage_techcommittee {
225
+ text-align: right;
226
+ font-size:0.9em;
227
+ line-height: 0.5em;
228
+ }
229
+ */
230
+
231
+ .coverpage {
232
+ text-align: center;
233
+ /* margin: 2em 0; */
234
+ }
235
+
236
+ /* NEW */
237
+ .coverpage-header {
238
+ height: 55mm;
239
+ }
240
+
241
+ /* NEW */
242
+ .coverpage-category {
243
+ float: left;
244
+ text-align: left;
245
+ }
246
+
247
+ /* NEW */
248
+ .coverpage-category span {
249
+ font-size: 0.9em;
250
+ font-family: $headerfont;
251
+ display: block;
252
+ }
253
+
254
+
255
+ .coverpage-logo {
256
+ display: flex;
257
+ flex-wrap: wrap;
258
+ justify-content: flex-end;
259
+ /* flex-direction: column; */
260
+ }
261
+
262
+ /* NEW */
263
+ .coverpage-logo-gb-img {
264
+ float: right;
265
+ padding-right: 0mm;
266
+ }
267
+
268
+ /* NEW */
269
+ .coverpage-logo-gb-img img {
270
+ margin-bottom: 9mm;
271
+ float: right;
272
+ }
273
+
274
+ /* NEW */
275
+ .coverpage-logo-header {
276
+ height: 42mm;
277
+ display: flex;
278
+ flex-direction: column;
279
+ }
280
+
281
+
282
+
283
+
284
+ .coverpage-tc-name {
285
+ font-size: 1.2em;
286
+ line-height: 1.2em;
287
+ margin: 0.25em 0;
288
+ }
289
+
290
+ /*
291
+ .coverpage-doc-identity {
292
+ background-color: #485094;
293
+ color: white;
294
+ font-size: 2em;
295
+ line-height: 2em;
296
+ margin: 0.5em 0;
297
+ }
298
+ */
299
+
300
+ .coverpage-title {
301
+ font-weight: 400;
302
+ }
303
+
304
+ .coverpage-title .title-second {
305
+ display: none;
306
+ }
307
+
308
+ span.coverpage-logo-text {
309
+ font-size: 5mm;
310
+ text-align: right;
311
+ float: right;
312
+ padding-bottom: 9mm;
313
+ font-weight: bold;
314
+ }
315
+
316
+ /* NEW */
317
+ .coverpage-doc-identity-first {
318
+ font-size: 5mm;
319
+ text-align: right;
320
+ padding-right: 5mm;
321
+ /*font-weight: bold; */
322
+ padding-bottom: 1em;
323
+ border-bottom: solid black 1px;
324
+ }
325
+
326
+ /* NEW */
327
+ .title-first, .title-second, .title-third, .stage, .date-publish,
328
+ .date-active, .coverpage_footer {
329
+ font-family: $headerfont;
330
+ }
331
+
332
+ /* NEW */
333
+ /*
334
+ span.title-second, span.title-third {
335
+ font-size: 5mm;
336
+ }
337
+ */
338
+
339
+ .coverpage-stage-block {
340
+ font-size: 1.25em;
341
+ text-align: center;
342
+ width:100%;
343
+ margin-top:2em;
344
+ /* display: none; */
345
+ }
346
+
347
+ /* NEW */
348
+ .coverpage-stage-block .stage {
349
+ display: block;
350
+ margin-top:1em;
351
+ }
352
+
353
+ /* NEW */
354
+ .coverpage-stage-block .coverpage-warning{
355
+ display: block;
356
+ margin-top:1em;
357
+ }
358
+
359
+ /* NEW */
360
+ .coverpage-warning {
361
+ font-size: 0.8em;
362
+ font-style: italic;
363
+ }
364
+
365
+ /* NEW */
366
+ span.date-publish {
367
+ float:left;
368
+ }
369
+
370
+ /* NEW */
371
+ span.date-active {
372
+ float:right;
373
+ }
374
+
375
+
376
+ .coverpage-doc-relations {
377
+ font-size:10.5pt;
378
+ }
379
+
380
+ .coverpage-title-zh {
381
+ font-size: 8mm;
382
+ display: flex;
383
+ flex-wrap: wrap;
384
+ justify-content: center;
385
+ /* flex-direction: column; */
386
+ font-family:$headerfont;
387
+ }
388
+
389
+ .coverpage-title-zh span {
390
+ padding-top: 2mm;
391
+ font-size: 8mm;
392
+ }
393
+
394
+ .coverpage-title-en {
395
+ margin-top: 10mm;
396
+ font-size: 5mm;
397
+ display: flex;
398
+ flex-wrap: wrap;
399
+ justify-content: center;
400
+ font-family:$headerfont;
401
+ }
402
+
403
+ .coverpage-title-en span {
404
+ display: block;
405
+ }
406
+
407
+ .coverpage-title-en .title-first {
408
+ text-transform: uppercase;
409
+ }
410
+
411
+ /* NEW */
412
+ .coverpage-warning {
413
+ border-top: solid 1px #f36f36;
414
+ border-bottom: solid 1px #f36f36;
415
+ margin: 1em 2em;
416
+ color: #485094;
417
+ padding: 1em; }
418
+
419
+ /* NEW */
420
+ .coverpage-warning .title {
421
+ color: #f36f36;
422
+ font-weight: 500; }
423
+
424
+ /* NEW */
425
+ .coverpage-warning .content {
426
+ font-style: italic; }
427
+
428
+
429
+
430
+ .coverpage-iso-relation {
431
+ font-size:14pt;
432
+ margin-top: 10mm;
433
+ text-align: center;
434
+ }
435
+
436
+
437
+ .coverpage-dates {
438
+ width:100%;
439
+ margin-top: 25mm;
440
+ border-bottom: 1px solid #000;
441
+ font-size: 4.5mm;
442
+ font-family:$headerfont;
443
+ }
444
+
445
+ .coverpage_footer {
446
+ text-align:center;
447
+ font-size: 1em;
448
+ font-weight: 600;
449
+ width: 100%;
450
+ margin-top: 10mm;
451
+ }
452
+
453
+ /* NEW */
454
+ .coverpage_footer table, .coverpage_footer th, .coverpage_footer td {
455
+ border: 0;
456
+ }
457
+
458
+ /* NEW */
459
+ .coverpage_footer th, .coverpage_footer td {
460
+ padding: 5px;
461
+ font-size: 1.1em;
462
+ font-weight: 600;
463
+ }
464
+
465
+ /* NEW */
466
+ .coverpage_footer .publish {
467
+ vertical-align: middle;
468
+ }
469
+
470
+
471
+ /* NEW */
472
+ .coverpage-banner {
473
+ padding-top: 5mm;
474
+ margin-left:auto;
475
+ margin-right:auto;
476
+ width:auto;
477
+ display:flex;
478
+ flex-wrap: wrap;
479
+ justify-content: center;
480
+ height: 177.5mm;
481
+ }
482
+
483
+ .copyright {
484
+ padding: 1em; }
485
+
486
+
487
+ /*
488
+ .copyright .name {
489
+ font-weight: 900;
490
+ padding-top: 1em;
491
+ }
492
+ */
493
+
494
+ .copyright .year, .copyright .message,
495
+ .copyright .name, .copyright .address {
496
+ margin-top: 1em;
497
+ /* line-height: 1.1em; */
498
+ display: block;
499
+ }
500
+
501
+ .copyright .message, .copyright .name,
502
+ .copyright .address {
503
+ font-size: 0.9em;
504
+ }
505
+
506
+ .copyright .name {
507
+ color: #485094;
508
+ font-weight: 600;
509
+ }
510
+
511
+ .copyright .address {
512
+ color: #485094;
513
+ }
514
+
515
+
516
+ p.MsoCommentText, li.MsoCommentText, div.MsoCommentText {
517
+ margin-top: 0cm;
518
+ margin-right: 0cm;
519
+ margin-bottom: 12.0pt;
520
+ margin-left: 0cm;
521
+ text-align: justify;
522
+ line-height: 12.0pt;
523
+ /* tab-stops: 20.15pt; */
524
+ font-size: 12.0pt;
525
+ font-family: $bodyfont;
526
+ }
527
+
528
+ p.MsoCommentSubject, li.MsoCommentSubject, div.MsoCommentSubject {
529
+ margin-top: 0cm;
530
+ margin-right: 0cm;
531
+ margin-bottom: 12.0pt;
532
+ margin-left: 0cm;
533
+ text-align: justify;
534
+ line-height: 12.0pt;
535
+ tab-stops: 20.15pt;
536
+ font-size: 10.0pt;
537
+ font-family: $headerfont;
538
+ font-weight: bold; }
539
+
540
+
541
+
542
+
543
+ /* TYPOGRAPHY */
544
+
545
+ a {
546
+ color: #000;
547
+ text-decoration: underline;
548
+ text-decoration-color: black;
549
+ }
550
+
551
+ h1 {
552
+ font-size: 1.5em;
553
+ font-weight: 400;
554
+ }
555
+
556
+ h2 {
557
+ font-size: 1.3em;
558
+ font-weight: 300;
559
+ }
560
+
561
+ h3 {
562
+ font-size: 1.1em;
563
+ font-weight: 300;
564
+ }
565
+
566
+ h1 {
567
+ margin-top: 2em;
568
+ margin-bottom: 1em;
569
+ }
570
+
571
+ h2 {
572
+ margin-top: 2em;
573
+ margin-bottom: 1em;
574
+ }
575
+
576
+ h1, h2, h3, h4, h5, h6 {
577
+ line-height: 1.2;
578
+ }
579
+
580
+ h2 p {
581
+ display: inline;
582
+ }
583
+
584
+ p {
585
+ font-size: 1em;
586
+ line-height:1.4em;
587
+ margin-left:2em;
588
+ margin-top: 1em;
589
+ margin-bottom:1em;
590
+ }
591
+
592
+ p.zzSTDTitle1 {
593
+ font-weight: 700;
594
+ font-size: 1.5em;
595
+ }
596
+
597
+ span.obligation {
598
+ font-weight: 400;
599
+ }
600
+
601
+ a:visited {
602
+ text-decoration: none;
603
+ }
604
+
605
+ /*
606
+ a:hover {
607
+ text-style: italic;
608
+ color: #485094;
609
+ }
610
+ */
611
+
612
+ nav a {
613
+ color: black;
614
+ /* line-height: 1.2em; */
615
+ }
616
+
617
+ p.TermNum {
618
+ font-size: 1.3em;
619
+ font-weight: 300;
620
+ margin: 1em 0 0 0;
621
+ }
622
+
623
+ p.Terms {
624
+ font-size: 1.3em;
625
+ font-weight: 300;
626
+ margin: 0 0 1em 0;
627
+ }
628
+
629
+ p.AltTerms {
630
+ font-weight: 400;
631
+ font-style: italic;
632
+ margin: 0;
633
+ margin-left: 2em;
634
+ }
635
+
636
+ p.DeprecatedTerms {
637
+ font-weight: 400;
638
+ font-style: italic;
639
+ margin: 0;
640
+ }
641
+
642
+ /* Navigation*/
643
+
644
+ @media (min-width: 768px) {
645
+ nav {
646
+ position: fixed;
647
+ top: 0;
648
+ bottom: 0;
649
+ left: 0;
650
+ width: 278px;
651
+ font-size: 0.9em;
652
+ overflow: auto;
653
+ padding: 0 0 0 45px;
654
+ background-color:#f7f7f7;
655
+ line-height: 1.2em;
656
+ }
657
+
658
+ #toggle {
659
+ position: fixed;
660
+ height: 100%;
661
+ width: 30px;
662
+ border-right: solid black 1px;
663
+ background-color:black;
664
+ color: white!important;
665
+ cursor: pointer;
666
+ margin-left: -4em;
667
+ margin-top: -2em;
668
+ }
669
+
670
+ #toggle span {
671
+ text-align: center;
672
+ width: 100%;
673
+ position: absolute;
674
+ top: 50%;
675
+ transform: translate(0, -50%);
676
+
677
+ }
678
+
679
+
680
+ .container {
681
+ padding-left: 360px;
682
+ }
683
+
684
+ .rule.toc {
685
+ display: none;
686
+ }
687
+
688
+ h1.toc-contents {
689
+ margin-top: 1em;
690
+ }
691
+
692
+ ul#toc-list {
693
+ padding:0;
694
+ margin:0;
695
+ }
696
+ }
697
+
698
+ @media (max-width: 768px) {
699
+ #toc {
700
+ padding: 0 1.5em 0 1.5em;
701
+ overflow: visible;
702
+ }
703
+
704
+ #toggle {
705
+ display: none;
706
+ margin-left: -4em;
707
+ margin-top: -2em;
708
+ }
709
+
710
+ body {
711
+ margin-left: 2em;
712
+ }
713
+
714
+ main {
715
+ padding: 0;
716
+ }
717
+
718
+ .title-section, .prefatory-section {
719
+ padding-left: 0;
720
+ padding-top: 0;
721
+ width: 100%;
722
+ }
723
+ }
724
+
725
+
726
+ #toc ul {
727
+ margin: 0;
728
+ padding: 0;
729
+ list-style: none;
730
+ }
731
+
732
+ #toc li {
733
+ padding: 5px 10px;
734
+ }
735
+
736
+ #toc a {
737
+ color: #000000;
738
+ text-decoration: none!important;
739
+ display: block;
740
+ font-family: $bodyfont;
741
+ }
742
+
743
+ #toc a:hover {
744
+ color: black;
745
+ }
746
+
747
+ #toc .h2 {
748
+ padding-left: 30px;
749
+ }
750
+
751
+ #toc .h3 {
752
+ padding-left: 50px;
753
+ }
754
+
755
+ nav a {
756
+ text-decoration: none!important;
757
+ }
758
+
759
+ #toc .toc-active a {
760
+ color: black;
761
+ }
762
+
763
+ /*
764
+ #toc .toc-active, #toc li:hover {
765
+ background: #1d1d1d;
766
+ box-shadow: inset -5px 0px 10px -5px #1d1d1d!important;
767
+
768
+ }
769
+ */
770
+ #toc li:hover a {
771
+ color: black;
772
+ }
773
+
774
+
775
+ #toc li:before {
776
+ content: " ";
777
+ display: none;
778
+ }
779
+
780
+ ::selection {
781
+ background: #1d1d1d; /* WebKit/Blink Browsers */
782
+ color: white;
783
+ }
784
+ ::-moz-selection {
785
+ background: #1d1d1d; /* Gecko Browsers */
786
+ color: white;
787
+ }
788
+
789
+
790
+ /*
791
+ Document types + stages
792
+ */
793
+
794
+
795
+ .document-type-band {
796
+ left:0;
797
+ top:180px;
798
+ height: 100%;
799
+ position: fixed;
800
+ display: block;
801
+ z-index: 99;
802
+
803
+ }
804
+
805
+ .document-stage-band {
806
+ left:0;
807
+ top:0;
808
+ height: 100%;
809
+ position: fixed;
810
+ display: block;
811
+ z-index: 98;
812
+ box-shadow: -5px 0px 10px #1d1d1d;
813
+ }
814
+
815
+ .document-type {
816
+ position: relative;
817
+ width: 25px;
818
+ }
819
+
820
+ .document-stage {
821
+ position: relative;
822
+ width: 25px;
823
+ }
824
+
825
+ p.document-type, p.document-stage {
826
+ color: white;
827
+ text-transform: uppercase;
828
+ font-size: 0.9em;
829
+ font-weight: 400;
830
+ letter-spacing: 0.05em;
831
+ /*
832
+ margin-top: 0px;
833
+ margin-bottom: 10px;
834
+ margin-right: 5px;
835
+ margin-left: 5px;
836
+ */
837
+ margin:0;
838
+ margin-left: 6px;
839
+ writing-mode:tb-rl;
840
+ -webkit-transform:rotate(180deg);
841
+ -moz-transform:rotate(180deg);
842
+ -o-transform: rotate(180deg);
843
+ white-space:nowrap;
844
+ display:block;
845
+ bottom:0;
846
+ }
847
+
848
+ p.document-type.zh, p.document-stage.zh {
849
+ -webkit-transform:rotate(0deg);
850
+ -moz-transform:rotate(0deg);
851
+ -o-transform: rotate(0deg);
852
+ margin-top: 10px;
853
+ letter-spacing: 0.1em;
854
+ font-size: 1em;
855
+ }
856
+
857
+ p.document-type {
858
+ font-weight: 400;
859
+ height: 210px;
860
+ }
861
+
862
+ #governance-band p.document-type {
863
+ font-weight: 400;
864
+ height: 230px!important;
865
+ }
866
+
867
+ p.document-stage {
868
+ font-weight: 300;
869
+ height:160px;
870
+ }
871
+
872
+ #standard-band {
873
+ background-color: #0ac442;
874
+ }
875
+
876
+ #standard {
877
+ border-bottom: solid 3px #0ac442;
878
+ }
879
+
880
+ #governance {
881
+ border-bottom: solid 3px #750697;
882
+ }
883
+
884
+ #governance-band {
885
+ background-color: #750697;
886
+ }
887
+
888
+ #guide {
889
+ border-bottom: solid 3px #48a0e7;
890
+ }
891
+
892
+ #guide-band {
893
+ background-color: #48a0e7;
894
+ }
895
+
896
+ .coverpage-maturity {
897
+ font-weight: 400;
898
+ font-size: 1em;
899
+ margin: 0 0 2em 0;
900
+ text-transform: uppercase;
901
+ }
902
+
903
+ #working-draft {
904
+ border-bottom: solid 3px #fda706;
905
+ }
906
+
907
+ #working-draft-band {
908
+ background-color: #fda706;
909
+ }
910
+
911
+ #committee-draft {
912
+ border-bottom: solid 3px #fd06fd;
913
+ }
914
+
915
+ #committee-draft-band {
916
+ background-color: #fd06fd;
917
+ }
918
+
919
+ #draft-standard {
920
+ border-bottom: solid 3px #fdf906;
921
+ }
922
+
923
+ #draft-standard {
924
+ border-bottom: solid 3px #fdf906;
925
+ }
926
+
927
+ #standard {
928
+ border-bottom: solid 3px #0ac442;
929
+ }
930
+
931
+ #standard-band {
932
+ background-color: #0ac442;
933
+ }
934
+
935
+ #obsolete {
936
+ border-bottom: solid 3px #7e0d13;
937
+ }
938
+
939
+ #obsolete-band {
940
+ background-color: #7e0d13;
941
+ }
942
+
943
+
944
+
945
+
946
+ /* 3 Other styles */
947
+
948
+ /*
949
+ 3.3 Lists
950
+ */
951
+
952
+ ul, ol {margin-left: 2em;}
953
+
954
+ ul {
955
+ padding-left: 1em; }
956
+
957
+ #toc-list ul {margin-bottom: 0.25em;}
958
+
959
+ #toc-list ul li {list-style-type: none;}
960
+
961
+ ul > li {
962
+ list-style: none;
963
+ }
964
+
965
+ ul > li p:before {
966
+ content: "—";
967
+ display: inline-block;
968
+ width: 1em;
969
+ margin-left: -1.5em;
970
+ margin-right: 0.5em;
971
+ }
972
+
973
+ li p {
974
+ display: inline-block;
975
+ margin-bottom: 0.6em;
976
+ line-height: 1.2;
977
+ }
978
+
979
+
980
+
981
+ /*
982
+ 3.4 Rules
983
+ */
984
+
985
+ /*
986
+ div.rule {
987
+ width: 100%;
988
+ height: 1px;
989
+ background-color: #485094;
990
+ margin: 2em 0; }
991
+ */
992
+
993
+ .rule {
994
+ width: 100%;
995
+ height: 1px;
996
+ background-color: #0e1a85;
997
+ margin: 2em 0;
998
+ }
999
+
1000
+ /*
1001
+ 3.5 Bibliograhy
1002
+ */
1003
+
1004
+ p.Biblio, p.NormRef {
1005
+ margin-top: 1em;
1006
+ margin-left: 2em;
1007
+ }
1008
+
1009
+ /*
1010
+ 3.6 Source Code + figures
1011
+ */
1012
+
1013
+ .Sourcecode, .figure {
1014
+ font-family: $monospacefont;
1015
+ font-size:0.9em;
1016
+ line-height: 1.6em;
1017
+ padding: 1.5em;
1018
+ background-color: #f7f7f7;
1019
+ margin: 2em 0 1em 0;
1020
+ overflow: auto;
1021
+ }
1022
+
1023
+ .figure-title, .FigureTitle {
1024
+ font-weight: 700;
1025
+ font-size: 1em;
1026
+ text-align: center;
1027
+ font-family: $headerfont;
1028
+ }
1029
+
1030
+ /*
1031
+ 3.7 Notes
1032
+ */
1033
+
1034
+ .Note, .note {
1035
+ background-color: #fff495;
1036
+ color: #47430c;
1037
+ padding: 1.2em;
1038
+ /*margin: 2em 0 1em 0;*/
1039
+ margin: 1.5em 0 1.5em 0;
1040
+ /* text-align: left; */
1041
+ }
1042
+
1043
+ /*
1044
+ .Note p, .note p {
1045
+ margin: 0;
1046
+ }
1047
+
1048
+ */
1049
+ /*
1050
+ 3.8 Examples
1051
+ */
1052
+
1053
+ .example {
1054
+ background-color: #e1eef1;
1055
+ /*padding: 1.2em; */
1056
+ padding: 0.5em;
1057
+ margin: 2em 0 1em 0;
1058
+ text-align: left;
1059
+ }
1060
+
1061
+ .example p {
1062
+ margin: 0;
1063
+ }
1064
+
1065
+ .example .example-title {
1066
+ font-weight: 700;
1067
+ text-transform: uppercase;
1068
+ text-align: center;
1069
+ margin-top:0;
1070
+ }
1071
+
1072
+ .example-title {
1073
+ font-family: $headerfont;
1074
+ }
1075
+
1076
+ /*
1077
+ 3.9 Tables
1078
+ */
1079
+
1080
+ table {
1081
+ border-collapse: collapse;
1082
+ width: 100%;
1083
+ font-weight: 300;
1084
+ margin: 1em 0 2em 0;
1085
+ margin-left: auto;
1086
+ margin-right: auto;
1087
+ padding-right: 2em;
1088
+ text-align: center;
1089
+ }
1090
+
1091
+ table, th, td {
1092
+ border: 1px solid black;
1093
+ font-size: 0.95em;
1094
+ }
1095
+
1096
+ td, th {
1097
+ padding: 1em!important;
1098
+ }
1099
+
1100
+ td.header {
1101
+ font-weight: 400;
1102
+ }
1103
+
1104
+ p.TableTitle {
1105
+ text-align: center;
1106
+ margin-top: 2.5em;
1107
+ font-weight: 400;
1108
+ font-size: 1.1em;
1109
+ font-family: $headerfont;
1110
+ }
1111
+
1112
+ .TableFootnote {
1113
+ text-align: left!important;
1114
+ list-style: lower-alpha;
1115
+ }
1116
+
1117
+ /*
1118
+ 3.10 Footnotes
1119
+ */
1120
+
1121
+ a.footnote-number, a.TableFootnoteRef {
1122
+ vertical-align: super;
1123
+ font-size: 0.8em;
1124
+ text-decoration: none;
1125
+ }
1126
+
1127
+ .footnote, .footnote a, a.TableFootnoteRef a {
1128
+ font-size: 0.9em;
1129
+ text-decoration: none;
1130
+ }
1131
+
1132
+ sup a {
1133
+ vertical-align: super;
1134
+ font-size: 0.8em;
1135
+ }
1136
+ #footnote_box {
1137
+ font-size: 14px;
1138
+ background: white;
1139
+ padding: 0 10px;
1140
+ margin: 10px;
1141
+ border: 1px solid #888;
1142
+ -moz-box-shadow: 0px 0px 5px #888;
1143
+ -webkit-box-shadow: 0px 0px 5px #888;
1144
+ box-shadow: 0px 0px 5px #888;
1145
+ }
1146
+
1147
+ ol.footnotes-list, aside.footnote {
1148
+ margin-left: 1em;
1149
+
1150
+ }
1151
+
1152
+ ol.footnotes-list li, aside.footnote {
1153
+ font-size: 0.9em;
1154
+ vertical-align: top;
1155
+ list-style:decimal;
1156
+ margin-bottom: 1em;
1157
+ }
1158
+
1159
+ ol.footnotes-list:first-child {
1160
+ margin-top: 2em;
1161
+ }
1162
+
1163
+ ol.footnotes-list p, aside.footnote {
1164
+ display: inline;
1165
+ }
1166
+
1167
+ ol li p:before {
1168
+ content: "";
1169
+ display: none;
1170
+ }
1171
+
1172
+ /*
1173
+ 3.11 Blockquotes
1174
+ */
1175
+
1176
+ .blockquote, .Quote {
1177
+ background-color: #f7f7f7;
1178
+ font-style: italic;
1179
+ width: 80%;
1180
+ padding: 1.5em;
1181
+ margin-top: 2em;
1182
+ margin-left: auto;
1183
+ margin-right: auto;
1184
+ }
1185
+
1186
+ /*
1187
+ 3.12 Formulas
1188
+ */
1189
+
1190
+ .formula {
1191
+ /* background-color: #f1f1f1; */
1192
+ background-color: #f7f7f7;
1193
+ padding: 1.5em;
1194
+ margin-top: 2em;
1195
+ margin-bottom: 1em;
1196
+ text-align: center;
1197
+ margin-left: 20%;
1198
+ margin-right: 20%;
1199
+ }
1200
+
1201
+ /*
1202
+ Keywords
1203
+ */
1204
+
1205
+ span.keyword {
1206
+ font-weight: 600;
1207
+ }
1208
+
1209
+
1210
+ .Admonition, .admonition {
1211
+ background-color: #ffb3b3;
1212
+ padding: 0.5em;
1213
+ margin: 1.5em 0 1.5em 0;
1214
+ text-align: left;
1215
+ }
1216
+
1217
+ .Admonition p, .admonition p {
1218
+ margin: 0;
1219
+ }
1220
+