jekyll-apple 1.2 → 1.3

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: b758787e03dcd4b65a19b6f8da5e2084e17103b715b81365e0e00df169e82261
4
- data.tar.gz: fd9e2b939054e752d183d04e714db7b1f0c7d306f6c28abdea098459faae5503
3
+ metadata.gz: 37cc5110fb426c9ae5f9b2ecfbe0373e78a383977201664464c8235926b23fbd
4
+ data.tar.gz: 11d18bd30cd4c3f04e32561811a6922fa1584350fb9713c54bef7ad4b9596c96
5
5
  SHA512:
6
- metadata.gz: f3fbb620d3da64d9ac8613a35f07aded9b43b16129af77daac11c731b624dfd8243237c902ae89ee62c70541d4773681146a13238d0beeb7412b719d9da95704
7
- data.tar.gz: c4fd61f871148a62e11f73ef2bdaa73a7e17731350838161eab53d9f9def12a867b9f38b41ae4841c8603fa5b130e84e81cef3e43a943a0200fdf03e657d0dc4
6
+ metadata.gz: 3be85216c1f5dfc80db9e1d75f47e0a6119d99f9b52e8739d39f987637013a3032a06fff14dbd32e2dc12d56396d74733ad6c75710043cc4df202b7097920a88
7
+ data.tar.gz: 9def592ee622f59aaa7eb7b096c9c02c41b793d801783d354534fede3be0037b433930aa87ca8c6817295226adba6133dae3ffee4047081524b5e441f00080f4
@@ -12,6 +12,8 @@ layout: default
12
12
  <p class="post-meta"><time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: "%b %-d, %Y" }}</time>{% if page.author %} • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>{% endif %}</p>
13
13
  </header>
14
14
 
15
+ <hr>
16
+
15
17
  <div class="post-content" itemprop="articleBody">
16
18
  {{ content }}
17
19
  </div>
@@ -1,11 +1,11 @@
1
1
  // Define defaults for each variable.
2
2
  $base-font-family: -apple-system-font, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", Helvetica, Arial, sans-serif !default;
3
- $monospace-font-family: Monaco, Menlo, Consolas, "Courier New", DotumChe, monospace !default;
3
+ $monospace-font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace !default;
4
4
  $base-font-size: 17px !default;
5
5
  $base-font-weight: 400 !default;
6
6
  $heavy-font-weight: 500 !default;
7
7
  $small-font-size: $base-font-size * 0.875 !default;
8
- $nav-font-size: 14px !default;
8
+ $nav-font-size: 16px !default;
9
9
  $base-line-height: 1.5 !default;
10
10
 
11
11
  $spacing-unit: 15px !default;
@@ -44,7 +44,9 @@ ul, ol, dl, figure,
44
44
  margin-bottom: $spacing-unit / 2;
45
45
  }
46
46
 
47
-
47
+ p+h1, ul+h1, ol+h1, p+h2, ul+h2, ol+h2, p+h3, ul+h3, ol+h3, p+h4, ul+h4, ol+h4, p+h5, ul+h5, ol+h5, p+h6, ul+h6, ol+h6 {
48
+ margin-top: 1.4em;
49
+ }
48
50
 
49
51
  /**
50
52
  * Images
@@ -59,12 +61,30 @@ img {
59
61
  /**
60
62
  * Figures
61
63
  */
64
+ figure {
65
+ text-align: center;
66
+ margin-top: 40px;
67
+ margin-bottom: 40px;
68
+ }
69
+
62
70
  figure > img {
71
+ -webkit-backface-visibility: hidden;
72
+ backface-visibility: hidden;
73
+ box-sizing: border-box;
63
74
  display: block;
75
+ max-width: 100%;
76
+ height: auto;
77
+ margin: 0;
64
78
  }
65
79
 
66
80
  figcaption {
67
- font-size: $small-font-size;
81
+ font-size: 17px;
82
+ line-height: 1.52947;
83
+ font-weight: 600;
84
+ letter-spacing: -.021em;
85
+ margin-top: 10px;
86
+ margin-bottom: 15px;
87
+ text-align: left
68
88
  }
69
89
 
70
90
 
