prettydocs-jekyll 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +7 -0
  3. data/_data/default/base.yml +20 -0
  4. data/_data/default/cards.yml +35 -0
  5. data/_data/default/contact.yml +24 -0
  6. data/_data/default/faqs.yml +46 -0
  7. data/_includes/_partials/post.html +32 -0
  8. data/_includes/_partials/social-buttons.html +12 -0
  9. data/_includes/_partials/toc.html +43 -0
  10. data/_includes/_sections/blog_post.html +33 -0
  11. data/_includes/_sections/cards.html +25 -0
  12. data/_includes/_sections/contact.html +25 -0
  13. data/_includes/_sections/faqs.html +28 -0
  14. data/_includes/_sections/not-found.html +11 -0
  15. data/_includes/_sections/resources.html +68 -0
  16. data/_includes/_theme/footer.html +19 -0
  17. data/_includes/_theme/head.html +42 -0
  18. data/_includes/_theme/header.html +34 -0
  19. data/_includes/_theme/js.html +7 -0
  20. data/_includes/_utils/common +24 -0
  21. data/_includes/_utils/month +17 -0
  22. data/_layouts/compress.html +9 -0
  23. data/_layouts/default.html +19 -0
  24. data/_layouts/faqs.html +20 -0
  25. data/_layouts/landing.html +18 -0
  26. data/_layouts/page.html +15 -0
  27. data/_layouts/post.html +5 -0
  28. data/_sass/globals/_base.scss +44 -0
  29. data/_sass/globals/_mixins.scss +175 -0
  30. data/_sass/partials/_base.scss +109 -0
  31. data/_sass/partials/_buttons.scss +97 -0
  32. data/_sass/partials/_cards.scss +170 -0
  33. data/_sass/partials/_contact.scss +29 -0
  34. data/_sass/partials/_doc.scss +523 -0
  35. data/_sass/partials/_footer.scss +8 -0
  36. data/_sass/partials/_header.scss +91 -0
  37. data/_sass/partials/_helper.scss +42 -0
  38. data/_sass/partials/_landing.scss +61 -0
  39. data/_sass/partials/_post.scss +32 -0
  40. data/_sass/partials/_resources.scss +10 -0
  41. data/_sass/partials/_toc.scss +163 -0
  42. data/_sass/prettydocs-jekyll.scss +20 -0
  43. data/_sass/vendor/_timeline.scss +221 -0
  44. data/_sass/vendor/timeline/functions/desaturated-lighten.scss +7 -0
  45. data/_sass/vendor/timeline/functions/map-deep-get.scss +9 -0
  46. data/_sass/vendor/timeline/functions/map-set.scss +5 -0
  47. data/_sass/vendor/timeline/functions/mutate-colors.scss +9 -0
  48. data/_sass/vendor/timeline/mixins/timeline-element.scss +23 -0
  49. data/_sass/vendor/timeline/mixins/timeline-event-variant.scss +20 -0
  50. data/_sass/vendor/timeline/mixins/timeline-item-arrow-color-variant.scss +6 -0
  51. data/_sass/vendor/timeline/mixins/timeline-item-arrow-size-variant.scss +17 -0
  52. data/_sass/vendor/timeline/mixins/timeline-item-right-side-position.scss +21 -0
  53. data/_sass/vendor/timeline/mixins/timeline-item-start-margins.scss +9 -0
  54. data/_sass/vendor/timeline/mixins/timeline-item-variant.scss +28 -0
  55. data/_sass/vendor/timeline/mixins/timeline-label-variant.scss +3 -0
  56. data/_sass/vendor/timeline/mixins/timeline-line-variant.scss +5 -0
  57. data/_sass/vendor/timeline/mixins/timeline-point-color-variant.scss +4 -0
  58. data/_sass/vendor/timeline/mixins/timeline-point-size-variant.scss +12 -0
  59. data/_sass/vendor/timeline/mixins/timeline-responsive-variant.scss +26 -0
  60. data/_sass/vendor/timeline/mixins/timeline-row-clearfix.scss +10 -0
  61. data/_sass/vendor/timeline/mixins/timeline-single-column.scss +56 -0
  62. data/_sass/vendor/timeline/mixins/transform-center.scss +3 -0
  63. data/_sass/vendor/timeline/variables.scss +90 -0
  64. data/assets/css/main.scss +4 -0
  65. data/assets/images/empty.gif +0 -0
  66. data/assets/images/favicon.ico +0 -0
  67. data/assets/js/main.js +45 -0
  68. metadata +182 -0
