jekyll-apple 1.0.2 → 1.2

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
- SHA1:
3
- metadata.gz: 9f9c9e346de57750dcfe8d5f933a5b306d4a9b10
4
- data.tar.gz: ff08bab77c9b659d8cb88045c424651db058bd5f
2
+ SHA256:
3
+ metadata.gz: b758787e03dcd4b65a19b6f8da5e2084e17103b715b81365e0e00df169e82261
4
+ data.tar.gz: fd9e2b939054e752d183d04e714db7b1f0c7d306f6c28abdea098459faae5503
5
5
  SHA512:
6
- metadata.gz: 1d04dbd8036339a56ede3efe0a0f67c0b617d0f154a318287c0a7d93d9c44797d204672c8cee3dee3e4ca60ab0b1bc08e78ebf78d9dcfed9dc25734f18248e62
7
- data.tar.gz: 114312e6035804c16d36b8d72637a74d71d4c37384d8f1982aee50cbf6db251c384f9d9674a14b437cc73da490c7476dadd8e06928a4d7847ef939b77d327a37
6
+ metadata.gz: f3fbb620d3da64d9ac8613a35f07aded9b43b16129af77daac11c731b624dfd8243237c902ae89ee62c70541d4773681146a13238d0beeb7412b719d9da95704
7
+ data.tar.gz: c4fd61f871148a62e11f73ef2bdaa73a7e17731350838161eab53d9f9def12a867b9f38b41ae4841c8603fa5b130e84e81cef3e43a943a0200fdf03e657d0dc4
data/README.md CHANGED
@@ -245,7 +245,7 @@ main:
245
245
  - title: "About"
246
246
  url: /about/
247
247
  - title: "GitHub"
