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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fc393106dfbf4834a28cd8a2b51fb278658e64ad6af6356561c0e3bfab76adf5
4
- data.tar.gz: e774ffc6f990b590526ff5ffeb296f9303aa63a4c61bd4cdcfb122b2166d8b51
3
+ metadata.gz: 853fa0737369c870d6f9942dac2fb26ca3fc594375457082df91d63d68f70899
4
+ data.tar.gz: ee3816401577f0cb9bf953ccaab79497b39d0c41c45817b8c4a3b6b63f1523e0
5
5
  SHA512:
6
- metadata.gz: 5182dc86a1e6fa2e2723488029f7c84c8c25528a1c1bd332e5a16cd5e6fcae2cd88f4f91f92b3fe8822c10c61032c095427e9092a8af588fe5964e15380e3d1f
7
- data.tar.gz: c8701134ac06e006c7bb025de2303835c761fd699f48580f689ce68725500d6f36b7abf0218217c3a36ec6078116f1e442bb5c03fca8cc4a927c5f8521e992f0
6
+ metadata.gz: 656a5f472ae652eff62295c5d8c661bce2e64fcd39d5be24905c89e8e723215bd099df7bce6052698efcf2f851880fa6349e8ab61d579d4bd0610f60142180a0
7
+ data.tar.gz: 16c91295222c9f6f49d8a7661bf68bce0c1aca47e14723baa6cae78383d8e2a2d2d4730e08b2c04d27515efc9bbcf25391fa1a84d4e678d2cbd2a76c0215010e
@@ -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 on {{ post.date | date: date_format_archive }}</time>{% if post.author %} by {{ site.data.authors[post.author] | default: post.author | escape }}{% endif %}</p>
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 on {{ post.date | date: date_format_archive }}</time>{% if post.author %} by {{ site.data.authors[post.author] | default: post.author | escape }}{% endif %}</p>
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: 65rem;
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
- flex: 0 0 220px;
186
- margin-right: 20px;
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-amethyst
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timo Tijhof