jekyll-theme-amethyst 2.3.0 → 2.3.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/_layouts/posts-year.html +1 -1
- data/_layouts/posts.html +1 -1
- data/_sass/amethyst.scss +7 -6
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 853fa0737369c870d6f9942dac2fb26ca3fc594375457082df91d63d68f70899
|
|
4
|
+
data.tar.gz: ee3816401577f0cb9bf953ccaab79497b39d0c41c45817b8c4a3b6b63f1523e0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 656a5f472ae652eff62295c5d8c661bce2e64fcd39d5be24905c89e8e723215bd099df7bce6052698efcf2f851880fa6349e8ab61d579d4bd0610f60142180a0
|
|
7
|
+
data.tar.gz: 16c91295222c9f6f49d8a7661bf68bce0c1aca47e14723baa6cae78383d8e2a2d2d4730e08b2c04d27515efc9bbcf25391fa1a84d4e678d2cbd2a76c0215010e
|
data/_layouts/posts-year.html
CHANGED
|
@@ -12,7 +12,7 @@ amethyst:
|
|
|
12
12
|
{% for post in posts -%}
|
|
13
13
|
<div class="post-row">
|
|
14
14
|
<h2><a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a></h2>
|
|
15
|
-
<p class="post-meta">Posted
|
|
15
|
+
<p class="post-meta">Posted {{ post.date | date: date_format_archive }}</time>{% if post.author %} by {{ site.data.authors[post.author] | default: post.author | escape }}{% endif %}</p>
|
|
16
16
|
<div class="post">
|
|
17
17
|
<p>{{- post.excerpt | strip_html -}}</p>
|
|
18
18
|
</div>
|
data/_layouts/posts.html
CHANGED
|
@@ -13,7 +13,7 @@ amethyst:
|
|
|
13
13
|
{% for post in posts -%}
|
|
14
14
|
<div class="post-row">
|
|
15
15
|
<h2><a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a></h2>
|
|
16
|
-
<p class="post-meta">Posted
|
|
16
|
+
<p class="post-meta">Posted {{ post.date | date: date_format_archive }}</time>{% if post.author %} by {{ site.data.authors[post.author] | default: post.author | escape }}{% endif %}</p>
|
|
17
17
|
<div class="post">
|
|
18
18
|
<p>{{- post.excerpt | strip_html -}}</p>
|
|
19
19
|
{%- if post.excerpt != post.content -%}
|
data/_sass/amethyst.scss
CHANGED
|
@@ -147,7 +147,7 @@ iframe {
|
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
.wrapper {
|
|
150
|
-
max-width:
|
|
150
|
+
max-width: 1100px;
|
|
151
151
|
margin: 0 auto;
|
|
152
152
|
@media (min-width: $screen-m) {
|
|
153
153
|
padding: 0 $size-spacing;
|
|
@@ -159,12 +159,10 @@ iframe {
|
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
// Allow layouts to have a sidebar
|
|
162
|
-
.sidebar {
|
|
163
|
-
display: none;
|
|
164
|
-
}
|
|
165
162
|
@media (min-width: $screen-m) {
|
|
166
163
|
.main--columns {
|
|
167
164
|
display: flex;
|
|
165
|
+
gap: 20px;
|
|
168
166
|
}
|
|
169
167
|
.content {
|
|
170
168
|
// Take up available space even if the lines of text are short.
|
|
@@ -182,8 +180,11 @@ iframe {
|
|
|
182
180
|
.sidebar {
|
|
183
181
|
order: -1;
|
|
184
182
|
display: block;
|
|
185
|
-
|
|
186
|
-
|
|
183
|
+
// between 185px and 275px
|
|
184
|
+
// =26% of 768px (-2x21px padding, -16px scrollbar)
|
|
185
|
+
// =26% of 1100px (-2x21px padding)
|
|
186
|
+
flex: 0 0 26%;
|
|
187
|
+
background-image: radial-gradient(ellipse at right, $color-light, $color-white 80%);
|
|
187
188
|
}
|
|
188
189
|
}
|
|
189
190
|
|