just-the-docs-altair 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +68 -0
  4. data/Rakefile +1 -0
  5. data/_includes/head.html +26 -0
  6. data/_includes/nav.html +44 -0
  7. data/_layouts/about.html +5 -0
  8. data/_layouts/default.html +78 -0
  9. data/_layouts/home.html +5 -0
  10. data/_layouts/page.html +5 -0
  11. data/_layouts/post.html +5 -0
  12. data/_sass/base.scss +110 -0
  13. data/_sass/buttons.scss +118 -0
  14. data/_sass/code.scss +122 -0
  15. data/_sass/color_schemes/dark.scss +14 -0
  16. data/_sass/content.scss +114 -0
  17. data/_sass/custom/custom.scss +120 -0
  18. data/_sass/labels.scss +36 -0
  19. data/_sass/layout.scss +147 -0
  20. data/_sass/navigation.scss +148 -0
  21. data/_sass/search.scss +114 -0
  22. data/_sass/support/_functions.scss +10 -0
  23. data/_sass/support/_variables.scss +130 -0
  24. data/_sass/support/mixins/_buttons.scss +27 -0
  25. data/_sass/support/mixins/_layout.scss +36 -0
  26. data/_sass/support/mixins/_typography.scss +81 -0
  27. data/_sass/support/mixins/mixins.scss +3 -0
  28. data/_sass/support/support.scss +3 -0
  29. data/_sass/tables.scss +78 -0
  30. data/_sass/typography.scss +58 -0
  31. data/_sass/utilities/_colors.scss +239 -0
  32. data/_sass/utilities/_layout.scss +38 -0
  33. data/_sass/utilities/_lists.scss +11 -0
  34. data/_sass/utilities/_spacing.scss +121 -0
  35. data/_sass/utilities/_typography.scss +91 -0
  36. data/_sass/utilities/utilities.scss +5 -0
  37. data/_sass/vendor/normalize.scss/README.md +78 -0
  38. data/_sass/vendor/normalize.scss/normalize.scss +427 -0
  39. data/_sass/vendor/normalize.scss/package.json +70 -0
  40. data/assets/css/dark-mode-preview.scss +41 -0
  41. data/assets/css/just-the-docs.scss +44 -0
  42. data/assets/images/just-the-docs.png +0 -0
  43. data/assets/images/search.svg +1 -0
  44. data/assets/js/just-the-docs.js +177 -0
  45. data/assets/js/search-data.json +12 -0
  46. data/assets/js/vendor/lunr.min.js +6 -0
  47. data/bin/just-the-docs +16 -0
  48. data/lib/tasks/search.rake +27 -0
  49. metadata +137 -0
