a b/docs/_sass/_style.scss
1
/* Base */
2
3
 html {
4
   box-sizing: border-box;
5
 }
6
7
 *,
8
 *:before,
9
 *:after {
10
   box-sizing: inherit;
11
 }
12
13
body {
14
  font: 300 21px Lato, 'Helvetica Neue', Helvetica, Arial, sans-serif;
15
  color: #000;
16
  background-color: #f9f6ef;
17
  @include box-shadow(inset 0 3px 30px rgba(0,0,0,.7));
18
  text-shadow: 0 1px 3px rgba(0,0,0,.3);
19
  -webkit-font-feature-settings: "kern" 1;
20
  -moz-font-feature-settings: "kern" 1;
21
  -o-font-feature-settings: "kern" 1;
22
  font-feature-settings: "kern" 1;
23
  font-kerning: normal;
24
  margin: 0;
25
}
26
27
.clear {
28
  display: block;
29
}
30
31
.clear:after {
32
  content: " ";
33
  display: block;
34
  height: 0;
35
  clear: both;
36
  visibility: hidden;
37
}
38
39
/* Sections */
40
41
header,
42
section,
43
footer {
44
  float: left;
45
  width: 100%;
46
  clear: both;
47
}
48
49
/* Header */
50
51
header {
52
  padding: 15px;
53
  background: #B1040E; //darken(#333, 3%);
54
55
  h1,
56
  nav { display: inline-block; }
57
58
  .flexbox {
59
    display: flex;
60
    height: 50px;
61
62
    & > * { margin: auto }
63
  }
64
65
  .logo {
66
    display: block;
67
    color: #fff;
68
    img { margin-top: -7px }
69
  }
70
71
  .search .svg-icons { display: none }
72
}
73
74
nav, .meta {
75
76
  ul {
77
    padding: 0;
78
    margin: 0;
79
    white-space: nowrap;
80
    display: inline-block;
81
  }
82
83
  li { display: inline-block; }
84
}
85
86
.meta ul {
87
  margin-left: 10px;
88
89
  li { vertical-align: middle; }
90
}
91
92
.main-nav, .meta {
93
94
  li {
95
96
    a {
97
      @include border-radius(5px);
98
      font-weight: 900;
99
      font-size: 0.75em;
100
      padding: 0.5em 1em;
101
      text-shadow: none;
102
      text-transform: uppercase;
103
      @include transition(all .25s);
104
      color: #fff;
105
106
      &:hover {
107
        background-color: #252525;
108
        @include box-shadow(inset 0 1px 3px rgba(0,0,0,.5), 0 1px 0 rgba(255,255,255,.1));
109
        text-shadow: 0 1px 3px rgba(0,0,0,.5);
110
      }
111
    }
112
113
    &.current {
114
115
      a {
116
        background-color: #fc0;
117
        color: #222;
118
        @include box-shadow(inset 0 1px 0 rgba(255,255,255,.5), 0 1px 5px rgba(0,0,0,.5));
119
        text-shadow: 0 1px 0 rgba(255,255,255,.3);
120
      }
121
    }
122
  }
123
}
124
.mobile-nav {
125
  padding: 0 5px;
126
127
  ul {
128
    overflow: hidden;
129
    width: 100%;
130
    display: table;
131
  }
132
133
  a {
134
    float: left;
135
    width: 100%;
136
    background-color: #333;
137
    color: #fc0;
138
    text-align: center;
139
    text-transform: uppercase;
140
    font-size: 0.625em;
141
    font-weight: 900;
142
    padding: 10px 5px;
143
    @include border-radius(5px);
144
  }
145
146
  li {
147
    display: table-cell;
148
    width: 20%;
149
    padding: 8px 2px;
150
  }
151
152
  .current {
153
154
    a {
155
      background-color: #fc0;
156
      color: #222;
157
      @include box-shadow(inset 0 1px 0 rgba(255,255,255,.5), 0 1px 5px rgba(0,0,0,.5));
158
      text-shadow: 0 1px 0 rgba(255,255,255,.3);
159
    }
160
  }
161
}
162
163
/*
164
 * This code is courtesy Ben Balter, modified by Parker Moore for jekyllrb.com
165
 * http://ben.balter.com/2014/03/13/pages-anchor-links/
166
 */
