jekyll-theme-tallneck 0.2.5 → 0.2.6

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: ebbaf26107ac0b09c6a0f4dea4727e0230e5c0886f885385e2378b0635665fbe
4
- data.tar.gz: 1609c7b3ef22c057c2512ad0152097b3545a9f9442fb7fe446764fbedd6baf3f
3
+ metadata.gz: c0d648a4f3f48ea1d0f1ddfd13d4dcd2bd1569e721f1b1ba342da1ddd528a7c8
4
+ data.tar.gz: bd4d7480cbf8e44c18a1391650c0d149719ab55574a778e04f77642aea81abeb
5
5
  SHA512:
6
- metadata.gz: 76cd346af7117fd2a6f7985bec1a72e6cfc4aaf03da76c15897fce268630c44c9e25a4627de01dea4fce306ca18a28d31723e12f254f73877b9db22dc16e47c1
7
- data.tar.gz: 5d3cdde2e4245936e311849054e3dc7df924d0828eefed97ef08e0b4efc1382eaf88ed6a9d6e62f934f07920195efa288e8977f22d969b23bcd3a3112f25e14e
6
+ metadata.gz: 495e1a5df8ac3a3dbab1da5a5351901431f8dd6f7170585680dad719ed4ddd9fa735b9887e4373cd23e7f11e0f90d4736be9b1e6c704071bc3cdd7e12d53b6ee
7
+ data.tar.gz: fd8ddc27dd8881fbaa0aaa89f5ec5fd95c0862d9e152d8449b96d8e77924ddb886ac4f7c5e15b4271d48424fa897c651f8c32c718b2d26e527650f9694710b1d
@@ -1,7 +1,7 @@
1
1
  <article class="post-card" id="{{ include.post.id }}">
2
2
  <a href="{{ include.post.url | relative_url }}" class="post-card--link post-card--flex">
3
3
  <div class="post-card--image">
4
- <img src="{{ include.post.image | relative_url }}" alt="{{ include.post.title }}" aria-hidden="true">
4
+ <img src="{{ include.post.image | relative_url }}" alt="{{ include.post.title }}" aria-hidden="true" width="900" height="640">
5
5
  </div>
6
6
  <div class="post-card--content">
7
7
  <h2 class="post-card--title">{{ include.post.title }}</h2>
@@ -1,6 +1,12 @@
1
1
  .about {
2
- display: flex;
3
- flex-flow: row wrap;
2
+ display: grid;
3
+ grid-template-columns: minmax($about-img-min-width, $about-img-max-width) 1fr;
4
+ grid-template-rows: auto;
5
+
6
+ @media (max-width: $about-wrap-max-width) {
7
+ grid-template-columns: 1fr;
8
+ }
9
+
4
10
  justify-content: space-between;
5
11
 
6
12
  margin-left: auto;
@@ -14,8 +20,11 @@
14
20
  flex: 1 1 38%;
15
21
  align-self: center;
16
22
 
17
- min-width: 250px;
18
- max-width: 500px;
23
+ width: 100%;
24
+ height: auto;
25
+
26
+ max-width: $about-img-max-width;
27
+ min-width: $about-img-min-width;
19
28
 
20
29
  margin-left: auto;
21
30
  margin-right: auto;
@@ -27,6 +27,10 @@ $card-max-width: 18rem !default;
27
27
  $card-min-width: 16rem !default;
28
28
  $card-min-height: 400px !default;
29
29
 
30
+ $about-img-min-width: 250px !default;
31
+ $about-img-max-width: 400px !default;
32
+ $about-wrap-max-width: 800px !default;
33
+
30
34
  // Colors
31
35
  :root {
32
36
  --background-color: #fff;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-tallneck
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Toniutti