thesmoothie-jekyll-theme 0.1.3 → 0.1.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8e7016014df37e0f30479c6dda856ad41498d2bd
4
- data.tar.gz: 52b7d1aab43b96a23711af329759137b8649f2f1
3
+ metadata.gz: c44d7fab796282ddfd69066c214bd22cab1125ef
4
+ data.tar.gz: e75ef60b87bdcacd0f8309c6e9023245b95f01bd
5
5
  SHA512:
6
- metadata.gz: b66b4514816feb7f152f8b689a8f310867b2b3c998c0eaa1cee724d7e3bfc59d36bfe8a6ae644a945d007c9f241153eeed06396a40d222d0c1513d47b42c1aa2
7
- data.tar.gz: b9a62b53bae4f21e140a599fd95315533f5e2ba94dc21ae01001f3f5e0ce3281c2516aa386df24b30795cca9c4469b02f8880ec77ef08575696992a762414310
6
+ metadata.gz: '055508ec89529be1a4112acd9dea68a1445075804a07f2ff489d749f685304b05e80e443cc019f476a79bd0a26aafa8405bebd7be845941cc389009442b53440'
7
+ data.tar.gz: 4f3e5d099ef829c1af3f42a4443fa4bf7f330e30c8a4921c0448d8e76175b6f965e7543f85d31a6d4f7570aae59144e1158c3a2b2848507c865b69794ea1985f
@@ -6,6 +6,7 @@
6
6
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
7
7
  <title>The Smoothie</title>
8
8
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
9
+ <link rel="stylesheet" href="assets/main.css">
9
10
  </head>
10
11
  <body>
11
12
  <div class="container py-5">