248
- url: https://github.com/yous/whiteglass
248
+ url: https://github.com/nullpixel/jekyll-apple
249
249
  ```
250
250
 
251
251
  ### Enabling Google Analytics
data/_sass/apple.scss CHANGED
@@ -8,7 +8,7 @@ $small-font-size: $base-font-size * 0.875 !default;
8
8
  $nav-font-size: 14px !default;
9
9
  $base-line-height: 1.5 !default;
10
10
 
11
- $spacing-unit: 30px !default;
11
+ $spacing-unit: 15px !default;
12
12
 
13
13
  $text-color: #333 !default;
14
14
  $light-text-color: #fff !default;
@@ -26,7 +26,8 @@ $grey-color-dark: darken($grey-color, 25%) !default;
26
26
  $content-width: 980px !default;
27
27
  $on-palm: 692px !default;
28
28
  $on-laptop: 980px !default;
29
-
29
+ $on-medium: 1068px !default;
30
+ $on-small: 735px !default;
30
31
 
31
32
  @mixin media-query($device) {
32
33
  @media screen and (max-width: $device) {
@@ -13,6 +13,11 @@ dl, dd, ol, ul, figure {
13
13
  /**
14
14
  * Basic styling
15
15
  */
16
+ html {
17
+ position: relative;
18
+ min-height: 100%;
19
+ }
20
+
16
21
  body {
17
22
  font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
18
23
  color: $text-color;
@@ -23,6 +28,8 @@ body {
23
28
  -o-font-feature-settings: "kern" 1;
24
29
  font-feature-settings: "kern" 1;
25
30
  font-kerning: normal;
31
+ letter-spacing: -.022em;
32
+ margin-bottom: 60px;
26
33
  }
27
34
 
28
35
 
@@ -178,19 +185,19 @@ pre {
178
185
  * Wrapper
179
186
  */
180
187
  .wrapper {
181
- max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
182
- max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
188
+ width: $content-width;
189
+
183
190
  margin-right: auto;
184
191
  margin-left: auto;
185
- padding-right: $spacing-unit;
186
- padding-left: $spacing-unit;
192
+
187
193
  @extend %clearfix;
188
194
 
189
- @include media-query($on-laptop) {
190
- max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
191
- max-width: calc(#{$content-width} - (#{$spacing-unit}));
192
- padding-right: $spacing-unit / 2;
193
- padding-left: $spacing-unit / 2;
195
+ @include media-query($on-medium) {
196
+ width: 692px;
197
+ }
198
+
199
+ @include media-query($on-small) {
200
+ width: 87.5%;
194
201
  }
195
202
  }
196
203
 
@@ -2,7 +2,9 @@
2
2
  * Site header
3
3
  */
4
4
  .site-header {
5
- min-height: 48px;
5
+ height: 44px;
6
+ line-height: 44px;
7
+
6
8
  background: $dark-background-color;
7
9
  background: rgba(0, 0, 0, 0.8);
8
10
 
@@ -21,17 +23,20 @@
21
23
 
22
24
  .site-title {
23
25
  color: $light-text-color !important;
24
- font-size: 26px;
26
+ font-size: 22px;
25
27
  font-weight: 300;
26
- line-height: 56px;
27
28
  letter-spacing: -1px;
28
29
  margin-bottom: 0;
29
30
  float: left;
31
+
32
+ :hover {
33
+ opacity: $a-hover-opacity;
34
+ text-decoration: none;
35
+ }
30
36
  }
31
37
 
32
38
  .site-nav {
33
39
  float: right;
34
- line-height: 56px;
35
40
  font-size: $nav-font-size;
36
41
 
37
42
  a:hover {
@@ -67,7 +72,12 @@
67
72
  * Site footer
68
73
  */
69
74
  .site-footer {
70
- padding: $spacing-unit 0;
75
+ position: absolute;
76
+ bottom: 0;
77
+ width: 100%;
78
+ height: 20px;
79
+ line-height: 20px;
80
+ padding: 20px 0;
71
81
  font-size: 15px;
72
82
  color: $grey-color;
73
83
  background-color: $footer-background-color;
@@ -80,7 +90,16 @@
80
90
  * Page content
81
91
  */
82
92
  .page-content {
83
- padding: 80px 0;
93
+ //padding: 80px 0;
94
+ padding-top: 50px;
95
+
96
+ @include media-query($on-medium) {
97
+ padding-top: 40px;
98
+ }
99
+
100
+ @include media-query($on-small) {
101
+ padding-top: 30px
102
+ }
84
103
  }
85
104
 
86
105
  .page-heading {
@@ -96,7 +115,7 @@
96
115
  }
97
116
 
98
117
  > li {
99
- margin-bottom: $spacing-unit * 2;
118
+ margin-bottom: $spacing-unit;
100
119
 
101
120
  &:not(:first-child) {
102
121
  border-top: 4px solid $grey-color-light;
@@ -119,8 +138,25 @@
119
138
  }
120
139
 
121
140
  .post-meta {
122
- font-size: $small-font-size;
141
+ font-size: 21px;
142
+ line-height: 1.19048;
143
+ font-weight: 400;
144
+ letter-spacing: .011em;
123
145
  color: $grey-color;
146
+
147
+ margin-top: .4em;
148
+
149
+ @include media-query($on-medium) {
150
+ font-size: 19px;
151
+ line-height: 1.21053;
152
+ letter-spacing: .012em;
153
+ }
154
+
155
+ @include media-query($on-small) {
156
+ font-size: 19px;
157
+ line-height: 1.21053;
158
+ letter-spacing: .012em;
159
+ }
124
160
  }
125
161
 
126
162
  .post-link {
@@ -150,16 +186,38 @@
150
186
  /**
151
187
  * Posts
152
188
  */
189
+ .post {
190
+ margin-left: auto;
191
+ margin-right: auto;
192
+
193
+ width: 100%;
194
+
195
+ @include media-query($on-small) {
196
+ width: 83.33333%;
197
+ }
198
+ }
199
+
153
200
  .post-header {
154
201
  margin-bottom: $spacing-unit;
155
202
  }
156
203
 
157
204
  .post-title {
158
- letter-spacing: -1px;
159
- line-height: 1;
205
+ font-size: 40px;
206
+ line-height: 1.1;
207
+ font-weight: 600;
208
+ letter-spacing: 0em;
209
+ margin-bottom: 0px;
210
+
211
+ @include media-query($on-medium) {
212
+ font-size: 32px;
213
+ line-height: 1.125;
214
+ letter-spacing: .004em;
215
+ }
160
216
 
161
- @include media-query($on-laptop) {
162
- font-size: 36px;
217
+ @include media-query($on-small) {
218
+ font-size: 27px;
219
+ line-height: 1.14815;
220
+ letter-spacing: .008em;
163
221
  }
164
222
  }
165
223
 
@@ -175,10 +233,21 @@
175
233
  }
176
234
 
177
235
  h3 {
178
- font-size: 26px;
236
+ font-size: 24px;
237
+ line-height: 1.16667;
238
+ font-weight: 600;
239
+ letter-spacing: .009em;
179
240
 
180
- @include media-query($on-laptop) {
241
+ @include media-query($on-medium) {
181
242
  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;
182
251
  }
183
252
  }
184
253
 
@@ -186,7 +255,7 @@
186
255
  font-size: 20px;
187
256
 
188
257
  @include media-query($on-laptop) {
189
- font-size: 18px;
258
+ font-size: 22px;
190
259
  }
191
260
  }
192
261
  }
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.0.2
4
+ version: '1.2'
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-07-21 00:00:00.000000000 Z
11
+ date: 2017-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -128,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
128
  version: '0'
129
129
  requirements: []
130
130
  rubyforge_project:
131
- rubygems_version: 2.6.11
131
+ rubygems_version: 2.7.2
132
132
  signing_key:
133
133
  specification_version: 4
134
134
  summary: A minimal, apple style jekyll theme.