prettydocs-jekyll 0.1.4 → 0.1.5
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.
- checksums.yaml +5 -5
- data/_data/default/faqs.yml +24 -1
- data/_data/default/timeline.yml +2 -8
- data/_includes/_partials/social-buttons.html +4 -4
- data/_includes/_partials/toc.html +10 -9
- data/_includes/_sections/blog_post.html +2 -2
- data/_includes/_sections/cards.html +1 -1
- data/_includes/_sections/contact.html +3 -3
- data/_includes/_sections/faqs.html +1 -1
- data/_includes/_sections/timeline.html +38 -35
- data/_includes/_theme/footer.html +1 -1
- data/_includes/_theme/head.html +9 -4
- data/_includes/_theme/header.html +7 -3
- data/_includes/_theme/js.html +21 -6
- data/_layouts/default.html +1 -3
- data/_layouts/faqs.html +19 -5
- data/_layouts/page.html +17 -13
- data/_layouts/post.html +40 -2
- data/_sass/prettydocs-jekyll.scss +1 -18
- data/_sass/vendor/_prettydocs.scss +47 -0
- data/_sass/vendor/prettydocs/_base.scss +343 -0
- data/_sass/{partials → vendor/prettydocs}/_doc.scss +250 -24
- data/_sass/{partials/_contact.scss → vendor/prettydocs/_extra.scss} +2 -4
- data/_sass/{partials/_cards.scss → vendor/prettydocs/_landing.scss} +101 -6
- data/_sass/vendor/prettydocs/_mixins.scss +175 -0
- data/_sass/vendor/prettydocs/config.codekit3 +2439 -0
- data/assets/js/main.js +12 -28
- metadata +18 -26
- data/_sass/globals/_base.scss +0 -44
- data/_sass/globals/_mixins.scss +0 -175
- data/_sass/partials/_base.scss +0 -109
- data/_sass/partials/_buttons.scss +0 -97
- data/_sass/partials/_footer.scss +0 -8
- data/_sass/partials/_header.scss +0 -91
- data/_sass/partials/_helper.scss +0 -42
- data/_sass/partials/_landing.scss +0 -61
- data/_sass/partials/_post.scss +0 -32
- data/_sass/partials/_resources.scss +0 -10
- data/_sass/partials/_toc.scss +0 -163
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.doc-content {
|
|
45
|
-
margin-left: 230px;
|
|
45
|
+
//margin-left: 230px;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
|
|
@@ -122,10 +122,12 @@
|
|
|
122
122
|
.body-purple &{
|
|
123
123
|
color: darken($color-purple, 5%);
|
|
124
124
|
}
|
|
125
|
-
.fa {
|
|
125
|
+
.svg-inline--fa {
|
|
126
126
|
@include opacity(0.6);
|
|
127
|
+
position: relative;
|
|
128
|
+
top: -2px;
|
|
127
129
|
}
|
|
128
|
-
.
|
|
130
|
+
.badge {
|
|
129
131
|
font-size: 11px;
|
|
130
132
|
vertical-align: middle;
|
|
131
133
|
}
|
|
@@ -228,7 +230,6 @@
|
|
|
228
230
|
img {
|
|
229
231
|
border: 1px solid $divider;
|
|
230
232
|
}
|
|
231
|
-
|
|
232
233
|
.mask {
|
|
233
234
|
display: block;
|
|
234
235
|
visibility: hidden;
|
|
@@ -240,14 +241,16 @@
|
|
|
240
241
|
background: rgba(0, 0, 0, 0.25);
|
|
241
242
|
cursor: pointer;
|
|
242
243
|
text-decoration: none;
|
|
243
|
-
|
|
244
|
-
.icon {
|
|
244
|
+
.svg-inline--fa {
|
|
245
245
|
color: #fff;
|
|
246
|
+
font-size: 42px;
|
|
246
247
|
display: block;
|
|
247
248
|
position: absolute;
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
249
|
+
left: 50%;
|
|
250
|
+
top: 50%;
|
|
251
|
+
margin-left: -21px;
|
|
252
|
+
margin-top: -21px;
|
|
253
|
+
|
|
251
254
|
}
|
|
252
255
|
}
|
|
253
256
|
&:hover {
|
|
@@ -257,12 +260,65 @@
|
|
|
257
260
|
}
|
|
258
261
|
}
|
|
259
262
|
|
|
260
|
-
.
|
|
263
|
+
.jumbotron {
|
|
264
|
+
h1 {
|
|
265
|
+
font-size: 28px;
|
|
266
|
+
margin-top: 0;
|
|
267
|
+
margin-bottom: 30px;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.author-profile {
|
|
272
|
+
margin-top: 30px;
|
|
273
|
+
img {
|
|
274
|
+
width: 100px;
|
|
275
|
+
height: 100px;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.speech-bubble {
|
|
280
|
+
background: #fff;
|
|
281
|
+
@include border-radius(4px);
|
|
282
|
+
padding: 30px;
|
|
283
|
+
margin-top: 20px;
|
|
284
|
+
margin-bottom: 30px;
|
|
285
|
+
position: relative;
|
|
286
|
+
|
|
287
|
+
.speech-title {
|
|
288
|
+
font-size: 16px;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.jumbotron & {
|
|
292
|
+
|
|
293
|
+
p {
|
|
294
|
+
font-size: 14px;
|
|
295
|
+
font-weight: normal;
|
|
296
|
+
color: $text-color-secondary;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
&:before {
|
|
301
|
+
content: "";
|
|
302
|
+
display: inline-block;
|
|
303
|
+
position: absolute;
|
|
304
|
+
left: 50%;
|
|
305
|
+
top: -10px;
|
|
306
|
+
margin-left: -10px;
|
|
307
|
+
width: 0;
|
|
308
|
+
height: 0;
|
|
309
|
+
border-left: 10px solid transparent;
|
|
310
|
+
border-right: 10px solid transparent;
|
|
311
|
+
border-bottom: 10px solid #fff;
|
|
312
|
+
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
.theme-card {
|
|
261
317
|
text-align: center;
|
|
262
318
|
border: 1px solid darken($divider, 5%);
|
|
263
319
|
@include border-radius(4px);
|
|
264
|
-
margin-bottom: 30px;
|
|
265
320
|
position: relative;
|
|
321
|
+
height: 100%;
|
|
266
322
|
|
|
267
323
|
.card-block {
|
|
268
324
|
padding: 15px;
|
|
@@ -279,6 +335,7 @@
|
|
|
279
335
|
cursor: pointer;
|
|
280
336
|
text-decoration: none;
|
|
281
337
|
.icon {
|
|
338
|
+
|
|
282
339
|
color: #fff;
|
|
283
340
|
font-size: 42px;
|
|
284
341
|
margin-top: 25%;
|
|
@@ -365,6 +422,159 @@
|
|
|
365
422
|
}
|
|
366
423
|
|
|
367
424
|
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
/* Sidebar */
|
|
430
|
+
|
|
431
|
+
.doc-sidebar {
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
.doc-nav {
|
|
437
|
+
position:absolute;
|
|
438
|
+
top: 0;
|
|
439
|
+
left: 0;
|
|
440
|
+
width: 100%;
|
|
441
|
+
height: 100%;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.sticky {
|
|
445
|
+
position: -webkit-sticky;
|
|
446
|
+
position: -moz-sticky;
|
|
447
|
+
position: -ms-sticky;
|
|
448
|
+
position: -o-sticky;
|
|
449
|
+
position: sticky;
|
|
450
|
+
top: 0;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.doc-menu {
|
|
454
|
+
list-style: none;
|
|
455
|
+
|
|
456
|
+
.nav-link {
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
margin-bottom: 5px;
|
|
460
|
+
display: block;
|
|
461
|
+
padding: 5px 15px;
|
|
462
|
+
color: $text-color-secondary;
|
|
463
|
+
&:hover, &:focus {
|
|
464
|
+
color: $text-color;
|
|
465
|
+
text-decoration: none;
|
|
466
|
+
background: none;
|
|
467
|
+
|
|
468
|
+
}
|
|
469
|
+
.nav {
|
|
470
|
+
|
|
471
|
+
}
|
|
472
|
+
&.active {
|
|
473
|
+
|
|
474
|
+
background: none;
|
|
475
|
+
color: $color-primary;
|
|
476
|
+
font-weight: 600;
|
|
477
|
+
.body-green & {
|
|
478
|
+
color: $color-green;
|
|
479
|
+
border-color: $color-green;
|
|
480
|
+
}
|
|
481
|
+
.body-blue & {
|
|
482
|
+
color: $color-blue;
|
|
483
|
+
border-color: $color-blue;
|
|
484
|
+
}
|
|
485
|
+
.body-orange & {
|
|
486
|
+
color: $color-orange;
|
|
487
|
+
border-color: $color-orange;
|
|
488
|
+
}
|
|
489
|
+
.body-red & {
|
|
490
|
+
color: $color-red;
|
|
491
|
+
border-color: $color-red;
|
|
492
|
+
}
|
|
493
|
+
.body-pink & {
|
|
494
|
+
color: $color-pink;
|
|
495
|
+
border-color: $color-pink;
|
|
496
|
+
}
|
|
497
|
+
.body-purple & {
|
|
498
|
+
color: $color-purple;
|
|
499
|
+
border-color: $color-purple;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
.doc-sub-menu {
|
|
508
|
+
list-style: none;
|
|
509
|
+
padding-left: 0;
|
|
510
|
+
.nav-link {
|
|
511
|
+
margin-bottom: 10px;
|
|
512
|
+
font-size: 12px;
|
|
513
|
+
&:first-child {
|
|
514
|
+
padding-top: 5px;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
display: block;
|
|
518
|
+
color: $text-color-secondary;
|
|
519
|
+
padding: 0;
|
|
520
|
+
padding-left: 34px;
|
|
521
|
+
background: none;
|
|
522
|
+
&:hover{
|
|
523
|
+
color: $text-color;
|
|
524
|
+
text-decoration: none;
|
|
525
|
+
background: none;
|
|
526
|
+
}
|
|
527
|
+
&:focus {
|
|
528
|
+
background: none;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
&.active {
|
|
532
|
+
|
|
533
|
+
background: none;
|
|
534
|
+
color: $color-primary;
|
|
535
|
+
.body-green & {
|
|
536
|
+
color: $color-green;
|
|
537
|
+
}
|
|
538
|
+
.body-blue & {
|
|
539
|
+
color: $color-blue;
|
|
540
|
+
}
|
|
541
|
+
.body-orange & {
|
|
542
|
+
color: $color-orange;
|
|
543
|
+
}
|
|
544
|
+
.body-red & {
|
|
545
|
+
color: $color-red;
|
|
546
|
+
}
|
|
547
|
+
.body-pink & {
|
|
548
|
+
color: $color-pink;
|
|
549
|
+
}
|
|
550
|
+
.body-purple & {
|
|
551
|
+
color: $color-purple;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
/*
|
|
559
|
+
.affix-top {
|
|
560
|
+
position: absolute;
|
|
561
|
+
top: 15px;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
.affix {
|
|
565
|
+
top: 15px;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
.affix,
|
|
569
|
+
.affix-bottom {
|
|
570
|
+
width: 230px;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
.affix-bottom {
|
|
574
|
+
position: absolute;
|
|
575
|
+
}
|
|
576
|
+
*/
|
|
577
|
+
|
|
368
578
|
/* ===== Promo block ===== */
|
|
369
579
|
.promo-block {
|
|
370
580
|
background: darken($color-primary, 5%);
|
|
@@ -386,9 +596,10 @@
|
|
|
386
596
|
|
|
387
597
|
|
|
388
598
|
a {
|
|
389
|
-
color: rgba(0, 0, 0, 0.
|
|
599
|
+
color: rgba(0, 0, 0, 0.6);
|
|
600
|
+
font-weight: bold;
|
|
390
601
|
&:hover {
|
|
391
|
-
color: rgba(0, 0, 0, 0.
|
|
602
|
+
color: rgba(0, 0, 0, 0.7);
|
|
392
603
|
}
|
|
393
604
|
}
|
|
394
605
|
.promo-block-inner {
|
|
@@ -402,8 +613,8 @@
|
|
|
402
613
|
font-weight: 800;
|
|
403
614
|
margin-top:0;
|
|
404
615
|
margin-bottom: 45px;
|
|
405
|
-
.fa {
|
|
406
|
-
color: rgba(0, 0, 0, 0.
|
|
616
|
+
.svg-inline--fa {
|
|
617
|
+
color: rgba(0, 0, 0, 0.6);
|
|
407
618
|
}
|
|
408
619
|
}
|
|
409
620
|
.figure-holder-inner {
|
|
@@ -422,18 +633,18 @@
|
|
|
422
633
|
height: 100%;
|
|
423
634
|
left: 0;
|
|
424
635
|
top: 0;
|
|
425
|
-
background: rgba(
|
|
636
|
+
background: rgba(0, 0, 0, 0.7);
|
|
426
637
|
cursor: pointer;
|
|
427
638
|
text-decoration: none;
|
|
428
|
-
.
|
|
639
|
+
.svg-inline--fa {
|
|
429
640
|
color: #fff;
|
|
430
|
-
font-size:
|
|
431
|
-
display: block;
|
|
641
|
+
font-size: 36px;
|
|
642
|
+
display: inline-block;
|
|
432
643
|
position: absolute;
|
|
433
|
-
width: 100%;
|
|
434
|
-
height: 100%;
|
|
435
644
|
top: 50%;
|
|
436
|
-
|
|
645
|
+
left: 50%;
|
|
646
|
+
margin-left: -18px;
|
|
647
|
+
margin-top: -18px;
|
|
437
648
|
&.pink {
|
|
438
649
|
color: $color-pink;
|
|
439
650
|
}
|
|
@@ -460,7 +671,7 @@
|
|
|
460
671
|
}
|
|
461
672
|
|
|
462
673
|
.highlight {
|
|
463
|
-
color: rgba(0, 0, 0, 0.
|
|
674
|
+
color: rgba(0, 0, 0, 0.6);
|
|
464
675
|
}
|
|
465
676
|
|
|
466
677
|
.btn-cta {
|
|
@@ -479,7 +690,7 @@
|
|
|
479
690
|
/* Extra small devices (phones, less than 768px) */
|
|
480
691
|
@media (max-width: 767px) {
|
|
481
692
|
.doc-content {
|
|
482
|
-
margin-left: 0;
|
|
693
|
+
//margin-left: 0;
|
|
483
694
|
}
|
|
484
695
|
|
|
485
696
|
.jumbotron {
|
|
@@ -519,3 +730,18 @@
|
|
|
519
730
|
@media (min-width: 1200px) {
|
|
520
731
|
|
|
521
732
|
}
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
.sticky {
|
|
737
|
+
position: -webkit-sticky;
|
|
738
|
+
position: sticky;
|
|
739
|
+
top: 0;
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
.sticky:before,
|
|
743
|
+
.sticky:after {
|
|
744
|
+
content: '';
|
|
745
|
+
display: table;
|
|
746
|
+
}
|
|
747
|
+
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
.contact {
|
|
2
|
-
|
|
3
2
|
.jumbotron {
|
|
4
3
|
h1 {
|
|
5
4
|
font-size: 28px;
|
|
@@ -7,7 +6,6 @@
|
|
|
7
6
|
margin-bottom: 30px;
|
|
8
7
|
}
|
|
9
8
|
}
|
|
10
|
-
|
|
11
9
|
.bubble {
|
|
12
10
|
background: #fff;
|
|
13
11
|
@include border-radius(4px);
|
|
@@ -15,9 +13,9 @@
|
|
|
15
13
|
margin-top: 20px;
|
|
16
14
|
margin-bottom: 30px;
|
|
17
15
|
position: relative;
|
|
18
|
-
|
|
16
|
+
|
|
19
17
|
.jumbotron & {
|
|
20
|
-
|
|
18
|
+
|
|
21
19
|
p {
|
|
22
20
|
font-size: 14px;
|
|
23
21
|
font-weight: normal;
|
|
@@ -1,3 +1,68 @@
|
|
|
1
|
+
/* ======= Landing Page ======= */
|
|
2
|
+
.landing-page {
|
|
3
|
+
.header {
|
|
4
|
+
background: $text-color;
|
|
5
|
+
color: rgba(256, 256, 256, 0.85);
|
|
6
|
+
padding: 60px 0;
|
|
7
|
+
a {
|
|
8
|
+
color: #fff;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
.branding {
|
|
12
|
+
text-transform: uppercase;
|
|
13
|
+
margin-bottom: 20px;
|
|
14
|
+
.logo {
|
|
15
|
+
font-size: 38px;
|
|
16
|
+
margin-top: 0;
|
|
17
|
+
margin-bottom: 0;
|
|
18
|
+
}
|
|
19
|
+
.text-bold {
|
|
20
|
+
font-weight: 800;
|
|
21
|
+
color: #fff;
|
|
22
|
+
}
|
|
23
|
+
.icon {
|
|
24
|
+
font-size: 32px;
|
|
25
|
+
color: $color-primary;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.tagline {
|
|
30
|
+
font-weight: 600;
|
|
31
|
+
font-size: 20px;
|
|
32
|
+
p {
|
|
33
|
+
margin-bottom: 5px;
|
|
34
|
+
&:last-child {
|
|
35
|
+
margin-bottom: 0;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
.text-highlight{
|
|
39
|
+
color: darken($color-primary, 20%);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.fa-heart {
|
|
44
|
+
color: $color-pink;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.cta-container {
|
|
48
|
+
margin-top: 30px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.social-container {
|
|
52
|
+
|
|
53
|
+
.twitter-tweet {
|
|
54
|
+
display: inline-block;
|
|
55
|
+
margin-right: 5px;
|
|
56
|
+
position: relative;
|
|
57
|
+
top:5px;
|
|
58
|
+
}
|
|
59
|
+
.fab-like{
|
|
60
|
+
display: inline-block;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
}
|
|
65
|
+
|
|
1
66
|
.cards-section {
|
|
2
67
|
padding: 60px 0;
|
|
3
68
|
background: $smoky-grey;
|
|
@@ -8,20 +73,17 @@
|
|
|
8
73
|
font-size: 24px;
|
|
9
74
|
font-weight: 600;
|
|
10
75
|
}
|
|
11
|
-
|
|
12
76
|
.intro {
|
|
13
77
|
margin: 0 auto;
|
|
14
78
|
max-width: 800px;
|
|
15
79
|
margin-bottom: 60px;
|
|
16
80
|
color: $text-color-secondary;
|
|
17
81
|
}
|
|
18
|
-
|
|
19
82
|
.cards-wrapper {
|
|
20
83
|
max-width: 860px;
|
|
21
84
|
margin-left: auto;
|
|
22
85
|
margin-right: auto;
|
|
23
86
|
}
|
|
24
|
-
|
|
25
87
|
.item {
|
|
26
88
|
margin-bottom: 30px;
|
|
27
89
|
|
|
@@ -40,13 +102,13 @@
|
|
|
40
102
|
}
|
|
41
103
|
|
|
42
104
|
}
|
|
43
|
-
|
|
44
105
|
.item-inner {
|
|
45
106
|
padding: 45px 30px;
|
|
46
107
|
background:#fff;
|
|
47
108
|
position: relative;
|
|
48
109
|
border: 1px solid $divider;
|
|
49
110
|
@include border-radius(4px);
|
|
111
|
+
height: 100%;
|
|
50
112
|
|
|
51
113
|
.link {
|
|
52
114
|
position:absolute;
|
|
@@ -55,6 +117,7 @@
|
|
|
55
117
|
top:0;
|
|
56
118
|
left: 0;
|
|
57
119
|
z-index: 1;
|
|
120
|
+
background-image: url("../images/empty.gif"); /* for IE8 */
|
|
58
121
|
}
|
|
59
122
|
|
|
60
123
|
&:hover {
|
|
@@ -162,9 +225,41 @@
|
|
|
162
225
|
|
|
163
226
|
}
|
|
164
227
|
|
|
165
|
-
|
|
166
|
-
|
|
228
|
+
|
|
229
|
+
// Extra small devices (portrait phones, less than 576px)
|
|
230
|
+
@media (max-width: 575.98px) {
|
|
231
|
+
.main-search-box {
|
|
232
|
+
width: 100%;
|
|
233
|
+
}
|
|
234
|
+
.main-search-box .search-form .search-input {
|
|
235
|
+
width: 100%;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
// Small devices (landscape phones, less than 768px)
|
|
241
|
+
@media (max-width: 767.98px) {
|
|
167
242
|
.cards-section .item-inner {
|
|
168
243
|
padding: 30px 15px;
|
|
169
244
|
}
|
|
170
245
|
}
|
|
246
|
+
|
|
247
|
+
// Small devices (landscape phones, 576px and up)
|
|
248
|
+
@media (min-width: 576px) {
|
|
249
|
+
.main-search-box .search-form .search-input {
|
|
250
|
+
width: 400px;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
// Medium devices (tablets, 768px and up)
|
|
255
|
+
@media (min-width: 768px) {
|
|
256
|
+
.main-search-box .search-form .search-input {
|
|
257
|
+
width: 560px;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|