hyla 1.0.6 → 1.0.7.pre.1

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 (36) hide show
  1. checksums.yaml +8 -8
  2. data/README.adoc +7 -0
  3. data/lib/hyla/commands/generate.rb +288 -83
  4. data/lib/hyla/configuration.rb +62 -42
  5. data/lib/hyla/project.rb +1 -1
  6. data/lib/resources/backends/haml/deckjs/document.html.haml +2 -2
  7. data/lib/resources/backends/haml/html5/document.html.haml +2 -2
  8. data/lib/resources/backends/slim/html5/document.html.slim +2 -2
  9. data/lib/resources/backends/slim/revealjs/block_sidebar.html.slim +1 -1
  10. data/lib/resources/backends/slim/revealjs/document.html.slim +2 -2
  11. data/lib/resources/course/assessment.txt +7 -0
  12. data/lib/resources/course/audio.txt +3 -0
  13. data/lib/resources/course/cover.txt +13 -0
  14. data/lib/resources/course/footer.txt +10 -0
  15. data/lib/resources/course/header_index.txt +1 -0
  16. data/lib/resources/course/index.txt +3 -0
  17. data/lib/resources/course/labinstructions.txt +26 -0
  18. data/lib/resources/course/objectives.txt +28 -0
  19. data/lib/resources/course/summary.txt +27 -0
  20. data/lib/resources/cover.slim +1 -1
  21. data/lib/resources/revealjs/css/theme/conference-redhat.css +369 -61
  22. data/lib/resources/revealjs/css/theme/conference.css +179 -15
  23. data/lib/resources/revealjs/css/theme/gpe.css +362 -53
  24. data/lib/templates/_config.yaml +26 -2
  25. data/lib/templates/sample/{asciidoc_article.ad → asciidoc_article.adoc} +0 -0
  26. data/lib/templates/sample/{asciidoc_audio.ad → asciidoc_audio.adoc} +0 -0
  27. data/lib/templates/sample/{asciidoc_book.ad → asciidoc_book.adoc} +0 -0
  28. data/lib/templates/sample/{asciidoc_image.ad → asciidoc_image.adoc} +0 -0
  29. data/lib/templates/sample/{asciidoc_report.ad → asciidoc_report.adoc} +0 -0
  30. data/lib/templates/sample/{asciidoc_source.ad → asciidoc_source.adoc} +0 -0
  31. data/lib/templates/sample/{asciidoc_table.ad → asciidoc_table.adoc} +0 -0
  32. data/lib/templates/sample/{asciidoc_video.ad → asciidoc_video.adoc} +0 -0
  33. data/lib/templates/sample/{slideshow_deckjs.ad → slideshow_deckjs.adoc} +0 -0
  34. data/lib/templates/sample/{slideshow_revealjs.ad → slideshow_revealjs.adoc} +31 -0
  35. data/lib/templates/training-exercises/{README.ad → README.adoc} +0 -0
  36. metadata +24 -15
@@ -1,24 +1,28 @@
1
- /*
2
- * My Moon theme customised from moon.css
3
- */
1
+ /*********************************************
2
+ * Moon theme customised from moon.css
3
+ *********************************************/
4
+
4
5
  @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
5
- /**
6
+
7
+ /*********************************************
6
8
  * Solarized Dark theme for reveal.js.
7
9
  * Author: Achim Staebler
8
- */
10
+ *********************************************/
9
11
  @font-face {
10
- font-family: 'League Gothic';
12
+ font-family: "League Gothic";
11
13
  src: url("../../lib/font/league_gothic-webfont.eot");
12
14
  src: url("../../lib/font/league_gothic-webfont.eot?#iefix") format("embedded-opentype"), url("../../lib/font/league_gothic-webfont.woff") format("woff"), url("../../lib/font/league_gothic-webfont.ttf") format("truetype"), url("../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular") format("svg");
13
15
  font-weight: normal;
14
- font-style: normal; }
16
+ font-style: normal;
17
+ }
15
18
 
