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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c56c51de21b72ca25370e443fef8b8fe70c7018
4
- data.tar.gz: 3bcc3204bfb1c2ffaef73f99783085e1225f34e4
3
+ metadata.gz: 2832073d791c476056f286875ab8424809459cfb
4
+ data.tar.gz: d8c87f6b10bee8c0b569cce54eab46d46879848c
5
5
  SHA512:
6
- metadata.gz: 27505cd4f66676a0d149d8f7776b2ffe83e4a9877289750845e1539b15733b8066a002f17f9e508e2746e4fef78e1bb697c86a2a9590b7ff8f8c334ab8b3e8b1
7
- data.tar.gz: 71b8166e09d93cac53de7481c3155a85b08c28b8c8b88eeedeed991254836329cbf8f71ec05543aa174aacf4a1a53c3c157b4eb20596174034afc3328f7f0cb1
6
+ metadata.gz: f89a14e01f8a7972766e87ba2b63f5aaeb2d10b1526f0f779925e006965c4e0b0c8c43982068336421f19944aa27f778c47f6d5faf86b6ab68d3093f4cad9f4e
7
+ data.tar.gz: 19de16545d05d9b91a5d1d7e934fb7a89dffd30cc3800121bb85227f941bd5acf88c9d45e2e20579b452c8160c7d3f401f6518f21f334b302c1119c4b349c4c8
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2017 Chayoung You
3
+ Copyright (c) 2017 Chayoung You & Jamie Bishop
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
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
  ```
@@ -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;
@@ -2,8 +2,18 @@
2
2
  * Site header
3
3
  */
4
4
  .site-header {
5
- min-height: 56px;
6
- background-color: $dark-background-color;
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;
@@ -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: 17px;
7
+ $base-font-size: 17px;
8
+ $nav-font-size: 14px;
9
9
  $base-font-weight: 400;
10
- $small-font-size: $base-font-size * 0.875;
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: 30px;
14
+ $spacing-unit: 30px;
14
15
 
15
- // Colours
16
- $text-color: #111;
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: #fdfdfd;
19
- $dark-background-color: #111;
23
+ $background-color: #fff;
24
+
25
+ // Nav & footer colours
26
+ $dark-background-color: #333;
20
27
  $footer-background-color: #f2f2f2;
21
- $brand-color: #2568ba;
22
- $a-color: #0070c9;
28
+ $brand-color:#2568ba;
23
29
 
24
- $grey-color: #828282;
30
+ // Grey colours
31
+ $grey-color: #828282;
25
32
  $grey-color-light: lighten($grey-color, 40%);
26
- $grey-color-dark: darken($grey-color, 25%);
33
+ $grey-color-dark:darken($grey-color, 25%);
27
34
 
28
35
  // Width of the content area
29
- $content-width: 980px;
30
- $on-palm: 692px;
31
- $on-laptop: 980px;
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.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
- - CHANGELOG.md
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: Minimal, apple style jekyll theme.
134
+ summary: A minimal, apple style jekyll theme.
150
135
  test_files: []
@@ -1,9 +0,0 @@
1
- # ChangeLog
2
-
3
- ## HEAD
4
-
5
- - n/a
6
-
7
- ## 1.0.0
8
-
9
- - Initial release