metanorma-ogc 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +1 -0
  3. data/.hound.yml +3 -0
  4. data/.rubocop.yml +10 -0
  5. data/.travis.yml +16 -0
  6. data/CODE_OF_CONDUCT.md +74 -0
  7. data/Gemfile +4 -0
  8. data/LICENSE +25 -0
  9. data/README.adoc +323 -0
  10. data/Rakefile +6 -0
  11. data/bin/console +14 -0
  12. data/bin/rspec +17 -0
  13. data/bin/setup +8 -0
  14. data/lib/asciidoctor/ogc.rb +7 -0
  15. data/lib/asciidoctor/ogc/biblio.rng +890 -0
  16. data/lib/asciidoctor/ogc/converter.rb +253 -0
  17. data/lib/asciidoctor/ogc/front.rb +163 -0
  18. data/lib/asciidoctor/ogc/isodoc.rng +1091 -0
  19. data/lib/asciidoctor/ogc/isostandard.rng +1068 -0
  20. data/lib/asciidoctor/ogc/ogc.rng +210 -0
  21. data/lib/isodoc/ogc.rb +10 -0
  22. data/lib/isodoc/ogc/html/header.html +181 -0
  23. data/lib/isodoc/ogc/html/html_ogc_intro.html +85 -0
  24. data/lib/isodoc/ogc/html/html_ogc_titlepage.html +172 -0
  25. data/lib/isodoc/ogc/html/htmlstyle.scss +1054 -0
  26. data/lib/isodoc/ogc/html/ogc.scss +644 -0
  27. data/lib/isodoc/ogc/html/scripts.html +82 -0
  28. data/lib/isodoc/ogc/html/scripts.pdf.html +70 -0
  29. data/lib/isodoc/ogc/html/word_ogc_intro.html +92 -0
  30. data/lib/isodoc/ogc/html/word_ogc_titlepage.html +194 -0
  31. data/lib/isodoc/ogc/html/wordstyle.scss +1104 -0
  32. data/lib/isodoc/ogc/html_convert.rb +355 -0
  33. data/lib/isodoc/ogc/i18n-en.yaml +1 -0
  34. data/lib/isodoc/ogc/metadata.rb +102 -0
  35. data/lib/isodoc/ogc/pdf_convert.rb +357 -0
  36. data/lib/isodoc/ogc/word_convert.rb +345 -0
  37. data/lib/metanorma-ogc.rb +8 -0
  38. data/lib/metanorma/ogc.rb +11 -0
  39. data/lib/metanorma/ogc/processor.rb +43 -0
  40. data/lib/metanorma/ogc/version.rb +5 -0
  41. data/metanorma-ogc.gemspec +45 -0
  42. metadata +338 -0