@@ -0,0 +1,8 @@
1
+ .footer {
2
+ background: darken($text-color, 15%);
3
+ color: rgba(256, 256, 256, 0.6);
4
+ padding: 15px 0;
5
+ a {
6
+ color: $color-primary;
7
+ }
8
+ }
@@ -0,0 +1,91 @@
1
+ .header {
2
+ background: $text-color;
3
+ color: rgba(256, 256, 256, 0.85);
4
+ border-top: 5px solid $color-primary;
5
+ padding: 30px 0;
6
+ a {
7
+ color: #fff;
8
+ }
9
+ }
10
+ .branding {
11
+ text-transform: uppercase;
12
+ margin-bottom: 10px;
13
+ .logo {
14
+ font-size: 28px;
15
+ margin-top: 0;
16
+ margin-bottom: 0;
17
+ a {
18
+ text-decoration: none;
19
+ }
20
+ }
21
+ .text-highlight {
22
+ color: $color-primary;
23
+ .body-green & {
24
+ color: $color-green;
25
+ }
26
+ .body-blue & {
27
+ color: $color-blue;
28
+ }
29
+ .body-orange & {
30
+ color: $color-orange;
31
+ }
32
+ .body-red & {
33
+ color: $color-red;
34
+ }
35
+ .body-pink & {
36
+ color: $color-pink;
37
+ }
38
+ .body-purple & {
39
+ color: $color-purple;
40
+ }
41
+ }
42
+ .text-bold {
43
+ font-weight: 800;
44
+ color: #fff;
45
+ }
46
+ .icon {
47
+ font-size: 24px;
48
+ color: $color-primary;
49
+ .body-green & {
50
+ color: $color-green;
51
+ }
52
+ .body-blue & {
53
+ color: $color-blue;
54
+ }
55
+ .body-orange & {
56
+ color: $color-orange;
57
+ }
58
+ .body-red & {
59
+ color: $color-red;
60
+ }
61
+ .body-pink & {
62
+ color: $color-pink;
63
+ }
64
+ .body-purple & {
65
+ color: $color-purple;
66
+ }
67
+ }
68
+ }
69
+
70
+ .breadcrumb {
71
+ background: none;
72
+ margin-bottom: 0;
73
+ padding: 0;
74
+ li {
75
+ color: rgba(256, 256, 256, 0.5);
76
+ &.active {
77
+ color: rgba(256, 256, 256, 0.5);
78
+ }
79
+ a {
80
+ color: rgba(256, 256, 256, 0.5);
81
+ &:hover {
82
+ color: #fff;
83
+ }
84
+ }
85
+ }
86
+
87
+ }
88
+
89
+ .breadcrumb>li+li:before {
90
+ color: rgba(0, 0, 0, 0.4);
91
+ }
@@ -0,0 +1,42 @@
1
+ .bordered {
2
+ display: inline-block;
3
+ color: rgba(255, 255, 255, .6);
4
+ border: 1px solid rgba(255, 255, 255, .6);
5
+ border-radius: 0;
6
+ &.dark-border {
7
+ color: rgba(51, 51, 51, .6);
8
+ border-color: rgba(51, 51, 51, .6);
9
+ }
10
+ }
11
+
12
+ .tags a {
13
+ border: 1px solid #DDD;
14
+ display: inline-block;
15
+ color: $dark;
16
+ background: $light;
17
+ -webkit-box-shadow: 0 1px 1px 0 rgba(180,180,180,0.1);
18
+ box-shadow: 0 1px 1px 0 rgba(180,180,180,0.1);
19
+ -webkit-transition: all .1s ease-in-out;
20
+ -moz-transition: all .1s ease-in-out;
21
+ -o-transition: all .1s ease-in-out;
22
+ -ms-transition: all .1s ease-in-out;
23
+ transition: all .1s ease-in-out;
24
+ border-radius: 2px;
25
+ margin: 0 3px 6px 0;
26
+ padding: 5px 10px;
27
+ }
28
+
29
+ .tags a:hover {
30
+ border-color: $primary;
31
+ }
32
+
33
+ .row-centered {
34
+ text-align:center;
35
+ }
36
+
37
+ .col-centered {
38
+ display:inline-grid;
39
+ float:none;
40
+ /* inline-block space fix */
41
+ margin-right:-4px;
42
+ }
@@ -0,0 +1,61 @@
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
+ }
35
+ .text-highlight{
36
+ color: darken($color-primary, 20%);
37
+ }
38
+ }
39
+
40
+ .fa-heart {
41
+ color: $color-pink;
42
+ }
43
+
44
+ .cta-container {
45
+ margin-top: 30px;
46
+ }
47
+
48
+ .social-container {
49
+ margin-top: 30px;
50
+ .twitter-tweet {
51
+ display: inline-block;
52
+ margin-right: 5px;
53
+ position: relative;
54
+ top:5px;
55
+ }
56
+ .fab-like{
57
+ display: inline-block;
58
+ }
59
+ }
60
+
61
+ }
@@ -0,0 +1,32 @@
1
+ #post {
2
+ margin-top: 15px;
3
+ padding-top: 15px;
4
+ @media(min-width:767px) {
5
+ margin-top: 30px;
6
+ padding-top: 30px;
7
+ }
8
+ }
9
+
10
+ .post-content {
11
+ ul,
12
+ ol {
13
+ text-align: left !important;
14
+ list-style-position: inside;
15
+ }
16
+
17
+ h3 {
18
+ font-size: 24px;
19
+ }
20
+
21
+ .presentation {
22
+ text-align: center;
23
+ }
24
+
25
+ .frame {
26
+ border:1px solid #CCC;
27
+ max-width: 100%;
28
+ width: 595px;
29
+ height: 485px;
30
+ overflow: hidden;
31
+ }
32
+ }
@@ -0,0 +1,10 @@
1
+ .resources {
2
+ a:hover {
3
+ text-decoration:none;
4
+ }
5
+
6
+ .content {
7
+ padding-bottom: 15px;
8
+ padding-top: 15px;
9
+ }
10
+ }
@@ -0,0 +1,163 @@
1
+ .toc-sidebar {
2
+ width: 230px;
3
+ }
4
+
5
+ .toc-menu {
6
+ list-style: none;
7
+ padding-left: 0;
8
+
9
+ & > li {
10
+ margin-bottom: 5px;
11
+ & > a {
12
+ display: block;
13
+ padding: 5px 15px;
14
+ border-left: 4px solid transparent;
15
+ color: $text-color-secondary;
16
+ &:hover, &:focus {
17
+ color: $color-primary;
18
+ text-decoration: none;
19
+ background: none;
20
+ .body-green & {
21
+ color: $color-green;
22
+ }
23
+ .body-blue & {
24
+ color: $color-blue;
25
+ }
26
+ .body-orange & {
27
+ color: $color-orange;
28
+ }
29
+ .body-red & {
30
+ color: $color-red;
31
+ }
32
+ .body-pink & {
33
+ color: $color-pink;
34
+ }
35
+ .body-purple & {
36
+ color: $color-purple;
37
+ }
38
+ }
39
+ }
40
+ &.active {
41
+ & > a {
42
+ background: none;
43
+ border-left: 4px solid $color-primary;
44
+ color: $color-primary;
45
+ font-weight: 600;
46
+ .body-green & {
47
+ color: $color-green;
48
+ border-color: $color-green;
49
+ }
50
+ .body-blue & {
51
+ color: $color-blue;
52
+ border-color: $color-blue;
53
+ }
54
+ .body-orange & {
55
+ color: $color-orange;
56
+ border-color: $color-orange;
57
+ }
58
+ .body-red & {
59
+ color: $color-red;
60
+ border-color: $color-red;
61
+ }
62
+ .body-pink & {
63
+ color: $color-pink;
64
+ border-color: $color-pink;
65
+ }
66
+ .body-purple & {
67
+ color: $color-purple;
68
+ border-color: $color-purple;
69
+ }
70
+ }
71
+
72
+
73
+ }
74
+ }
75
+ }
76
+
77
+ .toc-sub-menu {
78
+ list-style: none;
79
+ padding-left: 0;
80
+ & > li {
81
+ margin-bottom: 10px;
82
+ font-size: 12px;
83
+ &:first-child {
84
+ padding-top: 5px;
85
+ }
86
+ & > a {
87
+ display: block;
88
+ color: $text-color-secondary;
89
+ padding: 0;
90
+ padding-left: 34px;
91
+ background: none;
92
+ &:hover{
93
+ color: $color-primary;
94
+ text-decoration: none;
95
+ background: none;
96
+ .body-green & {
97
+ color: $color-green;
98
+ }
99
+ .body-blue & {
100
+ color: $color-blue;
101
+ }
102
+ .body-orange & {
103
+ color: $color-orange;
104
+ }
105
+ .body-red & {
106
+ color: $color-red;
107
+ }
108
+ .body-pink & {
109
+ color: $color-pink;
110
+ }
111
+ .body-purple & {
112
+ color: $color-purple;
113
+ }
114
+ }
115
+ &:focus {
116
+ background: none;
117
+ }
118
+ }
119
+ &.active {
120
+ & > a {
121
+ background: none;
122
+ color: $color-primary;
123
+ .body-green & {
124
+ color: $color-green;
125
+ }
126
+ .body-blue & {
127
+ color: $color-blue;
128
+ }
129
+ .body-orange & {
130
+ color: $color-orange;
131
+ }
132
+ .body-red & {
133
+ color: $color-red;
134
+ }
135
+ .body-pink & {
136
+ color: $color-pink;
137
+ }
138
+ .body-purple & {
139
+ color: $color-purple;
140
+ }
141
+ }
142
+ }
143
+ }
144
+ }
145
+
146
+ .affix-top {
147
+ position: absolute;
148
+ top: 15px;
149
+ }
150
+
151
+ .affix {
152
+ top: 15px;
153
+ }
154
+
155
+ .affix,
156
+ .affix-top,
157
+ .affix-bottom {
158
+ width: 230px;
159
+ }
160
+
161
+ .affix-bottom {
162
+ position: absolute;
163
+ }
@@ -0,0 +1,20 @@
1
+ // Modules and Variables
2
+ @import "globals/base";
3
+ @import "globals/mixins";
4
+ @import "partials/helper";
5
+
6
+ // Sections
7
+ @import "partials/base";
8
+ @import "partials/buttons";
9
+ @import "partials/cards";
10
+ @import "partials/contact";
11
+ @import "partials/doc";
12
+ @import "partials/footer";
13
+ @import "partials/header";
14
+ @import "partials/landing";
15
+ @import "partials/post";
16
+ @import "partials/resources";
17
+ @import "partials/toc";
18
+
19
+ // 3rd Party
20
+ @import "vendor/timeline";
@@ -0,0 +1,221 @@
1
+ @import "timeline/variables";
2
+
3
+ @import "timeline/mixins/timeline-element";
4
+ @import "timeline/mixins/timeline-event-variant";
5
+ @import "timeline/mixins/timeline-item-variant";
6
+ @import "timeline/mixins/timeline-label-variant";
7
+ @import "timeline/mixins/timeline-line-variant";
8
+ @import "timeline/mixins/timeline-point-color-variant";
9
+ @import "timeline/mixins/timeline-point-size-variant";
10
+ @import "timeline/mixins/timeline-responsive-variant";
11
+ @import "timeline/mixins/timeline-row-clearfix";
12
+ @import "timeline/mixins/timeline-single-column";
13
+
14
+ .timeline {
15
+ @extend .timeline-line-solid;
16
+ @include timeline-responsive-variant($timeline-item-width-offset, 0, 0, $timeline-item-width-offset);
17
+ @include timeline-row-clearfix;
18
+
19
+ position: relative;
20
+
21
+ padding: map-get($timeline-container-paddings, vertical) map-get($timeline-container-paddings, horizontal);
22
+
23
+ list-style: none;
24
+ font-weight: 300;
25
+
26
+ &:before {
27
+ content: "";
28
+
29
+ position: absolute;
30
+
31
+ top: 0;
32
+ left: 0;
33
+ bottom: 0;
34
+
35
+ width: 50%;
36
+ height: 100% !important;
37
+
38
+ margin-left: map-get($timeline-line, width) / 2;
39
+
40
+ border-right: {
41
+ width: map-get($timeline-line, width);
42
+ style: solid;
43
+ color: map-get($timeline-line, color)
44
+ }
45
+ }
46
+
47
+ &.timeline-single-column {
48
+ @include timeline-single-column($timeline-single-column-breakpoint);
49
+ }
50
+
51
+ @each $type, $style in map-get($timeline-line, styles) {
52
+ &.timeline-line-#{$type} {
53
+ @include timeline-line-variant($style);
54
+ }
55
+ }
56
+
57
+ & .timeline-item {
58
+ @extend .timeline-item-arrow-md;
59
+ @include timeline-element;
60
+
61
+ margin-bottom: $timeline-item-margin-bottom;
62
+
63
+ &:nth-of-type(2) {
64
+ margin-top: $timeline-second-item-margin-top;
65
+ }
66
+
67
+ &.timeline-item-left, &.timeline-item-right {
68
+ @include timeline-item-start-margins(0, $timeline-second-item-margin-top);
69
+
70
+ clear: both !important;
71
+
72
+ & + .timeline-item:not(.timeline-item-left):not(.timeline-item-right) {
73
+ clear: both;
74
+ }
75
+ }
76
+
77
+ &.timeline-item-right, &:nth-of-type(even):not(.timeline-item-left) {
78
+ float: right;
79
+ clear: right;
80
+
81
+ & > .timeline-point {
82
+ left: -$timeline-point-width;
83
+
84
+ &.timeline-point-blank {
85
+ left: -$timeline-point-blank-width;
86
+ }
87
+ }
88
+ }
89
+
90
+ @each $size, $style in $timeline-item-arrow {
91
+ &.timeline-item-arrow-#{$size} {
92
+ @include timeline-item-variant(map-get($style, offset-top), map-get($style, width));
93
+ }
94
+ }
95
+
96
+ & > .timeline-event {
97
+ @extend .timeline-event-default;
98
+
99
+ position: relative;
100
+ float: left;
101
+
102
+ border-radius: $timeline-item-border-radius;
103
+
104
+ @each $status, $color in $timeline-colors {
105
+ &.timeline-event-#{$status} {
106
+ @include timeline-event-variant(
107
+ map-get($timeline-bg-colors, $status),
108
+ map-get($timeline-desaturated-colors, $status),
109
+ map-get($timeline-colors, $status)
110
+ );
111
+ }
112
+ }
113
+
114
+ &:before, &:after {
115
+ content: "";
116
+
117
+ display: inline-block;
118
+ position: absolute;
119
+ }
120
+
121
+ & .timeline-heading, & .timeline-body, & .timeline-footer {
122
+ padding: map-get($timeline-item-inner-padding, verical) map-get($timeline-item-inner-padding, horizontal);
123
+
124
+ & p, & ul {
125
+ margin-bottom: 0;
126
+ }
127
+ }
128
+
129
+ & .timeline-heading {
130
+ & h4 {
131
+ font-weight: 400;
132
+ }
133
+ }
134
+
135
+ & .timeline-footer {
136
+ & a {
137
+ cursor: pointer;
138
+ text-decoration: none;
139
+ }
140
+ }
141
+
142
+ & .panel, & .table, & .blankslate {
143
+ margin: 0;
144
+
145
+ border: none;
146
+ border-radius: inherit;
147
+
148
+ overflow: hidden;
149
+ }
150
+
151
+ & .table {
152
+ & th {
153
+ border-top: 0;
154
+ }
155
+ }
156
+ }
157
+
158
+ & > .timeline-point {
159
+ @extend .timeline-point-default;
160
+ @include timeline-point-size-variant($timeline-point-width, $timeline-point-height);
161
+
162
+ position: absolute;
163
+ z-index: 100;
164
+
165
+ border: {
166
+ width: $timeline-point-border-width;
167
+ style: solid;
168
+ radius: 100%
169
+ }
170
+
171
+ line-height: $timeline-point-height - ($timeline-point-border-width * 2);
172
+ text-align: center;
173
+
174
+ &.timeline-point-blank {
175
+ @include timeline-point-size-variant($timeline-point-blank-width, $timeline-point-blank-height);
176
+ @include timeline-point-color-variant(map-get($timeline-desaturated-colors, default), map-get($timeline-desaturated-colors, default));
177
+ }
178
+
179
+ @each $status, $color in $timeline-colors {
180
+ &.timeline-point-#{$status} {
181
+ @include timeline-point-color-variant(map-get($timeline-bg-colors, default), map-get($timeline-desaturated-colors, $status));
182
+ }
183
+ }
184
+ }
185
+ }
186
+
187
+ & .timeline-label {
188
+ @include timeline-element;
189
+ @include timeline-item-start-margins(0, $timeline-second-item-margin-top);
190
+
191
+ top: 1px;
192
+
193
+ width: 100%;
194
+
195
+ margin: {
196
+ left: auto;
197
+ right: auto;
198
+ }
199
+ padding: 0;
200
+
201
+ text-align: center;
202
+
203
+ @each $status, $color in $timeline-colors {
204
+ & .label-#{$status} {
205
+ @include timeline-label-variant(map-get($timeline-desaturated-colors, $status));
206
+ }
207
+ }
208
+ }
209
+ }
210
+
211
+ @media all and (orientation: portrait) {
212
+ .timeline {
213
+ @include timeline-single-column;
214
+ }
215
+ }
216
+
217
+ @media (max-width: $timeline-single-column-breakpoint) {
218
+ .timeline {
219
+ @include timeline-single-column;
220
+ }
221
+ }