16
- /**
19
+ /*********************************************
17
20
  * Solarized colors by Ethan Schoonover
18
- */
21
+ *********************************************/
19
22
  html * {
20
23
  color-profile: sRGB;
21
- rendering-intent: auto; }
24
+ rendering-intent: auto;
25
+ }
22
26
 
23
27
  /*********************************************
24
28
  * GLOBAL STYLES
@@ -193,13 +197,52 @@ body {
193
197
  text-align: left;
194
198
  }
195
199
 
200
+ /*******************************************
201
+ *
202
+ ********************************************/
203
+ table.tableblock, table.tableblock td, table.tableblock tr { ffont-family: "Lato", sans-serif; ; font-size: 26px; }
196
204
  table thead th, table tfoot th { font-weight: bold; }
197
- /*
198
- table.tableblock.grid-all { border-collapse: separate; border-spacing: 1px; -webkit-border-radius: 4px; border-radius: 4px; border-top: 1px solid #dddddd; border-bottom: 1px solid #dddddd; }
199
- */
205
+
206
+ table.tableblock, table.tableblock td {
207
+ border-style: solid;
208
+ border-color: rgb(183, 188, 190);
209
+ border-width: 0.99px;
210
+ border-collapse: collapse;
211
+ border-spacing: 0px;
212
+ padding: 10px;
213
+ }
214
+
215
+ table.tableblock > caption {
216
+ line-height: 1.4;
217
+ color: #f5f5f5;
218
+ margin-top: 0.2em;
219
+ margin-bottom: 0.5em;
220
+ overflow: visible;
221
+ max-width: 0;
222
+ white-space: nowrap;
223
+ display: table-caption;
224
+ }
225
+
226
+ table.tableblock tr:first-child td {
227
+ background-color: #34495E;
228
+ text-align: left;
229
+ padding: 10px;
230
+ color: #f5ee74;
231
+ font-size: 24px;
232
+ }
233
+
234
+ table.tableblock td {
235
+ background: #34495E;
236
+ color: #FCF8FF;
237
+ }
238
+
239
+ /*table.tableblock tr:nth-child(odd) {
240
+ background: rgb(238, 238, 238);
241
+ }*/
200
242
  table.tableblock.frame-topbot, table.tableblock.frame-none { border-left: 0; border-right: 0; }
201
243
  table.tableblock.frame-sides, table.tableblock.frame-none { border-top: 0; border-bottom: 0; }
202
244
  table.tableblock td .paragraph:last-child p > p:last-child, table.tableblock th > p:last-child, table.tableblock td > p:last-child { margin-bottom: 0; }
245
+
203
246
  th.tableblock.halign-left, td.tableblock.halign-left { text-align: left; }
204
247
  th.tableblock.halign-right, td.tableblock.halign-right { text-align: right; }
205
248
  th.tableblock.halign-center, td.tableblock.halign-center { text-align: center; }
@@ -244,9 +287,9 @@ ul li li li {list-style-type:circle;}
244
287
  .reveal i.conum:after { content: attr(data-value); }
245
288
  .reveal i.conum:not([data-value]):empty { display: none; }
246
289
 
247
- /*
290
+ /*********************************************
248
291
  * .reveal i must be overrided to let to use Font Awesome
249
- */
292
+ *********************************************/
250
293
  .reveal i.fa{
251
294
  font-family: 'FontAwesome';
252
295
  font-style: normal;
@@ -279,3 +322,124 @@ ul li li li {list-style-type:circle;}
279
322
  /*color: rgba(0, 0, 0, 0.2);*/
280
323
  text-align: center;
281
324
  }
