space-jekyll-theme 0.1.6 → 0.1.11

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
  SHA256:
3
- metadata.gz: ac3656fa158444b076c48fb9daff2b494b7b58611af0e336432d40ad9ef97848
4
- data.tar.gz: 68fa898ee52bec1b421aa08c8621f9fca78c3cf1a72fe61295df0e51b3aef1e2
3
+ metadata.gz: 6ff14c7e36d9d165ce95d7e02dc16aa964c32a73b1f2a12505df1a9c5a4b2e21
4
+ data.tar.gz: c9d6bca421955999cbb3c59d127d968154d9e943c33b73d288745542aed97984
5
5
  SHA512:
6
- metadata.gz: 2940aab32a5d3c1ebad815cdd0b15069bb6b2240ff532bb008a0024843f9ebf284c03f2fd236b48829746d911ac2ba82c36985ec6303346882ff28b1591b4b30
7
- data.tar.gz: b79c8add6597f3d6ae5aeb869124d304c6e0e9aaefc1a1ee4d21c43b44003aeb3f93d63e11ad709d0fa03d2a998b666e392b6a98605484fbc52f047586f069f6
6
+ metadata.gz: 2d213e20070142890b41decb4587f57bc6664094504ca64a81e8ea87b4391e2dfe7a03754686b1d68833b79a4af6d316ad30d118144d32f655038ec8c902e9f4
7
+ data.tar.gz: 56aed7918e87798551739e53c6bc5e249f000dbfbe81f8081db82fd6d7e26846545396b82b0fb1698a07f159512ff8b39f439cb82aedc3ee74216d6dcf4fa2aa
@@ -11,4 +11,4 @@ navigation:
11
11
  - name: Contact
12
12
  link: "mailto: mail@example.com"
13
13
 
14
- footer: Made by <a>0xf17</a>. Code at <a>GitHub</a>.
14
+ footer: Made by <a>0xf17</a>. Code at <a>GitHub.</a>.
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- <p class="kicker">{{ page.kicker }}</p>
4
+ <h6 class="kicker">{{ page.kicker }}</h6>
5
5
  <h1>{{ page.title }}</h1>
6
6
  <h2 class="subtitle">{{ page.subtitle }}</h2>
7
7
  <div class="meta"><p>By {{ page.author }} ▪︎ {{ page.date | date: "%m.%d.%Y" }} </p></div>
@@ -1,31 +1,109 @@
1
1
  @import "_breakpoints";
2
2
  @import "_mixins";
3
3
 
4
- $display-font : "Space Grotesk";
5
- $body-font : "Space Grotesk";
6
- $mono-font : "Inconsolata";
7
- $green : #4CB963;
8
- $dark-green : #157f1f;
4
+ $font: "Space Grotesk";
5
+ $mono-font: "Space Mono";
6
+ $scalefactor: 1.414;
9
7
 
10
- $ptsize : 16px;
11
- $scalefactor : 1.414;
8
+ $scarlet: rgb(252, 47, 0);
9
+ $purple: rgb(194, 0, 251);
10
+ $yellow-green: rgb(162, 215, 41);
11
+ $black-coffee: rgb(52, 46, 55);
12
+ $black-coral: rgb(89, 101, 111);
13
+ $emerald: rgb(89, 205, 144);
14
+ $cerulean-crayola: rgb(63, 167, 214);
15
+ $pink: rgb(228, 0, 102);
16
+ $accent: $emerald;
17
+
18
+ .scarlet {
19
+ color: $scarlet;
20
+ }
21
+
22
+ .purple {
23
+ color: $purple;
24
+ }
25
+
26
+ .yellow-green {
27
+ color: $yellow-green;
28
+ }
29
+
30
+ .black-coffee {
31
+ color: $black-coffee;
32
+ }
33
+
34
+ .black-coral {
35
+ color: $black-coral;
36
+ }
37
+
38
+ .emerald {
39
+ color: $emerald;
40
+ }
41
+
42
+ .cerulean-crayola {
43
+ color: $cerulean-crayola;
44
+ }
45
+
46
+ .pink {
47
+ color: $pink;
48
+ }
12
49
 
13
50
  @function pow($number, $exponent) {
14
51
  $value: 1;
15
-
52
+
16
53
  @if $exponent > 0 {
17
- @for $i from 1 through $exponent {
18
- $value: $value * $number;
19
- }
54
+ @for $i from 1 through $exponent {
55
+ $value: $value * $number;
56
+ }
20
57
  }
21
-
58
+
22
59
  @return $value;
23
- }
60
+ }
24
61
 
25
62
  * {
26
63
  box-sizing: border-box;
27
64
  text-rendering: optimizeLegibility;
28
65
  font-kerning: auto;
66
+ font-weight: 300;
67
+ }
68
+
69
+ body {
70
+ font-family: $font;
71
+ margin: 0;
72
+ width: 100%;
73
+ }
74
+
75
+ .container {
76
+ margin: 2em auto 2em auto;
77
+ padding: 0 2em 0 2em;
78
+ max-width: 760px;
79
+ @include sm {
80
+ margin: 2em auto 2em auto;
81
+ padding: 0 2em 0 2em;
82
+ }
83
+ @include xl {
84
+ margin: 8em auto 8em auto;
85
+ }
86
+ }
87
+
88
+ small,
89
+ footer,
90
+ figcaption,
91
+ p.small,
92
+ cite,
93
+ .meta,
94
+ .kicker {
95
+ font-size: 0.8 em;
96
+ line-height: 1.3;
97
+ color: $black-coral;
98
+ }
99
+
100
+ p,
101
+ nav {
102
+ font-size: 1em;
103
+ line-height: 1.6;
104
+ color: $black-coffee;
105
+ margin-top: 40px;
106
+ margin-bottom: 40px;
29
107
  }
30
108
 
31
109
  .logo {
@@ -37,34 +115,33 @@ h2,
37
115
  h3,
38
116
  h4,
39
117
  h5,
40
- h6, blockquote {
41
- font-family: $display-font;
118
+ h6,
119
+ blockquote {
120
+ font-family: $font;
42
121
  // line-height: 1.5em;
43
122
  }
44
123
 
45
124
  a {
46
125
  text-decoration: none;
47
- color: $green;
48
- padding-bottom: 0.005em;
126
+ color: $emerald;
127
+ padding-bottom: 0.001em;
49
128
  border-bottom: 1px solid lightgray;
50
129
  }
51
130
 
52
131
  a:hover {
53
- color: $dark-green;
54
- border-bottom: 1px solid $dark-green;
132
+ color: darken($emerald, 20%);
133
+ border-bottom: 1px solid darken($emerald, 20%);
55
134
  }
56
135
 
57
136
  h1 {
58
- font-size: $ptsize * pow($scalefactor, 3);
59
- // line-height: 120%;
137
+ font-size: 1em * pow($scalefactor, 3);
138
+ line-height: 1.4;
60
139
  margin-top: 80px;
61
140
  margin-bottom: 40px;
62
- // font-weight: 700;
63
- font-family: $body-font;
141
+ font-family: $font;
64
142
  }
65
143
 
66
144
  h1.title {
67
-
68
145
  a {
69
146
  border: none;
70
147
  color: black;
@@ -72,67 +149,45 @@ h1.title {
72
149
  }
73
150
 
74
151
  h2 {
75
-
76
- color: $green;
77
- font-size: $ptsize * pow($scalefactor, 2);
78
- // line-height: 160%;
152
+ color: $emerald;
153
+ font-size: 1em * pow($scalefactor, 2);
79
154
  margin-top: 60px;
80
155
  margin-bottom: 40px;
81
156
  }
82
157
 
83
158
  h2.subtitle {
84
- // font-weight: 200;
85
- // font-style: italic;
86
- font-size: $ptsize * pow($scalefactor, 2);
87
- // font-family: $body-font;
159
+ font-size: 1em * pow($scalefactor, 2);
88
160
  margin-top: -30px;
89
161
  font-weight: 300;
90
162
  }
91
163
 
92
164
  h3 {
93
- font-size: $ptsize * pow($scalefactor, 1);
94
- // line-height: 150%;
165
+ font-size: 1em * pow($scalefactor, 1);
95
166
  margin-top: 40px;
96
167
  margin-bottom: 20px;
97
168
  }
98
169
 
99
170
  h4 {
100
- font-size: $ptsize * pow($scalefactor, 1);
171
+ font-size: 1em * pow($scalefactor, 1);
101
172
  line-height: 140%;
102
173
  }
103
174
  h5 {
104
- font-size: $ptsize * pow($scalefactor, 1);
175
+ font-size: 1em * pow($scalefactor, 1);
105
176
  letter-spacing: 1px;
106
177
  text-transform: uppercase;
107
- // line-height: 140%;
108
178
  }
109
179
  h6 {
110
- font-size: $ptsize;
180
+ font-size: 1em;
111
181
  letter-spacing: 2px;
112
182
  text-transform: uppercase;
113
- // line-height: 140%;
114
- }
115
-
116
- p {
117
- color: rgb(68, 68, 68);
118
- font-size: $ptsize;
119
- font-weight: 400;
120
- line-height: 1.6;
121
- margin-top: 40px;
122
- margin-bottom: 40px;
123
183
  }
124
184
 
125
185
  ul,
186
+ li,
126
187
  ol,
127
188
  dl {
128
189
  line-height: 200%;
129
- font-size: 20px;
130
- }
131
- body {
132
- font-family: $body-font;
133
- margin: 0;
134
- width: 100%;
135
- background-color: white;
190
+ font-size: 1em;
136
191
  }
137
192
 
138
193
  img,
@@ -146,25 +201,10 @@ figure {
146
201
  iframe {
147
202
  width: 100%;
148
203
  }
149
- .container {
150
- background-color: white;
151
- margin: 2em auto 2em auto;
152
- padding: 0 2em 0 2em;
153
- max-width: 760px;
154
- @include sm {
155
- margin: 2em auto 2em auto;
156
- padding: 0 2em 0 2em;
157
- }
158
- @include xl {
159
- margin: 8em auto 8em auto;
160
- }
161
- }
162
204
 
163
205
  nav {
164
206
  margin-top: 40px;
165
207
  margin-bottom: 40px;
166
- font-family: $display-font;
167
- font-size: $ptsize;
168
208
 
169
209
  a {
170
210
  color: black;
@@ -174,15 +214,15 @@ nav {
174
214
  border-bottom: none;
175
215
  padding-bottom: 0.3em;
176
216
  }
177
- a: hover {
217
+ a:hover {
178
218
  text-decoration: none !important;
179
219
  padding-bottom: 0.3em;
180
220
  }
181
221
  a.active {
182
222
  text-decoration: none;
183
- color: $green;
223
+ color: $emerald;
184
224
  padding-bottom: 0.3em;
185
- border-bottom: 1px solid $green;
225
+ border-bottom: 1px solid $emerald;
186
226
  }
187
227
  }
188
228
 
@@ -204,7 +244,7 @@ nav {
204
244
 
205
245
  table {
206
246
  text-align: left;
207
- font-size: $ptsize;
247
+ font-size: 1em;
208
248
 
209
249
  caption {
210
250
  text-align: left;
@@ -217,9 +257,9 @@ li {
217
257
  }
218
258
 
219
259
  blockquote {
220
- font-family: $body-font;
260
+ font-family: $font;
221
261
  color: black;
222
- font-size: $ptsize * pow($scalefactor, 1);
262
+ font-size: 1em * pow($scalefactor, 1);
223
263
  // font-style: italic;
224
264
  line-height: 140%;
225
265
  margin-top: 40px;
@@ -241,11 +281,11 @@ kbd {
241
281
  }
242
282
 
243
283
  pre {
244
- font-size: $ptsize;
284
+ font-size: 1em;
245
285
  }
246
286
 
247
287
  cite {
248
- font-family: $body-font;
288
+ font-family: $font;
249
289
  font-style: normal;
250
290
  }
251
291
 
@@ -255,10 +295,8 @@ hr {
255
295
  background-color: lightgray;
256
296
  }
257
297
 
258
-
259
298
  footer {
260
299
  margin-top: 80px;
261
- font-size: $ptsize/1.2;
262
300
  margin-bottom: 160px;
263
301
  color: grey;
264
302
 
@@ -269,14 +307,13 @@ footer {
269
307
  }
270
308
 
271
309
  figcaption {
272
- font-family: $display-font;
310
+ font-family: $font;
273
311
  margin-top: 10px;
274
312
  color: grey;
275
313
  text-align: center;
276
314
  }
277
315
 
278
316
  .meta {
279
- font-family: $body-font;
280
317
  margin-top: -20px;
281
318
  margin-bottom: 40px;
282
319
  p {
@@ -289,16 +326,32 @@ figcaption {
289
326
  }
290
327
 
291
328
  .kicker {
292
- font-family: $display-font;
293
329
  color: grey;
294
330
  margin-top: 80px;
295
331
  margin-bottom: -70px;
296
332
  text-transform: none;
297
- letter-spacing: 0;
333
+ letter-spacing: 2;
298
334
  font-weight: 400;
299
335
  text-transform: uppercase;
300
336
  }
301
337
 
302
- strong, b {
338
+ strong,
339
+ b {
340
+ font-weight: 700;
303
341
  color: black;
304
- }
342
+ }
343
+
344
+ .gallery-col3 {
345
+ column-count: 3;
346
+ column-gap: 1em;
347
+ }
348
+
349
+ .gallery-col2 {
350
+ column-count: 2;
351
+ column-gap: 1em;
352
+ }
353
+ .gallery-item {
354
+ display: inline-block;
355
+ margin: 0 0 1em;
356
+ width: 100%;
357
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: space-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - '0xf17'
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-13 00:00:00.000000000 Z
11
+ date: 2020-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll