jekyll-theme-adobe-hyde 0.2.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 (52) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +201 -0
  3. data/README.md +59 -0
  4. data/_includes/associated_classes.html +4 -0
  5. data/_includes/associated_enumerations.html +4 -0
  6. data/_includes/associated_fields.html +24 -0
  7. data/_includes/associated_functions.html +4 -0
  8. data/_includes/associated_libraries.html +6 -0
  9. data/_includes/associated_methods.html +4 -0
  10. data/_includes/associated_typedefs.html +24 -0
  11. data/_includes/breadcrumb.html +32 -0
  12. data/_includes/defined_in_header.html +3 -0
  13. data/_includes/example_table.html +33 -0
  14. data/_includes/external_examples.html +32 -0
  15. data/_includes/figure.md +26 -0
  16. data/_includes/footer.html +20 -0
  17. data/_includes/head.html +22 -0
  18. data/_includes/header.html +26 -0
  19. data/_includes/icon-github.html +1 -0
  20. data/_includes/icon-github.svg +1 -0
  21. data/_includes/icon-twitter.html +1 -0
  22. data/_includes/icon-twitter.svg +1 -0
  23. data/_includes/overloads.html +49 -0
  24. data/_includes/theme.html +81 -0
  25. data/_includes/top-bar.html +11 -0
  26. data/_layouts/class.html +49 -0
  27. data/_layouts/default.html +27 -0
  28. data/_layouts/directory.html +5 -0
  29. data/_layouts/eng_index.html +13 -0
  30. data/_layouts/enumeration.html +35 -0
  31. data/_layouts/function.html +56 -0
  32. data/_layouts/library.html +26 -0
  33. data/_layouts/method.html +5 -0
  34. data/_layouts/page.html +31 -0
  35. data/_layouts/post.html +32 -0
  36. data/_sass/_base.scss +201 -0
  37. data/_sass/_layout.scss +762 -0
  38. data/_sass/_main.scss +38 -0
  39. data/_sass/_syntax-highlighting-base.scss +34 -0
  40. data/_sass/_syntax-highlighting-dark.scss +71 -0
  41. data/_sass/_syntax-highlighting-light.scss +71 -0
  42. data/_sass/_syntax-highlighting.scss +75 -0
  43. data/_sass/jekyll-theme-adobe-hyde.scss +474 -0
  44. data/_sass/rouge-github.scss +209 -0
  45. data/assets/css/main-dark.scss +60 -0
  46. data/assets/css/main-light.scss +65 -0
  47. data/assets/images/bg_hr.png +0 -0
  48. data/assets/images/blacktocat.png +0 -0
  49. data/assets/images/icon_download.png +0 -0
  50. data/assets/images/sprite_download.png +0 -0
  51. data/assets/scripts/indices.js +259 -0
  52. metadata +149 -0