325
+
326
+ /**************************************************************
327
+ * Admonition Asciidoctor
328
+ *
329
+ * Mar 03, CHM: Added
330
+ **************************************************************/
331
+ .admonitionblock td.content > .title, .exampleblock > .title, .imageblock > .title, .listingblock > .title, .literalblock > .title, .mathblock > .title, .openblock > .title, .paragraph > .title, .quoteblock > .title, .sidebarblock > .title, .tableblock > .title, .verseblock > .title, .videoblock > .title, .dlist > .title, .olist > .title, .ulist > .title, .qlist > .title, .hdlist > .title {
332
+ text-align: left;
333
+ font-weight: bold;
334
+ }
335
+
336
+ .admonitionblock > table {
337
+ border: 0;
338
+ background: none;
339
+ width: 100%;
340
+ padding: 5px 0px;
341
+ }
342
+
343
+ .admonitionblock > table td.icon {
344
+ text-align: center;
345
+ width: 80px;
346
+ }
347
+
348
+ .admonitionblock > table td.icon img {
349
+ max-width: none;
350
+ }
351
+
352
+ .admonitionblock > table td.icon .title {
353
+ font-weight: bold;
354
+ text-transform: uppercase;
355
+ }
356
+
357
+ .admonitionblock > table td.content {
358
+ padding-left: 1.125em;
359
+ padding-right: 1.25em;
360
+ border-left: 1px solid #dddddd;
361
+ color: #d3d3d3;
362
+ font-size: 20px;
363
+ font-style: normal;
364
+ }
365
+
366
+ .admonitionblock > table td.content > :last-child > :last-child {
367
+ margin-bottom: 0;
368
+ }
369
+
370
+ .admonitionblock td.icon [class^="icon-"]:before {
371
+ text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
372
+ cursor: default;
373
+ }
374
+
375
+ /* NOTE */
376
+ .admonitionblock td.icon .icon-note:before {
377
+ content: "\f05a";
378
+ color: #3BCA3A;
379
+ font-family: FontAwesome;
380
+ font-style: normal;
381
+ font-weight: normal;
382
+ text-decoration: inherit;
383
+ font-size: 46px;
384
+ padding-right: 0.5em;
385
+ position: relative;
386
+ top: 10px;
387
+ left: 0;
388
+ }
389
+
390
+ .admonitionblock td.icon .icon-tip:before {
391
+ content: "\f0eb";
392
+ font-family: FontAwesome;
393
+ text-shadow: 1px 1px 2px rgba(244, 243, 138, 1.1);
394
+ color: #1B1B1B;
395
+ font-style: normal;
396
+ font-weight: normal;
397
+ text-decoration: inherit;
398
+ font-size: 46px;
399
+ padding-right: 0.5em;
400
+ position: relative;
401
+ top: 10px;
402
+ left: 0;
403
+ }
404
+
405
+ .admonitionblock td.icon .icon-warning:before {
406
+ content: "\f071";
407
+ color: #bf6900;
408
+ font-family: FontAwesome;
409
+ font-style: normal;
410
+ font-weight: normal;
411
+ text-decoration: inherit;
412
+ font-size: 46px;
413
+ padding-right: 0.5em;
414
+ position: relative;
415
+ top: 10px;
416
+ left: 0;
417
+ }
418
+
419
+ .admonitionblock td.icon .icon-caution:before {
420
+ content: "\f06d";
421
+ color: #ef6f16;
422
+ font-family: FontAwesome;
423
+ font-style: normal;
424
+ font-weight: normal;
425
+ text-decoration: inherit;
426
+ font-size: 46px;
427
+ padding-right: 0.5em;
428
+ position: relative;
429
+ top: 10px;
430
+ left: 0;
431
+ }
432
+
433
+ .admonitionblock td.icon .icon-important:before {
434
+ content: "\f06a";
435
+ font-family: FontAwesome;
436
+ color: #ea0000;
437
+ font-style: normal;
438
+ font-weight: normal;
439
+ text-decoration: inherit;
440
+ font-size: 46px;
441
+ padding-right: 0.5em;
442
+ position: relative;
443
+ top: 10px;
444
+ left: 0;
445
+ }
@@ -2,15 +2,14 @@
2
2
  @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
3
3
 
4
4
  /**
5
- * A simple theme for reveal.js presentations, similar
6
- * to the default theme. The accent color is darkblue.
5
+ * GPE Style customized from RevealJS Styl
7
6
  *
8
7
  * This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed.
9
8
  * reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
10
9
  */
11
10
 
12
- /********************************************
13
- * FONTS
11
+ /*********************************************
12
+ * LIBERATION FONTS
14
13
  *********************************************/
15
14
  @font-face {
16
15
  font-family: 'liberation';
@@ -40,20 +39,35 @@
40
39
  font-style: italic;
41
40
  }
42
41
 
43
-
44
42
  /*********************************************
45
43
  * ScrollBar
44
+ * Feb 24, ART: Changed the height of the scrollbar from 450 600
45
+ * Feb 24, ART: Changed the padding from 10 20 20 20 to 5 10 10 10
46
+ * Feb 24, ART: Changed the margin from 20px 0 0 to 5px 0 0
47
+ * Mar 02, CHM: Increase height from 600 to 670px
46
48
  *********************************************/
47
49
  .scrollbar {
48
50
  border: 1px solid #eee;
49
- height: 450px;
51
+ height: 670px;
50
52
  overflow: scroll;
51
- margin: 20px 0 0;
52
- padding: 10px 20px 20px 20px;
53
+ margin: 5px 0 0;
54
+ padding: 5px 10px 10px 10px;
55
+ }
56
+
57
+ /**************************************************************
58
+ * Style used to display the cover picture full screen
59
+ * Add this tag [.cover] before the picture of the cover page
60
+ * Mar 04 2015, CHM: Initial
61
+ **************************************************************/
62
+ .cover {
63
+ position: absolute;
64
+ top: 20px;
65
+ text-align: center;
53
66
  }
54
67
 
55
68
  /*********************************************
56
69
  * Corporate Logo Header Image
70
+ * Feb 26, CHM: Changed the height from 80px to 0px
57
71
  *********************************************/
58
72
  .header {
59
73
  position: absolute;
@@ -61,7 +75,7 @@
61
75
  left: 0;
62
76
  right: 0;
63
77
  top: 0;
64
- height: 80px;
78
+ height: 0px;
65
79
  font-family: 'liberation';
66
80
  font-size: 20px;
67
81
  text-align: center;
@@ -69,6 +83,7 @@
69
83
 
70
84
  /*********************************************
71
85
  * Copyright Footer
86
+ * Feb 24, ART: Changed to footer height from 80 to 40
72
87
  *********************************************/
73
88
  .footer {
74
89
  position: absolute;
@@ -76,7 +91,7 @@
76
91
  left: 0;
77
92
  right: 0;
78
93
  bottom: 0;
79
- height: 80px;
94
+ height: 40px;
80
95
  font-family: 'liberation';
81
96
  font-size: 20px;
82
97
  text-align: center;
@@ -84,6 +99,8 @@
84
99
 
85
100
  /*********************************************
86
101
  * GLOBAL STYLES
102
+ * Feb 24, ART: added a border to the body, attempting to see how the margin is being used.
103
+ * Feb 24, ART: added a border to the reveal section, attempting to see how the margin is being used.
87
104
  *********************************************/
88
105
  body {
89
106
  background: white;
@@ -98,18 +115,27 @@ body {
98
115
  color: black;
99
116
  }
100
117
 
101
- /*.reveal .slides {
102
- margin-top: 80px;
103
- }*/
118
+ ::selection {
119
+ color: white;
120
+ background: rgba(0, 0, 0, 0.99);
121
+ text-shadow: none;
122
+ }
104
123
 
124
+ /*********************************************
125
+ * TODO - To be verified if we use it or not
126
+ *******************************************/
105
127
  .reveal section {
106
128
  text-align: left;
107
129
  }
108
130
 
109
- ::selection {
110
- color: white;
111
- background: rgba(0, 0, 0, 0.99);
112
- text-shadow: none; }
131
+ /******************************************
132
+ * Fill screen to 100% & align text on left
133
+ * Feb 26, CHM : Add top: 370px to fill the screen to 100%
134
+ ******************************************/
135
+ .reveal .slides {
136
+ text-align: left;
137
+ top: 370px;
138
+ }
113
139
 
114
140
  /*********************************************
115
141
  * HEADERS
@@ -121,17 +147,21 @@ body {
121
147
  .reveal h5,
122
148
  .reveal h6 {
123
149
  margin: 0 0 20px 0;
124
- /*color: black;*/
125
150
  color: #3E4349;
126
- /*font-family: "News Cycle", Impact, sans-serif;*/
127
151
  font-family: 'liberation';
128
152
  line-height: 0.9em;
129
153
  letter-spacing: 0.02em;
130
154
  text-transform: none;
131
- text-shadow: none; }
155
+ text-shadow: none;
156
+ }
132
157
 
158
+ /***************************************************
159
+ * Feb 26, ART: Font Size 2em and width: 900px added
160
+ **************************************************/
133
161
  .reveal h1 {
134
162
  text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
163
+ font-size: 2em;
164
+ width: 900px;
135
165
  }
136
166
 
137
167
  .reveal h2 {
@@ -142,22 +172,25 @@ body {
142
172
  * LINKS
143
173
  *********************************************/
144
174
  .reveal a:not(.image) {
145
- color: darkblue;
175
+ color: #C1100C;
146
176
  text-decoration: none;
147
177
  -webkit-transition: color .15s ease;
148
178
  -moz-transition: color .15s ease;
149
179
  -ms-transition: color .15s ease;
150
180
  -o-transition: color .15s ease;
151
- transition: color .15s ease; }
181
+ transition: color .15s ease;
182
+ }
152
183
 
153
184
  .reveal a:not(.image):hover {
154
- color: #0000f1;
185
+ color: #C1100C;
155
186
  text-shadow: none;
156
- border: none; }
187
+ border: none;
188
+ }
157
189
 
158
190
  .reveal .roll span:after {
159
191
  color: #fff;
160
- background: #00003f; }
192
+ background: #C1100C;
193
+ }
161
194
 
162
195
  /*********************************************
163
196
  * IMAGES
@@ -165,87 +198,363 @@ body {
165
198
  .reveal section img {
166
199
  margin: 15px 0px;
167
200
  background: rgba(255, 255, 255, 0.12);
168
- /*border: 4px solid black;*/
169
201
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
170
202
  -webkit-transition: all .2s linear;
171
203
  -moz-transition: all .2s linear;
172
204
  -ms-transition: all .2s linear;
173
205
  -o-transition: all .2s linear;
174
- transition: all .2s linear; }
206
+ transition: all .2s linear;
207
+ }
175
208
 
176
209
  .reveal a:hover img {
177
210
  background: rgba(255, 255, 255, 0.2);
178
- border-color: darkblue;
179
- box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
211
+ border-color: #C1100C;
212
+ box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
213
+ }
180
214
 
181
215
  /*********************************************
182
216
  * NAVIGATION CONTROLS
183
217
  *********************************************/
184
218
  .reveal .controls div.navigate-left,
185
219
  .reveal .controls div.navigate-left.enabled {
186
- border-right-color: darkblue; }
220
+ border-right-color: #C1100C;
221
+ }
187
222
 
188
223
  .reveal .controls div.navigate-right,
189
224
  .reveal .controls div.navigate-right.enabled {
190
- border-left-color: darkblue; }
225
+ border-left-color: #C1100C;
226
+ }
191
227
 
192
228
  .reveal .controls div.navigate-up,
193
229
  .reveal .controls div.navigate-up.enabled {
194
- border-bottom-color: darkblue; }
230
+ border-bottom-color: #C1100C;
231
+ }
195
232
 
196
233
  .reveal .controls div.navigate-down,
197
234
  .reveal .controls div.navigate-down.enabled {
198
- border-top-color: darkblue; }
235
+ border-top-color: #C1100C;
236
+ }
199
237
 
200
238
  .reveal .controls div.navigate-left.enabled:hover {
201
- border-right-color: #0000f1; }
239
+ border-right-color: #0000f1;
240
+ }
202
241
 
203
242
  .reveal .controls div.navigate-right.enabled:hover {
204
- border-left-color: #0000f1; }
243
+ border-left-color: #0000f1;
244
+ }
205
245
 
206
246
  .reveal .controls div.navigate-up.enabled:hover {
207
- border-bottom-color: #0000f1; }
247
+ border-bottom-color: #0000f1;
248
+ }
208
249
 
209
250
  .reveal .controls div.navigate-down.enabled:hover {
210
- border-top-color: #0000f1; }
251
+ border-top-color: #0000f1;
252
+ }
211
253
 
212
254
  /*********************************************
213
255
  * PROGRESS BAR
214
256
  *********************************************/
215
257
  .reveal .progress {
216
- background: rgba(0, 0, 0, 0.2); }
258
+ background: rgba(0, 0, 0, 0.2);
259
+ }
217
260
 
218
261
  .reveal .progress span {
219
- background: darkblue;
262
+ background: #c50000;
220
263
  -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
221
264
  -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
222
265
  -ms-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
223
266
  -o-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
224
- transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
267
+ transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
268
+ }
269
+
270
+ /*********************************************
271
+ * SLIDE NUMBER
272
+ *********************************************/
273
+ .reveal .slide-number {
274
+ color: darkblue;
275
+ }
276
+
277
+ /*********************************************************************************
278
+ * Trick to avoid to define [square] or [circle] for each item of an unordered list
279
+ * and solve issue that we have here as we have nested lists
280
+ * Feb 27, CHM : Added
281
+ * Mar 04 2015, CHM: Add red colors & square, disc & circle
282
+ *********************************************************************************/
283
+ .reveal ul li p, ul li li p, ul li li p {
284
+ color: black;
285
+ list-style:none;
286
+ }
287
+
288
+ .reveal ul li {
289
+ list-style-type: square;
290
+ color: #a70000;
291
+ }
292
+
293
+ .reveal ul li li {
294
+ list-style-type: disc;
295
+ color: #a70000;
296
+ }
297
+
298
+ .reveal ul li li li {
299
+ list-style-type: circle;
300
+ color: #a70000;
301
+ }
302
+
303
+ /*******************************************************************
304
+ * .reveal i must be override in order to be able to use Asciidoctor and
305
+ * Font Awesome icons for NOTE, WARNING, REMARK, ....
306
+ * Feb, CHM: Added
307
+ *******************************************************************/
308
+ .reveal i.fa {
309
+ font-family: 'FontAwesome';
310
+ font-style: normal;
311
+ font-size: 100%;
312
+ }
225
313
 
226
314
  /*********************************************
227
- * Callout
315
+ * Support asciidoctor callout
316
+ * Feb 27, CHM: Added
228
317
  *********************************************/
229
318
  .reveal i.conum {
230
319
  display: inline-block;
231
320
  color: white !important;
232
- background-color: #222222;
321
+ /* background-color: #222222;*/
322
+ background-color: #c50000;
233
323
  -webkit-border-radius: 100px;
234
324
  border-radius: 100px;
235
325
  text-align: center;
236
- width: 25px; height: 25px; font-size: 14px;
326
+ width: 25px;
327
+ height: 25px;
328
+ font-size: 14px;
237
329
  font-weight: bold;
238
330
  line-height: 25px;
239
331
  font-style: normal;
240
- position: relative; top: -2px;letter-spacing: -2px;
332
+ position: relative;
333
+ top: -2px;
334
+ letter-spacing: -2px;
241
335
  }
