steve-for-jekyll 1.1.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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -0
  3. data/_config.yml +96 -96
  4. data/_sass/steve/_base.scss +269 -237
  5. metadata +17 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6246a08de36fb9468e2d23c3299181e4de4c135867106bfba3fcdb3f7493ce6c
4
- data.tar.gz: 0a693309bcfafb1d1dd96afb24305c22f63f380a3b56158e0145d1a38168a761
3
+ metadata.gz: 4c837ff93e1e9855f712da1f580559ef04530333c4c63e9a3bb37042c6d8cee4
4
+ data.tar.gz: 66c3123e4f2e17afb3b89527c5aa7660e36e7061f957b1d362277634b944f7c8
5
5
  SHA512:
6
- metadata.gz: 41de41edf9e73f0683d15dbdb94dcdd9d4573e27f8683db712c64bd90b2bdc5e772a2c992ad0666b8205a79ace6a45e894b6e9ffff71632134d91cab5a17e42c
7
- data.tar.gz: ac914521940f1cdd6d81c3fa5f75f37e4440e67982453fc2f3f7dc64f9312833a6d02d28f25dbb3ef3f0bf94034c1b3c48fe8b3dca2cafc7174417c28f6becc0
6
+ metadata.gz: d0e4cb6d03cd8f10500dd0b154e5887d122bfd191c738f9831e9b2f74c0d0cd90729fe68bc623c15d7ca5f3be559c2f099e26e395cd7d05d80929e5788e5c3fd
7
+ data.tar.gz: 8d74ce76512ce06fbe249c2b09d793ae1617de1068c35d8fe4290ac6e8c831c0a6e498d39ab20d15b997b27e6f5f2999e9eaf15b4ed37d3a9cec0fe0943fcff7
data/README.md CHANGED
@@ -177,6 +177,7 @@ Steve uses the following Jekyll plugins to create sitemaps, RSS feeds, archives
177
177
  - [jekyll-sitemap](https://github.com/jekyll/jekyll-sitemap) — generates the XML sitemap.
178
178
  - [jekyll-paginate](https://github.com/jekyll/jekyll-paginate) — paginates the home post list.
179
179
  - [jekyll-archives](https://github.com/jekyll/jekyll-archives) — generates the archives by date, tag and category.
180
+ - [jekyll-loading-lazy](https://github.com/gildesmarais/jekyll-loading-lazy) — adds `loading="lazy"` to all images and frames on your pages and posts.
180
181
 
181
182
  While Steve sets initial configurations for these plugins, you may want to change them in your `_config.yml`. Please refer to these plugins documentations for further reading about how to change their config options.
182
183
 
@@ -220,6 +221,7 @@ comments:
220
221
  placeholder: Your comment message
221
222
  submit: Submit Comment
222
223
  ```
224
+
223
225
  ## Contributing
224
226
 
225
227
  Bug reports and pull requests are welcome on GitHub at <https://github.com/esporo/steve>. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
data/_config.yml CHANGED
@@ -1,96 +1,96 @@
1
- # Site info
2
- title: Steve for Jekyll
3
- tagline: Charming and fun blog theme.
4
- description: Steve is a charming and fun blog theme for Jekyll websites.
5
-
6
- email: steve-support@esporo.net
7
-
8
- lang: en
9
-
10
- url: ""
11
- baseurl: "/steve/"
12
-
13
- # Theme settings
14
- steve:
15
- archives: # Prefixes used with archive titles
16
- date: Posts from
17
- tag: More about…
18
- category: Posts filed in
19
- date_formats: # Uses <http://strftime.net>
20
- post: "%b %e, %Y"
21
- archives:
22
- day: "%b %e, %Y"
23
- month: "%b, %Y"
24
- year: "%Y"
25
- page_404: |+
26
- The page you're looking for could not be found.
27
-
28
- Maybe the search can help.
29
- pagination:
30
- next_page: "&laquo; Next"
31
- prev_page: "Previous &raquo;"
32
- prev_post: "Previous:"
33
- next_post: "Next:"
34
- post:
35
- byline: "By"
36
- tags: More about…
37
- search:
38
- label: Search this blog
39
- placeholder: What you're looking for?
40
- submit: Go!
41
-
42
- # Comments Settings
43
- comments:
44
- title: Comments
45
- form_title: New Comment
46
- date_format: "%b %e, %Y @ %l:%M %P"
47
- staticman_endpoint: # Get yours on <https://staticman.net>
48
- notice: |+
49
- Please be nice in the comments.
50
-
51
- Comments are moderated, so it can take a while for your's to show up.
52
-
53
- Also, you can use [Markdown](https://daringfireball.net/projects/markdown).
54
- fields:
55
- name:
56
- label: Name
57
- placeholder: "John Appleseed"
58
- email:
59
- label: Email address
60
- placeholder: "your@email.net"
61
- website:
62
- label: Website
63
- placeholder: "https://john.blog/"
64
- message:
65
- label: Message
66
- placeholder: Your comment message
67
- submit: Submit Comment
68
-
69
-
70
- # Build settings
71
- markdown: kramdown
72
- permalink: "/:year/:month/:day/:title/"
73
-
74
- theme: steve-for-jekyll
75
-
76
- paginate: 6
77
- paginate_path: "/page/:num/"
78
-
79
- plugins:
80
- - jekyll-feed
81
- - jekyll-seo-tag
82
- - jekyll-sitemap
83
- - jekyll-paginate
84
- - jekyll-archives
85
-
86
- # Plugin: jekyll-archives
87
- jekyll-archives:
88
- enabled: all
89
- layout: archive
90
- slug_mode: default
91
- permalinks:
92
- day: "/:year/:month/:day/"
93
- month: "/:year/:month/"
94
- year: "/:year/"
95
- category: "/:name/"
96
- tag: "/tag/:name/"
1
+ # Site info
2
+ title: Steve for Jekyll
3
+ tagline: Charming and fun blog theme.
4
+ description: Steve is a charming and fun blog theme for Jekyll websites.
5
+
6
+ email: steve-support@esporo.net
7
+
8
+ lang: en
9
+
10
+ url: ""
11
+ baseurl: "/steve/"
12
+
13
+ # Theme settings
14
+ steve:
15
+ archives: # Prefixes used with archive titles
16
+ date: Posts from
17
+ tag: More about…
18
+ category: Posts filed in
19
+ date_formats: # Uses <http://strftime.net>
20
+ post: "%b %e, %Y"
21
+ archives:
22
+ day: "%b %e, %Y"
23
+ month: "%b, %Y"
24
+ year: "%Y"
25
+ page_404: |+
26
+ The page you're looking for could not be found.
27
+
28
+ Maybe the search can help.
29
+ pagination:
30
+ next_page: "&laquo; Next"
31
+ prev_page: "Previous &raquo;"
32
+ prev_post: "Previous:"
33
+ next_post: "Next:"
34
+ post:
35
+ byline: "By"
36
+ tags: More about…
37
+ search:
38
+ label: Search this blog
39
+ placeholder: What you're looking for?
40
+ submit: Go!
41
+
42
+ # Comments Settings
43
+ comments:
44
+ title: Comments
45
+ form_title: New Comment
46
+ date_format: "%b %e, %Y @ %l:%M %P"
47
+ staticman_endpoint: # Get yours on <https://staticman.net>
48
+ notice: |+
49
+ Please be nice in the comments.
50
+
51
+ Comments are moderated, so it can take a while for your's to show up.
52
+
53
+ Also, you can use [Markdown](https://daringfireball.net/projects/markdown).
54
+ fields:
55
+ name:
56
+ label: Name
57
+ placeholder: "John Appleseed"
58
+ email:
59
+ label: Email address
60
+ placeholder: "your@email.net"
61
+ website:
62
+ label: Website
63
+ placeholder: "https://john.blog/"
64
+ message:
65
+ label: Message
66
+ placeholder: Your comment message
67
+ submit: Submit Comment
68
+
69
+ # Build settings
70
+ markdown: kramdown
71
+ permalink: "/:year/:month/:day/:title/"
72
+
73
+ theme: steve-for-jekyll
74
+
75
+ paginate: 6
76
+ paginate_path: "/page/:num/"
77
+
78
+ plugins:
79
+ - jekyll-feed
80
+ - jekyll-seo-tag
81
+ - jekyll-sitemap
82
+ - jekyll-paginate
83
+ - jekyll-archives
84
+ - jekyll-loading-lazy
85
+
86
+ # Plugin: jekyll-archives
87
+ jekyll-archives:
88
+ enabled: all
89
+ layout: archive
90
+ slug_mode: default
91
+ permalinks:
92
+ day: "/:year/:month/:day/"
93
+ month: "/:year/:month/"
94
+ year: "/:year/"
95
+ category: "/:name/"
96
+ tag: "/tag/:name/"
@@ -1,237 +1,269 @@
1
- /*
2
- Resets
3
- */
4
-
5
- body,
6
- h1, h2, h3, h4, h5, h6,
7
- p, blockquote, pre, hr,
8
- dl, dd, ol, ul, figure {
9
- margin: 0;
10
- padding: 0;
11
- }
12
-
13
- /*
14
- Basic styling
15
- */
16
-
17
- html {
18
- font-size: 16px;
19
- }
20
-
21
- body {
22
- background-color: var(--color-body);
23
- font-family: var(--font);
24
- line-height: 1.5;
25
- }
26
-
27
- /*
28
- Accessibility helpers
29
- */
30
- .visually-hidden {
31
- position: absolute !important;
32
- height: 1px;
33
- width: 1px;
34
- overflow: hidden;
35
- clip: rect(1px 1px 1px 1px);
36
- clip: rect(1px, 1px, 1px, 1px);
37
- white-space: nowrap;
38
- }
39
-
40
- /*
41
- Text Elements
42
- */
43
-
44
- .content-body {
45
- p, pre, blockquote,
46
- dl, ul, ol,
47
- figure, iframe, table,
48
- .highlight {
49
- margin-bottom: var(--gap);
50
- }
51
- }
52
-
53
- // Links
54
- a {
55
- color: var(--color-link);
56
- text-decoration: none;
57
- transition: color 250ms ease;
58
-
59
- &:hover,
60
- &:focus {
61
- color: var(--color-link-hover);
62
- text-decoration: underline;
63
- }
64
- }
65
-
66
- // Lists
67
- ul, ol {
68
- margin-left: var(--gap);
69
- }
70
-
71
- dl {
72
- dt + dd {
73
- margin-bottom: calc(var(--gap) / 2);
74
- }
75
-
76
- dt + dd + dt {
77
- margin-top: calc(var(--gap) / 2);
78
- }
79
- }
80
-
81
- // Headings
82
- h1, h2, h3, h4, h5, h6 {
83
- line-height: 1.2;
84
- font-family: var(--font-headings);
85
- }
86
-
87
- h1 {
88
- font-size: 2rem;
89
- }
90
-
91
- h2 {
92
- font-size: 1.5rem;
93
- }
94
-
95
- h3 {
96
- font-size: 1.25rem;
97
- }
98
-
99
- h4 {
100
- font-size: 1rem;
101
- }
102
-
103
- h5 {
104
- font-size: 0.875rem;
105
- }
106
-
107
- h6 {
108
- font-size: 0.75rem;
109
- }
110
-
111
- // Code
112
- pre {
113
- max-width: 100%;
114
- overflow-x: auto;
115
- }
116
-
117
- // Media
118
- img, iframe,
119
- video, audio {
120
- max-width: 100%;
121
- border-radius: 3px;
122
- box-shadow: 0 2px 5px var(--color-details);
123
- }
124
-
125
- // Tables
126
- table {
127
- border: 1px solid var(--color-details-lighter);
128
- border-radius: 3px;
129
- border-collapse: collapse;
130
- color: var(--color-details-darker);
131
- width: 100%;
132
-
133
- th, td {
134
- border-bottom: 1px solid var(--color-details-lighter);
135
- padding: calc(var(--gap) / 4);
136
- text-align: left;
137
- }
138
-
139
- th {
140
- background: var(--color-details-lighter);
141
- }
142
- }
143
-
144
- // Quotes
145
-
146
- blockquote {
147
- border-left: 4px solid var(--color-details-lighter);
148
- padding-left: calc(var(--gap) / 2);
149
- padding-top: calc(var(--gap) / 4);
150
- padding-bottom: calc(var(--gap) / 4);
151
- font-style: italic;
152
- color: var(--color-details-darker);
153
-
154
- > :last-child {
155
- margin-bottom: 0;
156
- }
157
- }
158
-
159
- // Horizontal rule
160
- hr {
161
- width: 250px;
162
- height: 3px;
163
- margin: calc(var(--gap) * 2) auto;
164
- background-color: var(--color-details-lighter);
165
- border: none;
166
- border-radius: 3px;
167
- }
168
-
169
- // Forms
170
- input[type="text"],
171
- input[type="email"],
172
- input[type="password"],
173
- input[type="search"],
174
- input[type="tel"],
175
- input[type="number"],
176
- input[type="color"],
177
- input[type="url"],
178
- input[type="button"],
179
- input[type="reset"],
180
- input[type="submit"],
181
- textarea,
182
- button {
183
- -webkit-appearance: none;
184
- -moz-appearance: none;
185
- border: none;
186
- border-radius: 0;
187
- box-shadow: none;
188
- background: var(--color-bg);
189
- padding: 5px;
190
- margin: 0;
191
- font: inherit;
192
- }
193
-
194
- input[type="text"],
195
- input[type="email"],
196
- input[type="password"],
197
- input[type="search"],
198
- input[type="tel"],
199
- input[type="number"],
200
- input[type="color"],
201
- input[type="url"],
202
- textarea {
203
- border-bottom: 3px dashed var(--color-details-lighter);
204
- transition: border-bottom-color 250ms ease;
205
-
206
- &:hover,
207
- &:focus {
208
- outline: none;
209
- border-bottom-color: var(--color-link);
210
- }
211
- }
212
-
213
- input[type="button"],
214
- input[type="reset"],
215
- input[type="submit"],
216
- button {
217
- box-shadow: inset 0 0 0 var(--color-details-lighter);
218
- border-bottom: 3px solid var(--color-details-lighter);
219
- color: var(--color-link);
220
- transition-property: color, box-shadow, border-bottom-color;
221
- transition-duration: 250ms;
222
- transition-timing-function: ease;
223
- padding-left: 10px;
224
- padding-right: 10px;
225
-
226
- &:hover,
227
- &:focus {
228
- cursor: pointer;
229
- box-shadow: inset 0 -2.5em 0 var(--color-link);
230
- border-bottom-color: var(--color-link-hover);
231
- color: var(--color-details-lighter);
232
- }
233
-
234
- &:active {
235
- box-shadow: inset 0 -2.5em 0 var(--color-link-hover);
236
- }
237
- }
1
+ /*
2
+ Resets
3
+ */
4
+
5
+ body,
6
+ h1,
7
+ h2,
8
+ h3,
9
+ h4,
10
+ h5,
11
+ h6,
12
+ p,
13
+ blockquote,
14
+ pre,
15
+ hr,
16
+ dl,
17
+ dd,
18
+ ol,
19
+ ul,
20
+ figure {
21
+ margin: 0;
22
+ padding: 0;
23
+ }
24
+
25
+ /*
26
+ Basic styling
27
+ */
28
+
29
+ html {
30
+ font-size: 16px;
31
+ }
32
+
33
+ body {
34
+ background-color: var(--color-body);
35
+ font-family: var(--font);
36
+ line-height: 1.5;
37
+ }
38
+
39
+ /*
40
+ Accessibility helpers
41
+ */
42
+ .visually-hidden {
43
+ position: absolute !important;
44
+ height: 1px;
45
+ width: 1px;
46
+ overflow: hidden;
47
+ clip: rect(1px 1px 1px 1px);
48
+ clip: rect(1px, 1px, 1px, 1px);
49
+ white-space: nowrap;
50
+ }
51
+
52
+ /*
53
+ Text Elements
54
+ */
55
+
56
+ .content-body {
57
+ p,
58
+ pre,
59
+ blockquote,
60
+ dl,
61
+ ul,
62
+ ol,
63
+ figure,
64
+ iframe,
65
+ table,
66
+ .highlight {
67
+ margin-bottom: var(--gap);
68
+ }
69
+ }
70
+
71
+ // Links
72
+ a {
73
+ color: var(--color-link);
74
+ text-decoration: none;
75
+ transition: color 250ms ease;
76
+
77
+ &:hover,
78
+ &:focus {
79
+ color: var(--color-link-hover);
80
+ text-decoration: underline;
81
+ }
82
+ }
83
+
84
+ // Lists
85
+ ul,
86
+ ol {
87
+ margin-left: var(--gap);
88
+
89
+ ul,
90
+ ol {
91
+ margin-bottom: 0;
92
+ }
93
+ }
94
+
95
+ dl {
96
+ dt + dd {
97
+ margin-bottom: calc(var(--gap) / 2);
98
+ }
99
+
100
+ dt + dd + dt {
101
+ margin-top: calc(var(--gap) / 2);
102
+ }
103
+ }
104
+
105
+ // Headings
106
+ h1,
107
+ h2,
108
+ h3,
109
+ h4,
110
+ h5,
111
+ h6 {
112
+ line-height: 1.2;
113
+ font-family: var(--font-headings);
114
+ }
115
+
116
+ h1 {
117
+ font-size: 2rem;
118
+ }
119
+
120
+ h2 {
121
+ font-size: 1.5rem;
122
+ }
123
+
124
+ h3 {
125
+ font-size: 1.25rem;
126
+ }
127
+
128
+ h4 {
129
+ font-size: 1rem;
130
+ }
131
+
132
+ h5 {
133
+ font-size: 0.875rem;
134
+ }
135
+
136
+ h6 {
137
+ font-size: 0.75rem;
138
+ }
139
+
140
+ // Code
141
+ pre {
142
+ max-width: 100%;
143
+ overflow-x: auto;
144
+ }
145
+
146
+ // Media
147
+ img,
148
+ iframe,
149
+ video,
150
+ audio {
151
+ max-width: 100%;
152
+ border-radius: 3px;
153
+ box-shadow: 0 2px 5px var(--color-details);
154
+ }
155
+
156
+ // Tables
157
+ table {
158
+ border: 1px solid var(--color-details-lighter);
159
+ border-radius: 3px;
160
+ border-collapse: collapse;
161
+ color: var(--color-details-darker);
162
+ width: 100%;
163
+
164
+ th,
165
+ td {
166
+ border-bottom: 1px solid var(--color-details-lighter);
167
+ padding: calc(var(--gap) / 4);
168
+ text-align: left;
169
+ }
170
+
171
+ th {
172
+ background: var(--color-details-lighter);
173
+ }
174
+ }
175
+
176
+ // Quotes
177
+
178
+ blockquote {
179
+ border-left: 4px solid var(--color-details-lighter);
180
+ padding-left: calc(var(--gap) / 2);
181
+ padding-top: calc(var(--gap) / 4);
182
+ padding-bottom: calc(var(--gap) / 4);
183
+ font-style: italic;
184
+ color: var(--color-details-darker);
185
+
186
+ > :last-child {
187
+ margin-bottom: 0;
188
+ }
189
+ }
190
+
191
+ // Horizontal rule
192
+ hr {
193
+ width: 250px;
194
+ height: 3px;
195
+ margin: calc(var(--gap) * 2) auto;
196
+ background-color: var(--color-details-lighter);
197
+ border: none;
198
+ border-radius: 3px;
199
+ }
200
+
201
+ // Forms
202
+ input[type="text"],
203
+ input[type="email"],
204
+ input[type="password"],
205
+ input[type="search"],
206
+ input[type="tel"],
207
+ input[type="number"],
208
+ input[type="color"],
209
+ input[type="url"],
210
+ input[type="button"],
211
+ input[type="reset"],
212
+ input[type="submit"],
213
+ textarea,
214
+ button {
215
+ -webkit-appearance: none;
216
+ -moz-appearance: none;
217
+ border: none;
218
+ border-radius: 0;
219
+ box-shadow: none;
220
+ background: var(--color-bg);
221
+ padding: 5px;
222
+ margin: 0;
223
+ font: inherit;
224
+ }
225
+
226
+ input[type="text"],
227
+ input[type="email"],
228
+ input[type="password"],
229
+ input[type="search"],
230
+ input[type="tel"],
231
+ input[type="number"],
232
+ input[type="color"],
233
+ input[type="url"],
234
+ textarea {
235
+ border-bottom: 3px dashed var(--color-details-lighter);
236
+ transition: border-bottom-color 250ms ease;
237
+
238
+ &:hover,
239
+ &:focus {
240
+ outline: none;
241
+ border-bottom-color: var(--color-link);
242
+ }
243
+ }
244
+
245
+ input[type="button"],
246
+ input[type="reset"],
247
+ input[type="submit"],
248
+ button {
249
+ box-shadow: inset 0 0 0 var(--color-details-lighter);
250
+ border-bottom: 3px solid var(--color-details-lighter);
251
+ color: var(--color-link);
252
+ transition-property: color, box-shadow, border-bottom-color;
253
+ transition-duration: 250ms;
254
+ transition-timing-function: ease;
255
+ padding-left: 10px;
256
+ padding-right: 10px;
257
+
258
+ &:hover,
259
+ &:focus {
260
+ cursor: pointer;
261
+ box-shadow: inset 0 -2.5em 0 var(--color-link);
262
+ border-bottom-color: var(--color-link-hover);
263
+ color: var(--color-details-lighter);
264
+ }
265
+
266
+ &:active {
267
+ box-shadow: inset 0 -2.5em 0 var(--color-link-hover);
268
+ }
269
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: steve-for-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: '1.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arthur Freitas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-14 00:00:00.000000000 Z
11
+ date: 2021-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -108,6 +108,20 @@ dependencies:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: '2.2'
111
+ - !ruby/object:Gem::Dependency
112
+ name: jekyll-loading-lazy
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '0.1'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '0.1'
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: bundler
113
127
  requirement: !ruby/object:Gem::Requirement
@@ -177,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
177
191
  - !ruby/object:Gem::Version
178
192
  version: '0'
179
193
  requirements: []
180
- rubygems_version: 3.2.15
194
+ rubygems_version: 3.2.21
181
195
  signing_key:
182
196
  specification_version: 4
183
197
  summary: A charming and fun Jekyll theme for blogs.