@@ -0,0 +1,26 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="post">
5
+ <header class="post-header">
6
+ <h1>{{ page.title }}</h1>
7
+ </header>
8
+
9
+ <article class="post-content">
10
+ {{ page.brief | markdownify }}
11
+
12
+ {{ page.description | markdownify }}
13
+
14
+ {{ content }}
15
+
16
+ {% include associated_typedefs.html %}
17
+
18
+ {% include associated_enumerations.html %}
19
+
20
+ {% include associated_classes.html %}
21
+
22
+ {% include associated_functions.html %}
23
+
24
+ {% include associated_libraries.html %}
25
+ </article>
26
+ </div>
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: function
3
+ ---
4
+
5
+ {{content}}
@@ -0,0 +1,31 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article class="post">
5
+
6
+ <header class="post-header">
7
+ <h1 class="post-title">{{ page.title | markdownify }}</h1>
8
+ </header>
9
+
10
+ <div class="post-content">
11
+ {{ content }}
12
+ </div>
13
+
14
+ {% if page.comments %}
15
+ <div id="disqus_thread"></div>
16
+ <script type="text/javascript">
17
+ {% if site.safe == false %}var disqus_developer = 1;{% endif %}
18
+ var disqus_shortname = '{{ site.comments.disqus.short_name }}'; // required: replace example with your forum shortname
19
+
20
+ /* * * DON'T EDIT BELOW THIS LINE * * */
21
+ (function() {
22
+ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
23
+ dsq.src = 'https://' + disqus_shortname + '.disqus.com/embed.js';
24
+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
25
+ })();
26
+ </script>
27
+ <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
28
+ <a href="https://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
29
+ {% endif %}
30
+
31
+ </article>
@@ -0,0 +1,32 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article class="post" itemscope itemtype="http://schema.org/BlogPosting">
5
+
6
+ <header class="post-header">
7
+ <h1 class="post-title" itemprop="name headline">{{ page.title }}</h1>
8
+ <p class="post-meta"><time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: "%b %-d, %Y" }}</time>{% if page.author %} • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>{% endif %}</p>
9
+ </header>
10
+
11
+ <div class="post-content" itemprop="articleBody">
12
+ {{ content }}
13
+ </div>
14
+
15
+ {% if page.comments %}
16
+ <div id="disqus_thread"></div>
17
+ <script type="text/javascript">
18
+ {% if site.safe == false %}var disqus_developer = 1;{% endif %}
19
+ var disqus_shortname = '{{ site.comments.disqus.short_name }}'; // required: replace example with your forum shortname
20
+
21
+ /* * * DON'T EDIT BELOW THIS LINE * * */
22
+ (function() {
23
+ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
24
+ dsq.src = 'https://' + disqus_shortname + '.disqus.com/embed.js';
25
+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
26
+ })();
27
+ </script>
28
+ <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
29
+ <a href="https://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
30
+ {% endif %}
31
+
32
+ </article>
@@ -0,0 +1,201 @@
1
+ /**
2
+ * Reset some basic elements
3
+ */
4
+ body, h1, h2, h3, h4, h5, h6,
5
+ p, blockquote, pre, hr,
6
+ dl, dd, ol, ul, figure {
7
+ margin: 0;
8
+ padding: 0;
9
+ }
10
+
11
+ * {
12
+ margin: 0;
13
+ }
14
+ html, body {
15
+ height: 100%;
16
+ }
17
+
18
+ /**
19
+ * Basic styling
20
+ */
21
+ body {
22
+ font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
23
+ color: $text-color;
24
+ background-color: $background-color;
25
+ -webkit-text-size-adjust: 100%;
26
+ -webkit-font-feature-settings: "kern" 1;
27
+ -moz-font-feature-settings: "kern" 1;
28
+ -o-font-feature-settings: "kern" 1;
29
+ font-feature-settings: "kern" 1;
30
+ font-kerning: normal;
31
+ }
32
+
33
+ pre, code {
34
+ // font: $base-font-weight #{$base-font-size}/#{$base-line-height} $code-font-family;
35
+ font-family: $code-font-family;
36
+ }
37
+
38
+ /**
39
+ * Set `margin-bottom` to maintain vertical rhythm
40
+ */
41
+ h1, h2, h3, h4, h5, h6, blockquote,
42
+ ul, ol, dl, p, figure
43
+ %vertical-rhythm {
44
+ margin-bottom: $spacing-unit / 2;
45
+ }
46
+
47
+
48
+
49
+ /**
50
+ * Images
51
+ */
52
+ img {
53
+ max-width: 100%;
54
+ vertical-align: middle;
55
+ }
56
+
57
+
58
+
59
+ /**
60
+ * Figures
61
+ */
62
+ figure > img {
63
+ display: block;
64
+ }
65
+
66
+ figcaption {
67
+ font-size: $small-font-size;
68
+ }
69
+
70
+
71
+
72
+ /**
73
+ * Lists
74
+ */
75
+ ul, ol {
76
+ margin-left: $spacing-unit;
77
+ }
78
+
79
+ li {
80
+ > ul,
81
+ > ol {
82
+ margin-bottom: 0;
83
+ }
84
+ }
85
+
86
+
87
+
88
+ /**
89
+ * Headings
90
+ */
91
+ h1, h2, h3, h4, h5, h6 {
92
+ font-family: $header-font-family;
93
+ font-weight: $base-font-weight;
94
+ }
95
+
96
+
97
+
98
+ /**
99
+ * Links
100
+ */
101
+ a {
102
+ color: $link-color;
103
+ text-decoration: none;
104
+ }
105
+ a:hover {
106
+ text-decoration: underline;
107
+ }
108
+
109
+
110
+ /**
111
+ * Blockquotes
112
+ */
113
+ blockquote {
114
+ color: $quote-text-color;
115
+ background-color: $quote-background-color;
116
+ border-left: 4px solid $quote-accent-color;
117
+ padding-left: $spacing-unit / 2;
118
+ padding-top: 8px;
119
+ padding-bottom: 8px;
120
+ padding-right: 8px;
121
+
122
+ > :last-child {
123
+ margin-bottom: 0;
124
+ }
125
+ }
126
+
127
+ /**
128
+ * Code formatting
129
+ */
130
+
131
+ dt {
132
+ font-weight: bold;
133
+ margin-top: 8px;
134
+ }
135
+
136
+ dd {
137
+ margin-left: 8px;
138
+ }
139
+
140
+ pre {
141
+ // padding: 8px 0px 8px 0px;
142
+ overflow-x: auto;
143
+ margin: 0;
144
+
145
+ > code {
146
+ line-height:0.8;
147
+ border: 0;
148
+ padding-right: 0;
149
+ padding-left: 0;
150
+ }
151
+ }
152
+
153
+
154
+ .wrapper {
155
+ max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
156
+ max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
157
+ margin-right: auto;
158
+ margin-left: auto;
159
+ padding-right: $spacing-unit;
160
+ padding-left: $spacing-unit;
161
+ @extend %clearfix;
162
+
163
+ @include media-query($on-laptop) {
164
+ max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
165
+ max-width: calc(#{$content-width} - (#{$spacing-unit}));
166
+ padding-right: $spacing-unit / 2;
167
+ padding-left: $spacing-unit / 2;
168
+ }
169
+ }
170
+
171
+
172
+ /**
173
+ * Clearfix
174
+ */
175
+ %clearfix {
176
+
177
+ &:after {
178
+ content: "";
179
+ display: table;
180
+ clear: both;
181
+ }
182
+ }
183
+
184
+
185
+
186
+ /**
187
+ * Icons
188
+ */
189
+ .icon {
190
+
191
+ > svg {
192
+ display: inline-block;
193
+ width: 16px;
194
+ height: 16px;
195
+ vertical-align: middle;
196
+
197
+ path {
198
+ fill: $icon-fill-color;
199
+ }
200
+ }
201
+ }
@@ -0,0 +1,762 @@
1
+ /**
2
+ * Site header
3
+ */
4
+ .site-header {
5
+ background-color: $header-background-color;
6
+ border-bottom: 1px solid $header-border-color;
7
+ min-height: $header-height;
8
+ margin-bottom: 10px;
9
+ padding-bottom: 14px;
10
+ padding-top: 16px;
11
+
12
+ // Positioning context for the mobile navigation icon
13
+ position: relative;
14
+ }
15
+
16
+ .site-title {
17
+ /*
18
+ font-size: 26px;
19
+ font-weight: 300;
20
+ line-height: 56px;
21
+ letter-spacing: -1px;
22
+ margin-bottom: 0;
23
+ float: left;
24
+ */
25
+
26
+ float: left;
27
+ width: 50%;
28
+ margin-top: 3px;
29
+ margin-bottom: 3px;
30
+ min-height: $header-height;
31
+
32
+ /*
33
+ position: absolute;
34
+ top: 0;
35
+ left: 0;
36
+ right: 0;
37
+ bottom: 0;
38
+ */
39
+
40
+ background-image: $header-image;
41
+ background-repeat: no-repeat;
42
+ background-size: contain;
43
+ }
44
+
45
+ .site-nav {
46
+ float: right;
47
+ line-height: $header-height;
48
+ margin-top: 3px;
49
+
50
+ .menu-icon {
51
+ display: none;
52
+ }
53
+
54
+ .page-link {
55
+ color: $site-nav-link-color;
56
+ line-height: $base-line-height;
57
+
58
+ // Gaps between nav items, but not on the last one
59
+ &:not(:last-child) {
60
+ margin-right: 20px;
61
+ }
62
+ }
63
+
64
+ @include media-query($on-palm) {
65
+ position: absolute;
66
+ top: 12px;
67
+ right: 12px;
68
+ background-color: $site-menu-background-color;
69
+ border: 1px solid $site-menu-border-color;
70
+ border-radius: 5px;
71
+ text-align: right;
72
+
73
+ .menu-icon {
74
+ display: block;
75
+ float: right;
76
+ width: 36px;
77
+ height: 26px;
78
+ line-height: 0;
79
+ padding-top: 10px;
80
+ text-align: center;
81
+
82
+ > svg {
83
+ width: 18px;
84
+ height: 15px;
85
+
86
+ path {
87
+ fill: $site-menu-fill-color;
88
+ }
89
+ }
90
+ }
91
+
92
+ .trigger {
93
+ clear: both;
94
+ display: none;
95
+ }
96
+
97
+ &:hover .trigger {
98
+ display: block;
99
+ padding-bottom: 5px;
100
+ }
101
+
102
+ .page-link {
103
+ display: block;
104
+ padding: 5px 10px;
105
+
106
+ &:not(:last-child) {
107
+ margin-right: 0;
108
+ }
109
+ margin-left: 20px;
110
+ }
111
+ }
112
+ }
113
+
114
+
115
+
116
+ /**
117
+ * Site footer
118
+ */
119
+ .site-footer {
120
+ border-top: 1px solid $footer-border-color;
121
+ padding: 20px 0;
122
+ background-color: $footer-background-color;
123
+ }
124
+
125
+ .footer-heading {
126
+ font-size: $base-font-size;
127
+ margin-bottom: 0;
128
+ }
129
+
130
+ .contact-list,
131
+ .social-media-list {
132
+ list-style: none;
133
+ margin-left: 0;
134
+ }
135
+
136
+ .footer-table {
137
+ font-size: $small-font-size;
138
+ color: $footer-text-color;
139
+ width: 100%;
140
+
141
+ > tbody {
142
+ > tr {
143
+ > td {
144
+ > a {
145
+ color: $footer-link-color;
146
+ }
147
+ }
148
+ }
149
+ }
150
+ }
151
+
152
+ .footer-left {
153
+ text-align: left;
154
+ vertical-align: top;
155
+ width: 33%;
156
+ }
157
+
158
+ .footer-center {
159
+ text-align: center;
160
+ vertical-align: top;
161
+ width: 34%;
162
+ }
163
+
164
+ .footer-right {
165
+ text-align: right;
166
+ vertical-align: top;
167
+ width: 33%;
168
+ }
169
+
170
+
171
+ /**
172
+ * Main content
173
+ */
174
+ // Make footer "sticky". I.e., push to bottom of page when there is little content,
175
+ // and push to the end of content otherwise.
176
+ .main-content {
177
+ min-height: 100%;
178
+ margin-bottom: -$footer-height;
179
+ background-color: $background-color;
180
+ }
181
+
182
+ .main-content:after {
183
+ content: "";
184
+ display: block;
185
+ }
186
+
187
+ .site-footer, .main-content:after {
188
+ height: $footer-height;
189
+ box-sizing: border-box;
190
+ }
191
+
192
+
193
+ /**
194
+ * Top bar
195
+ */
196
+ .top-bar {
197
+ display: flex;
198
+ width: 100%;
199
+ box-sizing: border-box;
200
+
201
+ @include media-query($on-palm) {
202
+ flex-direction: column;
203
+ }
204
+ }
205
+
206
+ .top-bar-breadcrumb {
207
+ flex:0 0 auto;
208
+ }
209
+
210
+ .top-bar-spacer {
211
+ flex: 1 1 auto;
212
+ }
213
+
214
+ .top-bar-theme {
215
+ flex:0 0 auto;
216
+ }
217
+
218
+
219
+ /**
220
+ * Breadcrumbs
221
+ */
222
+ .breadcrumb {
223
+ list-style-type: none;
224
+ margin: 0;
225
+ padding: 0;
226
+
227
+ > li {
228
+ display: inline;
229
+ }
230
+ > li.active {
231
+ font-style: oblique;
232
+ }
233
+ > li.crumb:before {
234
+ content: "\2009|\a0";
235
+ }
236
+ }
237
+
238
+
239
+ /**
240
+ * Page content
241
+ */
242
+ .page-content {
243
+ padding: $spacing-unit / 2 0;
244
+ }
245
+
246
+ .post-list {
247
+ margin-left: 0;
248
+ list-style: none;
249
+
250
+ > li {
251
+ margin-bottom: $spacing-unit;
252
+ }
253
+ }
254
+
255
+ .post-meta {
256
+ font-size: $small-font-size;
257
+ color: $post-meta-text-color;
258
+ }
259
+
260
+ .post-link {
261
+ display: block;
262
+ font-size: 24px;
263
+ }
264
+
265
+ /**
266
+ * Posts
267
+ */
268
+ .post-header {
269
+ margin-bottom: $spacing-unit / 2;
270
+
271
+ > .code {
272
+ font-family: $code-font-family;
273
+ }
274
+ }
275
+
276
+ .post-title {
277
+ font-size: 2.5em;
278
+
279
+ @include media-query($on-laptop) {
280
+ font-size: 2.3em;
281
+ }
282
+ }
283
+
284
+ .post-content {
285
+ margin-bottom: $spacing-unit;
286
+
287
+ h1 {
288
+ font-size: 2em;
289
+ margin-top: 30px;
290
+ margin-bottom: 10px;
291
+
292
+ @include media-query($on-laptop) {
293
+ font-size: 1.8em;
294
+ }
295
+ }
296
+
297
+ h2 {
298
+ font-size: 1.8em;
299
+
300
+ @include media-query($on-laptop) {
301
+ font-size: 1.6em;
302
+ }
303
+ }
304
+
305
+ h3 {
306
+ font-size: 1.6em;
307
+
308
+ @include media-query($on-laptop) {
309
+ font-size: 1.4em;
310
+ }
311
+ }
312
+
313
+ h4 {
314
+ font-size: 1.4em;
315
+
316
+ @include media-query($on-laptop) {
317
+ font-size: 1.2em;
318
+ }
319
+ }
320
+
321
+ h5 {
322
+ font-size: 1.2em;
323
+
324
+ @include media-query($on-laptop) {
325
+ font-size: 1.0em;
326
+ }
327
+ }
328
+ }
329
+
330
+ /**
331
+ * Tables
332
+ */
333
+
334
+ table {
335
+ border-collapse: collapse;
336
+ }
337
+
338
+ .indent {
339
+ margin-left: $spacing-unit / 2;
340
+ }
341
+
342
+ /**
343
+ * Definition tables are indented on the left, and have horizontal lines between
344
+ * every row.
345
+ */
346
+ .definition-table {
347
+ margin-left: $spacing-unit / 2;
348
+ margin-bottom: $spacing-unit / 2;
349
+ border-bottom: 1px solid $table-separator-color;
350
+ border-top: 1px solid $table-separator-color;
351
+ width: 100%;
352
+
353
+ > tbody {
354
+ > tr {
355
+ border-top: 1px solid $table-separator-color;
356
+
357
+ > th {
358
+ text-align: left;
359
+ }
360
+ > td {
361
+ > p {
362
+ margin: 0;
363
+ display: inline;
364
+ }
365
+ padding-right: 1.5em;
366
+ vertical-align: top;
367
+ }
368
+ > td.type {
369
+ font-family: $code-font-family;
370
+ white-space: nowrap;
371
+ vertical-align: top;
372
+ }
373
+ > td.field {
374
+ font-family: $code-font-family;
375
+ white-space: nowrap;
376
+ vertical-align: top;
377
+ }
378
+ > td.decl {
379
+ text-indent: -3em;
380
+ padding-left: 3em;
381
+ font-family: $code-font-family;
382
+ vertical-align: top;
383
+ }
384
+ > td.defn {
385
+ padding-right: 0;
386
+ }
387
+ }
388
+ }
389
+ }
390
+
391
+ /**
392
+ * Associated tables are those that enumerate library subcomponents and
393
+ * associated elements.
394
+ */
395
+ .associated-table {
396
+ margin-left: $spacing-unit / 2;
397
+ margin-bottom: $spacing-unit / 2;
398
+ border-bottom: 1px solid $table-separator-color;
399
+ border-top: 1px solid $table-separator-color;
400
+ width: 100%;
401
+
402
+ > tbody {
403
+ > tr {
404
+ border-top: 1px solid $table-separator-color;
405
+
406
+ > th {
407
+ text-align: left;
408
+ }
409
+ > td {
410
+ > p {
411
+ margin: 0;
412
+ display: inline;
413
+ }
414
+ }
415
+ > td.name {
416
+ text-indent: -3em;
417
+ padding-left: 3em;
418
+ font-family: $code-font-family;
419
+ // white-space: nowrap;
420
+ vertical-align: top;
421
+ padding-right: 1.5em;
422
+ }
423
+ > td.brief {
424
+ }
425
+ }
426
+ }
427
+ }
428
+
429
+ /**
430
+ * Declaration tables are identical to definition tables, but without the
431
+ * indent.
432
+ */
433
+ .declaration-table {
434
+ margin-bottom: $spacing-unit / 2;
435
+ border-bottom: 1px solid $table-separator-color;
436
+ border-top: 1px solid $table-separator-color;
437
+ width: 100%;
438
+
439
+ > tbody {
440
+ > tr {
441
+ border-top: 1px solid $table-separator-color;
442
+
443
+ > th {
444
+ text-align: left;
445
+ }
446
+ > td {
447
+ > p {
448
+ margin: 0;
449
+ display: inline;
450
+ }
451
+ }
452
+ > td.decl {
453
+ font-family: $code-font-family;
454
+ white-space: nowrap;
455
+ vertical-align: top;
456
+ padding-right: 1.5em;
457
+ }
458
+ > td.defn {
459
+ }
460
+ }
461
+ }
462
+ }
463
+
464
+ /**
465
+ * State transition tables, like the one in the transaction docs.
466
+ */
467
+ .state-transition {
468
+ margin-bottom: $spacing-unit / 2;
469
+ border-bottom: 1px solid $table-separator-color;
470
+ border-top: 1px solid $table-separator-color;
471
+ width: 100%;
472
+
473
+ > thead {
474
+ > tr {
475
+ border-bottom: 1px solid $table-separator-color;
476
+ }
477
+ }
478
+
479
+ > tbody {
480
+ > tr {
481
+ border-top: 1px solid $table-separator-color;
482
+ > td {
483
+ }
484
+ }
485
+ }
486
+ }
487
+
488
+ /**
489
+ * Parameter Notes, like the one in the collection connect_insert docs.
490
+ */
491
+ .parameter-table {
492
+ margin-bottom: $spacing-unit / 2;
493
+ border-bottom: 1px solid $table-separator-color;
494
+ border-top: 1px solid $table-separator-color;
495
+ width: 100%;
496
+
497
+ > thead {
498
+ > tr {
499
+ border-bottom: 1px solid $table-separator-color;
500
+
501
+ > th {
502
+ font-weight: bold;
503
+ text-align: left;
504
+ }
505
+ }
506
+ }
507
+
508
+ > tbody {
509
+ > tr {
510
+ border-top: 1px solid $table-separator-color;
511
+ border-spacing: 0.1em;
512
+ > td {
513
+ vertical-align: top;
514
+ padding-right: 0.5em;
515
+ }
516
+ }
517
+ }
518
+ }
519
+
520
+ /**
521
+ * Directory tables, like the ones that structure the `eng` folder.
522
+ */
523
+ .directory-table {
524
+ margin-left: 1em;
525
+
526
+ > tbody {
527
+ > tr {
528
+ > td {
529
+ padding-right: 0.2em;
530
+ line-height: 1.0;
531
+ vertical-align: top;
532
+ }
533
+ }
534
+ }
535
+ }
536
+
537
+ /**
538
+ * Description list for method descriptions
539
+ */
540
+ .description-list {
541
+ > li {
542
+ padding-bottom: 0.5em;
543
+ > p {
544
+ margin: 0;
545
+ display: inline;
546
+ }
547
+ }
548
+ }
549
+
550
+ /**
551
+ * Annotations.
552
+ */
553
+ span.annotation {
554
+ color: green;
555
+ font-style: italic;
556
+ }
557
+
558
+ /**
559
+ * Parameter tables are identical to definition tables, but without the
560
+ * horizontal lines.
561
+ */
562
+ .parameter-table {
563
+ margin-left: $spacing-unit / 2;
564
+ margin-bottom: $spacing-unit / 2;
565
+ width: 100%;
566
+
567
+ > tbody {
568
+ > tr {
569
+ > th {
570
+ text-align: left;
571
+ }
572
+ > td {
573
+ vertical-align: top;
574
+
575
+ > p {
576
+ margin: 0;
577
+ display: inline;
578
+ }
579
+ }
580
+ > td.decl {
581
+ font-family: $code-font-family;
582
+ padding-right: 1.5em;
583
+ }
584
+ > td.defn {
585
+ }
586
+ }
587
+ }
588
+ }
589
+
590
+ /**
591
+ * Example tables are indented on the left, and have horizontal lines between
592
+ * every row.
593
+ */
594
+ .example-table {
595
+ margin-bottom: $spacing-unit / 2;
596
+ border-bottom: 1px solid $table-separator-color;
597
+ border-top: 1px solid $table-separator-color;
598
+ width: 100%;
599
+
600
+ > tbody {
601
+ > tr {
602
+ border-top: 1px solid $table-separator-color;
603
+
604
+ > th {
605
+ text-align: left;
606
+ }
607
+ > td {
608
+ vertical-align: top;
609
+
610
+ > p {
611
+ margin: 0;
612
+ display: inline;
613
+ }
614
+ }
615
+ > td.decl_func {
616
+ font-family: $code-font-family;
617
+ }
618
+ > td.decl_link {
619
+ font-family: $code-font-family;
620
+ padding-left: 1.5em;
621
+ }
622
+ > td.defn {
623
+ padding-left: 1.5em;
624
+ }
625
+ }
626
+ }
627
+ }
628
+
629
+ /**
630
+ * Contributors listed in the About page
631
+ */
632
+ .contributors-table {
633
+ > tbody {
634
+ > tr {
635
+ > td {
636
+ padding-left: 1.5em;
637
+ padding-bottom: 1em;
638
+
639
+ > img {
640
+ width: 5em;
641
+ height: 5em;
642
+ }
643
+ }
644
+ }
645
+ }
646
+ }
647
+
648
+ /**
649
+ * Styling for some of the auto generated stuff
650
+ */
651
+
652
+ .declaration-list {
653
+ > p {
654
+ display: inline;
655
+ }
656
+ }
657
+
658
+ /**
659
+ * Front page iconography
660
+ */
661
+ .icon-table {
662
+ margin: auto;
663
+ border-collapse: separate;
664
+ border-spacing: 3em 0;
665
+
666
+ > tbody {
667
+ > tr {
668
+ > td {
669
+ > a {
670
+ text-decoration: none;
671
+ }
672
+ }
673
+ }
674
+ }
675
+
676
+
677
+ @include media-query($on-palm) {
678
+ border-spacing: 1em 0;
679
+ }
680
+ }
681
+
682
+ .icon-box {
683
+ background: $icon-primary-color;
684
+ color: $icon-text-color;
685
+ border-radius: 1em;
686
+ @include media-query($on-palm) {
687
+ border-radius: .3em;
688
+ }
689
+
690
+ > .top {
691
+ border-radius: 1em 1em 0 0;
692
+ @include media-query($on-palm) {
693
+ border-radius: .3em .3em 0 0;
694
+ }
695
+ > .fa {
696
+ display: inline-block;
697
+ width: 1.7em;
698
+ text-align: center;
699
+ line-height: 1.4em;
700
+ font-size: 5em;
701
+ vertical-align: middle;
702
+
703
+ @include media-query($on-palm) {
704
+ font-size: 2em;
705
+ }
706
+ }
707
+ }
708
+ > .bottom {
709
+ background: $icon-secondary-color;
710
+ border-radius: 0 0 1em 1em;
711
+ border-left: 1px solid $icon-border-color;
712
+ border-right: 1px solid $icon-border-color;
713
+ border-bottom: 1px solid $icon-border-color;
714
+ font-weight: bold;
715
+ text-align: center;
716
+ padding-top: .7em;
717
+ padding-bottom: .7em;
718
+
719
+ @include media-query($on-palm) {
720
+ padding-top: .2em;
721
+ padding-bottom: .2em;
722
+ border-radius: 0 0 .3em .3em;
723
+ }
724
+ }
725
+
726
+ &:hover {
727
+ background: $icon-hover-primary-color;
728
+ color: $icon-hover-text-color;
729
+
730
+ > .bottom {
731
+ background: $icon-hover-secondary-color;
732
+ border-left: 1px solid $icon-hover-border-color;
733
+ border-right: 1px solid $icon-hover-border-color;
734
+ border-bottom: 1px solid $icon-hover-border-color;
735
+ }
736
+ }
737
+ }
738
+
739
+ .rss-subscribe {
740
+ text-align: right;
741
+ }
742
+
743
+ /**
744
+ * Dialogs, for lack of a better name
745
+ */
746
+
747
+ .warning-box {
748
+ margin: 0;//1em;
749
+ margin-bottom: $spacing-unit / 2;
750
+ padding: 0.5em 1em;
751
+ border-radius: 0.5em;
752
+ border: 1px solid #f0f000;
753
+ /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f9f977+0,fcfccf+100 */
754
+ background: #f9f977; /* Old browsers */
755
+ background: -moz-linear-gradient(top, #f9f977 0%, #fcfccf 100%); /* FF3.6-15 */
756
+ background: -webkit-linear-gradient(top, #f9f977 0%,#fcfccf 100%); /* Chrome10-25,Safari5.1-6 */
757
+ background: linear-gradient(to bottom, #f9f977 0%,#fcfccf 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
758
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9f977', endColorstr='#fcfccf',GradientType=0 ); /* IE6-9 */
759
+ &:before {
760
+ content: "Warning: ";
761
+ }
762
+ }