respectre-jekyll-theme 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +52 -0
  4. data/_includes/footer.html +17 -0
  5. data/_includes/head.html +11 -0
  6. data/_includes/header.html +14 -0
  7. data/_layouts/default.html +13 -0
  8. data/_layouts/home.html +26 -0
  9. data/_layouts/page.html +14 -0
  10. data/_layouts/post.html +21 -0
  11. data/_sass/spectre.scss +49 -0
  12. data/_sass/spectre/.csscomb.json +30 -0
  13. data/_sass/spectre/.gitattributes +1 -0
  14. data/_sass/spectre/.gitignore +9 -0
  15. data/_sass/spectre/.hound.yml +2 -0
  16. data/_sass/spectre/.scss-lint.yml +253 -0
  17. data/_sass/spectre/_accordions.scss +38 -0
  18. data/_sass/spectre/_animations.scss +20 -0
  19. data/_sass/spectre/_asian.scss +33 -0
  20. data/_sass/spectre/_autocomplete.scss +36 -0
  21. data/_sass/spectre/_avatars.scss +77 -0
  22. data/_sass/spectre/_badges.scss +70 -0
  23. data/_sass/spectre/_bars.scss +71 -0
  24. data/_sass/spectre/_base.scss +40 -0
  25. data/_sass/spectre/_breadcrumbs.scss +29 -0
  26. data/_sass/spectre/_buttons.scss +182 -0
  27. data/_sass/spectre/_calendars.scss +206 -0
  28. data/_sass/spectre/_cards.scss +39 -0
  29. data/_sass/spectre/_carousels.scss +124 -0
  30. data/_sass/spectre/_chips.scss +26 -0
  31. data/_sass/spectre/_codes.scss +31 -0
  32. data/_sass/spectre/_comparison-sliders.scss +114 -0
  33. data/_sass/spectre/_dropdowns.scss +36 -0
  34. data/_sass/spectre/_empty.scss +21 -0
  35. data/_sass/spectre/_filters.scss +37 -0
  36. data/_sass/spectre/_forms.scss +514 -0
  37. data/_sass/spectre/_icons.scss +5 -0
  38. data/_sass/spectre/_labels.scss +34 -0
  39. data/_sass/spectre/_layout.scss +424 -0
  40. data/_sass/spectre/_media.scss +75 -0
  41. data/_sass/spectre/_menus.scss +56 -0
  42. data/_sass/spectre/_meters.scss +57 -0
  43. data/_sass/spectre/_mixins.scss +186 -0
  44. data/_sass/spectre/_modals.scss +82 -0
  45. data/_sass/spectre/_navbar.scss +29 -0
  46. data/_sass/spectre/_navs.scss +34 -0
  47. data/_sass/spectre/_normalize.scss +446 -0
  48. data/_sass/spectre/_off-canvas.scss +82 -0
  49. data/_sass/spectre/_pagination.scss +61 -0
  50. data/_sass/spectre/_panels.scss +23 -0
  51. data/_sass/spectre/_parallax.scss +129 -0
  52. data/_sass/spectre/_popovers.scss +70 -0
  53. data/_sass/spectre/_progress.scss +45 -0
  54. data/_sass/spectre/_sliders.scss +93 -0
  55. data/_sass/spectre/_steps.scss +70 -0
  56. data/_sass/spectre/_tables.scss +45 -0
  57. data/_sass/spectre/_tabs.scss +66 -0
  58. data/_sass/spectre/_tiles.scss +38 -0
  59. data/_sass/spectre/_timelines.scss +54 -0
  60. data/_sass/spectre/_toasts.scss +42 -0
  61. data/_sass/spectre/_tooltips.scss +79 -0
  62. data/_sass/spectre/_typography.scss +128 -0
  63. data/_sass/spectre/_utilities.scss +8 -0
  64. data/_sass/spectre/_variables.scss +105 -0
  65. data/_sass/spectre/icons/_icons-action.scss +316 -0
  66. data/_sass/spectre/icons/_icons-core.scss +53 -0
  67. data/_sass/spectre/icons/_icons-navigation.scss +133 -0
  68. data/_sass/spectre/icons/_icons-object.scss +176 -0
  69. data/_sass/spectre/spectre-exp.scss +16 -0
  70. data/_sass/spectre/spectre-icons.scss +10 -0
  71. data/_sass/spectre/utilities/_colors.scss +29 -0
  72. data/_sass/spectre/utilities/_cursors.scss +24 -0
  73. data/_sass/spectre/utilities/_display.scss +44 -0
  74. data/_sass/spectre/utilities/_divider.scss +50 -0
  75. data/_sass/spectre/utilities/_loading.scss +34 -0
  76. data/_sass/spectre/utilities/_position.scss +50 -0
  77. data/_sass/spectre/utilities/_shapes.scss +8 -0
  78. data/_sass/spectre/utilities/_text.scss +64 -0
  79. data/assets/css/main.scss +18 -0
  80. metadata +212 -0
