jekyll-theme-stellar 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.
Files changed (71) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +63 -0
  3. data/README.md +132 -0
  4. data/_home_sections/1_introduction.md +21 -0
  5. data/_home_sections/2_first.md +32 -0
  6. data/_home_sections/3_second.md +40 -0
  7. data/_home_sections/4_get_started.md +18 -0
  8. data/_includes/footer.html +54 -0
  9. data/_includes/head.html +7 -0
  10. data/_includes/header.html +9 -0
  11. data/_includes/navigation.html +8 -0
  12. data/_includes/scripts.html +8 -0
  13. data/_layouts/default.html +34 -0
  14. data/_layouts/page.html +32 -0
  15. data/_layouts/post.html +5 -0
  16. data/_sass/base/_page.scss +51 -0
  17. data/_sass/base/_reset.scss +76 -0
  18. data/_sass/base/_typography.scss +216 -0
  19. data/_sass/components/_actions.scss +101 -0
  20. data/_sass/components/_box.scss +34 -0
  21. data/_sass/components/_button.scss +109 -0
  22. data/_sass/components/_features.scss +60 -0
  23. data/_sass/components/_form.scss +220 -0
  24. data/_sass/components/_icon.scss +130 -0
  25. data/_sass/components/_icons.scss +22 -0
  26. data/_sass/components/_image.scss +60 -0
  27. data/_sass/components/_list.scss +94 -0
  28. data/_sass/components/_row.scss +31 -0
  29. data/_sass/components/_section.scss +104 -0
  30. data/_sass/components/_spotlight.scss +93 -0
  31. data/_sass/components/_statistics.scss +108 -0
  32. data/_sass/components/_table.scss +114 -0
  33. data/_sass/layout/_footer.scss +60 -0
  34. data/_sass/layout/_header.scss +116 -0
  35. data/_sass/layout/_main.scss +99 -0
  36. data/_sass/layout/_nav.scss +96 -0
  37. data/_sass/layout/_wrapper.scss +21 -0
  38. data/_sass/libs/_breakpoints.scss +223 -0
  39. data/_sass/libs/_functions.scss +90 -0
  40. data/_sass/libs/_html-grid.scss +149 -0
  41. data/_sass/libs/_mixins.scss +63 -0
  42. data/_sass/libs/_vars.scss +60 -0
  43. data/_sass/libs/_vendor.scss +376 -0
  44. data/_sass/main.scss +70 -0
  45. data/_sass/noscript.scss +28 -0
  46. data/assets/css/font-awesome.min.css +4 -0
  47. data/assets/css/images/overlay.png +0 -0
  48. data/assets/css/main.css +3764 -0
  49. data/assets/css/noscript.css +18 -0
  50. data/assets/fonts/FontAwesome.otf +0 -0
  51. data/assets/fonts/fontawesome-webfont.eot +0 -0
  52. data/assets/fonts/fontawesome-webfont.svg +2671 -0
  53. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  54. data/assets/fonts/fontawesome-webfont.woff +0 -0
  55. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
  56. data/assets/images/logo.svg +16 -0
  57. data/assets/images/pic01.jpg +0 -0
  58. data/assets/images/pic02.jpg +0 -0
  59. data/assets/images/pic03.jpg +0 -0
  60. data/assets/images/pic04.jpg +0 -0
  61. data/assets/images/pic05.jpg +0 -0
  62. data/assets/images/pic06.jpg +0 -0
  63. data/assets/images/screenshot.jpg +0 -0
  64. data/assets/js/breakpoints.min.js +2 -0
  65. data/assets/js/browser.min.js +2 -0
  66. data/assets/js/jquery.min.js +2 -0
  67. data/assets/js/jquery.scrollex.min.js +2 -0
  68. data/assets/js/jquery.scrolly.min.js +2 -0
  69. data/assets/js/main.js +123 -0
  70. data/assets/js/util.js +587 -0
  71. metadata +155 -0
