jekyll-theme-tallneck 0.2.5 → 0.2.7

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: ebbaf26107ac0b09c6a0f4dea4727e0230e5c0886f885385e2378b0635665fbe
4
- data.tar.gz: 1609c7b3ef22c057c2512ad0152097b3545a9f9442fb7fe446764fbedd6baf3f
3
+ metadata.gz: 8ac7f40fb695b180cdebe16b9fb4aa90ce7507d19b6710d85ad08468c022c49e
4
+ data.tar.gz: 554a4dc70ed0cf69c3c85feb01b385e9047efe384b7596b8f007d91e4409e1bc
5
5
  SHA512:
6
- metadata.gz: 76cd346af7117fd2a6f7985bec1a72e6cfc4aaf03da76c15897fce268630c44c9e25a4627de01dea4fce306ca18a28d31723e12f254f73877b9db22dc16e47c1
7
- data.tar.gz: 5d3cdde2e4245936e311849054e3dc7df924d0828eefed97ef08e0b4efc1382eaf88ed6a9d6e62f934f07920195efa288e8977f22d969b23bcd3a3112f25e14e
6
+ metadata.gz: 2d37122f58a3a691e552d2cbf49acc7897c0e456344b0640babcba722c1ad052c4f4014f333220debc7c783c0ddbc7c577c43f0aff5bfc72f6d4058d5d0710f6
7
+ data.tar.gz: 456138597b7579250a61ec84180f13d29987e033dd6ef7fce674a80327b0c1a7ce96b2158614405b4a04cec874e2c1172547ea4f9f5ae19e4c2722a2d5e24502
@@ -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;
@@ -34,11 +34,10 @@
34
34
  border: 3px solid transparent;
35
35
  border-image: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary)) 1;
36
36
 
37
- transition: 0.4s;
37
+ transition: 0.4s ease;
38
38
  &:hover {
39
39
  box-shadow: 0 0 10px 0 var(--border-primary);
40
40
  border-image: linear-gradient(45deg, var(--accent-secondary), var(--accent-primary)) 1;
41
- transition: 0.4s;
42
41
  }
43
42
 
44
43
  .post-card--link {
@@ -12,7 +12,7 @@
12
12
  .post-preview {
13
13
  width: 100%;
14
14
 
15
- transition: 0.4s;
15
+ transition: 0.4s ease;
16
16
 
17
17
  padding-left: 1rem;
18
18
  padding-right: 1rem;
@@ -22,7 +22,6 @@
22
22
  &:hover {
23
23
  border-radius: 5px;
24
24
  box-shadow: 0 0 5px 0 var(--border-primary);
25
- transition: 0.4s;
26
25
  }
27
26
 
28
27
  .post-preview--link {
@@ -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.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Toniutti