@@ -0,0 +1,8 @@
1
+ @import "utilities/colors";
2
+ @import "utilities/cursors";
3
+ @import "utilities/display";
4
+ @import "utilities/divider";
5
+ @import "utilities/loading";
6
+ @import "utilities/position";
7
+ @import "utilities/shapes";
8
+ @import "utilities/text";
@@ -0,0 +1,105 @@
1
+ // Core variables
2
+ $version: "0.4.4";
3
+
4
+ // Core colors
5
+ $primary-color: #D33C14 !default;
6
+ $primary-color-dark: darken($primary-color, 3%) !default;
7
+ $primary-color-light: lighten($primary-color, 3%) !default;
8
+ $secondary-color: lighten($primary-color, 37.5%) !default;
9
+ $secondary-color-dark: darken($secondary-color, 3%) !default;
10
+ $secondary-color-light: lighten($secondary-color, 3%) !default;
11
+
12
+ // Gray colors
13
+ $dark-color: #2e2e2e !default;
14
+ $light-color: #fff !default;
15
+ $gray-color: lighten($dark-color, 40%) !default;
16
+ $gray-color-dark: darken($gray-color, 25%) !default;
17
+ $gray-color-light: lighten($gray-color, 20%) !default;
18
+
19
+ $border-color: lighten($dark-color, 60%) !default;
20
+ $border-color-dark: darken($border-color, 10%) !default;
21
+ $bg-color: lighten($dark-color, 66%) !default;
22
+ $bg-color-dark: darken($bg-color, 3%) !default;
23
+ $bg-color-light: $light-color !default;
24
+
25
+ // Control colors
26
+ $success-color: #32b643 !default;
27
+ $warning-color: #ffb700 !default;
28
+ $error-color: #e52325 !default;
29
+
30
+ // Other colors
31
+ $code-color: #e06870 !default;
32
+ $highlight-color: #ffe9b3 !default;
33
+ $body-bg: $bg-color-light !default;
34
+ $body-font-color: lighten($dark-color, 5%) !default;
35
+ $link-color: $primary-color !default;
36
+ $link-color-dark: darken($link-color, 5%) !default;
37
+
38
+ // Fonts
39
+ // Credit: https://www.smashingmagazine.com/2015/11/using-system-ui-fonts-practical-guide/
40
+ $base-font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto !default;
41
+ $mono-font-family: "SF Mono", "Segoe UI Mono", "Roboto Mono", Menlo, Courier, monospace !default;
42
+ $fallback-font-family: "Helvetica Neue", sans-serif !default;
43
+ $cjk-zh-font-family: $base-font-family, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", $fallback-font-family !default;
44
+ $cjk-jp-font-family: $base-font-family, "Hiragino Sans", "Hiragino Kaku Gothic Pro", "Yu Gothic", YuGothic, Meiryo, $fallback-font-family !default;
45
+ $cjk-ko-font-family: $base-font-family, "Malgun Gothic", $fallback-font-family !default;
46
+ $body-font-family: $base-font-family, $fallback-font-family !default;
47
+
48
+ // Unit sizes
49
+ $unit-o: .05rem !default;
50
+ $unit-h: .1rem !default;
51
+ $unit-1: .2rem !default;
52
+ $unit-2: .4rem !default;
53
+ $unit-3: .6rem !default;
54
+ $unit-4: .8rem !default;
55
+ $unit-5: 1rem !default;
56
+ $unit-6: 1.2rem !default;
57
+ $unit-7: 1.4rem !default;
58
+ $unit-8: 1.6rem !default;
59
+ $unit-9: 1.8rem !default;
60
+ $unit-10: 2rem !default;
61
+ $unit-12: 2.4rem !default;
62
+ $unit-16: 3.2rem !default;
63
+
64
+ // Font sizes
65
+ $html-font-size: 20px !default;
66
+ $html-line-height: 1.5 !default;
67
+ $font-size: .8rem !default;
68
+ $font-size-sm: .7rem !default;
69
+ $font-size-lg: .9rem !default;
70
+ $line-height: 1rem !default;
71
+
72
+ // Sizes
73
+ $layout-spacing: $unit-2 !default;
74
+ $layout-spacing-sm: $unit-1 !default;
75
+ $layout-spacing-lg: $unit-4 !default;
76
+ $border-radius: $unit-h !default;
77
+ $border-width: $unit-o !default;
78
+ $border-width-lg: $unit-h !default;
79
+ $control-size: $unit-9 !default;
80
+ $control-size-sm: $unit-7 !default;
81
+ $control-size-lg: $unit-10 !default;
82
+ $control-padding-x: $unit-2 !default;
83
+ $control-padding-x-sm: $unit-2 * .75 !default;
84
+ $control-padding-x-lg: $unit-2 * 1.5 !default;
85
+ $control-padding-y: ($control-size - $line-height) / 2 - $border-width !default;
86
+ $control-padding-y-sm: ($control-size-sm - $line-height) / 2 - $border-width !default;
87
+ $control-padding-y-lg: ($control-size-lg - $line-height) / 2 - $border-width !default;
88
+ $control-icon-size: .8rem !default;
89
+ $control-min-width: 180px !default;
90
+ $control-max-width: 320px !default;
91
+
92
+ // Responsive breakpoints
93
+ $size-xs: 480px !default;
94
+ $size-sm: 600px !default;
95
+ $size-md: 840px !default;
96
+ $size-lg: 960px !default;
97
+ $size-xl: 1280px !default;
98
+ $size-2x: 1440px !default;
99
+
100
+ // Z-index
101
+ $zindex-0: 1 !default;
102
+ $zindex-1: 100 !default;
103
+ $zindex-2: 200 !default;
104
+ $zindex-3: 300 !default;
105
+ $zindex-4: 400 !default;
@@ -0,0 +1,316 @@
1
+
2
+ // Icon resize
3
+ .icon-resize-horiz,
4
+ .icon-resize-vert {
5
+ &::before,
6
+ &::after {
7
+ border: $icon-border-width solid currentColor;
8
+ border-bottom: 0;
9
+ border-right: 0;
10
+ content: "";
11
+ height: .45em;
12
+ width: .45em;
13
+ }
14
+ &::before {
15
+ transform: translate(-50%, -90%) rotate(45deg);
16
+ }
17
+ &::after {
18
+ transform: translate(-50%, -10%) rotate(225deg);
19
+ }
20
+ }
21
+
22
+ .icon-resize-horiz {
23
+ &::before {
24
+ transform: translate(-90%, -50%) rotate(-45deg);
25
+ }
26
+ &::after {
27
+ transform: translate(-10%, -50%) rotate(135deg);
28
+ }
29
+ }
30
+
31
+ // Icon more
32
+ .icon-more-horiz,
33
+ .icon-more-vert {
34
+ &::before {
35
+ background: currentColor;
36
+ box-shadow: -.4em 0, .4em 0;
37
+ border-radius: 50%;
38
+ content: "";
39
+ height: 3px;
40
+ width: 3px;
41
+ }
42
+ }
43
+
44
+ .icon-more-vert {
45
+ &::before {
46
+ box-shadow: 0 -.4em, 0 .4em;
47
+ }
48
+ }
49
+
50
+ // Icon plus, minus, cross
51
+ .icon-plus,
52
+ .icon-minus,
53
+ .icon-cross {
54
+ &::before {
55
+ background: currentColor;
56
+ content: "";
57
+ height: $icon-border-width;
58
+ width: 100%;
59
+ }
60
+ }
61
+
62
+ .icon-plus,
63
+ .icon-cross {
64
+ &::after {
65
+ background: currentColor;
66
+ content: "";
67
+ height: 100%;
68
+ width: $icon-border-width;
69
+ }
70
+ }
71
+
72
+ .icon-cross {
73
+ &::before {
74
+ width: 100%;
75
+ }
76
+ &::after {
77
+ height: 100%;
78
+ }
79
+ &::before,
80
+ &::after {
81
+ transform: translate(-50%, -50%) rotate(45deg);
82
+ }
83
+ }
84
+
85
+ // Icon check
86
+ .icon-check {
87
+ &::before {
88
+ border: $icon-border-width solid currentColor;
89
+ border-right: 0;
90
+ border-top: 0;
91
+ content: "";
92
+ height: .5em;
93
+ width: .9em;
94
+ transform: translate(-50%, -75%) rotate(-45deg);
95
+ }
96
+ }
97
+
98
+ // Icon stop
99
+ .icon-stop {
100
+ border: $icon-border-width solid currentColor;
101
+ border-radius: 50%;
102
+ &::before {
103
+ background: currentColor;
104
+ content: "";
105
+ height: $icon-border-width;
106
+ transform: translate(-50%, -50%) rotate(45deg);
107
+ width: 1em;
108
+ }
109
+ }
110
+
111
+ // Icon shutdown
112
+ .icon-shutdown {
113
+ border: $icon-border-width solid currentColor;
114
+ border-radius: 50%;
115
+ border-top-color: transparent;
116
+ &::before {
117
+ background: currentColor;
118
+ content: "";
119
+ height: .5em;
120
+ top: .1em;
121
+ width: $icon-border-width;
122
+ }
123
+ }
124
+
125
+ // Icon refresh
126
+ .icon-refresh {
127
+ &::before {
128
+ border: $icon-border-width solid currentColor;
129
+ border-radius: 50%;
130
+ border-right-color: transparent;
131
+ content: "";
132
+ height: 1em;
133
+ width: 1em;
134
+ }
135
+ &::after {
136
+ border: .2em solid currentColor;
137
+ border-top-color: transparent;
138
+ border-left-color: transparent;
139
+ content: "";
140
+ height: 0;
141
+ left: 80%;
142
+ top: 20%;
143
+ width: 0;
144
+ }
145
+ }
146
+
147
+ // Icon search
148
+ .icon-search {
149
+ &::before {
150
+ border: $icon-border-width solid currentColor;
151
+ border-radius: 50%;
152
+ content: "";
153
+ height: .75em;
154
+ left: 5%;
155
+ top: 5%;
156
+ transform: translate(0, 0) rotate(45deg);
157
+ width: .75em;
158
+ }
159
+ &::after {
160
+ background: currentColor;
161
+ content: "";
162
+ height: $icon-border-width;
163
+ left: 80%;
164
+ top: 80%;
165
+ transform: translate(-50%, -50%) rotate(45deg);
166
+ width: .4em;
167
+ }
168
+ }
169
+
170
+ // Icon edit
171
+ .icon-edit {
172
+ &::before {
173
+ border: $icon-border-width solid currentColor;
174
+ content: "";
175
+ height: .4em;
176
+ transform: translate(-40%, -60%) rotate(-45deg);
177
+ width: .85em;
178
+ }
179
+ &::after {
180
+ border: .15em solid currentColor;
181
+ border-top-color: transparent;
182
+ border-right-color: transparent;
183
+ content: "";
184
+ height: 0;
185
+ left: 5%;
186
+ top: 95%;
187
+ transform: translate(0, -100%);
188
+ width: 0;
189
+ }
190
+ }
191
+
192
+ // Icon delete
193
+ .icon-delete {
194
+ &::before {
195
+ border: $icon-border-width solid currentColor;
196
+ border-bottom-left-radius: $border-radius;
197
+ border-bottom-right-radius: $border-radius;
198
+ border-top: 0;
199
+ content: "";
200
+ height: .75em;
201
+ top: 60%;
202
+ width: .75em;
203
+ }
204
+ &::after {
205
+ background: currentColor;
206
+ box-shadow: -.25em .2em, .25em .2em;
207
+ content: "";
208
+ height: $icon-border-width;
209
+ top: $icon-border-width/2;
210
+ width: .5em;
211
+ }
212
+ }
213
+
214
+ // Icon share
215
+ .icon-share {
216
+ border: $icon-border-width solid currentColor;
217
+ border-radius: $border-radius;
218
+ border-right: 0;
219
+ border-top: 0;
220
+ &::before {
221
+ border: $icon-border-width solid currentColor;
222
+ border-left: 0;
223
+ border-top: 0;
224
+ content: "";
225
+ height: .4em;
226
+ left: 100%;
227
+ top: .25em;
228
+ transform: translate(-125%, -50%) rotate(-45deg);
229
+ width: .4em;
230
+ }
231
+ &::after {
232
+ border: $icon-border-width solid currentColor;
233
+ border-bottom: 0;
234
+ border-right: 0;
235
+ border-radius: 75% 0;
236
+ content: "";
237
+ height: .5em;
238
+ width: .6em;
239
+ }
240
+ }
241
+
242
+ // Icon flag
243
+ .icon-flag {
244
+ &::before {
245
+ background: currentColor;
246
+ content: "";
247
+ height: 1em;
248
+ left: 15%;
249
+ width: $icon-border-width;
250
+ }
251
+ &::after {
252
+ border: $icon-border-width solid currentColor;
253
+ border-bottom-right-radius: $border-radius;
254
+ border-left: 0;
255
+ border-top-right-radius: $border-radius;
256
+ content: "";
257
+ height: .65em;
258
+ top: 35%;
259
+ left: 60%;
260
+ width: .8em;
261
+ }
262
+ }
263
+
264
+ // Icon bookmark
265
+ .icon-bookmark {
266
+ &::before {
267
+ border: $icon-border-width solid currentColor;
268
+ border-bottom: 0;
269
+ border-top-left-radius: $border-radius;
270
+ border-top-right-radius: $border-radius;
271
+ content: "";
272
+ height: .9em;
273
+ width: .8em;
274
+ }
275
+ &::after {
276
+ border: $icon-border-width solid currentColor;
277
+ border-bottom: 0;
278
+ border-left: 0;
279
+ border-radius: $border-radius;
280
+ content: "";
281
+ height: .5em;
282
+ transform: translate(-50%, 35%) rotate(-45deg) skew(15deg, 15deg);
283
+ width: .5em;
284
+ }
285
+ }
286
+
287
+ // Icon download & upload
288
+ .icon-download,
289
+ .icon-upload {
290
+ border-bottom: $icon-border-width solid currentColor;
291
+ &::before {
292
+ border: $icon-border-width solid currentColor;
293
+ border-bottom: 0;
294
+ border-right: 0;
295
+ content: "";
296
+ height: .5em;
297
+ width: .5em;
298
+ transform: translate(-50%, -60%) rotate(-135deg);
299
+ }
300
+ &::after {
301
+ background: currentColor;
302
+ content: "";
303
+ height: .6em;
304
+ top: 40%;
305
+ width: $icon-border-width;
306
+ }
307
+ }
308
+
309
+ .icon-upload {
310
+ &::before {
311
+ transform: translate(-50%, -60%) rotate(45deg);
312
+ }
313
+ &::after {
314
+ top: 50%;
315
+ }
316
+ }
@@ -0,0 +1,53 @@
1
+ // Icon variables
2
+ $icon-border-width: $border-width-lg;
3
+ $icon-prefix: "icon";
4
+
5
+ // Icon base style
6
+ .#{$icon-prefix} {
7
+ box-sizing: border-box;
8
+ display: inline-block;
9
+ font-size: inherit;
10
+ font-style: normal;
11
+ height: 1em;
12
+ position: relative;
13
+ text-indent: -9999px;
14
+ vertical-align: middle;
15
+ width: 1em;
16
+ &::before,
17
+ &::after {
18
+ display: block;
19
+ left: 50%;
20
+ position: absolute;
21
+ top: 50%;
22
+ transform: translate(-50%, -50%);
23
+ }
24
+
25
+ // Icon sizes
26
+ &.icon-2x {
27
+ font-size: 1.6rem;
28
+ }
29
+
30
+ &.icon-3x {
31
+ font-size: 2.4rem;
32
+ }
33
+
34
+ &.icon-4x {
35
+ font-size: 3.2rem;
36
+ }
37
+ }
38
+
39
+ // Component icon support
40
+ .accordion,
41
+ .btn,
42
+ .toast,
43
+ .menu {
44
+ .#{$icon-prefix} {
45
+ vertical-align: -10%;
46
+ }
47
+ }
48
+
49
+ .btn-lg {
50
+ .#{$icon-prefix} {
51
+ vertical-align: -15%;
52
+ }
53
+ }