167
.header-link {
168
  position: relative;
169
  left: 0.5em;
170
  opacity: 0;
171
  font-size: 0.8em;
172
  @include transition(opacity 0.2s ease-in-out 0.1s);
173
}
174
h2:hover .header-link,
175
h3:hover .header-link,
176
h4:hover .header-link,
177
h5:hover .header-link,
178
h6:hover .header-link {
179
  opacity: 1;
180
}
181
182
@media (max-width: 580px) {
183
  header {
184
    .flexbox { height: auto }
185
    .logo img { margin-top: 0 }
186
  }
187
}
188
@media (max-width: 699px) {
189
  .searchbox { display: none }
190
}
191
@media (max-width: 768px) {
192
  .main-nav ul { text-align: right }
193
}
194
@media (max-width: 830px) {
195
  .main-nav {
196
    .show-on-mobiles { display: inline; }
197
    .hide-on-mobiles { display: none; }
198
  }
199
}
200
@media (max-width: 890px) {
201
  .meta { display: none; }
202
}
203
204
/* Footer */
205
206
footer {
207
  background-color: #8c1515;
208
  font-size: 16px;
209
  padding-bottom: 5px;
210
  color: #fff;
211
  margin-top: 40px;
212
213
  a {
214
    color: #fff;
215
216
    &:hover {
217
218
      img { opacity: 1; }
219
    }
220
  }
221
222
  .align-right {
223
224
    p { display: inline-block; }
225
  }
226
227
  img {
228
    display: inline-block;
229
    position: relative;
230
    top: 8px;
231
    margin-left: 5px;
232
    opacity: .8;
233
    padding: 1px;
234
    @include transition(opacity .2s);
235
  }
236
}
237
238
@media (max-width: 568px) {
239
  footer {
240
    .one-third p { margin-bottom: 0; }
241
    .two-thirds p { margin-top: -20px; }
242
  }
243
}
244
245
/* Intro */
246
247
.intro {
248
249
  .unit { padding: 10px 0 40px; }
250
251
  p {
252
    font-size: 1.75em;
253
    line-height: 1em;
254
    margin: 0;
255
  }
256
}
257
258
@media (min-width: 569px) {
259
  .intro p { font-size: 3.2em; }
260
}
261
262
/* Quickstart */
263
264
.quickstart {
265
  background-color: #175e54;
266
  color: #fff;
267
  margin: 60px 0;
268
  @include box-shadow(inset 0 3px 10px rgba(0,0,0,.4));
269
270
  .content { padding: 0; }
271
272
  h3 {
273
    font-size: 24px;
274
    line-height: 24px;
275
    margin-top: 20px;
276
    text-shadow: 0 1px 3px rgba(0,0,0,.8);
277
  }
278
279
  .code {
280
    font-size: 12px;
281
    display: block;
282
    margin: 0 0 -30px;
283
  }
284
}
285
286
@media (min-width: 768px) {
287
  .quickstart {
288
289
    .code {
290
      font-size: 18px;
291
      margin: -30px 0;
292
      float: right;
293
    }
294
295
    h3 {
296
      margin: 50px 0 0;
297
      text-align: center;
298
    }
299
  }
300
}
301
302
/* Code */
303
304
.quickstart {
305
306
  .code {
307
    display: block;
308
    padding: 0;
309
    font-family: Menlo, Consolas, "Courier New", Courier, "Liberation Mono", monospace;
310
    line-height: 1.3em;
311
312
    .title {
313
      display: block;
314
      text-align: center;
315
      margin: 0 20px;
316
      padding: 5px 0;
317
      @include border-radius(5px 5px 0 0);
318
      @include box-shadow(0 3px 10px rgba(0,0,0,.5));
319
      font: 400 16px/24px 'Helvetica Neue', Helvetica, Arial, sans-serif;
320
      color: #444;
321
      text-shadow: 0 1px 0 rgba(255,255,255,.5);
322
      background-color: #f7f7f7;
323
      background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y3ZjdmNyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjclIiBzdG9wLWNvbG9yPSIjY2ZjZmNmIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2FhYWFhYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
324
      background-image: -webkit-gradient(linear, left top, left bottom, from(#f7f7f7), color-stop(7%, #cfcfcf), to(#aaaaaa));
325
      background-image: -webkit-linear-gradient(top, #f7f7f7 0%, #cfcfcf 7%, #aaaaaa 100%);
326
      background-image: -moz-linear-gradient(top, #f7f7f7 0%, #cfcfcf 7%, #aaaaaa 100%);
327
      background-image: -o-linear-gradient(top, #f7f7f7 0%, #cfcfcf 7%, #aaaaaa 100%);
328
      background-image: linear-gradient(top, #f7f7f7 0%,#cfcfcf 7%,#aaaaaa 100%);
329
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#aaaaaa',GradientType=0 );
330
      border-bottom: 1px solid #111;
331
    }
332
333
    .shell {
334
      padding: 20px;
335
      text-shadow: none;
336
      margin: 0 20px;
337
      background-color: #171717;
338
      @include border-radius(0 0 5px 5px);
339
      @include box-shadow(0 5px 30px rgba(0,0,0,.3));
340
    }
341
342
    .line {
343
      display: block;
344
      margin: 0;
345
      padding: 0;
346
347
      span { display: inline-block; }
348
    }
349
350
    .path {
351
      color: #87ceeb;
352
      @include user-select(none);
353
    }
354
355
    .prompt {
356
      color: #cd5c5c;
357
      -webkit-user-select: none;  /* Chrome all / Safari all */
358
      -moz-user-select: none;     /* Firefox all */
359
      -ms-user-select: none;      /* IE 10+ */
360
      -o-user-select: none;
361
      user-select: none;
362
    }
363
364
    .command { color: #f0e68c; }
365
366
    .output { color: #888; }
367
  }
368
}
369
370
/* Free Hosting */
371
372
.free-hosting {
373
374
  .pane {
375
    background-color: #3e3e3e;
376
    @include border-radius(10px);
377
    text-shadow: none;
378
    position: relative;
379
    padding: 0 20px 30px;
380
  }
381
382
  img {
383
    margin: -30px 0 0;
384
    width: 180px;
385
    height: 150px;
386
  }
387
388
  h2 { font-size: 28px; }
389
390
  p,
391
  a { font-size: 16px; }
392
393
  p { margin: .75em 0; }
394
}
395
396
@media (min-width: 768px) {
397
  .free-hosting {
398
399
    img {
400
      float: left;
401
      margin: -20px -30px -30px -50px;
402
      width: 300px;
403
      height: 251px;
404
    }
405
406
    .pane-content {
407
      margin-top: 35px;
408
      padding-right: 30px;
409
    }
410
411
    p,
412
    a { font-size: 18px; }
413
414
    .pane:after {
415
      content: " ";
416
      float: right;
417
      background: url(../img/footer-arrow.png) top left no-repeat;
418
      width: 73px;
419
      height: 186px;
420
      position: absolute;
421
      right: 0;
422
      bottom: -30px;
423
    }
424
  }
425
}
426
427
/* Article - Used for both docs and news */
428
429
430
article {
431
  background-color: #fefdfb;
432
  @include border-radius(10px);
433
  padding: 20px;
434
  margin: 0 10px;
435
  @include box-shadow(0 3px 10px rgba(0,0,0,.1));
436
  font-size: 16px;
437
}
438
439
@media (max-width: 480px) {
440
  article ul { padding-left: 20px; }
441
}
442
443
@media (max-width: 568px) {
444
  article { margin: 0; }
445
}
446
447
@media (min-width: 768px) {
448
  article {
449
    padding: 40px 40px 30px;
450
    font-size: 21px;
451
  }
452
}
453
454
/* Right-side nav - used by both docs and news */
455
456
aside {
457
  padding-top: 30px;
458
459
  h4 {
460
    text-transform: uppercase;
461
    font-size: 14px;
462
    font-weight: 700;
463
    padding: 0 0 10px 30px;
464
    margin-left: -30px;
465
    display: inline-block;
466
    border-bottom: 1px solid #c00;
467
  }
468
469
  ul {
470
    padding-left: 0;
471
472
    &:first-child { margin-top: 0; }
473
  }
474
475
  li {
476
    list-style-type: none;
477
478
    a {
479
      font-size: 16px;
480
      position: relative
481
    }
482
483
    &.current a:before {
484
      content: "";
485
      border-color: transparent transparent transparent #fefdfb;
486
      border-style: solid;
487
      border-width: 10px;
488
      width: 0;
489
      height: 0;
490
      position: absolute;
491
      top: 0;
492
      left: -30px;
493
    }
494
    &.current a {
495
        color: #8c1515;
496
    }
497
  }
498
}
499
500
/* Documentation */
501
502
.docs {
503
504
  article { min-height: 800px; }
505
506
  .content { padding: 0; }
507
}
508
509
.section-nav {
510
  text-align: center;
511
  padding-top: 40px;
512
  position: relative;
513
  background: url(../img/article-footer.png) top center no-repeat;
514
  margin: 40px -20px 10px;
515
516
  > div { width: 49.5%; }
517
518
  a,
519
  span {
520
    color: #fff;
521
    font-size: 16px;
522
    text-transform: uppercase;
523
    font-weight: 700;
524
    padding: 8px 12px 10px;
525
    @include border-radius(5px);
526
    /*border: 1px solid #333;*/
527
    @include box-shadow(0 1px 3px rgba(0,0,0,.3), inset 0 1px 1px rgba(255,255,255,.5));
528
    background-color: #007c92;
529
  }
530
531
  a:hover {
532
    color: #fff;
533
    background-color: #928b81;
534
  }
535
536
  .next,
537
  .prev { position: relative; }
538
539
  .next:after,
540
  .prev:before {
541
    font-size: 36px;
542
    color: #222;
543
    font-weight: 900;
544
    text-shadow: 0 1px 0 rgba(255,255,255,.4);
545
    position: absolute;
546
    top: -7px;
547
  }
548
549
  .next:after {
550
    content: '\203A';
551
    right: 10px;
552
  }
553
554
  .prev:before {
555
    content: '\2039';
556
    left: 10px;
557
  }
558
559
  .prev,
560
  .prev:hover { padding-left: 30px; }
561
562
  .next,
563
  .next:hover { padding-right: 30px; }
564
565
  .disabled {
566
    opacity: .5;
567
    cursor: default;
568
  }
569
}
570
571
.improve {
572
  padding-top: 25px;
573
  font-size: 16px;
574
  a {
575
    color: #4d4f53;
576
  }
577
}
578
579
.docs-nav-mobile select {
580
  padding: 5px;
581
  width: 100%;
582
  font-size: 0.85em;
583
  color: #000;
584
  background: #ddd;
585
  border-color: transparent;
586
  @include border-radius(5px);
587
588
  &:focus {
589
    outline: none;
590
  }
591
592
  option {
593
    font-size: 0.9em;
594
    padding: 3px;
595
  }
596
}
597
598
/* News */
599
600
article h2:first-child { margin-top: 0; }
601
602
.post-category,
603
.post-meta {
604
  display: inline-block;
605
  vertical-align: middle;
606
  font-size: .8em;
607
}
608
609
.post-category {
610
  display: inline-block;
611
  margin-left: -30px;
612
  padding: 6px 10px 8px;
613
  padding-left: 50px;
614
  @include border-radius(0 5px 5px 0);
615
  position: relative;
616
  @include box-shadow(0 1px 5px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255,255,255,.2), inset 0 -1px 0 rgba(0,0,0,.3));
617
  background-color: #9e2812;
618
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzllMjgxMiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2ZjBkMGQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
619
  background-image: -webkit-gradient(linear, left top, left bottom, from(#9e2812), to(#6f0d0d));
620
  background-image: -webkit-linear-gradient(top, #9e2812 0%, #6f0d0d 100%);
621
  background-image: -moz-linear-gradient(top, #9e2812 0%, #6f0d0d 100%);
622
  background-image: -o-linear-gradient(top, #9e2812 0%, #6f0d0d 100%);
623
  background-image: linear-gradient(to bottom, #9e2812 0%,#6f0d0d 100%);
624
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9e2812', endColorstr='#6f0d0d',GradientType=0 );
625
626
  &:before {
627
    content: "";
628
    position: absolute;
629
    top: -10px;
630
    left: 0;
631
    border-color: transparent #6f0d0d #6f0d0d transparent;
632
    border-style: solid;
633
    border-width: 5px;
634
    width: 0;
635
    height: 0;
636
  }
637
}
638
639
.post-content img { max-width: 100% }
640
641
.label {
642
  float: left;
643
  text-transform: uppercase;
644
  font-weight: 700;
645
  text-shadow: 0 -1px 0 rgba(0,0,0,.5);
646
}
647
648
@media (max-width: 568px) {
649
  .post-category { padding-left: 30px; }
650
}
651
652
@media (min-width: 768px) {
653
  .post-category { margin-left: -50px; }
654
}
655
656
.avatar {
657
  @include border-radius(3px);
658
  display: inline-block;
659
  vertical-align: middle;
660
}
661
662
.post-meta {
663
  padding: 5px 0;
664
  color: #c0c0c0;
665
  font-weight: 600;
666
//  text-shadow: 0 -1px 0 #000;
667
}
668
669
.post-date,
670
.post-author { margin-left: 10px; }
671
672
.post-date { color:     #00505c }
673
.post-category { color:     #ffffff }
674
675
.news article + article {
676
  margin-top: -10px;
677
  @include border-radius(0 0 10px 10px);
678
  border-top: 1px solid            #F4F4F4;
679
  @include box-shadow(0 -1px 0         #F4F4F4);
680
}
681
682
/* Code Highlighting */
683
684
685
pre,
686
code {
687
  white-space: pre;
688
  display: inline-block;
689
  margin: 0;
690
  font: 14px/1.8em Menlo, Consolas, "Courier New", Courier, "Liberation Mono", monospace;
691
  padding: 0 0.5em;
692
  color: #000;
693
}
694
695
@media (min-width: 768px) {
696
  pre, code { font-size: 16px; }
697
}
698
699
.highlight,
700
p > pre,
701
p > code,
702
p > nobr > code,
703
li > code,
704
li> pre,
705
h5 > code,
706
.note > code {
707
  background-color:     #F9F6EF;
708
  color:     #2F2424;
709
  max-width: 100%;
710
  overflow-x: auto;
711
  vertical-align: middle;
712
  @include border-radius(5px);
713
  @include box-shadow(inset 0 1px 10px rgba(0,0,0,.1),
714
    0 1px 0 rgba(255,255,255,.3),
715
    0 -1px 0 rgba(0,0,0,.1));
716
}
717
718
.note code {
719
  background-color: #333;
720
  background-color: rgba(0,0,0,0.2);
721
  margin-left: 2.5px;
722
  margin-right: 2.5px;
723
  font-size: 0.8em;
724
}
725
726
.code-block {
727
  margin: 10px 0;
728
  code { background: none; }
729
}
730
731
.highlight {
732
  margin: 1em 0;
733
  width: 100%;
734
  overflow: auto;
735
}
736
737
pre.highlight { padding: 10px 0.5em; }
738
739
.highlighter-rouge .highlight {
740
  @extend .highlight;
741
  margin: 0;
742
}
743
744
/* HTML Elements */
745
746
h1, h2, h3, h4, h5, h6 { margin: 0; }
747
748
a {
749
  color: #006CB8;
750
  text-decoration: none;
751
  @include transition(all .25s);
752
753
  &:hover { color: #00548f; }
754
}
755
756
a.logo {
757
  color: #fff;
758
  text-decoration: none;
759
  @include transition(all .25s);
760
761
  &:hover { color:     #eaab00; }
762
}
763
764
strong { font-weight: 700; }
765
766
p { line-height: 1.5em; }
767
768
.left { float: left; }
769
.right { float: right; }
770
.align-right { text-align: right; }
771
.align-left { text-align: left; }
772
.align-center { text-align: center; }
773
774
/* Article HTML */
775
776
article {
777
778
  h2, h3, h4, h5, h6 { margin: 1em 0; }
779
780
  h4 { color: #555; }
781
782
  ul li {
783
784
    p { margin: 0; }
785
786
    blockquote { margin: 10px 0; }
787
  }
788
789
  ul li,
790
  ol li {
791
    line-height: 1.5em;
792
    margin-bottom: 0.5em;
793
  }
794
795
}
796
797
h5, h6 {
798
  font-size: 1em;
799
  font-style: italic;
800
}
801
802
blockquote {
803
  border-left: 2px solid #777;
804
  padding-left: 20px;
805
  font-style: italic;
806
  font-size: 18px;
807
  font-weight: 500;
808
}
809
810
811
/* Tables */
812
813
table {
814
  width: 100%;
815
  background-color: #f9f6ef;
816
  margin: .5em 0;
817
  @include border-radius(5px);
818
  @include box-shadow(0 1px 3px rgba(0,0,0,.3));
819
}
820
821
thead {
822
  @include border-top-left-radius(5px);
823
  @include border-top-right-radius(5px);
824
  color: #fff;
825
  background-color: #3a3a3a;
826
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzNhM2EzYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMxZTFlMWUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
827
  background-image: -webkit-gradient(linear, left top, left bottom, from(#3a3a3a), to(#1e1e1e));
828
  background-image: -webkit-linear-gradient(top, #3a3a3a 0%, #1e1e1e 100%);
829
  background-image: -moz-linear-gradient(top, #3a3a3a 0%, #1e1e1e 100%);
830
  background-image: -o-linear-gradient(top, #3a3a3a 0%, #1e1e1e 100%);
831
  background-image: linear-gradient(to bottom, #3a3a3a 0%,#1e1e1e 100%);
832
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3a3a3a', endColorstr='#1e1e1e',GradientType=0 );
833
834
  th {
835
    position: relative;
836
    @include box-shadow(inset 0 1px 0 rgba(255,255,255,.1));
837
838
    &:first-child {
839
      @include border-top-left-radius(5px);
840
    }
841
842
    &:last-child {
843
      @include border-top-right-radius(5px);
844
    }
845
  }
846
}
847
848
td { padding: .5em .75em; }
849
850
td p { margin: 0; }
851
852
th {
853
  text-transform: uppercase;
854
  font-size: 16px;
855
  padding: .5em .75em;
856
  text-shadow: 0 -1px 0 rgba(0,0,0,.9);
857
  color: #888;
858
}
859
860
tbody td {
861
  border-top: 1px solid #747474;
862
  border-top: 1px solid rgba(0,0,0,.1);
863
  @include box-shadow(inset 0 1px 0 rgba(255,255,255,.1));
864
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwLjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
865
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0.1)), to(rgba(255,255,255,0)));
866
  background-image: -webkit-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
867
  background-image: -moz-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
868
  background-image: -o-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
869
  background-image: linear-gradient(to bottom, rgba(255,255,255,0.1) 0%,rgba(255,255,255,0) 100%);
870
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1affffff', endColorstr='#00ffffff',GradientType=0 );
871
872
  ul {
873
    padding-left: 1em;
874
  }
875
876
  p,
877
  ul {
878
    font-size: 16px;
879
880
    code { font-size: 14px; }
881
  }
882
}
883
884
code.option,
885
th .option,
886
code.filter,
887
th .filter {
888
  color: #50B600;
889
}
890
891
code.flag,
892
th .flag,
893
code.output,
894
th .output {
895
  color: #049DCE;
896
}
897
898
code.option,
899
code.flag,
900
code.filter,
901
code.output {
902
  margin-bottom: 2px;
903
}
904
905
/* Note types */
906
907
.note {
908
  margin: 30px 0;
909
  margin-left: -30px;
910
  padding: 20px 20px 24px;
911
  padding-left: 50px;
912
  @include border-radius(0 5px 5px 0);
913
  position: relative;
914
  @include box-shadow(0 1px 5px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255,255,255,.2), inset 0 -1px 0 rgba(0,0,0,.3));
915
  background-color: #7e6d42;
916
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzdlNmQ0MiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM1YzRlMzUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
917
  background-image: -webkit-gradient(linear, left top, left bottom, from(#7e6d42), to(#5c4e35));
918
  background-image: -webkit-linear-gradient(top, #7e6d42 0%, #5c4e35 100%);
919
  background-image: -moz-linear-gradient(top, #7e6d42 0%, #5c4e35 100%);
920
  background-image: -o-linear-gradient(top, #7e6d42 0%, #5c4e35 100%);
921
  background-image: linear-gradient(to bottom, #7e6d42 0%,#5c4e35 100%);
922
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7e6d42', endColorstr='#5c4e35',GradientType=0 );
923
}
924
925
@media (max-width: 568px) {
926
  .note { margin-right: -30px; }
927
}
928
929
@media (min-width: 768px) {
930
  .note { margin-left: -50px; }
931
}
932
933
.note {
934
  &:before {
935
    content: "";
936
    position: absolute;
937
    top: -10px;
938
    left: 0;
939
    border-color: transparent #222 #222 transparent;
940
    border-style: solid;
941
    border-width: 5px;
942
    width: 0;
943
    height: 0;
944
  }
945
946
  h5,
947
  p {
948
    margin: 0;
949
    color: #fff;
950
  }
951
952
  h5 {
953
    line-height: 1.5em;
954
    font-weight: 900;
955
    font-style: normal;
956
  }
957
958
  p {
959
    font-weight: 400;
960
    font-size: .75em;
961
  }
962
963
  &:after {
964
    content: '\2605';
965
    color: #eaab00;
966
    position: absolute;
967
    top: 14px;
968
    left: 14px;
969
    font-size: 28px;
970
    font-weight: 700;
971
    text-shadow: 0 -1px 0 rgba(0,0,0,.5);
972
  }
973
}
974
975
.info {
976
  background-color: #0389aa;
977
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAzODlhYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDYxN2YiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
978
  background-image: -webkit-gradient(linear, left top, left bottom, from(#0389aa), to(#00617f));
979
  background-image: -webkit-linear-gradient(top, #0389aa 0%, #00617f 100%);
980
  background-image: -moz-linear-gradient(top, #0389aa 0%, #00617f 100%);
981
  background-image: -o-linear-gradient(top, #0389aa 0%, #00617f 100%);
982
  background-image: linear-gradient(to bottom, #0389aa 0%,#00617f 100%);
983
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0389aa', endColorstr='#00617f',GradientType=0 );
984
}
985
986
.warning {
987
  background-color: #9e2812;
988
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzllMjgxMiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2ZjBkMGQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
989
  background-image: -webkit-gradient(linear, left top, left bottom, from(#9e2812), to(#6f0d0d));
990
  background-image: -webkit-linear-gradient(top, #9e2812 0%, #6f0d0d 100%);
991
  background-image: -moz-linear-gradient(top, #9e2812 0%, #6f0d0d 100%);
992
  background-image: -o-linear-gradient(top, #9e2812 0%, #6f0d0d 100%);
993
  background-image: linear-gradient(to bottom, #9e2812 0%,#6f0d0d 100%);
994
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9e2812', endColorstr='#6f0d0d',GradientType=0 );
995
}
996
997
.unreleased {
998
  background-color: #cd9239;
999
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2NkOTIzOSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNhMjc1MjgiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
1000
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(205,146,57,1)), to(rgba(162,117,40,1)));
1001
  background-image: -webkit-linear-gradient(top, rgba(205,146,57,1) 0%, rgba(162,117,40,1) 100%);
1002
  background-image: -moz-linear-gradient(top, rgba(205,146,57,1) 0%, rgba(162,117,40,1) 100%);
1003
  background-image: -o-linear-gradient(top, rgba(205,146,57,1) 0%, rgba(162,117,40,1) 100%);
1004
  background-image: linear-gradient(to bottom, rgba(205,146,57,1) 0%,rgba(162,117,40,1) 100%);
1005
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cd9239', endColorstr='#a27528',GradientType=0 );
1006
}
1007
1008
.info:before { border-color: transparent #00617f #00617f transparent; }
1009
1010
.warning:before { border-color: transparent #6f0d0d #6f0d0d transparent; }
1011
1012
.unreleased:before { border-color: transparent #664719 #664719 transparent; }
1013
1014
.info:after {
1015
  content: '\24D8';
1016
  color: #fff;
1017
  position: absolute;
1018
  top: 15px;
1019
  left: 15px;
1020
  font-size: 28px;
1021
  font-weight: 700;
1022
  text-shadow: 0 -1px 0 rgba(0,0,0,.5);
1023
}
1024
1025
.warning:after {
1026
  content: '\203C';
1027
  color: #eaab00;
1028
  position: absolute;
1029
  top: 15px;
1030
  left: 15px;
1031
  font-size: 32px;
1032
  font-weight: 700;
1033
  text-shadow: 0 -1px 0 rgba(0,0,0,.5);
1034
}
1035
1036
.unreleased:after {
1037
  content: '\2692';
1038
  color: #2b2a12;
1039
  position: absolute;
1040
  top: 8px;
1041
  left: 15px;
1042
  font-size: 38px;
1043
  font-weight: 700;
1044
  text-shadow: 0 1px 0 rgba(255,255,255,.25);
1045
}
1046
1047
/* Version badge */
1048
1049
.version-badge {
1050
  margin-left: .25em;
1051
  padding: 0.2em;
1052
  font-size: .75em;
1053
  font-weight: 400;
1054
  background-color: #eaab00;
1055
  color: #222;
1056
  text-shadow: none;
1057
  vertical-align: middle;
1058
  border-radius: 3.75px;
1059
}
1060
1061
.note {
1062
  .version-badge {
1063
    font-size: 0.9rem;
1064
    padding: 0.1em 0.2em;
1065
    background-color: rgba(0,0,0,0.2);
1066
    color: #fff;
1067
    box-shadow: inset 0 1px 10px rgba(0,0,0,0.3),0 1px 0 rgba(255,255,255,0.1),0 -1px 0 rgba(0,0,0,0.5);
1068
  }
1069
}
1070
1071
/* Responsive tables */
1072
1073
@media (max-width: 768px) {
1074
  .mobile-side-scroller {
1075
    overflow-x: scroll;
1076
    margin: 0 -40px;
1077
    padding: 0 10px;
1078
  }
1079
}
1080
1081
1082
.show-on-mobiles {
1083
  display: none;
1084
}
1085
1086
@media screen and (max-width: 568px) {
1087
  .show-on-mobiles {
1088
    display: block !important;
1089
  }
1090
  a .show-on-mobiles {
1091
    display: inline !important;
1092
  }
1093
}
1094
1095
.videoWrapper {
1096
  position: relative;
1097
  padding-bottom: 52.4%;
1098
  padding-top: 25px;
1099
  height: 0;
1100
}
1101
1102
.videoWrapper iframe {
1103
  position: absolute;
1104
  top: 0;
1105
  left: 0;
1106
  width: 100%;
1107
  height: 100%;
1108
}
1109
1110
1111
/* Helper class taken from Bootstrap.
1112
   Hides an element to all devices except screen readers.
1113
*/
1114
.sr-only {
1115
  position: absolute;
1116
  width: 1px;
1117
  height: 1px;
1118
  padding: 0;
1119
  margin: -1px;
1120
  overflow: hidden;
1121
  clip: rect(0, 0, 0, 0);
1122
  border: 0;
1123
}
1124
1125
.result {
1126
  padding: 12px;
1127
}
1128
1129
.image-description {
1130
  margin: -20px 0 20px;
1131
  padding: 10px 15px;
1132
  font-size: 0.81em;
1133
  text-align: justify;
1134
  background: #5c5c5c;
1135
1136
  pre, code {
1137
    font-size: 0.75em;
1138
    background: #454545;
1139
  }
1140
}
1141
1142
.language-sh {
1143
  position: relative;
1144
  &:before {
1145
    display: table;
1146
    padding: 8px;
1147
    width: 100%;
1148
    padding: 5px 0;
1149
    font: 400 16px/24px 'Helvetica Neue', Helvetica, Arial, sans-serif;
1150
    color: #444;
1151
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
1152
    background-color: #f7f7f7;
1153
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y3ZjdmNyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjclIiBzdG9wLWNvbG9yPSIjY2ZjZmNmIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2FhYWFhYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
1154
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f7f7f7), color-stop(7%, #cfcfcf), to(#aaaaaa));
1155
    background-image: -webkit-linear-gradient(top, #f7f7f7 0%, #cfcfcf 7%, #aaaaaa 100%);
1156
    background-image: -moz-linear-gradient(top, #f7f7f7 0%, #cfcfcf 7%, #aaaaaa 100%);
1157
    background-image: -o-linear-gradient(top, #f7f7f7 0%, #cfcfcf 7%, #aaaaaa 100%);
1158
    background-image: linear-gradient(top, #f7f7f7 0%,#cfcfcf 7%,#aaaaaa 100%);
1159
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#aaaaaa',GradientType=0 );
1160
    border-bottom: 1px solid #111;
1161
    text-align: center;
1162
    content: "terminal";
1163
    @include border-radius(5px 5px 0 0);
1164
    @include box-shadow(0 3px 10px rgba(0,0,0,.5));
1165
  }
1166
  .highlight {
1167
    @include border-radius(0 0 5px 5px);
1168
  }
1169
  pre.highlight {
1170
    background: #1c1c1c;
1171
  }
1172
}