steve-for-jekyll 0.2.0 → 1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +152 -3
- data/_config.yml +30 -11
- data/_includes/blog/custom-widgets.html +3 -0
- data/_includes/blog/post.html +2 -6
- data/_includes/blog/sidebar.html +37 -34
- data/_includes/footer.html +0 -2
- data/_includes/footer/custom-text.html +2 -0
- data/_includes/header.html +1 -1
- data/_includes/search-form.html +3 -7
- data/_layouts/archive.html +3 -7
- data/_layouts/home.html +23 -0
- data/_layouts/post.html +5 -9
- data/_sass/steve/_base.scss +2 -1
- data/_sass/steve/_layout.scss +18 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c51e855c1fb3004217431097199681e09854d74c217f9ef853ea18cd8e1a468b
|
4
|
+
data.tar.gz: 745845b405d92e8fed26ee0a31fcf2d8b3f4ea150c4572e838c37bd84b786478
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 166223275238afedf0f4b9a1e195793df2cf020549325122cef3968029bda8aa8617ea75e331266202b8fd03a478a021e1ccc786083276fcd9a9b07c36e68938
|
7
|
+
data.tar.gz: 1df804482f3eadb8ca485cecfd4d7d7cd67f9da9bfd7636c7c92986842ba3495755a67ff8962828eed153a099eb12da5bc48f0f0ee20ec677eb5954019a6dfd0
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Steve for Jekyll
|
2
2
|
|
3
|
-
Steve is a charming and fun blog theme for [Jekyll](https://jekyllrb.com/), the static site generator. It's developed by [@arthrfrts](https://github.com/arthrfrts) to be used on the [Esporo](https://esporo.net/)
|
3
|
+
Steve is a charming and fun blog theme for [Jekyll](https://jekyllrb.com/), the static site generator. It's developed by [@arthrfrts](https://github.com/arthrfrts) to be used on the [Esporo](https://esporo.net/) websites — but feel free to use it in any project you may find it fitting.
|
4
4
|
|
5
5
|
See it in action on the [demo site](https://esporo.github.io/steve).
|
6
6
|
|
@@ -28,11 +28,160 @@ Or install it yourself as:
|
|
28
28
|
|
29
29
|
## Usage
|
30
30
|
|
31
|
-
|
31
|
+
Steve is made to be used with zero-configuration needed. Even so, you can customize it further with theme settings, style variables, content includes and plugin-specific configurations. We will guide you through each one of those.
|
32
|
+
|
33
|
+
### Theme settings
|
34
|
+
|
35
|
+
Steve's settings are defined in your site's `_config.yml`:
|
36
|
+
|
37
|
+
```yaml
|
38
|
+
steve:
|
39
|
+
intensedebate_account: # get one at <https://intensedebate.com/install>
|
40
|
+
archives: # Prefixes used with archive titles
|
41
|
+
date: Posts from
|
42
|
+
tag: More about…
|
43
|
+
category: Posts filed in
|
44
|
+
date_formats: # Uses <http://strftime.net>
|
45
|
+
post: "%b %e, %Y" # The date format used in the post layout.
|
46
|
+
archives: # The date formats for the archive layout.
|
47
|
+
day: "%b %e, %Y"
|
48
|
+
month: "%b, %Y"
|
49
|
+
year: "%Y"
|
50
|
+
page_404: |+
|
51
|
+
The page you're looking for could not be found.
|
52
|
+
|
53
|
+
Maybe the search can help.
|
54
|
+
pagination: # Strings used in the blog- and post-pagination.
|
55
|
+
next_page: "« Next"
|
56
|
+
prev_page: "Previous »"
|
57
|
+
prev_post: "Previous:"
|
58
|
+
next_post: "Next:"
|
59
|
+
post: # Strings used in the post layout.
|
60
|
+
byline: "By"
|
61
|
+
tags: More about…
|
62
|
+
search: # Strings used in the search form.
|
63
|
+
label: Search this blog
|
64
|
+
placeholder: What you're looking for?
|
65
|
+
submit: Go!
|
66
|
+
```
|
67
|
+
|
68
|
+
The above are the default values that Steve will use. Feel free to change the ones you want. This is useful if you want to localize the theme strings or change the date formats used by the theme.
|
69
|
+
|
70
|
+
### Style variables
|
71
|
+
|
72
|
+
You can change Steve's appearance with a different color scheme or typography setting custom variables. Follow these instructions:
|
73
|
+
|
74
|
+
1. Create a `screen.scss` file in `assets/css`.
|
75
|
+
2. Add the following content:
|
76
|
+
```scss
|
77
|
+
---
|
78
|
+
---
|
79
|
+
|
80
|
+
@import "{{ site.theme }}";
|
81
|
+
```
|
82
|
+
3. Before the `@import` declaration, you can set the following custom SCSS variables:
|
83
|
+
|
84
|
+
```scss
|
85
|
+
/*
|
86
|
+
Color Scheme
|
87
|
+
*/
|
88
|
+
|
89
|
+
$color__background-content: #fff; // posts, pages and sidebar background color.
|
90
|
+
$color__background-body: #e4f0f6; // body background color:
|
91
|
+
$color__text: #000112; // body text color
|
92
|
+
|
93
|
+
$color__link: #4e9dd8; // color for links and accents
|
94
|
+
$color__link-hover: #2361a7; // alternate color for active or focused links and accents
|
95
|
+
|
96
|
+
$color__details: #939496; // color for details such as borders and shadows
|
97
|
+
$color__details-lighter: #f0f1f4; // lighter alternative for details
|
98
|
+
$color__details-darker: #6d6e70; // darker alternative for details
|
99
|
+
|
100
|
+
/*
|
101
|
+
Typography
|
102
|
+
*/
|
103
|
+
|
104
|
+
$font__body: sans-serif; // used for the main, body typography
|
105
|
+
$font__headings: sans-serif; // used for headings and feature elements
|
106
|
+
$font__code: monospace; // used for pre-formatted text and code.
|
107
|
+
|
108
|
+
|
109
|
+
/*
|
110
|
+
Layout
|
111
|
+
*/
|
112
|
+
$layout__container-width: 1180px; // the width of the main content (content + sidebar)
|
113
|
+
$layout__gutter: 2rem ; // the spacing unit between elements.
|
114
|
+
```
|
115
|
+
|
116
|
+
You can change the values to any variable you want. Steve will replace the default values set by the theme with the ones you choose. Be sure that the variable definitions are **above** your `@import "{{ site.theme }}"` declaration.
|
117
|
+
|
118
|
+
### Content includes
|
119
|
+
|
120
|
+
Steve supports two editable areas and three different menus.
|
121
|
+
|
122
|
+
#### Editable areas
|
123
|
+
|
124
|
+
You can add any content you want in your site's sidebar or footer.
|
125
|
+
|
126
|
+
* Create a `custom-widgets.html` file in `_includes/blog/` to add custom content to your site's sidebar.
|
127
|
+
* Create a `custom-text.html` file in `_includes/footer` to add custom content to your site's footer.
|
128
|
+
|
129
|
+
#### Menus
|
130
|
+
|
131
|
+
Steve has three menu positions controlled using [Jekyll data files](https://jekyllrb.com/docs/datafiles/):
|
132
|
+
|
133
|
+
* `_data/menu.yml` — The main menu, above the website content.
|
134
|
+
* `_data/social.yml` — The social menu, in the website sidebar.
|
135
|
+
* `_data/links.yml` — And a third menu at the bottom of your website's footer.
|
136
|
+
|
137
|
+
Create the respective data file for the menu you want to use. Menus are a YAML List with the following structure:
|
138
|
+
|
139
|
+
```yaml
|
140
|
+
- title: "About this site" # The item title
|
141
|
+
url: "/about/" # The item URL or path
|
142
|
+
external: true # Optional, if the link points to an external resource.
|
143
|
+
color: "#336699" # Only on `_data/menu.yml`, the background color of this menu item.
|
144
|
+
icon: "<svg ...>" # Only on `_data/social.yml`, the SVG icon markup for this item -- get one in <https://simpleicons.org>
|
145
|
+
```
|
146
|
+
|
147
|
+
#### Blogrolls
|
148
|
+
|
149
|
+
Blogrolls are linked lists shown in your site's sidebar.Like menus, you can set up as any blogrolls as you want using the `_data/blogroll.yml` data file.
|
150
|
+
|
151
|
+
```yaml
|
152
|
+
- title: Blogroll # The blogroll title shown in the sidebar
|
153
|
+
links: # The list of links in this blogroll
|
154
|
+
- title: Link 1
|
155
|
+
url: "https://example.com"
|
156
|
+
- title: Link 2
|
157
|
+
url: "https://example.net"
|
158
|
+
- title: Link 3
|
159
|
+
url: "https://example.org"
|
160
|
+
- title: Blogroll 2
|
161
|
+
links:
|
162
|
+
- title: Link 1
|
163
|
+
url: "https://example.com"
|
164
|
+
- title: Link 2
|
165
|
+
url: "https://example.net"
|
166
|
+
- title: Link 3
|
167
|
+
url: "https://example.org"
|
168
|
+
```
|
169
|
+
|
170
|
+
### Plugin-specific settings
|
171
|
+
|
172
|
+
Steve uses the following Jekyll plugins to create sitemaps, RSS feeds, archives and much more.
|
173
|
+
|
174
|
+
- [jekyll-feed](https://github.com/jekyll/jekyll-feed) — generates the RSS feed.
|
175
|
+
- [jekyll-seo-map](https://github.com/jekyll/jekyll-seo-tag) — generates site's OpenGraph and SEO meta tags.
|
176
|
+
- [jekyll-sitemap](https://github.com/jekyll/jekyll-sitemap) — generates the XML sitemap.
|
177
|
+
- [jekyll-paginate](https://github.com/jekyll/jekyll-paginate) — paginates the home post list.
|
178
|
+
- [jekyll-archives](https://github.com/jekyll/jekyll-archives) — generates the archives by date, tag and category.
|
179
|
+
|
180
|
+
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.
|
32
181
|
|
33
182
|
## Contributing
|
34
183
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
184
|
+
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.
|
36
185
|
|
37
186
|
## Development
|
38
187
|
|
data/_config.yml
CHANGED
@@ -7,28 +7,47 @@ email: steve-support@esporo.net
|
|
7
7
|
|
8
8
|
lang: en
|
9
9
|
|
10
|
-
url: "https://esporo.github.io"
|
10
|
+
url: "https://esporo.github.io/steve"
|
11
11
|
baseurl: ""
|
12
12
|
|
13
13
|
# Theme settings
|
14
14
|
steve:
|
15
15
|
intensedebate_account: # get one at <https://intensedebate.com/install>
|
16
|
-
|
17
|
-
date:
|
18
|
-
tag:
|
19
|
-
category:
|
20
|
-
date_formats:
|
21
|
-
|
22
|
-
|
23
|
-
|
16
|
+
archives: # Prefixes used with archive titles
|
17
|
+
date: Posts from
|
18
|
+
tag: More about…
|
19
|
+
category: Posts filed in
|
20
|
+
date_formats: # Uses <http://strftime.net>
|
21
|
+
post: "%b %e, %Y"
|
22
|
+
archives:
|
23
|
+
day: "%b %e, %Y"
|
24
|
+
month: "%b, %Y"
|
24
25
|
year: "%Y"
|
25
|
-
|
26
|
+
page_404: |+
|
27
|
+
The page you're looking for could not be found.
|
28
|
+
|
29
|
+
Maybe the search can help.
|
30
|
+
pagination:
|
31
|
+
next_page: "« Next"
|
32
|
+
prev_page: "Previous »"
|
33
|
+
prev_post: "Previous:"
|
34
|
+
next_post: "Next:"
|
35
|
+
post:
|
36
|
+
byline: "By"
|
37
|
+
tags: More about…
|
38
|
+
search:
|
39
|
+
label: Search this blog
|
40
|
+
placeholder: What you're looking for?
|
41
|
+
submit: Go!
|
42
|
+
|
26
43
|
|
27
44
|
# Build settings
|
28
45
|
markdown: kramdown
|
29
46
|
permalink: "/:year/:month/:day/:title/"
|
30
47
|
|
31
|
-
|
48
|
+
theme: steve-for-jekyll
|
49
|
+
|
50
|
+
paginate: 6
|
32
51
|
paginate_path: "/page/:num/"
|
33
52
|
|
34
53
|
plugins:
|
data/_includes/blog/post.html
CHANGED
@@ -1,7 +1,3 @@
|
|
1
|
-
{% assign lang = page.lang | default: site.lang %}
|
2
|
-
|
3
|
-
{% assign locale = site.data.locales[lang] %}
|
4
|
-
|
5
1
|
<article class="content post">
|
6
2
|
<header class="content-header">
|
7
3
|
{% if post.title != "" %}
|
@@ -13,7 +9,7 @@
|
|
13
9
|
<div class="content-meta">
|
14
10
|
<a class="content-date" href="{{ post.url }}" rel="bookmark">
|
15
11
|
<time datetime="{{ post.date | date_to_xmlschema }}">
|
16
|
-
{{ post.date | date:
|
12
|
+
{{ post.date | date: site.steve.date_formats.post }}
|
17
13
|
</time>
|
18
14
|
</a>
|
19
15
|
|
@@ -25,7 +21,7 @@
|
|
25
21
|
{{ author.name }}
|
26
22
|
</a>
|
27
23
|
{% else %}
|
28
|
-
<a class="content-author" href="{{
|
24
|
+
<a class="content-author" href="{{ post.author | prepend: 'https://twitter.com/' }}" rel="author">
|
29
25
|
{{ post.author }}
|
30
26
|
</a>
|
31
27
|
{% endif %}
|
data/_includes/blog/sidebar.html
CHANGED
@@ -1,39 +1,42 @@
|
|
1
|
-
{% assign lang = page.lang | default: site.lang %}
|
2
|
-
|
3
|
-
{% assign locale = site.data.locales[lang] %}
|
4
|
-
|
5
1
|
{% include search-form.html class="widget -search" %}
|
6
2
|
|
7
|
-
|
8
|
-
{%
|
9
|
-
|
10
|
-
{% for link in site.data.social %}
|
11
|
-
<li class="link">
|
12
|
-
<a href="{{ link.url }}" rel="external">
|
13
|
-
{{ link.icon }}
|
14
|
-
</a>
|
15
|
-
</li>
|
16
|
-
{% endfor %}
|
17
|
-
</ul>
|
18
|
-
{% endif %}
|
3
|
+
{% capture custom_widgets %}
|
4
|
+
{% include blog/custom-widgets.html %}
|
5
|
+
{% endcapture %}
|
19
6
|
|
20
|
-
|
21
|
-
{% for blogroll in site.data.blogroll %}
|
22
|
-
<section class="blogroll">
|
23
|
-
<h4 class="blogroll-title">{{ blogroll.title }}</h4>
|
7
|
+
{% assign custom_widgets = custom_widgets | strip | strip_newlines | normalize_whitespace %}
|
24
8
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
9
|
+
{% if site.data.social or site.data.blogroll or custom_widgets != "" %}
|
10
|
+
<aside class="widget -sidebar">
|
11
|
+
{% if site.data.social %}
|
12
|
+
<ul class="social-links">
|
13
|
+
{% for link in site.data.social %}
|
14
|
+
<li class="link">
|
15
|
+
<a href="{{ link.url }}" rel="external">
|
16
|
+
{{ link.icon }}
|
17
|
+
</a>
|
18
|
+
</li>
|
19
|
+
{% endfor %}
|
20
|
+
</ul>
|
21
|
+
{% endif %}
|
22
|
+
{% if site.data.blogroll %}
|
23
|
+
{% for blogroll in site.data.blogroll %}
|
24
|
+
<section class="blogroll">
|
25
|
+
<h4 class="blogroll-title">{{ blogroll.title }}</h4>
|
37
26
|
|
38
|
-
|
39
|
-
|
27
|
+
<ul class="blogroll-list">
|
28
|
+
{% for link in blogroll.links %}
|
29
|
+
<li class="link">
|
30
|
+
<a href="{{ link.url }}" {% if link.external %} rel="external" {% endif %}>
|
31
|
+
{{ link.title }}
|
32
|
+
</a>
|
33
|
+
</li>
|
34
|
+
{% endfor %}
|
35
|
+
</ul>
|
36
|
+
</section>
|
37
|
+
{% endfor %}
|
38
|
+
{% endif %}
|
39
|
+
|
40
|
+
{{ custom_widgets }}
|
41
|
+
</aside>
|
42
|
+
{% endif %}
|
data/_includes/footer.html
CHANGED
data/_includes/header.html
CHANGED
data/_includes/search-form.html
CHANGED
@@ -1,16 +1,12 @@
|
|
1
|
-
{% assign lang = page.lang | default: site.lang %}
|
2
|
-
|
3
|
-
{% assign locale = site.data.locales[lang] %}
|
4
|
-
|
5
1
|
<form action="//duckduckgo.com" method="get" {% if include.class %}class="{{ include.class }}"{% endif %}>
|
6
|
-
<label for="search_terms">{{
|
2
|
+
<label for="search_terms">{{ site.steve.search.label }}</label>
|
7
3
|
|
8
4
|
<div class="search-controls">
|
9
5
|
|
10
|
-
<input id="search_terms" placeholder="{{
|
6
|
+
<input id="search_terms" placeholder="{{ site.steve.search.placeholder }}" type="search" name="q" required />
|
11
7
|
<input type="hidden" name="sites" value="{{ site.url | remove: 'https://' }}" />
|
12
8
|
<button type="submit">
|
13
|
-
{{
|
9
|
+
{{ site.steve.search.submit }}
|
14
10
|
</button>
|
15
11
|
|
16
12
|
</div>
|
data/_layouts/archive.html
CHANGED
@@ -2,19 +2,15 @@
|
|
2
2
|
layout: blog
|
3
3
|
---
|
4
4
|
|
5
|
-
{% assign lang = page.lang | default: site.lang %}
|
6
|
-
|
7
|
-
{% assign locale = site.data.locales[lang] %}
|
8
|
-
|
9
5
|
<header class="archive-header">
|
10
6
|
{% if page.date %}
|
11
7
|
<h1>
|
12
|
-
{{
|
13
|
-
<strong>{{ page.date | date:
|
8
|
+
{{ site.steve.archives.date }}<br />
|
9
|
+
<strong>{{ page.date | date: site.steve.date_formats.archives[page.type] }}</strong>
|
14
10
|
</h1>
|
15
11
|
{% else %}
|
16
12
|
<h1>
|
17
|
-
{{
|
13
|
+
{{ site.steve.archives[page.type] }}<br />
|
18
14
|
<strong>{{ page.title }}</strong>
|
19
15
|
</h1>
|
20
16
|
{% endif %}
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
---
|
2
|
+
layout: blog
|
3
|
+
---
|
4
|
+
|
5
|
+
{% for post in paginator.posts %}
|
6
|
+
{% include blog/post.html %}
|
7
|
+
{% endfor %}
|
8
|
+
|
9
|
+
{% if paginator.total_pages > 1 %}
|
10
|
+
<nav class="content-navigation">
|
11
|
+
{% if paginator.previous_page %}
|
12
|
+
<a class="nav-link prev-link" href="{{ paginator.previous_page_path }}" rel="prev">
|
13
|
+
{{ site.steve.pagination.next_page }}
|
14
|
+
</a>
|
15
|
+
{% endif %}
|
16
|
+
|
17
|
+
{% if paginator.next_page %}
|
18
|
+
<a class="nav-link next-link" href="{{ paginator.next_page_path }}" rel="next">
|
19
|
+
{{ site.steve.pagination.prev_page }}
|
20
|
+
</a>
|
21
|
+
{% endif %}
|
22
|
+
</nav>
|
23
|
+
{% endif %}
|
data/_layouts/post.html
CHANGED
@@ -2,10 +2,6 @@
|
|
2
2
|
layout: blog
|
3
3
|
---
|
4
4
|
|
5
|
-
{% assign lang = page.lang | default: site.lang %}
|
6
|
-
|
7
|
-
{% assign locale = site.data.locales[lang] %}
|
8
|
-
|
9
5
|
<article class="content post">
|
10
6
|
<header class="content-header">
|
11
7
|
{% if page.title != "" %}
|
@@ -17,7 +13,7 @@ layout: blog
|
|
17
13
|
<div class="content-meta">
|
18
14
|
<a class="content-date" href="{{ page.url }}" rel="bookmark">
|
19
15
|
<time datetime="{{ page.date | date_to_xmlschema }}">
|
20
|
-
{{ page.date | date:
|
16
|
+
{{ page.date | date: site.steve.date_formats.post }}
|
21
17
|
</time>
|
22
18
|
</a>
|
23
19
|
|
@@ -29,7 +25,7 @@ layout: blog
|
|
29
25
|
{{ author.name }}
|
30
26
|
</a>
|
31
27
|
{% else %}
|
32
|
-
<a class="content-author" href="{{
|
28
|
+
<a class="content-author" href="{{ page.author | prepend: 'https://twitter.com/' }}" rel="author">
|
33
29
|
{{ page.author }}
|
34
30
|
</a>
|
35
31
|
{% endif %}
|
@@ -49,7 +45,7 @@ layout: blog
|
|
49
45
|
|
50
46
|
{% if page.tags.size > 0 %}
|
51
47
|
<footer class="content-footer">
|
52
|
-
<p>{{
|
48
|
+
<p>{{ site.steve.post.tags }}</p>
|
53
49
|
|
54
50
|
<ul class="content-tags">
|
55
51
|
{% for tag in page.tags %}
|
@@ -82,13 +78,13 @@ layout: blog
|
|
82
78
|
<nav class="content-navigation">
|
83
79
|
{% if page.previous %}
|
84
80
|
<a class="nav-link prev-link" href="{{ page.previous.url }}" rel="prev">
|
85
|
-
{{
|
81
|
+
{{ site.steve.pagination.prev_post }} <strong>{{ page.previous.title }}</strong>
|
86
82
|
</a>
|
87
83
|
{% endif %}
|
88
84
|
|
89
85
|
{% if page.next %}
|
90
86
|
<a class="nav-link next-link" href="{{ page.next.url }}" rel="next">
|
91
|
-
{{
|
87
|
+
{{ site.steve.pagination.next_post }} <strong>{{ page.next.title }}</strong>
|
92
88
|
</a>
|
93
89
|
{% endif %}
|
94
90
|
</nav>
|
data/_sass/steve/_base.scss
CHANGED
data/_sass/steve/_layout.scss
CHANGED
@@ -22,9 +22,14 @@ body {
|
|
22
22
|
margin-bottom: var(--gap);
|
23
23
|
text-align: center;
|
24
24
|
color: var(--color-link);
|
25
|
+
overflow: visible;
|
25
26
|
|
26
27
|
.logo {
|
28
|
+
display: inline-block;
|
27
29
|
max-width: 250px;
|
30
|
+
margin: calc(var(--gap) / 4);
|
31
|
+
box-shadow: none;
|
32
|
+
filter: drop-shadow(0 0 var(--gap) var(--color-details-lighter));
|
28
33
|
}
|
29
34
|
|
30
35
|
&:hover,
|
@@ -71,6 +76,7 @@ body {
|
|
71
76
|
}
|
72
77
|
|
73
78
|
.menu-item {
|
79
|
+
flex: 0 0 auto;
|
74
80
|
color: rgba(255, 255, 255, 0.7);
|
75
81
|
background-color: var(--color-link);
|
76
82
|
border-radius: 1.5rem;
|
@@ -101,6 +107,11 @@ body {
|
|
101
107
|
padding: calc(var(--gap) * 2);
|
102
108
|
margin-bottom: var(--gap);
|
103
109
|
|
110
|
+
@media screen and (max-width: 600px) {
|
111
|
+
padding-left: var(--gap);
|
112
|
+
padding-right: var(--gap);
|
113
|
+
}
|
114
|
+
|
104
115
|
& > *:last-child {
|
105
116
|
margin-bottom: 0;
|
106
117
|
}
|
@@ -132,6 +143,10 @@ body {
|
|
132
143
|
}
|
133
144
|
}
|
134
145
|
|
146
|
+
.content-body > :last-child {
|
147
|
+
margin-bottom: 0;
|
148
|
+
}
|
149
|
+
|
135
150
|
.content-footer {
|
136
151
|
margin-top: var(--gap);
|
137
152
|
font-size: 0.75rem;
|
@@ -195,7 +210,8 @@ body {
|
|
195
210
|
// The Blog Layout
|
196
211
|
.layout-blog,
|
197
212
|
.layout-post,
|
198
|
-
.layout-archive
|
213
|
+
.layout-archive,
|
214
|
+
.layout-home {
|
199
215
|
.container {
|
200
216
|
display: grid;
|
201
217
|
gap: var(--gap);
|
@@ -328,6 +344,7 @@ label[for="search_terms"] {
|
|
328
344
|
.search-controls {
|
329
345
|
display: flex;
|
330
346
|
flex-flow: row nowrap;
|
347
|
+
font-size: 0.75rem;
|
331
348
|
|
332
349
|
input[name="q"] {
|
333
350
|
max-width: 400px;
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: steve-for-jekyll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: '1.0'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arthur Freitas
|
@@ -112,16 +112,16 @@ dependencies:
|
|
112
112
|
name: bundler
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - "
|
115
|
+
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
117
|
+
version: '0'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - "
|
122
|
+
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
124
|
+
version: '0'
|
125
125
|
description:
|
126
126
|
email:
|
127
127
|
- email@arthr.me
|
@@ -145,6 +145,7 @@ files:
|
|
145
145
|
- _layouts/archive.html
|
146
146
|
- _layouts/blog.html
|
147
147
|
- _layouts/default.html
|
148
|
+
- _layouts/home.html
|
148
149
|
- _layouts/page.html
|
149
150
|
- _layouts/post.html
|
150
151
|
- _sass/steve.scss
|