jekyll-apple 1.0.0 → 1.0.1
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 +4 -4
- data/{LICENSE.txt → LICENSE} +1 -1
- data/README.md +0 -30
- data/_sass/apple.scss +1 -8
- data/_sass/apple/_layout.scss +18 -2
- data/assets/main.scss +30 -17
- metadata +3 -18
- data/CHANGELOG.md +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2832073d791c476056f286875ab8424809459cfb
|
4
|
+
data.tar.gz: d8c87f6b10bee8c0b569cce54eab46d46879848c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f89a14e01f8a7972766e87ba2b63f5aaeb2d10b1526f0f779925e006965c4e0b0c8c43982068336421f19944aa27f778c47f6d5faf86b6ab68d3093f4cad9f4e
|
7
|
+
data.tar.gz: 19de16545d05d9b91a5d1d7e934fb7a89dffd30cc3800121bb85227f941bd5acf88c9d45e2e20579b452c8160c7d3f401f6518f21f334b302c1119c4b349c4c8
|
data/{LICENSE.txt → LICENSE}
RENAMED
data/README.md
CHANGED
@@ -51,20 +51,12 @@ gem install jekyll-apple
|
|
51
51
|
``` yaml
|
52
52
|
theme: jekyll-apple
|
53
53
|
gems:
|
54
|
-
- jekyll-archives
|
55
54
|
- jekyll-paginate
|
56
55
|
- jekyll-sitemap
|
57
56
|
|
58
57
|
permalink: /:year/:month/:day/:title/
|
59
58
|
paginate_path: /posts/:num/
|
60
59
|
paginate: 5
|
61
|
-
|
62
|
-
jekyll-archives:
|
63
|
-
enabled:
|
64
|
-
- categories
|
65
|
-
layout: category_archives
|
66
|
-
permalinks:
|
67
|
-
category: /categories/:name/
|
68
60
|
```
|
69
61
|
|
70
62
|
4. Copy
|
@@ -174,26 +166,6 @@ external-url: https://github.com/nullpixel/jekyll-apple
|
|
174
166
|
Then the title of your post would look like a link with text
|
175
167
|
`Jekyll apple theme →`. This also applies to your blog feed.
|
176
168
|
|
177
|
-
### Category
|
178
|
-
|
179
|
-
Each post can have `categories` attribute. It can be a string or an array. This
|
180
|
-
will be displayed on index, archive and each post, and provide a link to the
|
181
|
-
archive of category.
|
182
|
-
|
183
|
-
``` yaml
|
184
|
-
layout: post
|
185
|
-
title: Awesome Post
|
186
|
-
categories: Misc
|
187
|
-
```
|
188
|
-
|
189
|
-
``` yaml
|
190
|
-
layout: post
|
191
|
-
title: Another Awesome Post
|
192
|
-
categories:
|
193
|
-
- Misc
|
194
|
-
- Idea
|
195
|
-
```
|
196
|
-
|
197
169
|
### Feed
|
198
170
|
|
199
171
|
Create `<your-site>/feed.xml` with:
|
@@ -272,8 +244,6 @@ To define header links, add titles and URLs under the `main` key in
|
|
272
244
|
main:
|
273
245
|
- title: "About"
|
274
246
|
url: /about/
|
275
|
-
- title: "Archives"
|
276
|
-
url: /archives/
|
277
247
|
- title: "GitHub"
|
278
248
|
url: https://github.com/yous/whiteglass
|
279
249
|
```
|
data/_sass/apple.scss
CHANGED
@@ -5,6 +5,7 @@ $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
9
|
$base-line-height: 1.5 !default;
|
9
10
|
|
10
11
|
$spacing-unit: 30px !default;
|
@@ -27,14 +28,6 @@ $on-palm: 692px !default;
|
|
27
28
|
$on-laptop: 980px !default;
|
28
29
|
|
29
30
|
|
30
|
-
|
31
|
-
// Use media queries like this:
|
32
|
-
// @include media-query($on-palm) {
|
33
|
-
// .wrapper {
|
34
|
-
// padding-right: $spacing-unit / 2;
|
35
|
-
// padding-left: $spacing-unit / 2;
|
36
|
-
// }
|
37
|
-
// }
|
38
31
|
@mixin media-query($device) {
|
39
32
|
@media screen and (max-width: $device) {
|
40
33
|
@content;
|
data/_sass/apple/_layout.scss
CHANGED
@@ -2,8 +2,18 @@
|
|
2
2
|
* Site header
|
3
3
|
*/
|
4
4
|
.site-header {
|
5
|
-
min-height:
|
6
|
-
background
|
5
|
+
min-height: 48px;
|
6
|
+
background: $dark-background-color;
|
7
|
+
background: rgba(0, 0, 0, 0.8);
|
8
|
+
|
9
|
+
-webkit-user-select: none;
|
10
|
+
-moz-user-select: none;
|
11
|
+
-ms-user-select: none;
|
12
|
+
user-select: none;
|
13
|
+
|
14
|
+
// Fancy affect
|
15
|
+
-webkit-backdrop-filter: saturate(180%) blur(20px);
|
16
|
+
backdrop-filter: saturate(180%) blur(20px);
|
7
17
|
|
8
18
|
// Positioning context for the mobile navigation icon
|
9
19
|
position: relative;
|
@@ -22,6 +32,12 @@
|
|
22
32
|
.site-nav {
|
23
33
|
float: right;
|
24
34
|
line-height: 56px;
|
35
|
+
font-size: $nav-font-size;
|
36
|
+
|
37
|
+
a:hover {
|
38
|
+
opacity: $a-hover-opacity;
|
39
|
+
text-decoration: none;
|
40
|
+
}
|
25
41
|
|
26
42
|
.page-link {
|
27
43
|
color: $light-text-color;
|
data/assets/main.scss
CHANGED
@@ -2,42 +2,55 @@
|
|
2
2
|
---
|
3
3
|
@charset "utf-8";
|
4
4
|
|
5
|
-
// Our variables
|
6
5
|
$base-font-family: -apple-system-font, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
7
6
|
$monospace-font-family: Monaco, Menlo, Consolas, "Courier New", DotumChe, monospace;
|
8
|
-
$base-font-size:
|
7
|
+
$base-font-size: 17px;
|
8
|
+
$nav-font-size: 14px;
|
9
9
|
$base-font-weight: 400;
|
10
|
-
$
|
10
|
+
$heavy-font-weight: 500;
|
11
|
+
$small-font-size:$base-font-size * 0.875;
|
11
12
|
$base-line-height: 1.5;
|
12
13
|
|
13
|
-
$spacing-unit:
|
14
|
+
$spacing-unit: 30px;
|
14
15
|
|
15
|
-
//
|
16
|
-
$
|
16
|
+
// link colours
|
17
|
+
$a-color: #0070c9;
|
18
|
+
$a-hover-opacity: .65;
|
19
|
+
|
20
|
+
// Random Colours
|
21
|
+
$text-color: #333;
|
17
22
|
$light-text-color: #fff;
|
18
|
-
$background-color: #
|
19
|
-
|
23
|
+
$background-color: #fff;
|
24
|
+
|
25
|
+
// Nav & footer colours
|
26
|
+
$dark-background-color: #333;
|
20
27
|
$footer-background-color: #f2f2f2;
|
21
|
-
$brand-color
|
22
|
-
$a-color: #0070c9;
|
28
|
+
$brand-color:#2568ba;
|
23
29
|
|
24
|
-
|
30
|
+
// Grey colours
|
31
|
+
$grey-color: #828282;
|
25
32
|
$grey-color-light: lighten($grey-color, 40%);
|
26
|
-
$grey-color-dark:
|
33
|
+
$grey-color-dark:darken($grey-color, 25%);
|
27
34
|
|
28
35
|
// Width of the content area
|
29
|
-
$content-width:
|
30
|
-
$on-palm:
|
31
|
-
$on-laptop:
|
36
|
+
$content-width:980px;
|
37
|
+
$on-palm:692px;
|
38
|
+
$on-laptop:980px;
|
32
39
|
|
33
40
|
|
41
|
+
|
42
|
+
// Use media queries like this:
|
43
|
+
// @include media-query($on-palm) {
|
44
|
+
// .wrapper {
|
45
|
+
// padding-right: $spacing-unit / 2;
|
46
|
+
// padding-left: $spacing-unit / 2;
|
47
|
+
// }
|
48
|
+
// }
|
34
49
|
@mixin media-query($device) {
|
35
50
|
@media screen and (max-width: $device) {
|
36
51
|
@content;
|
37
52
|
}
|
38
53
|
}
|
39
54
|
|
40
|
-
|
41
|
-
|
42
55
|
// Import partials from the `apple` theme.
|
43
56
|
@import "apple";
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-apple
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jamie Bishop
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3.3'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: jekyll-archives
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '2.1'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '2.1'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: jekyll-paginate
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -101,8 +87,7 @@ executables: []
|
|
101
87
|
extensions: []
|
102
88
|
extra_rdoc_files: []
|
103
89
|
files:
|
104
|
-
-
|
105
|
-
- LICENSE.txt
|
90
|
+
- LICENSE
|
106
91
|
- README.md
|
107
92
|
- _includes/custom_comments_provider.html
|
108
93
|
- _includes/fonts.html
|
@@ -146,5 +131,5 @@ rubyforge_project:
|
|
146
131
|
rubygems_version: 2.6.11
|
147
132
|
signing_key:
|
148
133
|
specification_version: 4
|
149
|
-
summary:
|
134
|
+
summary: A minimal, apple style jekyll theme.
|
150
135
|
test_files: []
|