@@ -0,0 +1,289 @@
1
+ //
2
+ // Copyright 2017 Google Inc.
3
+ //
4
+ // Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ // of this software and associated documentation files (the "Software"), to deal
6
+ // in the Software without restriction, including without limitation the rights
7
+ // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ // copies of the Software, and to permit persons to whom the Software is
9
+ // furnished to do so, subject to the following conditions:
10
+ //
11
+ // The above copyright notice and this permission notice shall be included in
12
+ // all copies or substantial portions of the Software.
13
+ //
14
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
+ // THE SOFTWARE.
21
+ //
22
+
23
+ // Precomputed linear color channel values, for use in contrast calculations.
24
+ // See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
25
+ //
26
+ // Algorithm, for c in 0 to 255:
27
+ // f(c) {
28
+ // c = c / 255;
29
+ // return c < 0.03928 ? c / 12.92 : Math.pow((c + 0.055) / 1.055, 2.4);
30
+ // }
31
+ //
32
+ // This lookup table is needed since there is no `pow` in SASS.
33
+ $linear-channel-values:
34
+ 0
35
+ .0003035269835488375
36
+ .000607053967097675
37
+ .0009105809506465125
38
+ .00121410793419535
39
+ .0015176349177441874
40
+ .001821161901293025
41
+ .0021246888848418626
42
+ .0024282158683907
43
+ .0027317428519395373
44
+ .003035269835488375
45
+ .003346535763899161
46
+ .003676507324047436
47
+ .004024717018496307
48
+ .004391442037410293
49
+ .004776953480693729
50
+ .005181516702338386
51
+ .005605391624202723
52
+ .006048833022857054
53
+ .006512090792594475
54
+ .006995410187265387
55
+ .007499032043226175
56
+ .008023192985384994
57
+ .008568125618069307
58
+ .009134058702220787
59
+ .00972121732023785
60
+ .010329823029626936
61
+ .010960094006488246
62
+ .011612245179743885
63
+ .012286488356915872
64
+ .012983032342173012
65
+ .013702083047289686
66
+ .014443843596092545
67
+ .01520851442291271
68
+ .01599629336550963
69
+ .016807375752887384
70
+ .017641954488384078
71
+ .018500220128379697
72
+ .019382360956935723
73
+ .0202885630566524
74
+ .021219010376003555
75
+ .022173884793387385
76
+ .02315336617811041
77
+ .024157632448504756
78
+ .02518685962736163
79
+ .026241221894849898
80
+ .027320891639074894
81
+ .028426039504420793
82
+ .0295568344378088
83
+ .030713443732993635
84
+ .03189603307301153
85
+ .033104766570885055
86
+ .03433980680868217
87
+ .03560131487502034
88
+ .03688945040110004
89
+ .0382043715953465
90
+ .03954623527673284
91
+ .04091519690685319
92
+ .042311410620809675
93
+ .043735029256973465
94
+ .04518620438567554
95
+ .046665086336880095
96
+ .04817182422688942
97
+ .04970656598412723
98
+ .05126945837404324
99
+ .052860647023180246
100
+ .05448027644244237
101
+ .05612849004960009
102
+ .05780543019106723
103
+ .0595112381629812
104
+ .06124605423161761
105
+ .06301001765316767
106
+ .06480326669290577
107
+ .06662593864377289
108
+ .06847816984440017
109
+ .07036009569659588
110
+ .07227185068231748
111
+ .07421356838014963
112
+ .07618538148130785
113
+ .07818742180518633
114
+ .08021982031446832
115
+ .0822827071298148
116
+ .08437621154414882
117
+ .08650046203654976
118
+ .08865558628577294
119
+ .09084171118340768
120
+ .09305896284668745
121
+ .0953074666309647
122
+ .09758734714186246
123
+ .09989872824711389
124
+ .10224173308810132
125
+ .10461648409110419
126
+ .10702310297826761
127
+ .10946171077829933
128
+ .1119324278369056
129
+ .11443537382697373
130
+ .11697066775851084
131
+ .11953842798834562
132
+ .12213877222960187
133
+ .12477181756095049
134
+ .12743768043564743
135
+ .1301364766903643
136
+ .13286832155381798
137
+ .13563332965520566
138
+ .13843161503245183
139
+ .14126329114027164
140
+ .14412847085805777
141
+ .14702726649759498
142
+ .14995978981060856
143
+ .15292615199615017
144
+ .1559264637078274
145
+ .1589608350608804
146
+ .162029375639111
147
+ .1651321945016676
148
+ .16826940018969075
149
+ .1714411007328226
150
+ .17464740365558504
151
+ .17788841598362912
152
+ .18116424424986022
153
+ .184474994500441
154
+ .18782077230067787
155
+ .19120168274079138
156
+ .1946178304415758
157
+ .19806931955994886
158
+ .20155625379439707
159
+ .20507873639031693
160
+ .20863687014525575
161
+ .21223075741405523
162
+ .21586050011389926
163
+ .2195261997292692
164
+ .2232279573168085
165
+ .22696587351009836
166
+ .23074004852434915
167
+ .23455058216100522
168
+ .238397573812271
169
+ .24228112246555486
170
+ .24620132670783548
171
+ .25015828472995344
172
+ .25415209433082675
173
+ .2581828529215958
174
+ .26225065752969623
175
+ .26635560480286247
176
+ .2704977910130658
177
+ .27467731206038465
178
+ .2788942634768104
179
+ .2831487404299921
180
+ .2874408377269175
181
+ .29177064981753587
182
+ .2961382707983211
183
+ .3005437944157765
184
+ .3049873140698863
185
+ .30946892281750854
186
+ .31398871337571754
187
+ .31854677812509186
188
+ .32314320911295075
189
+ .3277780980565422
190
+ .33245153634617935
191
+ .33716361504833037
192
+ .3419144249086609
193
+ .3467040563550296
194
+ .35153259950043936
195
+ .3564001441459435
196
+ .3613067797835095
197
+ .3662525955988395
198
+ .3712376804741491
199
+ .3762621229909065
200
+ .38132601143253014
201
+ .386429433787049
202
+ .39157247774972326
203
+ .39675523072562685
204
+ .4019777798321958
205
+ .4072402119017367
206
+ .41254261348390375
207
+ .4178850708481375
208
+ .4232676699860717
209
+ .4286904966139066
210
+ .43415363617474895
211
+ .4396571738409188
212
+ .44520119451622786
213
+ .45078578283822346
214
+ .45641102318040466
215
+ .4620769996544071
216
+ .467783796112159
217
+ .47353149614800955
218
+ .4793201831008268
219
+ .4851499400560704
220
+ .4910208498478356
221
+ .4969329950608704
222
+ .5028864580325687
223
+ .5088813208549338
224
+ .5149176653765214
225
+ .5209955732043543
226
+ .5271151257058131
227
+ .5332764040105052
228
+ .5394794890121072
229
+ .5457244613701866
230
+ .5520114015120001
231
+ .5583403896342679
232
+ .5647115057049292
233
+ .5711248294648731
234
+ .5775804404296506
235
+ .5840784178911641
236
+ .5906188409193369
237
+ .5972017883637634
238
+ .6038273388553378
239
+ .6104955708078648
240
+ .6172065624196511
241
+ .6239603916750761
242
+ .6307571363461468
243
+ .6375968739940326
244
+ .6444796819705821
245
+ .6514056374198242
246
+ .6583748172794485
247
+ .665387298282272
248
+ .6724431569576875
249
+ .6795424696330938
250
+ .6866853124353135
251
+ .6938717612919899
252
+ .7011018919329731
253
+ .7083757798916868
254
+ .7156935005064807
255
+ .7230551289219693
256
+ .7304607400903537
257
+ .7379104087727308
258
+ .7454042095403874
259
+ .7529422167760779
260
+ .7605245046752924
261
+ .768151147247507
262
+ .7758222183174236
263
+ .7835377915261935
264
+ .7912979403326302
265
+ .799102738014409
266
+ .8069522576692516
267
+ .8148465722161012
268
+ .8227857543962835
269
+ .8307698767746546
270
+ .83879901174074
271
+ .846873231509858
272
+ .8549926081242338
273
+ .8631572134541023
274
+ .8713671191987972
275
+ .8796223968878317
276
+ .8879231178819663
277
+ .8962693533742664
278
+ .9046611743911496
279
+ .9130986517934192
280
+ .9215818562772946
281
+ .9301108583754237
282
+ .938685728457888
283
+ .9473065367331999
284
+ .9559733532492861
285
+ .9646862478944651
286
+ .9734452903984125
287
+ .9822505503331171
288
+ .9911020971138298
289
+ 1;
@@ -0,0 +1,51 @@
1
+ /**
2
+ * Calculate the luminance for a color.
3
+ * See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
4
+ */
5
+ @function luminance($color) {
6
+ $red: nth($linear-channel-values, red($color) + 1);
7
+ $green: nth($linear-channel-values, green($color) + 1);
8
+ $blue: nth($linear-channel-values, blue($color) + 1);
9
+
10
+ @return .2126 * $red + .7152 * $green + .0722 * $blue;
11
+ }
12
+
13
+ /**
14
+ * Calculate the contrast ratio between two colors.
15
+ * See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
16
+ */
17
+ @function contrast($back, $front, $tolerance: 0.5) {
18
+ $backLum: luminance($back) + $tolerance;
19
+ $foreLum: luminance($front) + $tolerance;
20
+
21
+ @return max($backLum, $foreLum) / min($backLum, $foreLum);
22
+ }
23
+
24
+ /**
25
+ * Determine whether to use dark or light text on top of given color.
26
+ * Returns black for dark text and white for light text.
27
+ */
28
+ @function contrast-color($color, $white: white, $black: black, $tolerance: 0.5) {
29
+ $lightContrast: contrast($color, $white, $tolerance);
30
+ $darkContrast: contrast($color, $black, $tolerance);
31
+
32
+ @if ($lightContrast > $darkContrast) {
33
+ @return $white;
34
+ } @else {
35
+ @return $black;
36
+ }
37
+ }
38
+
39
+ $color-primary: rgb(46, 178, 255) !default;
40
+ $color-secondary: #f16ba3 !default;
41
+ $color-headings: #023 !default;
42
+ $color-text: #546B77 !default;
43
+
44
+ $colors: (
45
+ primary: $color-primary,
46
+ secondary: $color-secondary,
47
+ info: blue,
48
+ success: green,
49
+ warning: orange,
50
+ danger: red,
51
+ ) !default;
data/_sass/_media.scss ADDED
@@ -0,0 +1,6 @@
1
+ img {
2
+ display: flex;
3
+ max-width: 100%;
4
+ width: auto;
5
+ max-height: 800px;
6
+ }
data/_sass/_reset.scss ADDED
@@ -0,0 +1,13 @@
1
+ *,
2
+ *:before,
3
+ *:after {
4
+ margin: 0;
5
+ padding: 0;
6
+ font-size: inherit;
7
+ font-family: inherit;
8
+ font-weight: inherit;
9
+ line-height: inherit;
10
+ box-sizing: inherit;
11
+ vertical-align: inherit;
12
+ word-wrap: break-word;
13
+ }
@@ -0,0 +1,67 @@
1
+ .showgrid {
2
+ position: relative;
3
+ }
4
+
5
+ .showgrid::before {
6
+ content: '';
7
+ display: block;
8
+ position: absolute;
9
+ top: 0;
10
+ left: 0;
11
+ right: 0;
12
+ bottom: 0;
13
+ height: 100%;
14
+ background-image: linear-gradient(to bottom, cyan 0, rgba(255, 255, 255, 0) 1px), linear-gradient(to left, cyan 0, rgba(255, 255, 255, 0) 1px);
15
+ background-repeat: repeat;
16
+ background-size: 1rem 1rem;
17
+ z-index: -1;
18
+ }
19
+
20
+ .showgrid--blocks h1,
21
+ .showgrid--blocks h2,
22
+ .showgrid--blocks h3,
23
+ .showgrid--blocks h4,
24
+ .showgrid--blocks h5,
25
+ .showgrid--blocks h6 {
26
+ background: rgba(blue, 0.1);
27
+ }
28
+ .showgrid--blocks p {
29
+ background: rgba(green, 0.1);
30
+ }
31
+ .showgrid--blocks ul {
32
+ background: rgba(pink, 0.1);
33
+ }
34
+ .showgrid--blocks ol {
35
+ background: rgba(brown, 0.1);
36
+ }
37
+ .showgrid--blocks span {
38
+ background: rgba(orange, 0.1);
39
+ }
40
+ .showgrid--blocks hr {
41
+ background: rgba(red, 0.1);
42
+ }
43
+
44
+ .showgrid--blocks {
45
+ h1,
46
+ h2,
47
+ h3,
48
+ h4,
49
+ h5,
50
+ h6,
51
+ p,
52
+ ul,
53
+ ol,
54
+ span,
55
+ hr {
56
+ position: relative;
57
+ &::before {
58
+ content: '';
59
+ top: 0;
60
+ left: 0;
61
+ right: 0;
62
+ position: absolute;
63
+ display: block;
64
+ border-top: 1px solid rgba(blue, 0.5);
65
+ }
66
+ }
67
+ }
@@ -0,0 +1,252 @@
1
+ // change the second parameter to set a different font cap-height preset
2
+ // baseline calculation = font-size * (line-height - cap-height) / 2
3
+ // $cap-height: map-get($cap-heights, helvetica-neue);
4
+
5
+ $cap-heights: (
6
+ helvetica-neue: 0.73,
7
+ helvetica: 0.71,
8
+ arial: 0.71,
9
+ telegrotesk-screen: 0.75,
10
+ gilroy: 0.74,
11
+ courier-new: 0.71,
12
+ ) !default;
13
+
14
+ $font-family: 'Helvetica Neue';
15
+ $font-headers: 'Gilroy', sans-serif;
16
+ $font-code: 'Courier New', monospace;
17
+
18
+ html {
19
+ box-sizing: border-box;
20
+ font-family: $font-family;
21
+ font-size: $base-fontsize;
22
+ line-height: 2rem;
23
+ font-weight: 400;
24
+ overflow-x: hidden;
25
+ vertical-align: bottom;
26
+ }
27
+
28
+ body {
29
+ font-size: 2rem;
30
+ }
31
+
32
+ // Font size function
33
+ @function _font-size($level: 0, $scale: $scale-mobile) {
34
+ $value: 1;
35
+ @if $level > 0 {
36
+ @for $i from 1 through $level {
37
+ $value: $value * $scale;
38
+ }
39
+ }
40
+ @return $value;
41
+ }
42
+ // Font size getter
43
+ @function font-size($level: 0, $scale: $scale-mobile) {
44
+ @return rem-to-px(_font-size($level, $scale));
45
+ }
46
+
47
+ // Line height function
48
+ @function _line-height($font-size: 1) {
49
+ @return ceil($font-size + 0.3);
50
+ }
51
+ // Line height getter
52
+ @function line-height($font-size: 1, $scale: $scale-mobile) {
53
+ @return rem-to-px(_line-height(_font-size($font-size, $scale)));
54
+ }
55
+
56
+ // 16 24 6
57
+ // font-size * (line-height - cap-height) / 2
58
+ // 16 * (24 - (16 * 0.73)) / 2
59
+ // 16 * 12.48 / 2
60
+ // 197.12 / 2
61
+ // 98.56
62
+ @function padding-top($font-size: 2, $cap-height: 0.72) {
63
+ @return ceil(($font-size - $cap-height) / 2 * 10) / 10 * 1rem;
64
+ }
65
+ @function padding-bottom($font-size: 2, $cap-height: 0.72) {
66
+ @return 1rem - padding-top($font-size, $cap-height);
67
+ }
68
+
69
+ // Heading default styles
70
+ @mixin heading() {
71
+ color: $color-headings;
72
+ font-family: $font-family;
73
+ font-weight: 700;
74
+ letter-spacing: -.0075em;
75
+ margin: 0;
76
+ }
77
+
78
+ h1 {
79
+ @include heading();
80
+ font-size: font-size(6);
81
+ line-height: line-height(6);
82
+
83
+ @media(min-width: 767px) {
84
+ font-size: font-size(6, $scale-tablet);
85
+ line-height: line-height(6, $scale-tablet);
86
+ }
87
+
88
+ @media(min-width: 1024px) {
89
+ font-size: font-size(6, $scale-desktop);
90
+ line-height: line-height(6, $scale-desktop);
91
+ }
92
+ }
93
+
94
+ h2 {
95
+ @include heading();
96
+ font-size: font-size(5);
97
+ line-height: line-height(5);
98
+
99
+ @media(min-width: 767px) {
100
+ font-size: font-size(5, $scale-tablet);
101
+ line-height: line-height(5, $scale-tablet);
102
+ }
103
+
104
+ @media(min-width: 1024px) {
105
+ font-size: font-size(5, $scale-desktop);
106
+ line-height: line-height(5, $scale-desktop);
107
+ }
108
+ }
109
+
110
+ h3 {
111
+ @include heading();
112
+ font-size: font-size(4);
113
+ line-height: line-height(4);
114
+
115
+ @media(min-width: 767px) {
116
+ font-size: font-size(4, $scale-tablet);
117
+ line-height: line-height(4, $scale-tablet);
118
+ }
119
+
120
+ @media(min-width: 1024px) {
121
+ font-size: font-size(4, $scale-desktop);
122
+ line-height: line-height(4, $scale-desktop);
123
+ }
124
+ }
125
+
126
+ h4 {
127
+ @include heading();
128
+ font-size: font-size(3);
129
+ line-height: line-height(3);
130
+
131
+ @media(min-width: 767px) {
132
+ font-size: font-size(3, $scale-tablet);
133
+ line-height: line-height(3, $scale-tablet);
134
+ }
135
+
136
+ @media(min-width: 1024px) {
137
+ font-size: font-size(3, $scale-desktop);
138
+ line-height: line-height(3, $scale-desktop);
139
+ }
140
+ }
141
+
142
+ h5 {
143
+ @include heading();
144
+ font-size: font-size(2);
145
+ line-height: line-height(2);
146
+
147
+ @media(min-width: 767px) {
148
+ font-size: font-size(2, $scale-tablet);
149
+ line-height: line-height(2, $scale-tablet);
150
+ }
151
+
152
+ @media(min-width: 1024px) {
153
+ font-size: font-size(2, $scale-desktop);
154
+ line-height: line-height(2, $scale-desktop);
155
+ }
156
+ }
157
+
158
+ h6 {
159
+ @include heading();
160
+ font-size: font-size(1);
161
+ line-height: line-height(1);
162
+
163
+ @media(min-width: 767px) {
164
+ font-size: font-size(1, $scale-tablet);
165
+ line-height: line-height(1, $scale-tablet);
166
+ }
167
+
168
+ @media(min-width: 1024px) {
169
+ font-size: font-size(1, $scale-desktop);
170
+ line-height: line-height(1, $scale-desktop);
171
+ }
172
+ }
173
+
174
+ p {
175
+ font-size: 2rem;
176
+ line-height: 3rem;
177
+ padding-top: padding-top();
178
+ padding-bottom: padding-bottom();
179
+ margin-bottom: 2rem;
180
+ }
181
+
182
+ ul,
183
+ ol {
184
+ font-size: 2rem;
185
+ line-height: 3rem;
186
+ padding-left: 2rem;
187
+ }
188
+
189
+ ul li,
190
+ ol li {
191
+ padding-left: 2em;
192
+ }
193
+
194
+ hr {
195
+ border: 0;
196
+ border-bottom: 4px solid #dfdfdf;
197
+ max-width: 4rem;
198
+ padding-top: calc(2rem - 4px);
199
+ margin-bottom: 2rem;
200
+ }
201
+
202
+ br {
203
+ line-height: 2rem;
204
+ }
205
+
206
+ blockquote {
207
+ line-height: 4rem;
208
+ padding-left: 2rem;
209
+ border-left: 4px solid $color-secondary;
210
+ font-style: italic;
211
+ }
212
+ @media (min-width: 1024px) {
213
+ blockquote {
214
+ margin-left: -2rem;
215
+ }
216
+ }
217
+
218
+ pre {
219
+ font-family: "Courier New", monospace;
220
+ background: #eee;
221
+ overflow-x: scroll;
222
+ border-radius: 3px;
223
+ font-size: 1.8rem;
224
+ margin-bottom: 1.3rem;
225
+ padding-bottom: 1.2rem;
226
+ padding-top: 1.5rem;
227
+ padding-left: 2rem;
228
+ padding-right: 2rem;
229
+ line-height: 4rem;
230
+ }
231
+
232
+ div {
233
+ line-height: 2rem;
234
+ }
235
+
236
+ a {
237
+ text-decoration: none;
238
+ color: $color-secondary;
239
+ transition: all .1s ease-out;
240
+ }
241
+
242
+ a:hover {
243
+ color: darken($color-secondary, 25%);
244
+ }
245
+
246
+ .text {
247
+ // background: rgba(blue, 0.2);
248
+ padding-top: 13px;
249
+ padding-bottom: 3px;
250
+ vertical-align: baseline;
251
+ line-height: 32px !important;
252
+ }
@@ -0,0 +1,7 @@
1
+ @function px-to-rem($value) {
2
+ @return 1rem * $value / $base-fontsize;
3
+ }
4
+
5
+ @function rem-to-px($value) {
6
+ @return $base-fontsize * $value;
7
+ }
data/_sass/style.scss ADDED
@@ -0,0 +1,43 @@
1
+
2
+ $unit: 8px;
3
+
4
+ // default font-size for calculations
5
+ $base-fontsize: $unit;
6
+
7
+ // scales
8
+ $scales: (
9
+ scale-0: 1, // one
10
+ scale-1: 1.067, // minor second
11
+ scale-2: 1.125, // major second
12
+ scale-3: 1.2, // minor third
13
+ scale-4: 1.25, // major third
14
+ scale-5: 1.333, // perfect fourth
15
+ scale-6: 1.414, // augmented fourth
16
+ scale-7: 1.5, // perfect fifth
17
+ scale-8: 1.618, // golden ratio
18
+ scale-9: 2, // double
19
+ ) !default;
20
+
21
+ // change the second parameter to set a different scale
22
+ $scale-mobile: map-get($scales, scale-4);
23
+ $scale-tablet: map-get($scales, scale-5);
24
+ $scale-desktop: map-get($scales, scale-5);
25
+
26
+ // imports
27
+ @import 'utilities';
28
+ @import 'reset';
29
+ @import 'colors-lookup-table';
30
+ @import 'colors';
31
+ @import 'typography';
32
+ @import 'media';
33
+ @import "showgrid";
34
+
35
+ body {
36
+ background-color: #ffeeee !important;
37
+ color: #333;
38
+ }
39
+
40
+ .container {
41
+ width: 100%;
42
+ max-width: 720px !important;
43
+ }
data/assets/main.scss ADDED
@@ -0,0 +1,5 @@
1
+ ---
2
+ # Only the main Sass file needs front matter (the dashes are enough)
3
+ ---
4
+
5
+ @import "style";
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thesmoothie-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Egor Kirpichev
@@ -65,6 +65,15 @@ files:
65
65
  - _layouts/default.html
66
66
  - _layouts/page.html
67
67
  - _layouts/post.html
68
+ - _sass/_colors-lookup-table.scss
69
+ - _sass/_colors.scss
70
+ - _sass/_media.scss
71
+ - _sass/_reset.scss
72
+ - _sass/_showgrid.scss
73
+ - _sass/_typography.scss
74
+ - _sass/_utilities.scss
75
+ - _sass/style.scss
76
+ - assets/main.scss
68
77
  homepage: http://thesmoothie.github.io/landing-page
69
78
  licenses:
70
79
  - MIT