jekyll-theme-tallneck 0.2.4 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ddf02b8f7f6e850a24e993895a48cf3c31d76e43d180773cadfa3bf938cafc8b
4
- data.tar.gz: cfe54b4af2bd40773eb85cb2d6e9f3c98d29630dfef431c9c43db9f474fc456e
3
+ metadata.gz: c0d648a4f3f48ea1d0f1ddfd13d4dcd2bd1569e721f1b1ba342da1ddd528a7c8
4
+ data.tar.gz: bd4d7480cbf8e44c18a1391650c0d149719ab55574a778e04f77642aea81abeb
5
5
  SHA512:
6
- metadata.gz: 7306c8150dde950bb95e4335b8f919921cc7748f60ea4541358281098469dd11899d8f438b68558c7b3f69e5671534d3832fe7cd7ca3e9b4fb344fc942f719da
7
- data.tar.gz: f443a3bfdbc038e23af52d33fdf38dcaf3ce320fd52888307cea23efd29a39f3ebc0eda7e369c871e51c2d903326fe1835321763e4fa2aa0334e33e0168899e7
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;
@@ -47,7 +47,7 @@
47
47
  }
48
48
 
49
49
  img {
50
- max-width: 50%;
50
+ max-height: 500px;
51
51
  height: auto;
52
52
  margin-left: auto;
53
53
  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.4
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Toniutti