@@ -0,0 +1,63 @@
1
+ /// Makes an element's :before pseudoelement a FontAwesome icon.
2
+ /// @param {string} $content Optional content value to use.
3
+ /// @param {string} $where Optional pseudoelement to target (before or after).
4
+ @mixin icon($content: false, $where: before) {
5
+
6
+ text-decoration: none;
7
+
8
+ &:#{$where} {
9
+
10
+ @if $content {
11
+ content: $content;
12
+ }
13
+
14
+ -moz-osx-font-smoothing: grayscale;
15
+ -webkit-font-smoothing: antialiased;
16
+ font-family: FontAwesome;
17
+ font-style: normal;
18
+ font-weight: normal;
19
+ text-transform: none !important;
20
+
21
+ }
22
+
23
+ }
24
+
25
+ /// Applies padding to an element, taking the current element-margin value into account.
26
+ /// @param {mixed} $tb Top/bottom padding.
27
+ /// @param {mixed} $lr Left/right padding.
28
+ /// @param {list} $pad Optional extra padding (in the following order top, right, bottom, left)
29
+ /// @param {bool} $important If true, adds !important.
30
+ @mixin padding($tb, $lr, $pad: (0,0,0,0), $important: null) {
31
+
32
+ @if $important {
33
+ $important: '!important';
34
+ }
35
+
36
+ $x: 0.1em;
37
+
38
+ @if unit(_size(element-margin)) == 'rem' {
39
+ $x: 0.1rem;
40
+ }
41
+
42
+ padding: ($tb + nth($pad,1)) ($lr + nth($pad,2)) max($x, $tb - _size(element-margin) + nth($pad,3)) ($lr + nth($pad,4)) #{$important};
43
+
44
+ }
45
+
46
+ /// Encodes a SVG data URL so IE doesn't choke (via codepen.io/jakob-e/pen/YXXBrp).
47
+ /// @param {string} $svg SVG data URL.
48
+ /// @return {string} Encoded SVG data URL.
49
+ @function svg-url($svg) {
50
+
51
+ $svg: str-replace($svg, '"', '\'');
52
+ $svg: str-replace($svg, '%', '%25');
53
+ $svg: str-replace($svg, '<', '%3C');
54
+ $svg: str-replace($svg, '>', '%3E');
55
+ $svg: str-replace($svg, '&', '%26');
56
+ $svg: str-replace($svg, '#', '%23');
57
+ $svg: str-replace($svg, '{', '%7B');
58
+ $svg: str-replace($svg, '}', '%7D');
59
+ $svg: str-replace($svg, ';', '%3B');
60
+
61
+ @return url("data:image/svg+xml;charset=utf8,#{$svg}");
62
+
63
+ }
@@ -0,0 +1,60 @@
1
+ // Misc.
2
+ $misc: (
3
+ z-index-base: 10000
4
+ );
5
+
6
+ // Duration.
7
+ $duration: (
8
+ transition: 0.2s
9
+ );
10
+
11
+ // Size.
12
+ $size: (
13
+ border-radius: 8px,
14
+ border-radius-main: 0.25em,
15
+ element-height: 2.75em,
16
+ element-margin: 2em,
17
+ inner: 64em
18
+ );
19
+
20
+ // Font.
21
+ $font: (
22
+ family: ('Source Sans Pro', Helvetica, sans-serif),
23
+ family-fixed: ('Courier New', monospace),
24
+ weight: 300,
25
+ weight-bold: 400,
26
+ letter-spacing: -0.025em
27
+ );
28
+
29
+ // Palette.
30
+ $palette: (
31
+ bg: #935d8c,
32
+ fg: rgba(255,255,255,0.65),
33
+ fg-bold: #ffffff,
34
+ fg-light: rgba(255,255,255,0.5),
35
+ border: rgba(255,255,255,0.35),
36
+ border-bg: rgba(255,255,255,0.075),
37
+ border2: rgba(255,255,255,0.75),
38
+ border2-bg: rgba(255,255,255,0.2),
39
+
40
+ invert: (
41
+ bg: #ffffff,
42
+ bg-alt: #f7f7f7,
43
+ fg: #636363,
44
+ fg-bold: #636363,
45
+ fg-light: rgba(99,99,99,0.25),
46
+ border: #dddddd,
47
+ border-bg: rgba(222,222,222,0.25),
48
+ border2: #dddddd,
49
+ border2-bg: rgba(222,222,222,0.5),
50
+ ),
51
+
52
+ accent: #8cc9f0,
53
+ accent1: #efa8b0,
54
+ accent2: #c79cc8,
55
+ accent3: #a89cc8,
56
+ accent4: #9bb2e1,
57
+ accent5: #8cc9f0,
58
+ bg1: #e37682,
59
+ bg2: #5f4d93
60
+ );
@@ -0,0 +1,376 @@
1
+ // vendor.scss v1.0 | @ajlkn | MIT licensed */
2
+
3
+ // Vars.
4
+
5
+ /// Vendor prefixes.
6
+ /// @var {list}
7
+ $vendor-prefixes: (
8
+ '-moz-',
9
+ '-webkit-',
10
+ '-ms-',
11
+ ''
12
+ );
13
+
14
+ /// Properties that should be vendorized.
15
+ /// Data via caniuse.com, github.com/postcss/autoprefixer, and developer.mozilla.org
16
+ /// @var {list}
17
+ $vendor-properties: (
18
+
19
+ // Animation.
20
+ 'animation',
21
+ 'animation-delay',
22
+ 'animation-direction',
23
+ 'animation-duration',
24
+ 'animation-fill-mode',
25
+ 'animation-iteration-count',
26
+ 'animation-name',
27
+ 'animation-play-state',
28
+ 'animation-timing-function',
29
+
30
+ // Appearance.
31
+ 'appearance',
32
+
33
+ // Backdrop filter.
34
+ 'backdrop-filter',
35
+
36
+ // Background image options.
37
+ 'background-clip',
38
+ 'background-origin',
39
+ 'background-size',
40
+
41
+ // Box sizing.
42
+ 'box-sizing',
43
+
44
+ // Clip path.
45
+ 'clip-path',
46
+
47
+ // Filter effects.
48
+ 'filter',
49
+
50
+ // Flexbox.
51
+ 'align-content',
52
+ 'align-items',
53
+ 'align-self',
54
+ 'flex',
55
+ 'flex-basis',
56
+ 'flex-direction',
57
+ 'flex-flow',
58
+ 'flex-grow',
59
+ 'flex-shrink',
60
+ 'flex-wrap',
61
+ 'justify-content',
62
+ 'order',
63
+
64
+ // Font feature.
65
+ 'font-feature-settings',
66
+ 'font-language-override',
67
+ 'font-variant-ligatures',
68
+
69
+ // Font kerning.
70
+ 'font-kerning',
71
+
72
+ // Fragmented borders and backgrounds.
73
+ 'box-decoration-break',
74
+
75
+ // Grid layout.
76
+ 'grid-column',
77
+ 'grid-column-align',
78
+ 'grid-column-end',
79
+ 'grid-column-start',
80
+ 'grid-row',
81
+ 'grid-row-align',
82
+ 'grid-row-end',
83
+ 'grid-row-start',
84
+ 'grid-template-columns',
85
+ 'grid-template-rows',
86
+
87
+ // Hyphens.
88
+ 'hyphens',
89
+ 'word-break',
90
+
91
+ // Masks.
92
+ 'mask',
93
+ 'mask-border',
94
+ 'mask-border-outset',
95
+ 'mask-border-repeat',
96
+ 'mask-border-slice',
97
+ 'mask-border-source',
98
+ 'mask-border-width',
99
+ 'mask-clip',
100
+ 'mask-composite',
101
+ 'mask-image',
102
+ 'mask-origin',
103
+ 'mask-position',
104
+ 'mask-repeat',
105
+ 'mask-size',
106
+
107
+ // Multicolumn.
108
+ 'break-after',
109
+ 'break-before',
110
+ 'break-inside',
111
+ 'column-count',
112
+ 'column-fill',
113
+ 'column-gap',
114
+ 'column-rule',
115
+ 'column-rule-color',
116
+ 'column-rule-style',
117
+ 'column-rule-width',
118
+ 'column-span',
119
+ 'column-width',
120
+ 'columns',
121
+
122
+ // Object fit.
123
+ 'object-fit',
124
+ 'object-position',
125
+
126
+ // Regions.
127
+ 'flow-from',
128
+ 'flow-into',
129
+ 'region-fragment',
130
+
131
+ // Scroll snap points.
132
+ 'scroll-snap-coordinate',
133
+ 'scroll-snap-destination',
134
+ 'scroll-snap-points-x',
135
+ 'scroll-snap-points-y',
136
+ 'scroll-snap-type',
137
+
138
+ // Shapes.
139
+ 'shape-image-threshold',
140
+ 'shape-margin',
141
+ 'shape-outside',
142
+
143
+ // Tab size.
144
+ 'tab-size',
145
+
146
+ // Text align last.
147
+ 'text-align-last',
148
+
149
+ // Text decoration.
150
+ 'text-decoration-color',
151
+ 'text-decoration-line',
152
+ 'text-decoration-skip',
153
+ 'text-decoration-style',
154
+
155
+ // Text emphasis.
156
+ 'text-emphasis',
157
+ 'text-emphasis-color',
158
+ 'text-emphasis-position',
159
+ 'text-emphasis-style',
160
+
161
+ // Text size adjust.
162
+ 'text-size-adjust',
163
+
164
+ // Text spacing.
165
+ 'text-spacing',
166
+
167
+ // Transform.
168
+ 'transform',
169
+ 'transform-origin',
170
+
171
+ // Transform 3D.
172
+ 'backface-visibility',
173
+ 'perspective',
174
+ 'perspective-origin',
175
+ 'transform-style',
176
+
177
+ // Transition.
178
+ 'transition',
179
+ 'transition-delay',
180
+ 'transition-duration',
181
+ 'transition-property',
182
+ 'transition-timing-function',
183
+
184
+ // Unicode bidi.
185
+ 'unicode-bidi',
186
+
187
+ // User select.
188
+ 'user-select',
189
+
190
+ // Writing mode.
191
+ 'writing-mode',
192
+
193
+ );
194
+
195
+ /// Values that should be vendorized.
196
+ /// Data via caniuse.com, github.com/postcss/autoprefixer, and developer.mozilla.org
197
+ /// @var {list}
198
+ $vendor-values: (
199
+
200
+ // Cross fade.
201
+ 'cross-fade',
202
+
203
+ // Element function.
204
+ 'element',
205
+
206
+ // Filter function.
207
+ 'filter',
208
+
209
+ // Flexbox.
210
+ 'flex',
211
+ 'inline-flex',
212
+
213
+ // Grab cursors.
214
+ 'grab',
215
+ 'grabbing',
216
+
217
+ // Gradients.
218
+ 'linear-gradient',
219
+ 'repeating-linear-gradient',
220
+ 'radial-gradient',
221
+ 'repeating-radial-gradient',
222
+
223
+ // Grid layout.
224
+ 'grid',
225
+ 'inline-grid',
226
+
227
+ // Image set.
228
+ 'image-set',
229
+
230
+ // Intrinsic width.
231
+ 'max-content',
232
+ 'min-content',
233
+ 'fit-content',
234
+ 'fill',
235
+ 'fill-available',
236
+ 'stretch',
237
+
238
+ // Sticky position.
239
+ 'sticky',
240
+
241
+ // Transform.
242
+ 'transform',
243
+
244
+ // Zoom cursors.
245
+ 'zoom-in',
246
+ 'zoom-out',
247
+
248
+ );
249
+
250
+ // Functions.
251
+
252
+ /// Removes a specific item from a list.
253
+ /// @author Hugo Giraudel
254
+ /// @param {list} $list List.
255
+ /// @param {integer} $index Index.
256
+ /// @return {list} Updated list.
257
+ @function remove-nth($list, $index) {
258
+
259
+ $result: null;
260
+
261
+ @if type-of($index) != number {
262
+ @warn "$index: #{quote($index)} is not a number for `remove-nth`.";
263
+ }
264
+ @else if $index == 0 {
265
+ @warn "List index 0 must be a non-zero integer for `remove-nth`.";
266
+ }
267
+ @else if abs($index) > length($list) {
268
+ @warn "List index is #{$index} but list is only #{length($list)} item long for `remove-nth`.";
269
+ }
270
+ @else {
271
+
272
+ $result: ();
273
+ $index: if($index < 0, length($list) + $index + 1, $index);
274
+
275
+ @for $i from 1 through length($list) {
276
+
277
+ @if $i != $index {
278
+ $result: append($result, nth($list, $i));
279
+ }
280
+
281
+ }
282
+
283
+ }
284
+
285
+ @return $result;
286
+
287
+ }
288
+
289
+ /// Replaces a substring within another string.
290
+ /// @author Hugo Giraudel
291
+ /// @param {string} $string String.
292
+ /// @param {string} $search Substring.
293
+ /// @param {string} $replace Replacement.
294
+ /// @return {string} Updated string.
295
+ @function str-replace($string, $search, $replace: '') {
296
+
297
+ $index: str-index($string, $search);
298
+
299
+ @if $index {
300
+ @return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace);
301
+ }
302
+
303
+ @return $string;
304
+
305
+ }
306
+
307
+ /// Replaces a substring within each string in a list.
308
+ /// @param {list} $strings List of strings.
309
+ /// @param {string} $search Substring.
310
+ /// @param {string} $replace Replacement.
311
+ /// @return {list} Updated list of strings.
312
+ @function str-replace-all($strings, $search, $replace: '') {
313
+
314
+ @each $string in $strings {
315
+ $strings: set-nth($strings, index($strings, $string), str-replace($string, $search, $replace));
316
+ }
317
+
318
+ @return $strings;
319
+
320
+ }
321
+
322
+ // Mixins.
323
+
324
+ /// Wraps @content in vendorized keyframe blocks.
325
+ /// @param {string} $name Name.
326
+ @mixin keyframes($name) {
327
+
328
+ @-moz-keyframes #{$name} { @content; }
329
+ @-webkit-keyframes #{$name} { @content; }
330
+ @-ms-keyframes #{$name} { @content; }
331
+ @keyframes #{$name} { @content; }
332
+
333
+ }
334
+
335
+ /// Vendorizes a declaration's property and/or value(s).
336
+ /// @param {string} $property Property.
337
+ /// @param {mixed} $value String/list of value(s).
338
+ @mixin vendor($property, $value) {
339
+
340
+ // Determine if property should expand.
341
+ $expandProperty: index($vendor-properties, $property);
342
+
343
+ // Determine if value should expand (and if so, add '-prefix-' placeholder).
344
+ $expandValue: false;
345
+
346
+ @each $x in $value {
347
+ @each $y in $vendor-values {
348
+ @if $y == str-slice($x, 1, str-length($y)) {
349
+
350
+ $value: set-nth($value, index($value, $x), '-prefix-' + $x);
351
+ $expandValue: true;
352
+
353
+ }
354
+ }
355
+ }
356
+
357
+ // Expand property?
358
+ @if $expandProperty {
359
+ @each $vendor in $vendor-prefixes {
360
+ #{$vendor}#{$property}: #{str-replace-all($value, '-prefix-', $vendor)};
361
+ }
362
+ }
363
+
364
+ // Expand just the value?
365
+ @elseif $expandValue {
366
+ @each $vendor in $vendor-prefixes {
367
+ #{$property}: #{str-replace-all($value, '-prefix-', $vendor)};
368
+ }
369
+ }
370
+
371
+ // Neither? Treat them as a normal declaration.
372
+ @else {
373
+ #{$property}: #{$value};
374
+ }
375
+
376
+ }