@@ -0,0 +1,172 @@
1
+ <div class="document-stage-band" id='{{ status | downcase | replace: " ", "-" }}-band'>
2
+ <p class="document-stage">{{ status }}</p>
3
+ </div>
4
+
5
+ <div class="document-type-band" id='{{ doctype | downcase | replace: " ", "-" }}-band'>
6
+ <p class="document-type">OGC {{ 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="coverpage-metadata">
21
+ <span>Submission Date: {{ receiveddate }}</span>
22
+ <span>Approval Date: {{ issueddate }}</span>
23
+ <span>Publication Date: {{ publisheddate }}</span>
24
+ <span>External identifier of this OGC® document: <span class="docnumber">{{ externalid }}</span></span>
25
+ <span>Internal identifier of this OGC® document: <span class="docnumber">{{ docnumber }}</span></span>
26
+ {% if url or html %}
27
+ <span>URL for this OGC® document: <a href="{{ url or html }}">{{ url or html }}</a></span>
28
+ {% endif %}
29
+ {% if previousuri %}
30
+ <span>Previous URI: <a href="{{ previousuri }}">{{previousuri}}</a></span>
31
+ {% endif %}
32
+ {% if editors %}
33
+ <span>Editor: {{ editors | join: ", " }}</span>
34
+ {% endif %}
35
+ </div>
36
+
37
+ {% if xml or pdf or doc %}
38
+ <div class="coverpage-alt-formats">
39
+ <span>Additional Formats: </span>
40
+ {% if xml %}
41
+ <span><a href="{{ xml }}"><i class="far fa-file-code"></i>XML</a></span>
42
+ {% endif %}
43
+ {% if pdf %}
44
+ <span><a href="{{ pdf }}"><i class="far fa-file-pdf"></i>PDF</a></span>
45
+ {% endif %}
46
+ {% if doc %}
47
+ <span><a href="{{ doc }}"><i class="far fa-file-word"></i>DOC</a></span>
48
+ {% endif %}
49
+ </span>
50
+ </div>
51
+ {% endif %}
52
+
53
+ <div class="coverpage-title">
54
+ <span class="title-first">{{ doctitle }}</span>
55
+ <!--<span class="title-second">{{ docsubtitle }}</span>-->
56
+ </div>
57
+ </div>
58
+
59
+ <div class="coverpage-logo">
60
+ <span>Open Geospatial Consortium {{ docyear }}</span>
61
+ </div>
62
+
63
+ <div class="coverpage-tc-name">
64
+ <span>{{ tc | capitalize }}</span>
65
+ </div>
66
+ </div>
67
+
68
+ <div class="wrapper-top-bottom"></div>
69
+
70
+ <div class="WordSection11">
71
+ <div class="coverpage-stage-block" >
72
+ <span class="coverpage-stage" id="{{ doctype | replace: ' ', '-' | downcase }}">OGC {{ doctype }}</span>
73
+ </div>
74
+
75
+ <div class="coverpage-stage-block" >
76
+ <p><span class="coverpage-maturity" id="{{ status | replace: ' ', '-' | downcase }}">{{ status }}</span></p>
77
+ </div>
78
+
79
+ {% if doctype == "Standard" or doctype == "Standard With Suite" %}
80
+ <div class="coverpage-warning">
81
+ <span class="title">Warning</span>
82
+ <p class="content">This document is an OGC Member approved international standard. This document is available on a royalty free, non-discriminatory basis. Recipients of this document are invited to submit, with their comments, notification of any relevant patent rights of which they are aware and to provide supporting documentation.
83
+ </p>
84
+ </div>
85
+ {% endif %}
86
+
87
+ {% if doctype == "Discussion Paper" %}
88
+ <div class="coverpage-warning">
89
+ <span class="title">Warning</span>
90
+ <p class="content">This document is not an OGC Standard. This document is an OGC Discussion Paper and is therefore <i>not an official position</i> of the OGC membership. It is distributed for review and comment. It is subject to change without notice and may not be referred to as an OGC Standard. Further, an OGC Discussion Paper should not be referenced as required or mandatory technology in procurements.
91
+ </p>
92
+ </div>
93
+ {% endif %}
94
+
95
+
96
+ {% if doctype == "Engineering Report" %}
97
+ <div class="coverpage-warning">
98
+ <span class="title">Warning</span>
99
+ <p class="content">This document is not an OGC Standard. This document is an OGC Public Engineering Report created as a deliverable in an OGC Interoperability Initiative and is <i>not an official position</i> of the OGC membership. It is distributed for review and comment. It is subject to change without notice and may not be referred to as an OGC Standard. Further, any OGC Engineering Report should not be referenced as required or mandatory technology in procurements.
100
+ </p>
101
+ </div>
102
+ {% endif %}
103
+
104
+
105
+ {% if doctype == "Best Practice" %}
106
+ <div class="coverpage-warning">
107
+ <span class="title">Warning</span>
108
+ <p class="content">This document defines an OGC Best Practices on a particular technology or approach related to an OGC standard. This document is <i>not</i> an OGC Standard and may not be referred to as an OGC Standard. It is subject to change without notice. However, this document is an <i>official</i> position of the OGC membership on this particular technology topic.
109
+ </p>
110
+ </div>
111
+ {% endif %}
112
+
113
+ {% if doctype == "Policy" %}
114
+ <div class="coverpage-warning">
115
+ <span class="title">Warning</span>
116
+ <p class="content">This document is an OGC Policies and Procedures Document. The document is subject to change based on membership requirements and motions. Please note that the OGC <a href="http://www.opengeospatial.org/ogc/policies/directives">Policies Related to OGC Standards</a> should be also be read.
117
+ </p>
118
+ </div>
119
+ {% endif %}
120
+
121
+ {% if status != "Published" and status != "Withdrawn" %}
122
+ <div class="coverpage-warning">
123
+ <span class="title">Warning for Drafts</span>
124
+
125
+ <p class="content">
126
+ This document is not a OGC Standard. It is distributed for review and
127
+ comment, and is subject to change without notice and may not be referred to as
128
+ a Standard.</p>
129
+ <p class="content">Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. The Open Geospatial Consortium Inc. shall not be held responsible for identifying any or all such patent rights.
130
+ </p>
131
+ <p class="content">Recipients of this document are requested to submit, with their comments, notification of any relevant patent claims or other intellectual property rights of which they may be aware that might be infringed by any implementation of the standard set forth in this document, and to provide supporting documentation.
132
+ </p>
133
+ </div>
134
+ {% endif %}
135
+
136
+ <div class="info-section">
137
+ <div class="copyright">
138
+ <p class="year">
139
+ &copy; {{ docyear }} Open Geospatial Consortium
140
+ </p>
141
+
142
+ <p class="message">
143
+ All rights reserved. Unless otherwise specified, no part of this
144
+ publication may be reproduced or utilized otherwise in any form or by any
145
+ means, electronic or mechanical, including photocopying, or posting on the
146
+ internet or an intranet, without prior written permission. Permission can
147
+ be requested from the address below.
148
+
149
+ To obtain additional rights of use, visit <a href="http://www.opengeospatial.org/legal/">http://www.opengeospatial.org/legal/</a>.
150
+ </p>
151
+
152
+ <div class="contact-info">
153
+ <p class="name">Open Geospatial Consortium</p>
154
+ <p class="address">
155
+ 35 Main Street<br />
156
+ Suite 5<br />
157
+ Wayland<br />
158
+ MA, 01778<br />
159
+ United States of America<br />
160
+ <br />
161
+ <a href="mailto:copyright@opengeospatial.org">copyright@opengeospatial.org</a><br />
162
+ <a href="www.opengeospatial.org">www.opengeospatial.org</a>
163
+ </p>
164
+ </div>
165
+ </div>
166
+
167
+ <div class="rule"></div>
168
+ </div>
169
+ </div>
170
+
171
+
172
+ </header>
@@ -0,0 +1,1054 @@
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,
63
+ a, abbr, acronym, address, big, cite,
64
+ del, dfn, em, img, ins, q, s,
65
+ small, strike, strong, sub, sup, 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
+ code, pre, tt, kbd, samp {
78
+ font-family: $monospacefont;
79
+ font-variant-ligatures: none;
80
+ }
81
+
82
+ code *, pre *, tt *, kbd *, samp * {
83
+ font-family: $monospacefont !important;
84
+ font-variant-ligatures: none;
85
+ }
86
+
87
+ h1, h2, h3, h4, h5, h6, .h2Annex {
88
+ font-family: $headerfont;
89
+ }
90
+
91
+ dl {
92
+ display: grid;
93
+ grid-template-columns: max-content auto;
94
+ }
95
+
96
+ dt {
97
+ grid-column-start: 1;
98
+ }
99
+
100
+ dd {
101
+ grid-column-start: 2;
102
+ }
103
+
104
+ dd p, dt p {
105
+ margin-top: 0px;
106
+ }
107
+
108
+ /* HTML5 display-role reset for older browsers */
109
+ article, aside, details, figcaption, figure,
110
+ footer, header, hgroup, menu, nav, section {
111
+ display: block;
112
+ }
113
+ body {
114
+ line-height: 1;
115
+ }
116
+
117
+ blockquote, q {
118
+ quotes: none;
119
+ }
120
+ blockquote:before, blockquote:after,
121
+ q:before, q:after {
122
+ content: '';
123
+ content: none;
124
+ }
125
+ table {
126
+ border-collapse: collapse;
127
+ border-spacing: 0;
128
+ }
129
+
130
+
131
+ /*
132
+ 1. HTML & Body
133
+ */
134
+
135
+ body {
136
+ margin: 0;
137
+ margin-left: auto;
138
+ margin-right: auto;
139
+ max-width: 100%;
140
+ color: #1d1d1d;
141
+ font-weight: 300;
142
+ font-size: 15px;
143
+ line-height: 1.4em;
144
+ background-color: #ffffff;
145
+ }
146
+
147
+ main {margin: 0 3em 0 6em;}
148
+
149
+ #toc{
150
+ font-family: $bodyfont;
151
+ font-weight: 400;
152
+ }
153
+
154
+ /*
155
+ 2. Responsive navigation layout
156
+ */
157
+
158
+
159
+ @media screen and (min-width: 768px) {
160
+ nav {
161
+ position: fixed;
162
+ top: 0;
163
+ bottom: 0;
164
+ left: 0;
165
+ width: 323px;
166
+ font-size: 0.9em;
167
+ overflow: auto;
168
+ padding: 0 0 0 45px;
169
+ margin-right: 30px;
170
+ background-color:#f6f6f6;
171
+ }
172
+
173
+ #toggle {
174
+ position: fixed;
175
+ height: 100%;
176
+ width: 30px;
177
+ background-color:#00335b;
178
+ color: white!important;
179
+ cursor: pointer;
180
+ z-index: 100;
181
+ }
182
+
183
+ #toggle span {
184
+ text-align: center;
185
+ width: 100%;
186
+ position: absolute;
187
+ top: 50%;
188
+ transform: translate(0, -50%);
189
+
190
+ }
191
+
192
+ .container {
193
+ padding-left: 360px;
194
+ }
195
+
196
+ .rule.toc {
197
+ display: none;
198
+ }
199
+
200
+ h1.toc-contents {
201
+ margin-top: 1em;
202
+ }
203
+
204
+ ul#toc-list {
205
+ padding:0;
206
+ margin:0;
207
+ }
208
+ }
209
+
210
+ @media screen and (max-width: 768px) {
211
+ #toc {
212
+ padding: 0 1.5em 0 1.5em;
213
+ overflow: visible;
214
+ }
215
+ }
216
+
217
+ @media screen {
218
+ img {
219
+ width: 100%;
220
+ height: auto;
221
+ }
222
+ }
223
+
224
+ #toc ul {
225
+ margin: 0;
226
+ padding: 0;
227
+ list-style: none;
228
+ }
229
+
230
+ #toc li {
231
+ padding: 5px 10px;
232
+ }
233
+
234
+ #toc a {
235
+ color: #2e81c2;
236
+ text-decoration: none;
237
+ display: block;
238
+ }
239
+
240
+ #toc a:hover {
241
+ color: white;
242
+ }
243
+
244
+ #toc .h2 {
245
+ padding-left: 30px;
246
+ }
247
+
248
+ #toc .h3 {
249
+ padding-left: 50px;
250
+ }
251
+
252
+ #toc .toc-active a {
253
+ color: white;
254
+ }
255
+
256
+ #toc .toc-active, #toc li:hover {
257
+ background: #00335b;
258
+ box-shadow: inset -5px 0px 10px -5px #00335b!important;
259
+
260
+ }
261
+
262
+ #toc li:hover a {
263
+ color: white;
264
+ background: none;
265
+ box-shadow: none;
266
+ }
267
+
268
+ #toc li a {
269
+ text-transform: uppercase;
270
+ }
271
+
272
+ /*
273
+ Document types + stages
274
+ */
275
+
276
+ .document-type-band {
277
+ left:0;
278
+ top:180px;
279
+ height: 100%;
280
+ position: fixed;
281
+ display: block;
282
+ z-index: 99;
283
+ /*box-shadow: -5px 0px 10px #1d1d1d*/
284
+
285
+ }
286
+
287
+ .document-stage-band {
288
+ left:0;
289
+ top:0;
290
+ height: 100%;
291
+ position: fixed;
292
+ display: block;
293
+ z-index: 98;
294
+ box-shadow: -5px 0px 10px #1d1d1d
295
+ }
296
+
297
+ .document-type {
298
+ position: relative;
299
+ width: 25px;
300
+ }
301
+
302
+ .document-stage {
303
+ position: relative;
304
+ width: 25px;
305
+ }
306
+
307
+ p.document-type, p.document-stage {
308
+ color: white;
309
+ text-transform: uppercase;
310
+ font-size: 0.9em;
311
+ font-weight: 400;
312
+ letter-spacing: 0.05em;
313
+ margin:0;
314
+ margin-left: 6px;
315
+ writing-mode:tb-rl;
316
+ transform:rotate(180deg);
317
+ white-space:nowrap;
318
+ display:block;
319
+ bottom:0;
320
+ }
321
+
322
+ p.document-type {
323
+ font-weight: 400;
324
+ height: 210px;
325
+ }
326
+
327
+ #governance-band p.document-type {
328
+ font-weight: 400;
329
+ height: 230px!important;
330
+ }
331
+
332
+ p.document-stage {
333
+ font-weight: 300;
334
+ height:160px;
335
+ }
336
+
337
+ $doctype-colors-list:(
338
+ standard: #0AC442,
339
+ standard-with-suite: #540D6E,
340
+ abstract-specification: #D183C9,
341
+ community-standard: #65AFFF,
342
+ profile: #3A405A,
343
+ best-practice: #F26430,
344
+ engineering-report: #C84630,
345
+ discussion-paper: #BFAE48,
346
+ reference-model: #BD9391,
347
+ user-guide: #303633,
348
+ policy: #8BE8CB,
349
+ guide: #7EA2AA,
350
+ amendment: #888DA7,
351
+ technical-corrigendum: #9C7A97,
352
+ administrative: #C4F1BE
353
+ );
354
+
355
+ @each $key,$val in $doctype-colors-list{
356
+ ##{$key}-band {
357
+ background-color: #{$val};
358
+ }
359
+ ##{$key} {
360
+ border-bottom: solid 3px #{$val};
361
+ }
362
+ }
363
+
364
+ $docstage-colors-list:(
365
+ rfc: #39A0ED,
366
+ candidate: #2D7393,
367
+ published: #069E2D,
368
+ deprecated: #004E64,
369
+ retired: #2E382E,
370
+ );
371
+
372
+ @each $key,$val in $docstage-colors-list{
373
+ ##{$key}-band {
374
+ background-color: #{$val};
375
+ }
376
+ ##{$key} {
377
+ border-bottom: solid 3px #{$val};
378
+ }
379
+ }
380
+
381
+ .coverpage-maturity {
382
+ font-family: $bodyfont;
383
+ font-weight: 400;
384
+ font-size: 1em;
385
+ margin: 0 0 2em 0;
386
+ text-transform: uppercase;
387
+ }
388
+
389
+
390
+
391
+ /*
392
+ 3. TYPOGRAPHY
393
+ */
394
+
395
+ /*
396
+ 3.1 Titles
397
+ */
398
+
399
+ h1,h2,h3,h4,h5,h6 {
400
+ font-family: $headerfont;
401
+ color: #00335b;
402
+ font-weight: 300;
403
+ margin-top: 1.6em;
404
+ margin-bottom: 0.3em;
405
+ }
406
+
407
+ h1 {
408
+ font-size: 1.6em;
409
+ text-transform: uppercase;
410
+ margin-top: 2em;
411
+ }
412
+
413
+ h1#content {
414
+ margin-top: 2em;
415
+ }
416
+
417
+ h2 {
418
+ margin-top: 1.3em;
419
+ font-size: 1.3em;
420
+ font-weight: 400;
421
+ }
422
+
423
+ h3 {
424
+ margin-top: 1.1em;
425
+ font-size: 1.1em;
426
+ font-weight: 100;
427
+ }
428
+
429
+ .TermNum, .Terms, .AltTerms {
430
+ color: #00335b;
431
+ font-weight: 100;
432
+ }
433
+
434
+ h2.TermNum {
435
+ margin-bottom: 0;
436
+ }
437
+
438
+ p.Terms {
439
+ font-size: 1.1em;
440
+ line-height: 1.5em;
441
+ margin: 0;
442
+ }
443
+
444
+ p.AltTerms {
445
+ /*
446
+ font-style: italic;
447
+ */
448
+ font-size: 1.1em;
449
+ margin: 0;
450
+ }
451
+
452
+ /*
453
+ 3.2 Links
454
+ */
455
+
456
+ a, a:visited{
457
+ text-decoration: none;
458
+ color: #2e81c2;
459
+ }
460
+
461
+ a:hover {
462
+ color: white;
463
+ background: #00335b;
464
+ box-shadow: 3px 0 0 #00335b, -3px 0 0 #00335b;
465
+ /* padding: 2px 0 2px 0; */
466
+ }
467
+
468
+ ::selection {
469
+ background: #00335b; /* WebKit/Blink Browsers */
470
+ color: white;
471
+ }
472
+ ::-moz-selection {
473
+ background: #00335b; /* Gecko Browsers */
474
+ color: white;
475
+ }
476
+
477
+ .contact-info a:hover {
478
+ color: #2e81c2;
479
+ text-decoration: underline;
480
+ background: none;
481
+ box-shadow: 0 0 0 0;
482
+ }
483
+
484
+
485
+
486
+ /*
487
+ 3.3 Lists
488
+ */
489
+
490
+ ul, ol {margin-left: 1.2em;}
491
+
492
+ ul li {
493
+ list-style: none;
494
+ }
495
+
496
+ ul li:before {
497
+ content: "\2014";
498
+ display: inline-block; width: 1em;
499
+ margin-left: -1.2em;
500
+ }
501
+
502
+ ul li p:first-child {
503
+ display: inline;
504
+ }
505
+
506
+ ul li:first-child {
507
+ margin-top: 1em;
508
+ }
509
+
510
+ #toc-list ul {margin-bottom: 0.25em;}
511
+
512
+ #toc-list li {list-style-type: none;}
513
+
514
+ #toc li:before {
515
+ content: " ";
516
+ display: none;
517
+ }
518
+
519
+
520
+ /*
521
+ 3.4 Rules
522
+ */
523
+
524
+ .rule {
525
+ width: 100%;
526
+ height: 1px;
527
+ background-color: #00335b;
528
+ margin: 2em 0;
529
+ }
530
+
531
+ /*
532
+ 3.5 Bibliograhy
533
+ */
534
+
535
+ p.Biblio, p.NormRef {
536
+ margin-top: 1em;
537
+ margin-left: 2em;
538
+ }
539
+
540
+ /*
541
+ 3.6 Source Code + figures
542
+ */
543
+
544
+ .figure, .Sourcecode {
545
+ font-family: $monospacefont;
546
+ font-variant-ligatures: none;
547
+ background-color: #f6f6f6;
548
+ font-size: 0.8em;
549
+ line-height: 1.6em;
550
+ padding: 1.5em;
551
+ margin: 2em 0 1em 0;
552
+ overflow: auto;
553
+ }
554
+
555
+ .FigureTitle {
556
+ font-weight: 700;
557
+ font-size: 1em;
558
+ text-align: center;
559
+ }
560
+
561
+ /*
562
+ 3.7 Notes
563
+ */
564
+
565
+ .Note {
566
+ background-color: #fff495;
567
+ color: #47430c;
568
+ padding: 1.2em;
569
+ margin: 1em 0 1em 0;
570
+
571
+ p {
572
+ margin: 0;
573
+ }
574
+ }
575
+
576
+ .Admonition {
577
+ background-color: #ffcccc;
578
+ color: #47430c;
579
+ padding: 1.2em;
580
+ margin: 1em 0 1em 0;
581
+
582
+ p {
583
+ margin: 0;
584
+ }
585
+ }
586
+
587
+
588
+ /*
589
+ 3.8 Examples
590
+ */
591
+
592
+ .example {
593
+ background-color: #e1eef1;
594
+ padding: 1.2em;
595
+ margin: 2em 0 1em 0;
596
+ }
597
+
598
+ .example .example-title {
599
+ font-weight: 700;
600
+ text-transform: uppercase;
601
+ text-align: center;
602
+ margin-top:0;
603
+ }
604
+
605
+ .recommend {
606
+ background-color: #ccffcc;
607
+ padding: 1.2em;
608
+ margin: 2em 0 1em 0;
609
+ }
610
+
611
+
612
+ /*
613
+ 3.9 Tables
614
+ */
615
+
616
+ table {
617
+ border-collapse: collapse;
618
+ width: 100%;
619
+ font-weight: 300;
620
+ margin: 1em 0 2em 0;
621
+ margin-left: auto;
622
+ margin-right: auto;
623
+ padding-right: 2em;
624
+ }
625
+
626
+ table, th, td {
627
+ border: 1px solid black;
628
+ font-size: 0.95em;
629
+ }
630
+
631
+ td, th {
632
+ padding: 1em;
633
+ }
634
+
635
+ td.header {
636
+ font-weight: 400;
637
+ }
638
+
639
+ p.TableTitle {
640
+ text-align: center;
641
+ margin-top: 2.5em;
642
+ font-weight: 400;
643
+ }
644
+
645
+ /*
646
+ 3.10 Footnotes
647
+ */
648
+
649
+ a.footnote-number {
650
+ vertical-align: super;
651
+ font-size: 0.8em;
652
+ }
653
+
654
+ .footnote {
655
+ font-size: 0.9em;
656
+ }
657
+
658
+
659
+ /*
660
+ 3.11 Blockquotes
661
+ */
662
+
663
+ .Quote {
664
+ background-color: #f6f6f6;
665
+ font-style: italic;
666
+ width: 80%;
667
+ padding: 1.5em;
668
+ margin-top: 2em;
669
+ margin-left: auto;
670
+ margin-right: auto;
671
+ }
672
+
673
+
674
+ /*
675
+ 3.12 Formulas
676
+ */
677
+
678
+ .formula {
679
+ background-color: #f6f6f6;
680
+ padding: 1.5em;
681
+ margin-top: 2em;
682
+ text-align: center;
683
+ }
684
+
685
+ /*
686
+ 3.13 Contact Info
687
+ */
688
+
689
+ .contact-info {
690
+ padding: 2em;
691
+ margin-top: 5em;
692
+ width: 280px;
693
+ text-align: left;
694
+ border: #00335b solid 2px;
695
+ color: #00335b!important;
696
+ border-radius: 25px;
697
+ }
698
+
699
+ .contact-info a,
700
+ .contact-info a:hover {
701
+ color: #00335b;
702
+ }
703
+
704
+ .contact-info p, .contact-info a {
705
+ font-family: $monospacefont;
706
+ font-variant-ligatures: none;
707
+ font-weight: 400;
708
+ }
709
+
710
+ .contact-info .name {
711
+ font-weight: 700;
712
+ font-size: 1.2em;
713
+ margin-bottom:0;
714
+ }
715
+
716
+ .contact-info .address {
717
+ font-size: 1em;
718
+ line-height: 1.3em;
719
+ margin-top:0;
720
+ }
721
+
722
+ /*
723
+ Keywords
724
+ */
725
+
726
+ span.keyword {
727
+ font-weight: 600;
728
+ }
729
+
730
+ /*
731
+ Paragraphs
732
+ */
733
+
734
+ p {
735
+ margin-top: 1em;
736
+ margin-bottom: 1em;
737
+ }
738
+
739
+ h2 p {
740
+ display: inline;
741
+ }
742
+
743
+
744
+ /*
745
+ 4.0 Page header
746
+ */
747
+
748
+ /*
749
+ 4.1 Top Logo
750
+ */
751
+
752
+ .icon-svg {
753
+ width: 100%;
754
+ color: #5ecf86;
755
+ }
756
+
757
+ .wrapper-top {
758
+ background: linear-gradient(135deg, #00335b, #00335b, #93c0d6);
759
+ color: #ffffff;
760
+ padding: 2em 0;
761
+ width: 100%;
762
+ }
763
+
764
+ .wrapper-top-bottom {
765
+ width: 0;
766
+ height: 0;
767
+ border-top: 100px solid #00335b;
768
+ border-right: 100px solid transparent;
769
+ position: absolute;
770
+ }
771
+
772
+ .coverpage-metadata,
773
+ .coverpage-alt-formats {
774
+ line-height: 1.5em;
775
+ padding: 0 1em 1em 1em;
776
+ text-align: right;
777
+ }
778
+
779
+ .coverpage-metadata > span {
780
+ display: block;
781
+ text-align: right;
782
+ }
783
+
784
+ .coverpage-alt-formats > span {
785
+ display: inline-block;
786
+ text-align: right;
787
+ }
788
+
789
+ .coverpage-metadata a,
790
+ .coverpage-alt-formats a,
791
+ .coverpage-metadata a:visited,
792
+ .coverpage-alt-formats a:visited {
793
+ color: #fff;
794
+ text-decoration: underline;
795
+ }
796
+
797
+
798
+ .coverpage-title {
799
+ padding-bottom: 0.5em;
800
+ font-family: $headerfont;
801
+ font-size: 2.3em;
802
+ line-height: 1.5em;
803
+ font-weight: 100;
804
+ padding-left: 1em;
805
+ padding-right: 1em;
806
+ text-transform: uppercase;
807
+ }
808
+
809
+ .WordSection11 {
810
+ padding: 0 2em 0 3em;
811
+ }
812
+
813
+ .info-section {
814
+ padding: 0 2em 0 5em; }
815
+
816
+ .prefatory-section {
817
+ padding: 0 3em 0 6em;
818
+ }
819
+
820
+
821
+ .zzSTDTitle1, .MsoCommentText {
822
+ display: none;
823
+ }
824
+
825
+
826
+ .coverpage {
827
+ text-align: center;
828
+ padding-left: 1.5em;
829
+ }
830
+
831
+ .coverpage-logo span, .coverpage-tc-name span {
832
+ font-family: $bodyfont;
833
+ text-transform: none;
834
+ font-weight: 300;
835
+ }
836
+
837
+ .coverpage-tc-name {
838
+ font-size: 1.2em;
839
+ line-height: 1.2em;
840
+ margin: 0.25em 0;
841
+ }
842
+
843
+ /*
844
+ 4.2 Document Identity
845
+ */
846
+
847
+ .coverpage-doc-identity {
848
+ line-height: 2em;
849
+ }
850
+
851
+ .coverpage-title .title-second {
852
+ display: none;
853
+ }
854
+
855
+ .coverpage-stage-block {
856
+ font-family: $bodyfont;
857
+ font-weight: 600;
858
+ font-size: 1.25em;
859
+ margin: 2em 0em 2em 0em;
860
+ text-transform: uppercase;
861
+ }
862
+
863
+ /*
864
+ 4.3 Draft Warning
865
+ */
866
+
867
+ .coverpage-warning {
868
+ border: #f36f36 solid 2px;
869
+ color: #f36f36!important;
870
+ margin: 1em 2em;
871
+ color: #2e81c2;
872
+ padding: 2em 1em 1em 1em;
873
+ border-radius: 25px;
874
+ }
875
+
876
+ .coverpage-warning .title {
877
+ font-family: $headerfont;
878
+ font-weight: 300;
879
+ text-transform: uppercase;
880
+ font-size: 1.2em;
881
+ }
882
+
883
+
884
+ /*
885
+ 4.4 Copyright
886
+ */
887
+
888
+ .copyright {
889
+ padding: 1em;
890
+ font-size: 0.9em;
891
+ text-align: left;
892
+ }
893
+
894
+
895
+ /* .copyright .name, .copyright .address {color: #2e81c2;} */
896
+
897
+
898
+
899
+ /*
900
+ 5.0 Other styles
901
+ */
902
+
903
+
904
+
905
+ /*
906
+ To top button
907
+ */
908
+
909
+ #myBtn {
910
+ font-family: $monospacefont;
911
+ font-variant-ligatures: none;
912
+ display: none;
913
+ position: fixed;
914
+ bottom: 20px;
915
+ right: 30px;
916
+ z-index: 99;
917
+ font-size: 12px;
918
+ border: none;
919
+ outline: none;
920
+ background-color: #1f8ca0;
921
+ opacity: 0.15;
922
+ color: white;
923
+ cursor: pointer;
924
+ padding: 10px 15px 10px 15px;
925
+ border-radius: 4px;
926
+ text-transform: uppercase;
927
+ }
928
+
929
+ #myBtn:hover {
930
+ opacity: 1;
931
+ }
932
+
933
+ a.anchorjs-link:hover {
934
+ background: none;
935
+ color: #2e81c2;
936
+ box-shadow: none;
937
+ }
938
+
939
+ @page {
940
+ margin: 2cm 1cm;
941
+ }
942
+
943
+ @media print {
944
+
945
+
946
+ .document-info, nav, .copyright, .prefatory-section {
947
+ page-break-before: always;
948
+ }
949
+
950
+ nav {
951
+ page-break-after: always;
952
+ }
953
+
954
+ h1, h2, h3, h4 {
955
+ page-break-after: avoid;
956
+ margin-top: 1.2em;
957
+ }
958
+
959
+ .note, .figure, .Sourcecode, table {
960
+ page-break-inside: avoid;
961
+ }
962
+
963
+ .info-section {
964
+ display: none;
965
+ }
966
+
967
+ .coverpage {
968
+ height: 23cm;
969
+ }
970
+
971
+ .wrapper-top {
972
+ top: 0;
973
+ padding-top: 4cm;
974
+ padding-bottom: 4cm;
975
+ }
976
+
977
+ .wrapper-top-bottom {
978
+ margin-top: -5px;
979
+ }
980
+
981
+
982
+ #toggle, .document-stage-band,
983
+ .document-type-band, button#myBtn {
984
+ display: none;
985
+ }
986
+
987
+ button#myBtn {
988
+ background-color: white;
989
+ }
990
+
991
+ .container {
992
+ padding-left: 0;
993
+ }
994
+
995
+ nav {
996
+ position: relative;
997
+ width: auto;
998
+ font-size: 0.9em;
999
+ overflow: auto;
1000
+ padding: 0;
1001
+ margin-right: 0;
1002
+ background-color: white;
1003
+ }
1004
+
1005
+ #toc .toc-active a {
1006
+ color: #4D7EA5;
1007
+ }
1008
+
1009
+ #toc .toc-active, #toc li:hover {
1010
+ background: white;
1011
+ box-shadow: none !important; }
1012
+
1013
+ #toc li:hover a {
1014
+ color: black; }
1015
+
1016
+
1017
+ h1.content {
1018
+ margin-top: 2em;
1019
+ line-height: 2.5em;
1020
+ }
1021
+
1022
+ h1 {
1023
+ font-size: 1.5em;
1024
+ line-height: 1.5;
1025
+ }
1026
+
1027
+ h2 {
1028
+ font-size: 1.2em
1029
+ }
1030
+
1031
+ h3 {
1032
+ font-size: 1em;
1033
+ }
1034
+
1035
+ .Note {
1036
+ background-color: #fff495;
1037
+ color: #47430c;
1038
+ padding: 5px;
1039
+ margin: 2em 0 1em 0; }
1040
+
1041
+ .Note p {
1042
+ padding: 0 5px 0 5px;
1043
+ }
1044
+
1045
+ nav {
1046
+ line-height: 1;
1047
+ }
1048
+
1049
+ .wrapper-top-bottom {
1050
+ display: none;
1051
+ }
1052
+
1053
+ }
1054
+