metanorma-generic 1.4.5

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.
Files changed (49) hide show
  1. checksums.yaml +7 -0
  2. data/.github/workflows/macos.yml +39 -0
  3. data/.github/workflows/ubuntu.yml +39 -0
  4. data/.github/workflows/windows.yml +42 -0
  5. data/.gitignore +1 -0
  6. data/.hound.yml +3 -0
  7. data/.rubocop.ribose.yml +66 -0
  8. data/.rubocop.tb.yml +650 -0
  9. data/.rubocop.yml +10 -0
  10. data/CODE_OF_CONDUCT.md +74 -0
  11. data/Gemfile +11 -0
  12. data/LICENSE +25 -0
  13. data/README.adoc +52 -0
  14. data/Rakefile +6 -0
  15. data/bin/console +14 -0
  16. data/bin/rspec +17 -0
  17. data/bin/setup +8 -0
  18. data/lib/asciidoctor/generic.rb +7 -0
  19. data/lib/asciidoctor/generic/basicdoc.rng +1059 -0
  20. data/lib/asciidoctor/generic/biblio.rng +1142 -0
  21. data/lib/asciidoctor/generic/converter.rb +172 -0
  22. data/lib/asciidoctor/generic/generic.rng +79 -0
  23. data/lib/asciidoctor/generic/isodoc.rng +1033 -0
  24. data/lib/asciidoctor/generic/reqt.rng +171 -0
  25. data/lib/asciidoctor/generic/rsd.rng +225 -0
  26. data/lib/isodoc/generic.rb +10 -0
  27. data/lib/isodoc/generic/base_convert.rb +59 -0
  28. data/lib/isodoc/generic/html/generic.scss +766 -0
  29. data/lib/isodoc/generic/html/header.html +253 -0
  30. data/lib/isodoc/generic/html/html_generic_intro.html +8 -0
  31. data/lib/isodoc/generic/html/html_generic_titlepage.html +106 -0
  32. data/lib/isodoc/generic/html/htmlstyle.scss +710 -0
  33. data/lib/isodoc/generic/html/logo.jpg +0 -0
  34. data/lib/isodoc/generic/html/scripts.html +84 -0
  35. data/lib/isodoc/generic/html/scripts.pdf.html +72 -0
  36. data/lib/isodoc/generic/html/word_generic_intro.html +72 -0
  37. data/lib/isodoc/generic/html/word_generic_titlepage.html +75 -0
  38. data/lib/isodoc/generic/html/wordstyle.scss +1157 -0
  39. data/lib/isodoc/generic/html_convert.rb +63 -0
  40. data/lib/isodoc/generic/metadata.rb +48 -0
  41. data/lib/isodoc/generic/pdf_convert.rb +64 -0
  42. data/lib/isodoc/generic/word_convert.rb +56 -0
  43. data/lib/metanorma-generic.rb +8 -0
  44. data/lib/metanorma/generic.rb +88 -0
  45. data/lib/metanorma/generic/processor.rb +71 -0
  46. data/lib/metanorma/generic/version.rb +5 -0
  47. data/metanorma-generic.gemspec +43 -0
  48. data/metanorma.yml.example +19 -0
  49. metadata +276 -0