@@ -73,7 +93,7 @@ figcaption {
73
93
  * Lists
74
94
  */
75
95
  ul, ol {
76
- margin-left: $spacing-unit;
96
+ margin-left: 1.17647em;
77
97
  }
78
98
 
79
99
  li {
@@ -116,7 +136,7 @@ a {
116
136
 
117
137
  &:hover {
118
138
  color: $text-color;
119
- text-decoration: underline;
139
+ opacity: $a-hover-opacity;
120
140
  }
121
141
  }
122
142
 
@@ -144,10 +164,10 @@ blockquote {
144
164
  * Rules
145
165
  */
146
166
  hr {
147
- height: 4px;
148
- margin: $spacing-unit / 2 0;
149
167
  border: 0;
150
- background-color: $grey-color-light;
168
+ height: 1px;
169
+ background: #d6d6d6;
170
+ margin: 65px 0
151
171
  }
152
172
 
153
173
 
@@ -90,7 +90,6 @@
90
90
  * Page content
91
91
  */
92
92
  .page-content {
93
- //padding: 80px 0;
94
93
  padding-top: 50px;
95
94
 
96
95
  @include media-query($on-medium) {
@@ -115,11 +114,10 @@
115
114
  }
116
115
 
117
116
  > li {
118
- margin-bottom: $spacing-unit;
117
+ padding-bottom: 0;
119
118
 
120
119
  &:not(:first-child) {
121
- border-top: 4px solid $grey-color-light;
122
- padding-top: $spacing-unit * 2;
120
+ padding-top: 50px;
123
121
  }
124
122
  }
125
123
  }
@@ -164,10 +162,6 @@
164
162
  &:visited {
165
163
  color: $text-color;
166
164
  }
167
-
168
- &:hover {
169
- color: $brand-color;
170
- }
171
165
  }
172
166
 
173
167
  .post-continue {
@@ -224,38 +218,53 @@
224
218
  .post-content {
225
219
  margin-bottom: $spacing-unit;
226
220
 
227
- h2 {
221
+ // First paragraph is the lead
222
+ p:first-of-type {
223
+ font-size: 20px;
224
+ line-height: 1.5;
225
+ font-weight: 300;
226
+ letter-spacing: .017em;
227
+ }
228
+
229
+ // Headers
230
+
231
+ h1 {
228
232
  font-size: 32px;
233
+ line-height: 1.09375;
234
+ font-weight: 500;
235
+ letter-spacing: .011em;
229
236
 
230
- @include media-query($on-laptop) {
237
+ @include media-query($on-medium) {
231
238
  font-size: 28px;
239
+ line-height: 1.1073;
240
+ letter-spacing: .012em;
232
241
  }
233
242
  }
234
243
 
235
- h3 {
244
+ h2 {
236
245
  font-size: 24px;
237
- line-height: 1.16667;
238
- font-weight: 600;
239
- letter-spacing: .009em;
246
+ line-height: 1.20849;
247
+ font-weight: 500;
248
+ letter-spacing: .015em;
240
249
 
241
250
  @include media-query($on-medium) {
242
251
  font-size: 22px;
243
- line-height: 1.18182;
244
- letter-spacing: .01em;
245
- }
246
-
247
- @include media-query($on-small) {
248
- font-size: 20px;
249
- line-height: 1.2;
250
- letter-spacing: .011em;
252
+ line-height: 1.22739;
253
+ letter-spacing: .016em;
251
254
  }
252
255
  }
253
256
 
254
- h4 {
257
+ // TODO: Revise h3
258
+ h3 {
255
259
  font-size: 20px;
260
+ line-height: 1.15667;
261
+ font-weight: 500;
262
+ letter-spacing: .016em;
256
263
 
257
- @include media-query($on-laptop) {
258
- font-size: 22px;
264
+ @include media-query($on-medium) {
265
+ font-size: 18px;
266
+ line-height: 1.18182;
267
+ letter-spacing: .02em;
259
268
  }
260
269
  }
261
270
  }
@@ -277,10 +286,6 @@
277
286
  &:visited {
278
287
  color: $grey-color;
279
288
  }
280
-
281
- &:hover {
282
- color: $brand-color;
283
- }
284
289
  }
285
290
 
286
291
  .previous {
@@ -2,6 +2,7 @@
2
2
  * Syntax highlighting styles
3
3
  */
4
4
  .highlight {
5
+ text-align: left;
5
6
  background-color: lighten($grey-color-light, 5%);
6
7
  @extend %vertical-rhythm;
7
8
 
@@ -3,9 +3,9 @@
3
3
  @charset "utf-8";
4
4
 
5
5
  $base-font-family: -apple-system-font, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", Helvetica, Arial, sans-serif;
6
- $monospace-font-family: Monaco, Menlo, Consolas, "Courier New", DotumChe, monospace;
6
+ $monospace-font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace !default;
7
7
  $base-font-size: 17px;
8
- $nav-font-size: 14px;
8
+ $nav-font-size: 16px;
9
9
  $base-font-weight: 400;
10
10
  $heavy-font-weight: 500;
11
11
  $small-font-size:$base-font-size * 0.875;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-apple
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.2'
4
+ version: '1.3'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Bishop
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-29 00:00:00.000000000 Z
11
+ date: 2017-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll