metanorma-cc 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +7 -0
  2. data/.github/workflows/macos.yml +39 -0
  3. data/.github/workflows/ubuntu.yml +53 -0
  4. data/.github/workflows/windows.yml +41 -0
  5. data/.gitignore +1 -0
  6. data/.hound.yml +3 -0
  7. data/.rubocop.yml +10 -0
  8. data/CODE_OF_CONDUCT.md +74 -0
  9. data/Gemfile +11 -0
  10. data/LICENSE +25 -0
  11. data/README.adoc +61 -0
  12. data/Rakefile +6 -0
  13. data/bin/console +14 -0
  14. data/bin/rspec +18 -0
  15. data/bin/setup +8 -0
  16. data/docs/navigation.adoc +8 -0
  17. data/docs/quickstart.adoc +368 -0
  18. data/lib/asciidoctor/cc.rb +5 -0
  19. data/lib/asciidoctor/cc/basicdoc.rng +1059 -0
  20. data/lib/asciidoctor/cc/biblio.rng +1237 -0
  21. data/lib/asciidoctor/cc/boilerplate.xml +46 -0
  22. data/lib/asciidoctor/cc/cc.rng +116 -0
  23. data/lib/asciidoctor/cc/converter.rb +69 -0
  24. data/lib/asciidoctor/cc/front.rb +93 -0
  25. data/lib/asciidoctor/cc/isodoc.rng +1504 -0
  26. data/lib/asciidoctor/cc/reqt.rng +194 -0
  27. data/lib/asciidoctor/cc/validate.rb +29 -0
  28. data/lib/asciidoctor/cc/validate_section.rb +138 -0
  29. data/lib/isodoc/cc/base_convert.rb +42 -0
  30. data/lib/isodoc/cc/csd.standard.xsl +3228 -0
  31. data/lib/isodoc/cc/html/_coverpage.scss +128 -0
  32. data/lib/isodoc/cc/html/cc.scss +763 -0
  33. data/lib/isodoc/cc/html/dots-w@2x.png +0 -0
  34. data/lib/isodoc/cc/html/dots@2x.png +0 -0
  35. data/lib/isodoc/cc/html/header.html +240 -0
  36. data/lib/isodoc/cc/html/html_cc_intro.html +8 -0
  37. data/lib/isodoc/cc/html/html_cc_titlepage.html +93 -0
  38. data/lib/isodoc/cc/html/htmlstyle.scss +409 -0
  39. data/lib/isodoc/cc/html/scripts.html +71 -0
  40. data/lib/isodoc/cc/html/word_cc_intro.html +19 -0
  41. data/lib/isodoc/cc/html/word_cc_titlepage.html +64 -0
  42. data/lib/isodoc/cc/html/wordstyle.scss +1157 -0
  43. data/lib/isodoc/cc/html_convert.rb +51 -0
  44. data/lib/isodoc/cc/metadata.rb +62 -0
  45. data/lib/isodoc/cc/pdf_convert.rb +21 -0
  46. data/lib/isodoc/cc/presentation_xml_convert.rb +10 -0
  47. data/lib/isodoc/cc/word_convert.rb +38 -0
  48. data/lib/metanorma-cc.rb +11 -0
  49. data/lib/metanorma/cc.rb +29 -0
  50. data/lib/metanorma/cc/processor.rb +53 -0
  51. data/lib/metanorma/cc/version.rb +5 -0
  52. data/metanorma-cc.gemspec +43 -0
  53. metadata +253 -0