@@ -0,0 +1,81 @@
1
+ // Font size
2
+
3
+ @mixin fs-1 {
4
+ font-size: 9px !important;
5
+
6
+ @include mq(sm) {
7
+ font-size: 10px !important;
8
+ }
9
+ }
10
+
11
+ @mixin fs-2 {
12
+ font-size: 11px !important;
13
+
14
+ @include mq(sm) {
15
+ font-size: 12px !important;
16
+ }
17
+ }
18
+
19
+ @mixin fs-3 {
20
+ font-size: 12px !important;
21
+
22
+ @include mq(sm) {
23
+ font-size: 14px !important;
24
+ }
25
+ }
26
+
27
+ @mixin fs-4 {
28
+ font-size: 14px !important;
29
+
30
+ @include mq(sm) {
31
+ font-size: 16px !important;
32
+ }
33
+ }
34
+
35
+ @mixin fs-5 {
36
+ font-size: 16px !important;
37
+
38
+ @include mq(sm) {
39
+ font-size: 18px !important;
40
+ }
41
+ }
42
+
43
+ @mixin fs-6 {
44
+ font-size: 18px !important;
45
+
46
+ @include mq(sm) {
47
+ font-size: 24px !important;
48
+ }
49
+ }
50
+
51
+ @mixin fs-7 {
52
+ font-size: 24px !important;
53
+
54
+ @include mq(sm) {
55
+ font-size: 32px !important;
56
+ }
57
+ }
58
+
59
+ @mixin fs-8 {
60
+ font-size: 32px !important;
61
+
62
+ @include mq(sm) {
63
+ font-size: 36px !important;
64
+ }
65
+ }
66
+
67
+ @mixin fs-9 {
68
+ font-size: 36px !important;
69
+
70
+ @include mq(sm) {
71
+ font-size: 42px !important;
72
+ }
73
+ }
74
+
75
+ @mixin fs-10 {
76
+ font-size: 42px !important;
77
+
78
+ @include mq(sm) {
79
+ font-size: 48px !important;
80
+ }
81
+ }
@@ -0,0 +1,3 @@
1
+ @import "./layout";
2
+ @import "./buttons";
3
+ @import "./typography";
@@ -0,0 +1,3 @@
1
+ @import "./variables";
2
+ @import "./functions";
3
+ @import "./mixins/mixins";
@@ -0,0 +1,78 @@
1
+ //
2
+ // Tables
3
+ //
4
+ // stylelint-disable max-nesting-depth, selector-no-type, selector-max-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
+ background-color: lighten($body-background-color, 2%);
29
+ border-bottom: $border rgba($border-color, 0.5);
30
+ border-left: $border $border-color;
31
+
32
+ &:first-of-type {
33
+ border-left: 0;
34
+ }
35
+ }
36
+
37
+ thead,
38
+ tbody:first-child {
39
+ tr {
40
+ &:first-of-type {
41
+ th,
42
+ td {
43
+ &:first-of-type {
44
+ border-top-left-radius: $border-radius;
45
+ }
46
+
47
+ &:last-of-type {
48
+ border-top-right-radius: $border-radius;
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+
55
+ tbody {
56
+ tr {
57
+ &:last-of-type {
58
+ th,
59
+ td {
60
+ border-bottom: 0;
61
+
62
+ &:first-of-type {
63
+ border-bottom-left-radius: $border-radius;
64
+ }
65
+
66
+ &:last-of-type {
67
+ border-bottom-right-radius: $border-radius;
68
+ }
69
+ }
70
+ }
71
+ }
72
+ }
73
+
74
+ thead {
75
+ th {
76
+ border-bottom: 1px solid $border-color;
77
+ }
78
+ }
@@ -0,0 +1,58 @@
1
+ //
2
+ // Typography
3
+ //
4
+ // stylelint-disable primer/selector-no-utility, selector-no-type, selector-max-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 !important;
54
+ }
55
+
56
+ .text-center {
57
+ text-align: center !important;
58
+ }
@@ -0,0 +1,239 @@
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-250 {
20
+ color: $grey-dk-250 !important;
21
+ }
22
+
23
+ .text-grey-dk-300 {
24
+ color: $grey-dk-300 !important;
25
+ }
26
+
27
+ .text-grey-lt-000 {
28
+ color: $grey-lt-000 !important;
29
+ }
30
+
31
+ .text-grey-lt-100 {
32
+ color: $grey-lt-100 !important;
33
+ }
34
+
35
+ .text-grey-lt-200 {
36
+ color: $grey-lt-200 !important;
37
+ }
38
+
39
+ .text-grey-lt-300 {
40
+ color: $grey-lt-300 !important;
41
+ }
42
+
43
+ .text-blue-000 {
44
+ color: $blue-000 !important;
45
+ }
46
+
47
+ .text-blue-100 {
48
+ color: $blue-100 !important;
49
+ }
50
+
51
+ .text-blue-200 {
52
+ color: $blue-200 !important;
53
+ }
54
+
55
+ .text-blue-300 {
56
+ color: $blue-300 !important;
57
+ }
58
+
59
+ .text-green-000 {
60
+ color: $green-000 !important;
61
+ }
62
+
63
+ .text-green-100 {
64
+ color: $green-100 !important;
65
+ }
66
+
67
+ .text-green-200 {
68
+ color: $green-200 !important;
69
+ }
70
+
71
+ .text-green-300 {
72
+ color: $green-300 !important;
73
+ }
74
+
75
+ .text-purple-000 {
76
+ color: $purple-000 !important;
77
+ }
78
+
79
+ .text-purple-100 {
80
+ color: $purple-100 !important;
81
+ }
82
+
83
+ .text-purple-200 {
84
+ color: $purple-200 !important;
85
+ }
86
+
87
+ .text-purple-300 {
88
+ color: $purple-300 !important;
89
+ }
90
+
91
+ .text-yellow-000 {
92
+ color: $yellow-000 !important;
93
+ }
94
+
95
+ .text-yellow-100 {
96
+ color: $yellow-100 !important;
97
+ }
98
+
99
+ .text-yellow-200 {
100
+ color: $yellow-200 !important;
101
+ }
102
+
103
+ .text-yellow-300 {
104
+ color: $yellow-300 !important;
105
+ }
106
+
107
+ .text-red-000 {
108
+ color: $red-000 !important;
109
+ }
110
+
111
+ .text-red-100 {
112
+ color: $red-100 !important;
113
+ }
114
+
115
+ .text-red-200 {
116
+ color: $red-200 !important;
117
+ }
118
+
119
+ .text-red-300 {
120
+ color: $red-300 !important;
121
+ }
122
+
123
+ // Background colors
124
+
125
+ .bg-grey-dk-000 {
126
+ background-color: $grey-dk-000 !important;
127
+ }
128
+
129
+ .bg-grey-dk-100 {
130
+ background-color: $grey-dk-100 !important;
131
+ }
132
+
133
+ .bg-grey-dk-200 {
134
+ background-color: $grey-dk-200 !important;
135
+ }
136
+
137
+ .bg-grey-dk-250 {
138
+ background-color: $grey-dk-250 !important;
139
+ }
140
+
141
+ .bg-grey-dk-300 {
142
+ background-color: $grey-dk-300 !important;
143
+ }
144
+
145
+ .bg-grey-lt-000 {
146
+ background-color: $grey-lt-000 !important;
147
+ }
148
+
149
+ .bg-grey-lt-100 {
150
+ background-color: $grey-lt-100 !important;
151
+ }
152
+
153
+ .bg-grey-lt-200 {
154
+ background-color: $grey-lt-200 !important;
155
+ }
156
+
157
+ .bg-grey-lt-300 {
158
+ background-color: $grey-lt-300 !important;
159
+ }
160
+
161
+ .bg-blue-000 {
162
+ background-color: $blue-000 !important;
163
+ }
164
+
165
+ .bg-blue-100 {
166
+ background-color: $blue-100 !important;
167
+ }
168
+
169
+ .bg-blue-200 {
170
+ background-color: $blue-200 !important;
171
+ }
172
+
173
+ .bg-blue-300 {
174
+ background-color: $blue-300 !important;
175
+ }
176
+
177
+ .bg-green-000 {
178
+ background-color: $green-000 !important;
179
+ }
180
+
181
+ .bg-green-100 {
182
+ background-color: $green-100 !important;
183
+ }
184
+
185
+ .bg-green-200 {
186
+ background-color: $green-200 !important;
187
+ }
188
+
189
+ .bg-green-300 {
190
+ background-color: $green-300 !important;
191
+ }
192
+
193
+ .bg-purple-000 {
194
+ background-color: $purple-000 !important;
195
+ }
196
+
197
+ .bg-purple-100 {
198
+ background-color: $purple-100 !important;
199
+ }
200
+
201
+ .bg-purple-200 {
202
+ background-color: $purple-200 !important;
203
+ }
204
+
205
+ .bg-purple-300 {
206
+ background-color: $purple-300 !important;
207
+ }
208
+
209
+ .bg-yellow-000 {
210
+ background-color: $yellow-000 !important;
211
+ }
212
+
213
+ .bg-yellow-100 {
214
+ background-color: $yellow-100 !important;
215
+ }
216
+
217
+ .bg-yellow-200 {
218
+ background-color: $yellow-200 !important;
219
+ }
220
+
221
+ .bg-yellow-300 {
222
+ background-color: $yellow-300 !important;
223
+ }
224
+
225
+ .bg-red-000 {
226
+ background-color: $red-000 !important;
227
+ }
228
+
229
+ .bg-red-100 {
230
+ background-color: $red-100 !important;
231
+ }
232
+
233
+ .bg-red-200 {
234
+ background-color: $red-200 !important;
235
+ }
236
+
237
+ .bg-red-300 {
238
+ background-color: $red-300 !important;
239
+ }