just-the-docs 0.1.0
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 +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +48 -0
- data/Rakefile +1 -0
- data/_includes/head.html +11 -0
- data/_includes/nav.html +24 -0
- data/_layouts/default.html +68 -0
- data/_layouts/post.html +5 -0
- data/_sass/base.scss +104 -0
- data/_sass/buttons.scss +114 -0
- data/_sass/code.scss +121 -0
- data/_sass/content.scss +64 -0
- data/_sass/custom/custom.scss +112 -0
- data/_sass/labels.scss +35 -0
- data/_sass/layout.scss +121 -0
- data/_sass/navigation.scss +134 -0
- data/_sass/normalize.scss/README.md +78 -0
- data/_sass/normalize.scss/normalize.scss +427 -0
- data/_sass/normalize.scss/package.json +70 -0
- data/_sass/search.scss +88 -0
- data/_sass/support/_functions.scss +10 -0
- data/_sass/support/_variables.scss +122 -0
- data/_sass/support/mixins/_buttons.scss +25 -0
- data/_sass/support/mixins/_layout.scss +34 -0
- data/_sass/support/mixins/_typography.scss +81 -0
- data/_sass/support/mixins/mixins.scss +3 -0
- data/_sass/support/support.scss +3 -0
- data/_sass/tables.scss +77 -0
- data/_sass/typography.scss +54 -0
- data/_sass/utilities/_colors.scss +231 -0
- data/_sass/utilities/_layout.scss +38 -0
- data/_sass/utilities/_lists.scss +11 -0
- data/_sass/utilities/_spacing.scss +121 -0
- data/_sass/utilities/_typography.scss +91 -0
- data/_sass/utilities/utilities.scss +5 -0
- data/assets/css/just-the-docs.scss +33 -0
- data/assets/images/just-the-docs.png +0 -0
- data/assets/images/search.svg +1 -0
- data/assets/js/just-the-docs.js +150 -0
- data/assets/js/vendor/lunr.min.js +6 -0
- data/bin/just-the-docs +16 -0
- data/lib/tasks/search.rake +22 -0
- metadata +129 -0
data/_sass/tables.scss
ADDED
@@ -0,0 +1,77 @@
|
|
1
|
+
//
|
2
|
+
// Tables
|
3
|
+
//
|
4
|
+
// stylelint-disable max-nesting-depth, selector-no-type
|
5
|
+
|
6
|
+
table {
|
7
|
+
display: block;
|
8
|
+
width: 100%;
|
9
|
+
max-width: 100%;
|
10
|
+
margin-bottom: $sp-5;
|
11
|
+
overflow-x: auto;
|
12
|
+
border-collapse: separate;
|
13
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07), 0 4px 14px rgba(0, 0, 0, 0.05);
|
14
|
+
|
15
|
+
@include mq(sm) {
|
16
|
+
display: table;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
th,
|
21
|
+
td {
|
22
|
+
@include fs-3;
|
23
|
+
min-width: 120px;
|
24
|
+
padding-top: $sp-2;
|
25
|
+
padding-right: $sp-3;
|
26
|
+
padding-bottom: $sp-2;
|
27
|
+
padding-left: $sp-3;
|
28
|
+
border-bottom: $border $grey-lt-000;
|
29
|
+
border-left: $border $border-color;
|
30
|
+
|
31
|
+
&:first-of-type {
|
32
|
+
border-left: 0;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
thead,
|
37
|
+
tbody:first-child {
|
38
|
+
tr {
|
39
|
+
&:first-of-type {
|
40
|
+
th,
|
41
|
+
td {
|
42
|
+
&:first-of-type {
|
43
|
+
border-top-left-radius: $border-radius;
|
44
|
+
}
|
45
|
+
|
46
|
+
&:last-of-type {
|
47
|
+
border-top-right-radius: $border-radius;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
tbody {
|
55
|
+
tr {
|
56
|
+
&:last-of-type {
|
57
|
+
th,
|
58
|
+
td {
|
59
|
+
border-bottom: 0;
|
60
|
+
|
61
|
+
&:first-of-type {
|
62
|
+
border-bottom-left-radius: $border-radius;
|
63
|
+
}
|
64
|
+
|
65
|
+
&:last-of-type {
|
66
|
+
border-bottom-right-radius: $border-radius;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
73
|
+
thead {
|
74
|
+
th {
|
75
|
+
border-bottom: 1px solid $border-color;
|
76
|
+
}
|
77
|
+
}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
//
|
2
|
+
// Typography
|
3
|
+
//
|
4
|
+
// stylelint-disable primer/selector-no-utility, selector-no-type
|
5
|
+
|
6
|
+
h1,
|
7
|
+
.text-alpha {
|
8
|
+
@include fs-8;
|
9
|
+
font-weight: 300;
|
10
|
+
}
|
11
|
+
|
12
|
+
h2,
|
13
|
+
.text-beta {
|
14
|
+
@include fs-6;
|
15
|
+
}
|
16
|
+
|
17
|
+
h3,
|
18
|
+
.text-gamma {
|
19
|
+
@include fs-5;
|
20
|
+
}
|
21
|
+
|
22
|
+
h4,
|
23
|
+
.text-delta {
|
24
|
+
@include fs-2;
|
25
|
+
font-weight: 300;
|
26
|
+
text-transform: uppercase;
|
27
|
+
letter-spacing: 0.1em;
|
28
|
+
}
|
29
|
+
|
30
|
+
h5,
|
31
|
+
.text-epsilon {
|
32
|
+
@include fs-3;
|
33
|
+
color: $grey-dk-200;
|
34
|
+
}
|
35
|
+
|
36
|
+
h6,
|
37
|
+
.text-zeta {
|
38
|
+
@include fs-2;
|
39
|
+
color: $grey-dk-200;
|
40
|
+
}
|
41
|
+
|
42
|
+
li {
|
43
|
+
.highlight {
|
44
|
+
margin-top: $sp-2;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
.text-small {
|
49
|
+
@include fs-2;
|
50
|
+
}
|
51
|
+
|
52
|
+
.text-mono {
|
53
|
+
font-family: $mono-font-family;
|
54
|
+
}
|
@@ -0,0 +1,231 @@
|
|
1
|
+
//
|
2
|
+
// Utility classes for colors
|
3
|
+
//
|
4
|
+
|
5
|
+
// Text colors
|
6
|
+
|
7
|
+
.text-grey-dk-000 {
|
8
|
+
color: $grey-dk-000 !important;
|
9
|
+
}
|
10
|
+
|
11
|
+
.text-grey-dk-100 {
|
12
|
+
color: $grey-dk-100 !important;
|
13
|
+
}
|
14
|
+
|
15
|
+
.text-grey-dk-200 {
|
16
|
+
color: $grey-dk-200 !important;
|
17
|
+
}
|
18
|
+
|
19
|
+
.text-grey-dk-300 {
|
20
|
+
color: $grey-dk-300 !important;
|
21
|
+
}
|
22
|
+
|
23
|
+
.text-grey-lt-000 {
|
24
|
+
color: $grey-lt-000 !important;
|
25
|
+
}
|
26
|
+
|
27
|
+
.text-grey-lt-100 {
|
28
|
+
color: $grey-lt-100 !important;
|
29
|
+
}
|
30
|
+
|
31
|
+
.text-grey-lt-200 {
|
32
|
+
color: $grey-lt-200 !important;
|
33
|
+
}
|
34
|
+
|
35
|
+
.text-grey-lt-300 {
|
36
|
+
color: $grey-lt-300 !important;
|
37
|
+
}
|
38
|
+
|
39
|
+
.text-blue-000 {
|
40
|
+
color: $blue-000 !important;
|
41
|
+
}
|
42
|
+
|
43
|
+
.text-blue-100 {
|
44
|
+
color: $blue-100 !important;
|
45
|
+
}
|
46
|
+
|
47
|
+
.text-blue-200 {
|
48
|
+
color: $blue-200 !important;
|
49
|
+
}
|
50
|
+
|
51
|
+
.text-blue-300 {
|
52
|
+
color: $blue-300 !important;
|
53
|
+
}
|
54
|
+
|
55
|
+
.text-green-000 {
|
56
|
+
color: $green-000 !important;
|
57
|
+
}
|
58
|
+
|
59
|
+
.text-green-100 {
|
60
|
+
color: $green-100 !important;
|
61
|
+
}
|
62
|
+
|
63
|
+
.text-green-200 {
|
64
|
+
color: $green-200 !important;
|
65
|
+
}
|
66
|
+
|
67
|
+
.text-green-300 {
|
68
|
+
color: $green-300 !important;
|
69
|
+
}
|
70
|
+
|
71
|
+
.text-purple-000 {
|
72
|
+
color: $purple-000 !important;
|
73
|
+
}
|
74
|
+
|
75
|
+
.text-purple-100 {
|
76
|
+
color: $purple-100 !important;
|
77
|
+
}
|
78
|
+
|
79
|
+
.text-purple-200 {
|
80
|
+
color: $purple-200 !important;
|
81
|
+
}
|
82
|
+
|
83
|
+
.text-purple-300 {
|
84
|
+
color: $purple-300 !important;
|
85
|
+
}
|
86
|
+
|
87
|
+
.text-yellow-000 {
|
88
|
+
color: $yellow-000 !important;
|
89
|
+
}
|
90
|
+
|
91
|
+
.text-yellow-100 {
|
92
|
+
color: $yellow-100 !important;
|
93
|
+
}
|
94
|
+
|
95
|
+
.text-yellow-200 {
|
96
|
+
color: $yellow-200 !important;
|
97
|
+
}
|
98
|
+
|
99
|
+
.text-yellow-300 {
|
100
|
+
color: $yellow-300 !important;
|
101
|
+
}
|
102
|
+
|
103
|
+
.text-red-000 {
|
104
|
+
color: $red-000 !important;
|
105
|
+
}
|
106
|
+
|
107
|
+
.text-red-100 {
|
108
|
+
color: $red-100 !important;
|
109
|
+
}
|
110
|
+
|
111
|
+
.text-red-200 {
|
112
|
+
color: $red-200 !important;
|
113
|
+
}
|
114
|
+
|
115
|
+
.text-red-300 {
|
116
|
+
color: $red-300 !important;
|
117
|
+
}
|
118
|
+
|
119
|
+
// Background colors
|
120
|
+
|
121
|
+
.bg-grey-dk-000 {
|
122
|
+
background-color: $grey-dk-000 !important;
|
123
|
+
}
|
124
|
+
|
125
|
+
.bg-grey-dk-100 {
|
126
|
+
background-color: $grey-dk-100 !important;
|
127
|
+
}
|
128
|
+
|
129
|
+
.bg-grey-dk-200 {
|
130
|
+
background-color: $grey-dk-200 !important;
|
131
|
+
}
|
132
|
+
|
133
|
+
.bg-grey-dk-300 {
|
134
|
+
background-color: $grey-dk-300 !important;
|
135
|
+
}
|
136
|
+
|
137
|
+
.bg-grey-lt-000 {
|
138
|
+
background-color: $grey-lt-000 !important;
|
139
|
+
}
|
140
|
+
|
141
|
+
.bg-grey-lt-100 {
|
142
|
+
background-color: $grey-lt-100 !important;
|
143
|
+
}
|
144
|
+
|
145
|
+
.bg-grey-lt-200 {
|
146
|
+
background-color: $grey-lt-200 !important;
|
147
|
+
}
|
148
|
+
|
149
|
+
.bg-grey-lt-300 {
|
150
|
+
background-color: $grey-lt-300 !important;
|
151
|
+
}
|
152
|
+
|
153
|
+
.bg-blue-000 {
|
154
|
+
background-color: $blue-000 !important;
|
155
|
+
}
|
156
|
+
|
157
|
+
.bg-blue-100 {
|
158
|
+
background-color: $blue-100 !important;
|
159
|
+
}
|
160
|
+
|
161
|
+
.bg-blue-200 {
|
162
|
+
background-color: $blue-200 !important;
|
163
|
+
}
|
164
|
+
|
165
|
+
.bg-blue-300 {
|
166
|
+
background-color: $blue-300 !important;
|
167
|
+
}
|
168
|
+
|
169
|
+
.bg-green-000 {
|
170
|
+
background-color: $green-000 !important;
|
171
|
+
}
|
172
|
+
|
173
|
+
.bg-green-100 {
|
174
|
+
background-color: $green-100 !important;
|
175
|
+
}
|
176
|
+
|
177
|
+
.bg-green-200 {
|
178
|
+
background-color: $green-200 !important;
|
179
|
+
}
|
180
|
+
|
181
|
+
.bg-green-300 {
|
182
|
+
background-color: $green-300 !important;
|
183
|
+
}
|
184
|
+
|
185
|
+
.bg-purple-000 {
|
186
|
+
background-color: $purple-000 !important;
|
187
|
+
}
|
188
|
+
|
189
|
+
.bg-purple-100 {
|
190
|
+
background-color: $purple-100 !important;
|
191
|
+
}
|
192
|
+
|
193
|
+
.bg-purple-200 {
|
194
|
+
background-color: $purple-200 !important;
|
195
|
+
}
|
196
|
+
|
197
|
+
.bg-purple-300 {
|
198
|
+
background-color: $purple-300 !important;
|
199
|
+
}
|
200
|
+
|
201
|
+
.bg-yellow-000 {
|
202
|
+
background-color: $yellow-000 !important;
|
203
|
+
}
|
204
|
+
|
205
|
+
.bg-yellow-100 {
|
206
|
+
background-color: $yellow-100 !important;
|
207
|
+
}
|
208
|
+
|
209
|
+
.bg-yellow-200 {
|
210
|
+
background-color: $yellow-200 !important;
|
211
|
+
}
|
212
|
+
|
213
|
+
.bg-yellow-300 {
|
214
|
+
background-color: $yellow-300 !important;
|
215
|
+
}
|
216
|
+
|
217
|
+
.bg-red-000 {
|
218
|
+
background-color: $red-000 !important;
|
219
|
+
}
|
220
|
+
|
221
|
+
.bg-red-100 {
|
222
|
+
background-color: $red-100 !important;
|
223
|
+
}
|
224
|
+
|
225
|
+
.bg-red-200 {
|
226
|
+
background-color: $red-200 !important;
|
227
|
+
}
|
228
|
+
|
229
|
+
.bg-red-300 {
|
230
|
+
background-color: $red-300 !important;
|
231
|
+
}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
// stylelint-disable primer/selector-no-utility
|
2
|
+
//
|
3
|
+
// Utility classes for layout
|
4
|
+
//
|
5
|
+
|
6
|
+
// Display
|
7
|
+
|
8
|
+
.d-block { display: block !important; }
|
9
|
+
.d-flex { display: flex !important; }
|
10
|
+
.d-inline { display: inline !important; }
|
11
|
+
.d-inline-block { display: inline-block !important; }
|
12
|
+
.d-none { display: none !important; }
|
13
|
+
|
14
|
+
@each $media-query in map-keys($media-queries) {
|
15
|
+
@for $i from 1 through length($spacers) {
|
16
|
+
@include mq($media-query) {
|
17
|
+
$size: #{map-get($spacers, sp-#{$i - 1})};
|
18
|
+
$scale: #{$i - 1};
|
19
|
+
|
20
|
+
// .d-sm-block, .d-md-none, .d-lg-inline
|
21
|
+
.d-#{$media-query}-block { display: block !important; }
|
22
|
+
.d-#{$media-query}-flex { display: flex !important; }
|
23
|
+
.d-#{$media-query}-inline { display: inline !important; }
|
24
|
+
.d-#{$media-query}-inline-block { display: inline-block !important; }
|
25
|
+
.d-#{$media-query}-none { display: none !important; }
|
26
|
+
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
// Vertical alignment
|
32
|
+
|
33
|
+
.v-align-baseline { vertical-align: baseline !important; }
|
34
|
+
.v-align-bottom { vertical-align: bottom !important; }
|
35
|
+
.v-align-middle { vertical-align: middle !important; }
|
36
|
+
.v-align-text-bottom { vertical-align: text-bottom !important; }
|
37
|
+
.v-align-text-top { vertical-align: text-top !important; }
|
38
|
+
.v-align-top { vertical-align: top !important; }
|
@@ -0,0 +1,121 @@
|
|
1
|
+
//
|
2
|
+
// Utility classes for margins and padding
|
3
|
+
//
|
4
|
+
|
5
|
+
// scss-lint:disable SpaceAfterPropertyName
|
6
|
+
// stylelint-disable block-opening-brace-space-after, block-opening-brace-space-before, primer/selector-no-utility
|
7
|
+
|
8
|
+
// Margin spacer utilities
|
9
|
+
|
10
|
+
@for $i from 1 through length($spacers) {
|
11
|
+
$size: #{map-get($spacers, sp-#{$i - 1})};
|
12
|
+
$scale: #{$i - 1};
|
13
|
+
|
14
|
+
// .m-0, .m-1, .m-2...
|
15
|
+
.m-#{$scale} { margin: #{$size} !important; }
|
16
|
+
.mt-#{$scale} { margin-top: #{$size} !important; }
|
17
|
+
.mr-#{$scale} { margin-right: #{$size} !important; }
|
18
|
+
.mb-#{$scale} { margin-bottom: #{$size} !important; }
|
19
|
+
.ml-#{$scale} { margin-left: #{$size} !important; }
|
20
|
+
|
21
|
+
.mx-#{$scale} {
|
22
|
+
margin-right: #{$size} !important;
|
23
|
+
margin-left: #{$size} !important;
|
24
|
+
}
|
25
|
+
|
26
|
+
.my-#{$scale} {
|
27
|
+
margin-top: #{$size} !important;
|
28
|
+
margin-bottom: #{$size} !important;
|
29
|
+
}
|
30
|
+
|
31
|
+
.mxn-#{$scale} {
|
32
|
+
margin-right: -#{$size} !important;
|
33
|
+
margin-left: -#{$size} !important;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
.mx-auto {
|
38
|
+
margin-right: auto !important;
|
39
|
+
margin-left: auto !important;
|
40
|
+
}
|
41
|
+
|
42
|
+
@each $media-query in map-keys($media-queries) {
|
43
|
+
@for $i from 1 through length($spacers) {
|
44
|
+
@include mq($media-query) {
|
45
|
+
$size: #{map-get($spacers, sp-#{$i - 1})};
|
46
|
+
$scale: #{$i - 1};
|
47
|
+
|
48
|
+
// .m-sm-0, .m-md-1, .m-lg-2...
|
49
|
+
.m-#{$media-query}-#{$scale} { margin: #{$size} !important; }
|
50
|
+
.mt-#{$media-query}-#{$scale} { margin-top: #{$size} !important; }
|
51
|
+
.mr-#{$media-query}-#{$scale} { margin-right: #{$size} !important; }
|
52
|
+
.mb-#{$media-query}-#{$scale} { margin-bottom: #{$size} !important; }
|
53
|
+
.ml-#{$media-query}-#{$scale} { margin-left: #{$size} !important; }
|
54
|
+
|
55
|
+
.mx-#{$media-query}-#{$scale} {
|
56
|
+
margin-right: #{$size} !important;
|
57
|
+
margin-left: #{$size} !important;
|
58
|
+
}
|
59
|
+
|
60
|
+
.my-#{$media-query}-#{$scale} {
|
61
|
+
margin-top: #{$size} !important;
|
62
|
+
margin-bottom: #{$size} !important;
|
63
|
+
}
|
64
|
+
|
65
|
+
.mxn-#{$media-query}-#{$scale} {
|
66
|
+
margin-right: -#{$size} !important;
|
67
|
+
margin-left: -#{$size} !important;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
73
|
+
// Padding spacer utilities
|
74
|
+
|
75
|
+
@for $i from 1 through length($spacers) {
|
76
|
+
$size: #{map-get($spacers, sp-#{$i - 1})};
|
77
|
+
$scale: #{$i - 1};
|
78
|
+
|
79
|
+
// .p-0, .p-1, .p-2...
|
80
|
+
.p-#{$scale} { padding: #{$size} !important; }
|
81
|
+
.pt-#{$scale} { padding-top: #{$size} !important; }
|
82
|
+
.pr-#{$scale} { padding-right: #{$size} !important; }
|
83
|
+
.pb-#{$scale} { padding-bottom: #{$size} !important; }
|
84
|
+
.pl-#{$scale} { padding-left: #{$size} !important; }
|
85
|
+
|
86
|
+
.px-#{$scale} {
|
87
|
+
padding-right: #{$size} !important;
|
88
|
+
padding-left: #{$size} !important;
|
89
|
+
}
|
90
|
+
|
91
|
+
.py-#{$scale} {
|
92
|
+
padding-top: #{$size} !important;
|
93
|
+
padding-bottom: #{$size} !important;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
|
97
|
+
@each $media-query in map-keys($media-queries) {
|
98
|
+
@include mq($media-query) {
|
99
|
+
@for $i from 1 through length($spacers) {
|
100
|
+
$size: #{map-get($spacers, sp-#{$i - 1})};
|
101
|
+
$scale: #{$i - 1};
|
102
|
+
|
103
|
+
// .p-sm-0, .p-md-1, .p-lg-2...
|
104
|
+
.p-#{$media-query}-#{$scale} { padding: #{$size} !important; }
|
105
|
+
.pt-#{$media-query}-#{$scale} { padding-top: #{$size} !important; }
|
106
|
+
.pr-#{$media-query}-#{$scale} { padding-right: #{$size} !important; }
|
107
|
+
.pb-#{$media-query}-#{$scale} { padding-bottom: #{$size} !important; }
|
108
|
+
.pl-#{$media-query}-#{$scale} { padding-left: #{$size} !important; }
|
109
|
+
|
110
|
+
.px-#{$media-query}-#{$scale} {
|
111
|
+
padding-right: #{$size} !important;
|
112
|
+
padding-left: #{$size} !important;
|
113
|
+
}
|
114
|
+
|
115
|
+
.py-#{$media-query}-#{$scale} {
|
116
|
+
padding-top: #{$size} !important;
|
117
|
+
padding-bottom: #{$size} !important;
|
118
|
+
}
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|