242
- .reveal i.conum * { color: white !important; }
243
- .reveal i.conum + b { display: none; }
244
- .reveal i.conum:after { content: attr(data-value); }
245
- .reveal i.conum:not([data-value]):empty { display: none; }
246
336
 
247
- /*********************************************
248
- * SLIDE NUMBER
249
- *********************************************/
250
- .reveal .slide-number {
251
- color: darkblue; }
337
+ .reveal i.conum * {
338
+ color: white !important;
339
+ }
340
+
341
+ .reveal i.conum + b {
342
+ display: none;
343
+ }
344
+
345
+ .reveal i.conum:after {
346
+ content: attr(data-value);
347
+ }
348
+
349
+ .reveal i.conum:not([data-value]):empty {
350
+ display: none;
351
+ }
352
+
353
+ /*******************************************************
354
+ * Asciidoctor Table style rendering
355
+ * Feb 27, CHM: Added & Refactor to display the borders
356
+ * Mar 02, CHM: Add caption to display the Table title with a different style, color
357
+ * Mar 03, CHM: Improve style to be compliant with Redhat styles
358
+ ******************************************************/
359
+ table.tableblock, table.tableblock td {
360
+ border-style: solid;
361
+ border-color: rgb(183, 188, 190);
362
+ border-width: 0.99px;
363
+ border-collapse: collapse;
364
+ border-spacing: 0px;
365
+ padding: 5px;
366
+ }
367
+
368
+ table.tableblock > caption {
369
+ line-height: 1.4;
370
+ color: #333333;
371
+ margin-top: 0.2em;
372
+ margin-bottom: 0.5em;
373
+ overflow: visible;
374
+ max-width: 0;
375
+ white-space: nowrap;
376
+ display: table-caption
377
+ }
378
+
379
+ table.tableblock tr:first-child td {
380
+ background-color: #a70000;
381
+ text-align: left;
382
+ padding: 10px;
383
+ color: white;
384
+ font-size: 24px;
385
+ }
386
+
387
+ table.tableblock tr:nth-child(even) {
388
+ background: white;
389
+ }
390
+
391
+ table.tableblock tr:nth-child(odd) {
392
+ background: rgb(238, 238, 238);
393
+ }
394
+
395
+ th.tableblock.halign-left, td.tableblock.halign-left {
396
+ text-align: left;
397
+ }
398
+
399
+ th.tableblock.halign-right, td.tableblock.halign-right {
400
+ text-align: right;
401
+ }
402
+
403
+ th.tableblock.halign-center, td.tableblock.halign-center {
404
+ text-align: center;
405
+ }
406
+
407
+ th.tableblock.valign-top, td.tableblock.valign-top {
408
+ vertical-align: top;
409
+ }
410
+
411
+ th.tableblock.valign-bottom, td.tableblock.valign-bottom {
412
+ vertical-align: bottom;
413
+ }
414
+
415
+ th.tableblock.valign-middle, td.tableblock.valign-middle {
416
+ vertical-align: middle;
417
+ }
418
+
419
+ /**************************************************************
420
+ * By default, it is not possible to display text in Bold, ... within <li>> tag
421
+ * Here is a trick to support that <strong>text</strong> enclosed in <li> tag & color
422
+ * Feb 27, CHM: Added
423
+ **************************************************************/
424
+ li strong {
425
+ color: #C1100C;
426
+ font-weight: bold;
427
+ }
428
+
429
+ /**************************************************************
430
+ * Override Revealjs Pre class
431
+ * Mar 04 2015, CHM : Change width from 90% to 100% and margin to reduce size of the box hightlighted
432
+ *************************************************************/
433
+ .reveal pre {
434
+ width: 100%;
435
+ }
436
+ .listingblock .content {
437
+ margin-right: 50px;
438
+ padding-right: 50px;
439
+ }
440
+
441
+ /**************************************************************
442
+ * Admonition Asciidoctor
443
+ *
444
+ * Mar 03, CHM: Added
445
+ **************************************************************/
446
+ .admonitionblock td.content > .title, .exampleblock > .title, .imageblock > .title, .listingblock > .title, .literalblock > .title, .mathblock > .title, .openblock > .title, .paragraph > .title, .quoteblock > .title, .sidebarblock > .title, .tableblock > .title, .verseblock > .title, .videoblock > .title, .dlist > .title, .olist > .title, .ulist > .title, .qlist > .title, .hdlist > .title {
447
+ text-align: left;
448
+ font-weight: bold;
449
+ }
450
+
451
+ .admonitionblock > table {
452
+ border: 0;
453
+ background: none;
454
+ width: 100%;
455
+ padding: 5px 0px;
456
+ }
457
+
458
+ .admonitionblock > table td.icon {
459
+ text-align: center;
460
+ width: 80px;
461
+ }
462
+
463
+ .admonitionblock > table td.icon img {
464
+ max-width: none;
465
+ }
466
+
467
+ .admonitionblock > table td.icon .title {
468
+ font-weight: bold;
469
+ text-transform: uppercase;
470
+ }
471
+
472
+ .admonitionblock > table td.content {
473
+ padding-left: 1.125em;
474
+ padding-right: 1.25em;
475
+ border-left: 1px solid #dddddd;
476
+ color: #6f6f6f;
477
+ font-size: 20px;
478
+ font-style: normal;
479
+ }
480
+
481
+ .admonitionblock > table td.content > :last-child > :last-child {
482
+ margin-bottom: 0;
483
+ }
484
+
485
+ .admonitionblock td.icon [class^="icon-"]:before {
486
+ text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
487
+ cursor: default;
488
+ }
489
+
490
+ .admonitionblock td.icon .icon-note:before {
491
+ content: "\f05a";
492
+ color: #005498;
493
+ color: #003f72;
494
+ font-family: FontAwesome;
495
+ font-style: normal;
496
+ font-weight: normal;
497
+ text-decoration: inherit;
498
+ font-size: 46px;
499
+ padding-right: 0.5em;
500
+ position: relative;
501
+ top: 10px;
502
+ left: 0;
503
+ }
504
+
505
+ .admonitionblock td.icon .icon-tip:before {
506
+ content: "\f0eb";
507
+ font-family: FontAwesome;
508
+ text-shadow: 1px 1px 2px rgba(155, 155, 0, 0.8);
509
+ color: #111;
510
+ font-style: normal;
511
+ font-weight: normal;
512
+ text-decoration: inherit;
513
+ font-size: 46px;
514
+ padding-right: 0.5em;
515
+ position: relative;
516
+ top: 10px;
517
+ left: 0;
518
+ }
519
+
520
+ .admonitionblock td.icon .icon-warning:before {
521
+ content: "\f071";
522
+ color: #bf6900;
523
+ font-family: FontAwesome;
524
+ font-style: normal;
525
+ font-weight: normal;
526
+ text-decoration: inherit;
527
+ font-size: 46px;
528
+ padding-right: 0.5em;
529
+ position: relative;
530
+ top: 10px;
531
+ left: 0;
532
+ }
533
+
534
+ .admonitionblock td.icon .icon-caution:before {
535
+ content: "\f06d";
536
+ color: #bf3400;
537
+ font-family: FontAwesome;
538
+ font-style: normal;
539
+ font-weight: normal;
540
+ text-decoration: inherit;
541
+ font-size: 46px;
542
+ padding-right: 0.5em;
543
+ position: relative;
544
+ top: 10px;
545
+ left: 0;
546
+ }
547
+
548
+ .admonitionblock td.icon .icon-important:before {
549
+ content: "\f06a";
550
+ font-family: FontAwesome;
551
+ color: #bf0000;
552
+ font-style: normal;
553
+ font-weight: normal;
554
+ text-decoration: inherit;
555
+ font-size: 46px;
556
+ padding-right: 0.5em;
557
+ position: relative;
558
+ top: 10px;
559
+ left: 0;
560
+ }