panthera-jekyll 1.3.3 → 1.3.4

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: b330a3828138ae1ac2b996b6ef776d5d991f19dcaf629ffab0ffc27f8dcfd424
4
- data.tar.gz: 92ba99917e3e285a3e0cde004795390300dc95ab4e4d6bfe958ffa7a7665e49e
3
+ metadata.gz: 9901fd714c3d7a3ac57b105b8aa9645e0df295a7e83bec12ad12dc5362bd29f5
4
+ data.tar.gz: d39ff8e9270632607880ed87cf013a497de2c9b773c669fca3fe0cec4f92ce72
5
5
  SHA512:
6
- metadata.gz: 3c1cc9d3b66c7b65cbccff8a6c6feaa3dd5cc21dd6115baaa8814adb38ce4d89a2955fe057506951c22bf5178f02e5b2928807add6c5492ad70dddefe30f9688
7
- data.tar.gz: 9b91c4ee1ac7ff15fa2692e1714b46cac7ad908b868d61864fa73b6a106a765255d849fa712dd54e3eca94f514438f701e91e9f776ac3f38cc54c2912c52b88b
6
+ metadata.gz: c51dd8a2ffdf6696a44a6d101efa25c8059d0b2ce3e797e11c663830ac3e5418251bb665a120d027e08659a1cd4bc3ba1c51acde7bea52076156dc5dce9dae70
7
+ data.tar.gz: 3de15fa02321f4034aa1e6c0bd576cbb766a4e1a94bf32f0fdbac03d00cbc4743865678dbcaa4c79f631c2e89c7bff2e13f148301a12dbd93589fbbec591bb3d
data/README.md CHANGED
@@ -177,7 +177,7 @@ layout: post
177
177
  title: First Demo Post
178
178
  date: 2020-07-10 13:32:20 +0300
179
179
  description: Post description (optional)
180
- image: image.jpg (optional)
180
+ image: /image.jpg (optional)
181
181
  tags: [Holidays, Hawaii]
182
182
  ---
183
183
 
@@ -13,14 +13,16 @@
13
13
  </div>
14
14
  <div class="pan-post-list--right">
15
15
  <div class="pan-post-list--content">
16
- <h2><a href="{{ post.url | relative_url }}">{{ post.title }}</a></h2>
17
- <p class="info">
18
- <span>{{ post.date | date: '%Y, %b %d' }}</span>
19
- &nbsp;&nbsp; - &nbsp;&nbsp;
20
- <span>{% capture words %}{{ post.content | number_of_words }}{% endcapture %}{% unless words contains "-" %}{{ words | plus: 250 | divided_by: 250 | append: " minute read" }}{% endunless %}</span>
21
- </p>
22
- <p class="desc">{{ post.content | strip_html | truncatewords: 20 }}</p>
23
- </div>
16
+ <div class="pan-post-list--body">
17
+ <h2><a href="{{ post.url | relative_url }}">{{ post.title }}</a></h2>
18
+ <p class="info">
19
+ <span>{{ post.date | date: '%Y, %b %d' }}</span>
20
+ &nbsp;&nbsp; - &nbsp;&nbsp;
21
+ <span>{% capture words %}{{ post.content | number_of_words }}{% endcapture %}{% unless words contains "-" %}{{ words | plus: 250 | divided_by: 250 | append: " minute read" }}{% endunless %}</span>
22
+ </p>
23
+ <p class="desc">{{ post.content | strip_html | truncatewords: 20 }}</p>
24
+ </div>
25
+ </div>
24
26
  </div>
25
27
  </div>
26
28
  {% endfor %}
@@ -7,11 +7,13 @@
7
7
  <div class="pan-layout-header__avatar">
8
8
  <span>{{ site.title | default: site.github.owner_name }}</span>
9
9
 
10
- {% if site.github.owner_gravatar_url %}
11
- <img src="{{ site.avatar | default: site.github.owner_gravatar_url }}" alt="{{ site.title | default: site.github.owner_name }}">
12
- {% else %}
13
- <img src="https://secure.gravatar.com/avatar/?d=mm&r=g&s=40" alt="">
14
- {% endif %}
10
+ <a href="{{ site.baseurl }}">
11
+ {% if site.github.owner_gravatar_url %}
12
+ <img src="{{ site.avatar | default: site.github.owner_gravatar_url }}" alt="{{ site.title | default: site.github.owner_name }}">
13
+ {% else %}
14
+ <img src="https://secure.gravatar.com/avatar/?d=mm&r=g&s=40" alt="">
15
+ {% endif %}
16
+ </a>
15
17
  </div>
16
18
  </div>
17
19
  </section>
@@ -12,11 +12,11 @@
12
12
 
13
13
  --content-top: 0px;
14
14
  --content-transform: none;
15
- --content-height: auto;
15
+ --content-height: 100px;
16
16
  --content-margin: -30px auto 0px auto;
17
17
  --content-shadow: -2px 4px 8px rgba(0, 0, 0, .2);
18
18
 
19
- @media (min-width: pan-device(md)) {
19
+ @media (min-width: pan-device(lg)) {
20
20
  --display: flex;
21
21
 
22
22
  --left-width: 300px;
@@ -28,7 +28,6 @@
28
28
  --content-top: 50%;
29
29
  --content-transform: translateY(-50%);
30
30
  --content-margin: 0px 0px 0px -30px;
31
- --content-height: 140px;
32
31
  }
33
32
 
34
33
  &__item {
@@ -78,11 +77,15 @@
78
77
  border-radius: var(--border-radius) !important;
79
78
  box-shadow: var(--content-shadow) !important;
80
79
  margin: var(--content-margin) !important;
81
- height: var(--content-height) !important;
82
80
  transition: all 0.5s ease-in-out 0s;
83
81
  padding: 20px;
84
82
  }
85
83
 
84
+ &--body {
85
+ overflow: hidden;
86
+ min-height: var(--content-height) !important;
87
+ }
88
+
86
89
  h2 {
87
90
  margin: 0px 0px 5px 0px;
88
91
  }
@@ -43,11 +43,18 @@
43
43
  margin-left: 10px;
44
44
  }
45
45
 
46
- img {
46
+ a {
47
+ display: inline-block;
47
48
  width: 40px;
48
49
  height: 40px;
49
- border-radius: 50%;
50
- vertical-align: middle;
50
+
51
+ > img {
52
+ width: 100%;
53
+ height: 100%;
54
+ border-radius: 50%;
55
+ vertical-align: middle;
56
+ }
51
57
  }
58
+
52
59
  }
53
60
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panthera-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Ezeani