@@ -0,0 +1,240 @@
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
+ <p class=MsoHeader align=left style='text-align:left;line-height:12.0pt;
68
+ mso-line-height-rule:exactly'><span lang=EN-GB>CC&nbsp;{{ docnumber }}:{{ docyear }}</span></p>
69
+ </div>
70
+
71
+ <div style='mso-element:header' id=h1>
72
+
73
+ <p class=MsoHeader style='margin-bottom:18.0pt'><span lang=EN-GB
74
+ style='font-size:10.0pt;mso-bidi-font-size:11.0pt;font-weight:normal'>©
75
+ The Calendaring and Scheduling Consortium, Inc.&nbsp;{{ docyear }}&nbsp;– All rights reserved</span><span lang=EN-GB
76
+ style='font-weight:normal'><o:p></o:p></span></p>
77
+
78
+ </div>
79
+
80
+ <div style='mso-element:footer' id=ef1>
81
+
82
+ <p class=MsoFooter style='margin-top:12.0pt;line-height:12.0pt;mso-line-height-rule:
83
+ exactly'><!--[if supportFields]><b style='mso-bidi-font-weight:normal'><span
84
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
85
+ style='mso-element:field-begin'></span><span
86
+ style='mso-spacerun:yes'> </span>PAGE<span style='mso-spacerun:yes'>  
87
+ </span>\* MERGEFORMAT <span style='mso-element:field-separator'></span></span></b><![endif]--><b
88
+ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
89
+ mso-bidi-font-size:11.0pt'><span style='mso-no-proof:yes'>2</span></span></b><!--[if supportFields]><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-element:field-end'></span></span></b><![endif]--><span
92
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
93
+ style='mso-tab-count:1'>                                                                                                                                                                           </span>©
94
+ The Calendaring and Scheduling Consortium, Inc.&nbsp;{{ docyear }}&nbsp;– All rights reserved<o:p></o:p></span></p>
95
+
96
+ </div>
97
+
98
+ <div style='mso-element:header' id=eh2>
99
+ <p class=MsoHeader align=left style='text-align:left;line-height:12.0pt;
100
+ mso-line-height-rule:exactly'><span lang=EN-GB>The Calendaring and Scheduling Consortium, Inc.&nbsp;{{ docnumber }}:{{ docyear }}</span></p>
101
+ </div>
102
+
103
+ <div style='mso-element:header' id=eh2l>
104
+ <p class=MsoHeaderLandscape align=left style='text-align:left;line-height:12.0pt;
105
+ mso-line-height-rule:exactly'><span lang=EN-GB>The Calendaring and Scheduling Consortium, Inc.&nbsp;{{ docnumber }}:{{ docyear }}</span></p>
106
+ </div>
107
+
108
+ <div style='mso-element:header' id=h2>
109
+ <p class=MsoHeader align=right style='text-align:right;line-height:12.0pt;
110
+ mso-line-height-rule:exactly'><span lang=EN-GB>The Calendaring and Scheduling Consortium, Inc.&nbsp;{{ docnumber }}:{{ docyear }}</span></p>
111
+ </div>
112
+
113
+ <div style='mso-element:header' id=h2l>
114
+ <p class=MsoHeaderLandscape align=right style='text-align:right;line-height:12.0pt;
115
+ mso-line-height-rule:exactly'><span lang=EN-GB>The Calendaring and Scheduling Consortium, Inc.&nbsp;{{ docnumber }}:{{ docyear }}</span></p>
116
+ </div>
117
+
118
+ <div style='mso-element:footer' id=ef2>
119
+ <p class=MsoFooter style='line-height:12.0pt;mso-line-height-rule:exactly'><!--[if supportFields]><span
120
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
121
+ style='mso-element:field-begin'></span><span
122
+ style='mso-spacerun:yes'> </span>PAGE<span style='mso-spacerun:yes'>  
123
+ </span>\* MERGEFORMAT <span style='mso-element:field-separator'></span></span><![endif]--><span
124
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
125
+ style='mso-no-proof:yes'>ii</span></span><!--[if supportFields]><span
126
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
127
+ style='mso-element:field-end'></span></span><![endif]--><span lang=EN-GB
128
+ style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span style='mso-tab-count:
129
+ 1'>                                                                                                                                                                           </span>©
130
+ The Calendaring and Scheduling Consortium, Inc.&nbsp;{{ docyear }}&nbsp;– All rights reserved<o:p></o:p></span></p>
131
+ </div>
132
+
133
+ <div style='mso-element:footer' id=ef2l>
134
+ <p class=MsoFooterLandscape style='line-height:12.0pt;mso-line-height-rule:exactly'><!--[if supportFields]><span
135
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
136
+ style='mso-element:field-begin'></span><span
137
+ style='mso-spacerun:yes'> </span>PAGE<span style='mso-spacerun:yes'>  
138
+ </span>\* MERGEFORMAT <span style='mso-element:field-separator'></span></span><![endif]--><span
139
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
140
+ style='mso-no-proof:yes'>ii</span></span><!--[if supportFields]><span
141
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
142
+ style='mso-element:field-end'></span></span><![endif]--><span lang=EN-GB
143
+ style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span style='mso-tab-count:
144
+ 1'>                                                                                                                                                                           </span>©
145
+ The Calendaring and Scheduling Consortium, Inc.&nbsp;{{ docyear }}&nbsp;– All rights reserved<o:p></o:p></span></p>
146
+ </div>
147
+
148
+ <div style='mso-element:footer' id=f2>
149
+ <p class=MsoFooter style='line-height:12.0pt'><span lang=EN-GB
150
+ style='font-size:10.0pt;mso-bidi-font-size:11.0pt'>© The Calendaring and Scheduling Consortium, Inc.&nbsp;{{ docyear }}&nbsp;– All
151
+ rights reserved<span style='mso-tab-count:1'>                                                                                                                                                                          </span></span><!--[if supportFields]><span
152
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
153
+ style='mso-element:field-begin'></span> PAGE<span style='mso-spacerun:yes'>  
154
+ </span>\* MERGEFORMAT <span style='mso-element:field-separator'></span></span><![endif]--><span
155
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
156
+ style='mso-no-proof:yes'>iii</span></span><!--[if supportFields]><span
157
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
158
+ style='mso-element:field-end'></span></span><![endif]--><span lang=EN-GB
159
+ style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><o:p></o:p></span></p>
160
+ </div>
161
+
162
+ <div style='mso-element:footer' id=f2l>
163
+ <p class=MsoFooterLandscape style='line-height:12.0pt'><span lang=EN-GB
164
+ style='font-size:10.0pt;mso-bidi-font-size:11.0pt'>© The Calendaring and Scheduling Consortium, Inc.&nbsp;{{ docyear }}&nbsp;– All
165
+ rights reserved<span style='mso-tab-count:1'>                                                                                                                                                                          </span></span><!--[if supportFields]><span
166
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
167
+ style='mso-element:field-begin'></span> PAGE<span style='mso-spacerun:yes'>  
168
+ </span>\* MERGEFORMAT <span style='mso-element:field-separator'></span></span><![endif]--><span
169
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
170
+ style='mso-no-proof:yes'>iii</span></span><!--[if supportFields]><span
171
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
172
+ style='mso-element:field-end'></span></span><![endif]--><span lang=EN-GB
173
+ style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><o:p></o:p></span></p>
174
+ </div>
175
+
176
+ <div style='mso-element:footer' id=ef3>
177
+ <p class=MsoFooter style='margin-top:12.0pt;line-height:12.0pt;mso-line-height-rule:
178
+ exactly'><!--[if supportFields]><b style='mso-bidi-font-weight:normal'><span
179
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
180
+ style='mso-element:field-begin'></span><span
181
+ style='mso-spacerun:yes'> </span>PAGE<span style='mso-spacerun:yes'>  
182
+ </span>\* MERGEFORMAT <span style='mso-element:field-separator'></span></span></b><![endif]--><b
183
+ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
184
+ mso-bidi-font-size:11.0pt'><span style='mso-no-proof:yes'>2</span></span></b><!--[if supportFields]><b
185
+ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
186
+ mso-bidi-font-size:11.0pt'><span style='mso-element:field-end'></span></span></b><![endif]--><span
187
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
188
+ style='mso-tab-count:1'>                                                                                                                                                                           </span>©
189
+ The Calendaring and Scheduling Consortium, Inc.&nbsp;{{ docyear }}&nbsp;– All rights reserved<o:p></o:p></span></p>
190
+ </div>
191
+
192
+ <div style='mso-element:footer' id=ef3l>
193
+ <p class=MsoFooterLandscape style='margin-top:12.0pt;line-height:12.0pt;mso-line-height-rule:
194
+ exactly'><!--[if supportFields]><b style='mso-bidi-font-weight:normal'><span
195
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
196
+ style='mso-element:field-begin'></span><span
197
+ style='mso-spacerun:yes'> </span>PAGE<span style='mso-spacerun:yes'>  
198
+ </span>\* MERGEFORMAT <span style='mso-element:field-separator'></span></span></b><![endif]--><b
199
+ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
200
+ mso-bidi-font-size:11.0pt'><span style='mso-no-proof:yes'>2</span></span></b><!--[if supportFields]><b
201
+ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
202
+ mso-bidi-font-size:11.0pt'><span style='mso-element:field-end'></span></span></b><![endif]--><span
203
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
204
+ style='mso-tab-count:1'>                                                                                                                                                                           </span>©
205
+ The Calendaring and Scheduling Consortium, Inc.&nbsp;{{ docyear }}&nbsp;– All rights reserved<o:p></o:p></span></p>
206
+ </div>
207
+
208
+ <div style='mso-element:footer' id=f3>
209
+ <p class=MsoFooter style='line-height:12.0pt'><span lang=EN-GB
210
+ style='font-size:10.0pt;mso-bidi-font-size:11.0pt'>© The Calendaring and Scheduling Consortium, Inc.&nbsp;{{ docyear }}&nbsp;– All
211
+ rights reserved<span style='mso-tab-count:1'>                                                                                                                                                                           </span></span><!--[if supportFields]><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-element:field-begin'></span>
214
+ PAGE<span style='mso-spacerun:yes'>   </span>\* MERGEFORMAT <span
215
+ style='mso-element:field-separator'></span></span></b><![endif]--><b
216
+ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
217
+ mso-bidi-font-size:11.0pt'><span style='mso-no-proof:yes'>3</span></span></b><!--[if supportFields]><b
218
+ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
219
+ mso-bidi-font-size:11.0pt'><span style='mso-element:field-end'></span></span></b><![endif]--><span
220
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><o:p></o:p></span></p>
221
+ </div>
222
+
223
+ <div style='mso-element:footer' id=f3l>
224
+ <p class=MsoFooterLandscape style='line-height:12.0pt'><span lang=EN-GB
225
+ style='font-size:10.0pt;mso-bidi-font-size:11.0pt'>© The Calendaring and Scheduling Consortium, Inc.&nbsp;{{ docyear }}&nbsp;– All
226
+ rights reserved<span style='mso-tab-count:1'>                                                                                                                                                                           </span></span><!--[if supportFields]><b
227
+ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
228
+ mso-bidi-font-size:11.0pt'><span style='mso-element:field-begin'></span>
229
+ PAGE<span style='mso-spacerun:yes'>   </span>\* MERGEFORMAT <span
230
+ style='mso-element:field-separator'></span></span></b><![endif]--><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-no-proof:yes'>3</span></span></b><!--[if supportFields]><b
233
+ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
234
+ mso-bidi-font-size:11.0pt'><span style='mso-element:field-end'></span></span></b><![endif]--><span
235
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><o:p></o:p></span></p>
236
+ </div>
237
+
238
+ </body>
239
+
240
+ </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,93 @@
1
+ <div class="document-stage-band" id="{{ stage | replace: ' ', '-' | downcase }}-band">
2
+ <p class="document-stage">{{ stage }}</p>
3
+ </div>
4
+
5
+ <div class="document-type-band" id="{{ doctype | replace: ' ', '-' | downcase }}-band">
6
+ <p class="document-type">CalConnect {{ doctype }}</p>
7
+ </div>
8
+
9
+ <div id='toggle'> <span>•</span> </div>
10
+
11
+ <header>
12
+
13
+ <!--<div class="WordSection1">-->
14
+ <div class="coverpage">
15
+ <div class="wrapper-top">
16
+
17
+ <div class="coverpage-doc-identity">
18
+ <div class="doc-number">
19
+ <span class="docnumber">{{ docnumber }}</span>
20
+ <!-- <span class="docnumber-separator">:</span>
21
+ <span class="docyear">{{ docyear }}</span> -->
22
+ </div>
23
+
24
+ <div class="coverpage-title">
25
+ <span class="title-first">{{ doctitle }}</span>
26
+ <!--<span class="title-second">{{ docsubtitle }}</span>-->
27
+ </div>
28
+ </div>
29
+
30
+ <div class="coverpage-logo">
31
+ <span>The Calendaring and Scheduling Consortium</span>
32
+ </div>
33
+
34
+ <div class="coverpage-tc-name">
35
+ <span>TC {{ tc }}</span>
36
+ </div>
37
+
38
+ {% capture tags %}
39
+ {% for tag in roles_authors_affiliations %}
40
+ {{ tag[0] }}
41
+ {% endfor %}
42
+ {% endcapture %}
43
+
44
+ {% assign sortedtags = tags | split:' ' | sort %}
45
+
46
+ <div class="coverpage-contributors">
47
+ {% for tag in sortedtags %}
48
+ <div class="group {{ tag }}">
49
+ {% for affiliation in roles_authors_affiliations[tag] %}
50
+ {% for author in affiliation[1] %}
51
+ <span class="person {{ tag }}">{{ author }}<span class="role">{{ tag | capitalize }}</span></span>
52
+ {% endfor %}
53
+ <div class="affiliation">{{affiliation[0]}}</div>
54
+ {% endfor %}
55
+ </div>
56
+ {% endfor %}
57
+
58
+ </div>
59
+ </div>
60
+
61
+ <div class="title-section1">
62
+ <div class="coverpage-stage-block" >
63
+ <span class="coverpage-stage" id="{{ doctype | replace: ' ', '-' | downcase }}">CalConnect {{ doctype }}</span>
64
+ </div>
65
+
66
+ <div class="coverpage-stage-block" >
67
+ <span class="coverpage-maturity" id="{{ stage | replace: ' ', '-' | downcase }}">{% if unpublished %}{{ stage }}{% endif %}</span>
68
+ </div>
69
+
70
+ {% if unpublished %}
71
+ <div class="coverpage-warning">
72
+ <div id="boilerplate-license-destination"/>
73
+ </div>
74
+ {% endif %}
75
+
76
+ <div class="copyright">
77
+ <div class="year">
78
+ <div id="boilerplate-copyright-destination"/>
79
+ </div>
80
+
81
+ <div class="message">
82
+ <div id="boilerplate-legal-destination"/>
83
+ </div>
84
+
85
+ <div class="contact-info">
86
+ <div id="boilerplate-feedback-destination"/>
87
+ </div>
88
+ </div>
89
+
90
+ <div class="rule"></div>
91
+ </div>
92
+ </div>
93
+ </header>
@@ -0,0 +1,409 @@
1
+ $doctype-colors-list: (
2
+ standard: #0AC442,
3
+ directive: #540D6E,
4
+ guide: #D183C9,
5
+ specification: #65AFFF,
6
+ report: #3A405A,
7
+ amendment: #F26430,
8
+ corrigendum: #C84630,
9
+ administrative: #BFAE48,
10
+ advisory: #BD9391
11
+ );
12
+
13
+
14
+ $docstage-colors-list: (
15
+ proposal: #39A0ED,
16
+ working-draft: #2D7393,
17
+ committee-draft: #2A6B7C,
18
+ draft-standard: #1C7F7A,
19
+ final-draft: #53C170,
20
+ published: #069E2D,
21
+ withdrawn: #004E64,
22
+ cancelled: #2E382E,
23
+ );
24
+
25
+
26
+ @import 'base_style/all';
27
+
28
+
29
+ body {
30
+ // line-height: 1;
31
+
32
+ @include bodyStyle1(
33
+ $fontSize: 15px, $fontWeight: 300, $lineHeight: 1.4em,
34
+ $colorText: #1d1d1d, $colorBackground: #fff);
35
+ }
36
+
37
+ .container {
38
+ @include sidebarNavContainer(360px);
39
+ }
40
+
41
+ nav {
42
+ @include sidebarNav(
43
+ $offsetLeft: 45px,
44
+ $colorBg: #f7f7f7,
45
+ $width: 323px);
46
+
47
+ #toc {
48
+ @include sidebarToc();
49
+ }
50
+ }
51
+
52
+ #toggle {
53
+ @include sidebarNavToggle(
54
+ $colorBg: #1d1d1d,
55
+ $colorFg: white);
56
+ }
57
+
58
+ #toc {
59
+ @include toc($colorLink: #485094, $colorLinkActiveBg: #1d1d1d, $colorLinkActiveFg: white);
60
+
61
+ ul {
62
+ margin-bottom: 0.25em;
63
+ }
64
+
65
+ li {
66
+ list-style-type: none;
67
+
68
+ &:before {
69
+ content: " " !important;
70
+ display: none;
71
+ }
72
+ }
73
+ }
74
+
75
+ .rule {
76
+ @include rule(1px, #0e1a85, 2em 0);
77
+
78
+ &.toc {
79
+ @include tocSeparator();
80
+ }
81
+ }
82
+
83
+ .document-stage-band {
84
+ @include docBand($order: 1, $textLength: 160px, $fontWeight: 300);
85
+ }
86
+
87
+ .document-type-band {
88
+ @include docBand($order: 2, $offset: 180px);
89
+
90
+ .document-type {
91
+ top: 20px;
92
+ }
93
+ }
94
+
95
+
96
+ /* Typograpy */
97
+
98
+ h1, h2, h3, h4, h5, h6 {
99
+ color: #0e1a85;
100
+ font-weight: 600;
101
+ margin-top: 2em;
102
+ margin-bottom: 0.3em;
103
+ }
104
+
105
+ h1 {
106
+ font-size: 1.4em;
107
+ text-transform: uppercase;
108
+ margin-top: 2em;
109
+
110
+ &#content {
111
+ margin-top: 2em;
112
+ }
113
+ }
114
+
115
+ h2 {
116
+ font-size: 1.3em;
117
+ font-weight: 400;
118
+
119
+ p {
120
+ display: inline;
121
+ }
122
+ }
123
+
124
+ h3 {
125
+ font-size: 1.1em;
126
+ font-weight: 400;
127
+ }
128
+
129
+ p {
130
+ margin-top: 1em;
131
+ margin-bottom: 1em;
132
+ }
133
+
134
+
135
+ /* Terms */
136
+
137
+ .TermNum, .Terms, .AltTerms {
138
+ color: #485094;
139
+ font-weight: 400;
140
+ }
141
+
142
+ p.TermNum {
143
+ font-size: 0.9em;
144
+ line-height: 1em;
145
+ margin: 0;
146
+ margin-top: 2em;
147
+ }
148
+
149
+ p.Terms {
150
+ font-size: 1.1em;
151
+ line-height: 1.7em;
152
+ margin: 0;
153
+ }
154
+
155
+
156
+ /* Links, selection */
157
+
158
+ @include elementStyles(
159
+ $color: #485094,
160
+ $colorHighlightBg: #1d1d1d,
161
+ $colorHighlightFg: white);
162
+
163
+
164
+ /* Lists */
165
+
166
+ ol {
167
+ margin-left: 1.2em;
168
+ }
169
+
170
+ ul {
171
+ position: relative;
172
+ margin-left: 0;
173
+ list-style: none;
174
+ padding-left: 1.2em;
175
+ }
176
+
177
+ ul > li:before {
178
+ content: "\2014";
179
+ position: absolute;
180
+ left: 0;
181
+ }
182
+
183
+ main li {
184
+ margin-top: 1em;
185
+ padding-left: 0.5em;
186
+ }
187
+
188
+
189
+ /* Bibliograhy */
190
+
191
+ p.Biblio, p.NormRef {
192
+ margin-top: 1em;
193
+ }
194
+
195
+ p.Biblio:before, p.NormRef:before {
196
+ content: "\2014";
197
+ padding-right: 1em;
198
+ }
199
+
200
+
201
+ /* Blocks */
202
+
203
+ .figure {
204
+ @include figureBlock();
205
+ @include monospaceBlockStyle();
206
+ }
207
+
208
+ .SourceTitle {
209
+ @include blockTitle();
210
+ }
211
+
212
+ pre {
213
+ @include sourceBlock(#f7f7f7);
214
+
215
+ .example & {
216
+ background: none;
217
+ }
218
+ }
219
+
220
+ .pseudocode {
221
+ @include pseudocodeBlock(#f7f7f7);
222
+
223
+ .example & {
224
+ background: none;
225
+ }
226
+ }
227
+
228
+ .Admonition {
229
+ @include admonitionBlock();
230
+ }
231
+
232
+ .recommend {
233
+ @include recommendationBlock();
234
+ }
235
+
236
+ .require {
237
+ @include recommendationBlock();
238
+ }
239
+
240
+ .permission {
241
+ @include recommendationBlock();
242
+ }
243
+
244
+
245
+ .Note, .Admonition {
246
+ color: #47430c;
247
+ padding: 0.25em;
248
+ margin: 0;
249
+ }
250
+
251
+ .Note {
252
+ background-color: #fff495;
253
+
254
+ p {
255
+ margin: 1em;
256
+ }
257
+ }
258
+
259
+ .blockquote, .Quote {
260
+ @include blockquoteBlock(#f7f7f7, $rightAlignAttribution: true);
261
+ }
262
+
263
+ .formula, .Formula {
264
+ @include formulaBlock(#f7f7f7);
265
+ }
266
+
267
+
268
+ /* Examples */
269
+
270
+ table.example {
271
+ background-color: #e1eef1;
272
+ }
273
+
274
+ td.example {
275
+ padding: 0 1em 0 1em;
276
+ margin: 2em 0 1em 0;
277
+ }
278
+
279
+ .example {
280
+ background-color: #e1eef1;
281
+ padding: 0.5em;
282
+ margin: 2em 0 1em 0;
283
+ text-align: left;
284
+ padding-left: 2em;
285
+ }
286
+
287
+ .example p {
288
+ margin: 0;
289
+ }
290
+
291
+ .example .example-title {
292
+ font-weight: 700;
293
+ text-transform: uppercase;
294
+ margin-left:-1.5em;
295
+ }
296
+
297
+ .example pre, .example .pseudocode {
298
+ background: none;
299
+ }
300
+
301
+
302
+ /* Tables */
303
+
304
+ table {
305
+ @include table($border: 1px solid black);
306
+ }
307
+
308
+ p.TableTitle {
309
+ text-align: center;
310
+ margin-top: 2.5em;
311
+ font-weight: 400;
312
+ }
313
+
314
+
315
+ /* Footnotes */
316
+
317
+ a.footnote-number {
318
+ vertical-align: super;
319
+ font-size: 0.8em;
320
+ }
321
+
322
+ .footnote {
323
+ font-size: 0.9em;
324
+ }
325
+
326
+
327
+ /* Contact Info */
328
+
329
+ .contact-info {
330
+ background-color: #f7f7f7;
331
+ padding: 1em;
332
+ margin-top: 2em;
333
+ width: auto;
334
+ margin-left: auto;
335
+ margin-right: auto;
336
+ text-align: left;
337
+
338
+ p, a {
339
+ font-family: $monospacefont;
340
+ font-variant-ligatures: none;
341
+ font-weight: 400;
342
+ line-height: 1.3em;
343
+ font-size: 1em;
344
+ margin: 0;
345
+ }
346
+
347
+ a:hover {
348
+ color: #485094;
349
+ background: none;
350
+ text-decoration: underline;
351
+ box-shadow: none;
352
+ }
353
+
354
+ .name {
355
+ font-weight: 700;
356
+ }
357
+ }
358
+
359
+
360
+ /* Keywords */
361
+
362
+ span.keyword {
363
+ font-weight: 600;
364
+ }
365
+
366
+
367
+
368
+ /* Admonitions */
369
+
370
+ .Admonition, .admonition {
371
+ background-color: #ffb3b3;
372
+ padding: 0.5em;
373
+ margin: 1.5em 0 1.5em 0;
374
+ text-align: left;
375
+
376
+ p {
377
+ margin: 0;
378
+ }
379
+ }
380
+
381
+
382
+ @import 'coverpage';
383
+
384
+
385
+ // To top button
386
+
387
+ #myBtn {
388
+ @include toTopBtn($color: white, $colorBg: #1d1d1d);
389
+ }
390
+
391
+ a.anchorjs-link:hover {
392
+ background: none;
393
+ color: #485094;
394
+ box-shadow: none;
395
+ }
396
+
397
+ @page {
398
+ margin: 2cm 1cm 2cm 1cm;
399
+ }
400
+
401
+ @media print {
402
+ h1, .title-section1 {
403
+ page-break-before: always;
404
+ }
405
+
406
+ h1.toc-contents {
407
+ margin-top: 2em;
408
+ }
409
+ }