@@ -0,0 +1,253 @@
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:mv="http://macVmlSchemaUri" xmlns="http://www.w3.org/TR/REC-html40">
6
+
7
+ <head>
8
+ <meta name=Title content="">
9
+ <meta name=Keywords content="">
10
+ <meta http-equiv=Content-Type content="text/html; charset=utf-8">
11
+ <meta name=ProgId content=Word.Document>
12
+ <meta name=Generator content="Microsoft Word 15">
13
+ <meta name=Originator content="Microsoft Word 15">
14
+ <link id=Main-File rel=Main-File href="../{{ filename }}.html">
15
+ <!--[if gte mso 9]><xml>
16
+ <o:shapedefaults v:ext="edit" spidmax="2049"/>
17
+ </xml><![endif]-->
18
+ </head>
19
+
20
+ <body lang=EN link=blue vlink="#954F72">
21
+
22
+ <div style='mso-element:footnote-separator' id=fs>
23
+
24
+ <p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;line-height:
25
+ normal'><span lang=EN-GB><span style='mso-special-character:footnote-separator'><![if !supportFootnotes]>
26
+
27
+ <hr align=left size=1 width="33%">
28
+
29
+ <![endif]></span></span></p>
30
+
31
+ </div>
32
+
33
+ <div style='mso-element:footnote-continuation-separator' id=fcs>
34
+
35
+ <p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;line-height:
36
+ normal'><span lang=EN-GB><span style='mso-special-character:footnote-continuation-separator'><![if !supportFootnotes]>
37
+
38
+ <hr align=left size=1>
39
+
40
+ <![endif]></span></span></p>
41
+
42
+ </div>
43
+
44
+ <div style='mso-element:endnote-separator' id=es>
45
+
46
+ <p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;line-height:
47
+ normal'><span lang=EN-GB><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 style='margin-bottom:0cm;margin-bottom:.0001pt;line-height:
58
+ normal'><span lang=EN-GB><span style='mso-special-character:footnote-continuation-separator'><![if !supportFootnotes]>
59
+
60
+ <hr align=left size=1>
61
+
62
+ <![endif]></span></span></p>
63
+
64
+ </div>
65
+
66
+ <div style='mso-element:header' id=eh1>
67
+
68
+ <p class=MsoHeader align=left style='text-align:left;line-height:12.0pt;
69
+ mso-line-height-rule:exactly'><span lang=EN-GB>CS&nbsp;{{ docnumber }}:{{ docyear }}</span></p>
70
+
71
+ </div>
72
+
73
+ <div style='mso-element:header' id=h1>
74
+
75
+ <p class=MsoHeader style='margin-bottom:18.0pt'><span lang=EN-GB
76
+ style='font-size:10.0pt;mso-bidi-font-size:11.0pt;font-weight:normal'>©
77
+ {{ publisher }}&nbsp;{{ docyear }}&nbsp;– All rights reserved</span><span lang=EN-GB
78
+ style='font-weight:normal'><o:p></o:p></span></p>
79
+
80
+ </div>
81
+
82
+ <div style='mso-element:footer' id=ef1>
83
+
84
+ <p class=MsoFooter style='margin-top:12.0pt;line-height:12.0pt;mso-line-height-rule:
85
+ exactly'><!--[if supportFields]><b style='mso-bidi-font-weight:normal'><span
86
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
87
+ style='mso-element:field-begin'></span><span
88
+ style='mso-spacerun:yes'> </span>PAGE<span style='mso-spacerun:yes'>  
89
+ </span>\* MERGEFORMAT <span style='mso-element:field-separator'></span></span></b><![endif]--><b
90
+ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
91
+ mso-bidi-font-size:11.0pt'><span style='mso-no-proof:yes'>2</span></span></b><!--[if supportFields]><b
92
+ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
93
+ mso-bidi-font-size:11.0pt'><span style='mso-element:field-end'></span></span></b><![endif]--><span
94
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
95
+ style='mso-tab-count:1'>                                                                                                                                                                           </span>©
96
+ {{ publisher }}&nbsp;{{ docyear }}&nbsp;– All rights reserved<o:p></o:p></span></p>
97
+
98
+ </div>
99
+
100
+ <div style='mso-element:header' id=eh2>
101
+
102
+ <p class=MsoHeader align=left style='text-align:left;line-height:12.0pt;
103
+ mso-line-height-rule:exactly'><span lang=EN-GB>{{ agency }}&nbsp;{{ docnumber }}:{{ docyear }}</span></p>
104
+
105
+ </div>
106
+
107
+ <div style='mso-element:header' id=eh2l>
108
+
109
+ <p class=MsoHeaderLandscape align=left style='text-align:left;line-height:12.0pt;
110
+ mso-line-height-rule:exactly'><span lang=EN-GB>{{ agency }}&nbsp;{{ docnumber }}:{{ docyear }}</span></p>
111
+
112
+ </div>
113
+
114
+
115
+ <div style='mso-element:header' id=h2>
116
+
117
+ <p class=MsoHeader align=right style='text-align:right;line-height:12.0pt;
118
+ mso-line-height-rule:exactly'><span lang=EN-GB>{{ agency }}&nbsp;{{ docnumber }}:{{ docyear }}</span></p>
119
+
120
+ </div>
121
+
122
+ <div style='mso-element:header' id=h2l>
123
+
124
+ <p class=MsoHeaderLandscape align=right style='text-align:right;line-height:12.0pt;
125
+ mso-line-height-rule:exactly'><span lang=EN-GB>{{ agency }}&nbsp;{{ docnumber }}:{{ docyear }}</span></p>
126
+
127
+ </div>
128
+
129
+
130
+ <div style='mso-element:footer' id=ef2>
131
+
132
+ <p class=MsoFooter style='line-height:12.0pt;mso-line-height-rule:exactly'><!--[if supportFields]><span
133
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
134
+ style='mso-element:field-begin'></span><span
135
+ style='mso-spacerun:yes'> </span>PAGE<span style='mso-spacerun:yes'>  
136
+ </span>\* MERGEFORMAT <span style='mso-element:field-separator'></span></span><![endif]--><span
137
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
138
+ style='mso-no-proof:yes'>ii</span></span><!--[if supportFields]><span
139
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
140
+ style='mso-element:field-end'></span></span><![endif]--><span lang=EN-GB
141
+ style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span style='mso-tab-count:
142
+ 1'>                                                                                                                                                                           </span>©
143
+ {{ publisher }}&nbsp;{{ docyear }}&nbsp;– All rights reserved<o:p></o:p></span></p>
144
+ </div>
145
+
146
+ <div style='mso-element:footer' id=ef2l>
147
+ <p class=MsoFooterLandscape style='line-height:12.0pt;mso-line-height-rule:exactly'><!--[if supportFields]><span
148
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
149
+ style='mso-element:field-begin'></span><span
150
+ style='mso-spacerun:yes'> </span>PAGE<span style='mso-spacerun:yes'>  
151
+ </span>\* MERGEFORMAT <span style='mso-element:field-separator'></span></span><![endif]--><span
152
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
153
+ style='mso-no-proof:yes'>ii</span></span><!--[if supportFields]><span
154
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
155
+ style='mso-element:field-end'></span></span><![endif]--><span lang=EN-GB
156
+ style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span style='mso-tab-count:
157
+ 1'>                                                                                                                                                                           </span>©
158
+ {{ publisher }}&nbsp;{{ docyear }}&nbsp;– All rights reserved<o:p></o:p></span></p>
159
+ </div>
160
+
161
+ <div style='mso-element:footer' id=f2>
162
+ <p class=MsoFooter style='line-height:12.0pt'><span lang=EN-GB
163
+ style='font-size:10.0pt;mso-bidi-font-size:11.0pt'>© {{ publisher }}&nbsp;{{ docyear }}&nbsp;– All
164
+ rights reserved<span style='mso-tab-count:1'>                                                                                                                                                                          </span></span><!--[if supportFields]><span
165
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
166
+ style='mso-element:field-begin'></span> PAGE<span style='mso-spacerun:yes'>  
167
+ </span>\* MERGEFORMAT <span style='mso-element:field-separator'></span></span><![endif]--><span
168
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
169
+ style='mso-no-proof:yes'>iii</span></span><!--[if supportFields]><span
170
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
171
+ style='mso-element:field-end'></span></span><![endif]--><span lang=EN-GB
172
+ style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><o:p></o:p></span></p>
173
+ </div>
174
+
175
+ <div style='mso-element:footer' id=f2l>
176
+ <p class=MsoFooter style='line-height:12.0pt'><span lang=EN-GB
177
+ style='font-size:10.0pt;mso-bidi-font-size:11.0pt'>© {{ publisher }}&nbsp;{{ docyear }}&nbsp;– All
178
+ rights reserved<span style='mso-tab-count:1'>                                                                                                                                                                          </span></span><!--[if supportFields]><span
179
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
180
+ style='mso-element:field-begin'></span> PAGE<span style='mso-spacerun:yes'>  
181
+ </span>\* MERGEFORMAT <span style='mso-element:field-separator'></span></span><![endif]--><span
182
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
183
+ style='mso-no-proof:yes'>iii</span></span><!--[if supportFields]><span
184
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
185
+ style='mso-element:field-end'></span></span><![endif]--><span lang=EN-GB
186
+ style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><o:p></o:p></span></p>
187
+ </div>
188
+
189
+ <div style='mso-element:footer' id=ef3>
190
+ <p class=MsoFooter style='margin-top:12.0pt;line-height:12.0pt;mso-line-height-rule:
191
+ exactly'><!--[if supportFields]><b style='mso-bidi-font-weight:normal'><span
192
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
193
+ style='mso-element:field-begin'></span><span
194
+ style='mso-spacerun:yes'> </span>PAGE<span style='mso-spacerun:yes'>  
195
+ </span>\* MERGEFORMAT <span style='mso-element:field-separator'></span></span></b><![endif]--><b
196
+ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
197
+ mso-bidi-font-size:11.0pt'><span style='mso-no-proof:yes'>2</span></span></b><!--[if supportFields]><b
198
+ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
199
+ mso-bidi-font-size:11.0pt'><span style='mso-element:field-end'></span></span></b><![endif]--><span
200
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
201
+ style='mso-tab-count:1'>                                                                                                                                                                           </span>©
202
+ {{ publisher }}&nbsp;{{ docyear }}&nbsp;– All rights reserved<o:p></o:p></span></p>
203
+ </div>
204
+
205
+ <div style='mso-element:footer' id=ef3l>
206
+ <p class=MsoFooterLandscape style='margin-top:12.0pt;line-height:12.0pt;mso-line-height-rule:
207
+ exactly'><!--[if supportFields]><b style='mso-bidi-font-weight:normal'><span
208
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
209
+ style='mso-element:field-begin'></span><span
210
+ style='mso-spacerun:yes'> </span>PAGE<span style='mso-spacerun:yes'>  
211
+ </span>\* MERGEFORMAT <span style='mso-element:field-separator'></span></span></b><![endif]--><b
212
+ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
213
+ mso-bidi-font-size:11.0pt'><span style='mso-no-proof:yes'>2</span></span></b><!--[if supportFields]><b
214
+ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
215
+ mso-bidi-font-size:11.0pt'><span style='mso-element:field-end'></span></span></b><![endif]--><span
216
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
217
+ style='mso-tab-count:1'>                                                                                                                                                                           </span>©
218
+ {{ publisher }}&nbsp;{{ docyear }}&nbsp;– All rights reserved<o:p></o:p></span></p>
219
+ </div>
220
+
221
+ <div style='mso-element:footer' id=f3>
222
+ <p class=MsoFooter style='line-height:12.0pt'><span lang=EN-GB
223
+ style='font-size:10.0pt;mso-bidi-font-size:11.0pt'>© {{ publisher }}&nbsp;{{ docyear }}&nbsp;– All
224
+ rights reserved<span style='mso-tab-count:1'>                                                                                                                                                                           </span></span><!--[if supportFields]><b
225
+ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
226
+ mso-bidi-font-size:11.0pt'><span style='mso-element:field-begin'></span>
227
+ PAGE<span style='mso-spacerun:yes'>   </span>\* MERGEFORMAT <span
228
+ style='mso-element:field-separator'></span></span></b><![endif]--><b
229
+ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
230
+ mso-bidi-font-size:11.0pt'><span style='mso-no-proof:yes'>3</span></span></b><!--[if supportFields]><b
231
+ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
232
+ mso-bidi-font-size:11.0pt'><span style='mso-element:field-end'></span></span></b><![endif]--><span
233
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><o:p></o:p></span></p>
234
+ </div>
235
+
236
+ <div style='mso-element:footer' id=f3l>
237
+ <p class=MsoFooterLandscape style='line-height:12.0pt'><span lang=EN-GB
238
+ style='font-size:10.0pt;mso-bidi-font-size:11.0pt'>© {{ publisher }}&nbsp;{{ docyear }}&nbsp;– All
239
+ rights reserved<span style='mso-tab-count:1'>                                                                                                                                                                           </span></span><!--[if supportFields]><b
240
+ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
241
+ mso-bidi-font-size:11.0pt'><span style='mso-element:field-begin'></span>
242
+ PAGE<span style='mso-spacerun:yes'>   </span>\* MERGEFORMAT <span
243
+ style='mso-element:field-separator'></span></span></b><![endif]--><b
244
+ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
245
+ mso-bidi-font-size:11.0pt'><span style='mso-no-proof:yes'>3</span></span></b><!--[if supportFields]><b
246
+ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
247
+ mso-bidi-font-size:11.0pt'><span style='mso-element:field-end'></span></span></b><![endif]--><span
248
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><o:p></o:p></span></p>
249
+ </div>
250
+
251
+ </body>
252
+
253
+ </html>
@@ -0,0 +1,8 @@
1
+ <nav>
2
+ <h1 id="content">Contents</h1>
3
+ <div id="toc"></div>
4
+
5
+ </nav>
6
+
7
+
8
+ <div class="rule toc"></div>
@@ -0,0 +1,106 @@
1
+ <div class="document-stage-band" id="{{ stage | downcase | replace: ' ', '-' }}-band">
2
+ <p class="document-stage">{{ stage }}</p>
3
+ </div>
4
+
5
+ <div class="document-type-band" id="{{ doctype | downcase | replace: ' ', '-' }}-band">
6
+ <p class="document-type">{{ agency }} {{ doctype }}</p>
7
+ </div>
8
+
9
+
10
+
11
+ <div id='toggle'> <span>&#x2022;</span> </div>
12
+
13
+ <header>
14
+
15
+ <!--<div class="WordSection1">-->
16
+ <div class="coverpage">
17
+ <div class="wrapper-top">
18
+
19
+ <div class="coverpage-doc-identity">
20
+ <div class="doc-number">
21
+ <span class="docnumber">{{ docnumber }}</span>
22
+ <span class="docnumber-separator">:</span>
23
+ <span class="docyear">{{ docyear }} {{ draftinfo }}</span>
24
+ </div>
25
+
26
+ <div class="coverpage-title">
27
+ <span class="title-first">{{ doctitle }}</span>
28
+ <!--<span class="title-second">{{ docsubtitle }}</span>-->
29
+ </div>
30
+ </div>
31
+
32
+ <div class="coverpage-logo">
33
+ <span>{{ publisher }} {{ docyear }}</span>
34
+ </div>
35
+
36
+ <div class="coverpage-tc-name">
37
+ <span>{{ tc }}</span>
38
+ </div>
39
+ </div>
40
+
41
+ <div class="wrapper-top-bottom"></div>
42
+
43
+ <div class="WordSection11">
44
+ <div class="coverpage-stage-block" >
45
+ <span class="coverpage-stage" id="{{ doctype | replace: ' ', '-' | downcase }}">{{ agency }} {{ doctype }}</span>
46
+ </div>
47
+
48
+ <div class="coverpage-stage-block" >
49
+ <p><span class="coverpage-maturity" id="{{ stage | replace: ' ', '-' | downcase }}">{{ stage }}</span></p>
50
+ {% if security %}
51
+ <p><span class="coverpage-maturity">Classification: {{ security }}</span></p>
52
+ {% endif %}
53
+ </div>
54
+
55
+ {% if doctype == "Policy And Procedures" or doctype == "Proposal" %}
56
+ <div class="coverpage-stage-block" >{{ revdate }}</div>
57
+ {% endif %}
58
+
59
+ {% if unpublished %}
60
+ <div class="coverpage-warning">
61
+ <span class="title">Warning for Drafts</span>
62
+
63
+ <p class="content">
64
+ This document is not a {{ agency }} Standard. It is distributed for review and
65
+ comment, and is subject to change without notice and may not be referred to as
66
+ a Standard. Recipients of this draft are invited to submit, with their
67
+ comments, notification of any relevant patent rights of which they are aware
68
+ and to provide supporting documentation.
69
+ </p>
70
+ </div>
71
+ {% endif %}
72
+
73
+ <div class="info-section">
74
+ <div class="copyright">
75
+ <p class="year">
76
+ &copy; {{ docyear }} {{ publisher }}
77
+ </p>
78
+
79
+ <p class="message">
80
+ All rights reserved. Unless otherwise specified, no part of this
81
+ publication may be reproduced or utilized otherwise in any form or by any
82
+ means, electronic or mechanical, including photocopying, or posting on the
83
+ internet or an intranet, without prior written permission. Permission can
84
+ be requested from the address below.
85
+ </p>
86
+
87
+ <div class="contact-info">
88
+ <p class="name">{{ publisher }}</p>
89
+ <p class="address">
90
+ Suite 1, 8/F, New Henry House<br />
91
+ 10 Ice House Street<br />
92
+ Central<br />
93
+ Hong Kong<br />
94
+ <br />
95
+ <a href="mailto:copyright@ribose.com">copyright@ribose.com</a><br />
96
+ <a href="open.ribose.com">www.ribose.com</a>
97
+ </p>
98
+ </div>
99
+ </div>
100
+
101
+ <div class="rule"></div>
102
+ </div>
103
+ </div>
104
+
105
+
106
+ </header>
@@ -0,0 +1,710 @@
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
+ @import 'base_style/all';
11
+
12
+ body {
13
+ @include bodyStyle1(15px, 1.4em, #1d1d1d, #ffffff, 300);
14
+ // @include sidebarNavContainer(323px);
15
+ }
16
+
17
+ main {margin: 0 3em 0 6em;}
18
+
19
+ #toc {
20
+ @include toc(#485094, #1661AD, #485094);
21
+ @include sidebarToc();
22
+ .toc-active a {
23
+ color: white;
24
+ }
25
+ li a {
26
+ text-transform: uppercase;
27
+ }
28
+ ul {
29
+ a:hover {
30
+ box-shadow: none;
31
+ color: white;
32
+ }
33
+ }
34
+ }
35
+
36
+ nav {
37
+ @include sidebarNav(#f7f7f7, 323px, 45px);
38
+ }
39
+
40
+ #toggle {
41
+ @include sidebarNavToggle(white, #1661AD)
42
+ }
43
+
44
+ #myBtn {
45
+ @include toTopBtn(white, #1f8ca0);
46
+ text-transform: uppercase;
47
+ a.anchorjs-link {
48
+ @include anchorLink(#485094)
49
+ }
50
+ }
51
+
52
+ /*
53
+ 2. Responsive navigation layout
54
+ */
55
+
56
+ @media screen and (min-width: 768px) {
57
+ .container {
58
+ padding-left: 360px;
59
+ }
60
+
61
+ .rule.toc {
62
+ display: none;
63
+ }
64
+
65
+ h1.toc-contents {
66
+ margin-top: 1em;
67
+ }
68
+
69
+ ul#toc-list {
70
+ padding:0;
71
+ margin:0;
72
+ }
73
+ }
74
+
75
+ div.figure {
76
+ @include figureBlock();
77
+ }
78
+
79
+ /*
80
+ Document types + stages
81
+ */
82
+
83
+ .document-type-band {
84
+ @include docBand(2, 100%, 180px);
85
+ }
86
+
87
+ .document-stage-band {
88
+ @include docBand(1, 150);
89
+ }
90
+
91
+ p.document-type,
92
+ p.document-stage {
93
+ @include docBandTitle(150);
94
+ }
95
+
96
+ #governance-band p.document-type {
97
+ height: 230px!important;
98
+ }
99
+
100
+ p.document-stage {
101
+ font-weight: 300;
102
+ height:160px;
103
+ }
104
+
105
+ #standard-band p{
106
+ height: 270px;
107
+ }
108
+
109
+ #proposal-band p {
110
+ height: 150px;
111
+ }
112
+
113
+ #standard-band, #published-band {
114
+ background-color: #9ABD48;
115
+ }
116
+
117
+ #standard, #published {
118
+ border-bottom: solid 3px #9ABD48;
119
+ }
120
+
121
+ #governance, #policy-and-procedures {
122
+ border-bottom: solid 3px #750697;
123
+ }
124
+
125
+ #governance-band, #policy-and-procedures-band {
126
+ background-color: #750697;
127
+ }
128
+
129
+ #guide {
130
+ border-bottom: solid 3px #48a0e7;
131
+ }
132
+
133
+ #guide-band {
134
+ background-color: #48a0e7;
135
+ }
136
+
137
+ .coverpage-maturity {
138
+ @include coverpageStageBlock();
139
+ }
140
+
141
+ #working-draft, #proposal {
142
+ border-bottom: solid 3px #F7803C;
143
+ }
144
+
145
+ #working-draft-band, #proposal-band {
146
+ background-color: #F7803C;
147
+ }
148
+
149
+ #committee-draft {
150
+ border-bottom: solid 3px #fd06fd;
151
+ }
152
+
153
+ #committee-draft-band {
154
+ background-color: #fd06fd;
155
+ }
156
+
157
+ #draft-standard {
158
+ border-bottom: solid 3px #fdf906;
159
+ }
160
+
161
+ #draft-standard-band {
162
+ background-color: #fdf906;
163
+ }
164
+
165
+ #standard {
166
+ border-bottom: solid 3px #9ABD48;
167
+ }
168
+
169
+ #standard-band {
170
+ background-color: #9ABD48;
171
+ }
172
+
173
+ #obsolete {
174
+ border-bottom: solid 3px #7e0d13;
175
+ }
176
+
177
+ #obsolete-band {
178
+ background-color: #7e0d13;
179
+ }
180
+
181
+ /*
182
+ 3. TYPOGRAPHY
183
+ */
184
+
185
+ /*
186
+ 3.1 Titles
187
+ */
188
+
189
+ h1,h2,h3,h4,h5,h6 {
190
+ font-family: $headerfont;
191
+ color: #1661AD;
192
+ font-weight: 300;
193
+ margin-top: 1.6em;
194
+ margin-bottom: 0.3em;
195
+ }
196
+
197
+ h1 {
198
+ font-size: 1.6em;
199
+ text-transform: uppercase;
200
+ margin-top: 2em;
201
+ }
202
+
203
+ h1#content {
204
+ margin-top: 2em;
205
+ }
206
+
207
+ h2 {
208
+ margin-top: 1.3em;
209
+ font-size: 1.3em;
210
+ font-weight: 400;
211
+ }
212
+
213
+ h3 {
214
+ margin-top: 1.1em;
215
+ font-size: 1.1em;
216
+ font-weight: 100;
217
+ }
218
+
219
+ .TermNum, .Terms, .AltTerms {
220
+ color: #1661AD;
221
+ font-weight: 100;
222
+ }
223
+
224
+ h2.TermNum {
225
+ margin-bottom: 0;
226
+ }
227
+
228
+ p.Terms {
229
+ font-size: 1.1em;
230
+ line-height: 1.5em;
231
+ margin: 0;
232
+ }
233
+
234
+ p.AltTerms {
235
+ /*
236
+ font-style: italic;
237
+ */
238
+ font-size: 1.1em;
239
+ margin: 0;
240
+ }
241
+
242
+ .contact-info a:hover {
243
+ color: #485094;
244
+ text-decoration: underline;
245
+ background: none;
246
+ box-shadow: 0 0 0 0;
247
+ }
248
+
249
+ /*
250
+ 3.2 Links
251
+ */
252
+ @include elementStyles(#485094, #1661AD, white);
253
+
254
+ /*
255
+ 3.3 Lists
256
+ */
257
+
258
+ ul, ol {margin-left: 1.2em;}
259
+
260
+ ul li {
261
+ list-style: none;
262
+ }
263
+
264
+ ul > li:before {
265
+ content: "\2014";
266
+ display: inline-block; width: 1em;
267
+ margin-left: -1.2em;
268
+ }
269
+
270
+ ul > li p:first-child {
271
+ display: inline;
272
+ }
273
+
274
+ ul > li:first-child {
275
+ margin-top: 1em;
276
+ }
277
+
278
+ #toc-list ul {
279
+ margin-bottom: 0.25em;
280
+ }
281
+
282
+ #toc-list li {
283
+ list-style-type: none;
284
+ }
285
+
286
+ #toc li:before {
287
+ content: " ";
288
+ display: none;
289
+ }
290
+
291
+ /*
292
+ 3.4 Rules
293
+ */
294
+
295
+ .rule {
296
+ @include rule(1px, #0e1a85)
297
+ }
298
+
299
+ /*
300
+ 3.5 Bibliograhy
301
+ */
302
+
303
+ p.Biblio, p.NormRef {
304
+ margin-top: 1em;
305
+ margin-left: 2em;
306
+ }
307
+
308
+ /*
309
+ 3.6 Source Code + figures
310
+ */
311
+
312
+ .figure, pre, .pseudocode {
313
+ @include pseudocodeBlock(#f7f7f7);
314
+ }
315
+
316
+ pre {
317
+ @include monospaceBlockStyle()
318
+ }
319
+
320
+ @include admonitionBlock();
321
+ @include recommendationBlock();
322
+
323
+ .FigureTitle, .SourceTitle {
324
+ @include blockTitle()
325
+ }
326
+
327
+ /*
328
+ 3.7 Notes
329
+ */
330
+
331
+ .Note {
332
+ background-color: #fff495;
333
+ color: #47430c;
334
+ padding: 1.2em;
335
+ margin: 1em 0 1em 0;
336
+
337
+ p {
338
+ margin: 0;
339
+ }
340
+ }
341
+
342
+ .Admonition {
343
+ background-color: #ffcccc;
344
+ color: #47430c;
345
+ padding: 1.2em;
346
+ margin: 1em 0 1em 0;
347
+
348
+ p {
349
+ margin: 0;
350
+ }
351
+ }
352
+
353
+ /*
354
+ 3.8 Examples
355
+ */
356
+
357
+ .example {
358
+ @include exampleBlock(#e1eef1, #424242, 1.2em);
359
+
360
+ .example-title {
361
+ margin-top: 0;
362
+ }
363
+
364
+ pre,
365
+ .pseudocode {
366
+ background: none;
367
+ }
368
+ }
369
+
370
+ /*
371
+ 3.9 Tables
372
+ */
373
+
374
+ table {
375
+ @include table(1px solid black);
376
+ }
377
+
378
+ p.TableTitle {
379
+ text-align: center;
380
+ margin-top: 2.5em;
381
+ font-weight: 400;
382
+ }
383
+
384
+ /*
385
+ 3.10 Footnotes
386
+ */
387
+
388
+ a.footnote-number {
389
+ vertical-align: super;
390
+ font-size: 0.8em;
391
+ }
392
+
393
+ .footnote {
394
+ font-size: 0.9em;
395
+ }
396
+
397
+ /*
398
+ 3.11 Blockquotes
399
+ */
400
+
401
+ .Quote {
402
+ @include blockquoteBlock(#f7f7f7);
403
+ }
404
+
405
+ /*
406
+ 3.12 Formulas
407
+ */
408
+
409
+ .formula {
410
+ @include formulaBlock(#f7f7f7)
411
+ }
412
+ /*
413
+ 3.13 Contact Info
414
+ */
415
+
416
+ .contact-info {
417
+ padding: 2em;
418
+ margin-top: 5em;
419
+ width: 250px;
420
+
421
+ text-align: left;
422
+ border: #1661AD solid 2px;
423
+ color: #1661AD!important;
424
+ border-radius: 25px;
425
+
426
+ }
427
+
428
+ .contact-info a,
429
+ .contact-info a:hover {
430
+ color: #1661AD;
431
+ }
432
+
433
+ .contact-info p, .contact-info a {
434
+ @include monospaceBlockStyle();
435
+ font-weight: 400;
436
+ }
437
+
438
+ .contact-info .name {
439
+ font-weight: 700;
440
+ font-size: 1.2em;
441
+ margin-bottom:0;
442
+ }
443
+
444
+ .contact-info .address {
445
+ font-size: 1em;
446
+ line-height: 1.3em;
447
+ margin-top:0;
448
+ }
449
+
450
+ /*
451
+ Keywords
452
+ */
453
+
454
+ span.keyword {
455
+ font-weight: 600;
456
+ }
457
+
458
+ /*
459
+ Paragraphs
460
+ */
461
+
462
+ p {
463
+ margin-top: 1em;
464
+ margin-bottom: 1em;
465
+ }
466
+
467
+ h2 p {
468
+ display: inline;
469
+ }
470
+
471
+
472
+ /*
473
+ 4.0 Page header
474
+ */
475
+
476
+ /*
477
+ 4.1 Top Logo
478
+ */
479
+
480
+ .icon-svg {
481
+ width: 100%;
482
+ color: #5ecf86;
483
+ }
484
+
485
+ .wrapper-top {
486
+ background: linear-gradient(200deg, #0f365e, #1661AD);
487
+ color: #ffffff;
488
+ padding: 2em 0;
489
+ width: 100%;
490
+ }
491
+
492
+ .wrapper-top-bottom {
493
+ width: 0;
494
+ height: 0;
495
+ border-top: 100px solid #1661AD;
496
+ border-right: 100px solid transparent;
497
+ position: absolute;
498
+ }
499
+
500
+ .doc-number {
501
+ font-size: 0.5em;
502
+ font-family: $bodyfont;
503
+ }
504
+
505
+ .coverpage-title {
506
+ padding-bottom: 0.5em;
507
+ font-family: $headerfont;
508
+ font-size: 1.2em;
509
+ line-height: 1.5em;
510
+ font-weight: 100;
511
+ padding-left: 1em;
512
+ padding-right: 1em;
513
+ text-transform: uppercase;
514
+ }
515
+
516
+ .WordSection11 {
517
+ padding: 0 2em 0 3em;
518
+ }
519
+
520
+ .info-section {
521
+ padding: 0 2em 0 5em; }
522
+
523
+ .prefatory-section {
524
+ padding: 0 3em 0 6em;
525
+ }
526
+
527
+
528
+ .zzSTDTitle1, .MsoCommentText {
529
+ display: none;
530
+ }
531
+
532
+
533
+ .coverpage {
534
+ text-align: center;
535
+ padding-left: 1.5em;
536
+ }
537
+
538
+ .coverpage-logo span, .coverpage-tc-name span {
539
+ font-family: $bodyfont;
540
+ text-transform: none;
541
+ font-weight: 300;
542
+ }
543
+
544
+ .coverpage-tc-name {
545
+ font-size: 1.2em;
546
+ line-height: 1.2em;
547
+ margin: 0.25em 0;
548
+ }
549
+
550
+ /*
551
+ 4.2 Document Identity
552
+ */
553
+
554
+ .coverpage-doc-identity {
555
+ font-size: 2em;
556
+ line-height: 2em;
557
+ }
558
+
559
+ .coverpage-title .title-second {
560
+ display: none;
561
+ }
562
+
563
+ .coverpage-stage-block {
564
+ font-family: $bodyfont;
565
+ font-weight: 600;
566
+ font-size: 1.25em;
567
+ margin: 2em 0em 2em 0em;
568
+ text-transform: uppercase;
569
+ }
570
+
571
+ /*
572
+ 4.3 Draft Warning
573
+ */
574
+
575
+ .coverpage-warning {
576
+ border: #f36f36 solid 2px;
577
+ color: #f36f36!important;
578
+ margin: 1em 2em;
579
+ color: #485094;
580
+ padding: 2em 1em 1em 1em;
581
+ border-radius: 25px;
582
+ }
583
+
584
+ .coverpage-warning .title {
585
+ font-family: $headerfont;
586
+ font-weight: 300;
587
+ text-transform: uppercase;
588
+ font-size: 1.2em;
589
+ }
590
+
591
+
592
+ /*
593
+ 4.4 Copyright
594
+ */
595
+
596
+ .copyright {
597
+ padding: 1em;
598
+ font-size: 0.9em;
599
+ text-align: left;
600
+ }
601
+
602
+
603
+ /* .copyright .name, .copyright .address {color: #485094;} */
604
+
605
+
606
+
607
+ /*
608
+ 5.0 Other styles
609
+ */
610
+
611
+
612
+
613
+ /*
614
+ To top button
615
+ */
616
+
617
+ @page {
618
+ margin: 2cm 1cm;
619
+ }
620
+
621
+ @media print {
622
+
623
+
624
+ .document-info, nav, .copyright {
625
+ page-break-before: always;
626
+ }
627
+
628
+ nav {
629
+ page-break-after: always;
630
+ }
631
+
632
+ h1, h2, h3, h4 {
633
+ page-break-after: avoid;
634
+ margin-top: 1.2em;
635
+ }
636
+
637
+ .note, .figure, pre, .pseudocode, table {
638
+ page-break-inside: avoid;
639
+ }
640
+
641
+ .info-section {
642
+ display: none;
643
+ }
644
+
645
+ .coverpage {
646
+ height: 23cm;
647
+ }
648
+
649
+ .wrapper-top {
650
+ top: 0;
651
+ padding-top: 4cm;
652
+ padding-bottom: 4cm;
653
+ }
654
+
655
+ .wrapper-top-bottom {
656
+ margin-top: -5px;
657
+ }
658
+
659
+ button#myBtn {
660
+ background-color: white;
661
+ }
662
+
663
+ .container {
664
+ padding-left: 0;
665
+ }
666
+
667
+ h1.content {
668
+ margin-top: 2em;
669
+ line-height: 2.5em;
670
+ }
671
+
672
+ h1 {
673
+ font-size: 1.5em;
674
+ line-height: 1.5;
675
+ }
676
+
677
+ h2 {
678
+ font-size: 1.2em
679
+ }
680
+
681
+ h3 {
682
+ font-size: 1em;
683
+ }
684
+
685
+ .Note {
686
+ background-color: #fff495;
687
+ color: #47430c;
688
+ padding: 5px;
689
+ margin: 2em 0 1em 0; }
690
+
691
+ .Note p {
692
+ padding: 0 5px 0 5px;
693
+ }
694
+
695
+ .Admonition {
696
+ background-color: #ffcccc;
697
+ color: #47430c;
698
+ padding: 5px;
699
+ margin: 2em 0 1em 0; }
700
+
701
+ .Admonition p {
702
+ padding: 0 5px 0 5px;
703
+ }
704
+
705
+ .wrapper-top-bottom {
706
+ display: none;
707
+ }
708
+
709
+ }
710
+