panthera-jekyll 1.3.3 → 1.3.4
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 +4 -4
- data/README.md +1 -1
- data/_includes/all-posts.html +10 -8
- data/_includes/header.html +7 -5
- data/_sass/includes/all-posts.scss +7 -4
- data/_sass/includes/header.scss +10 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9901fd714c3d7a3ac57b105b8aa9645e0df295a7e83bec12ad12dc5362bd29f5
|
|
4
|
+
data.tar.gz: d39ff8e9270632607880ed87cf013a497de2c9b773c669fca3fe0cec4f92ce72
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c51dd8a2ffdf6696a44a6d101efa25c8059d0b2ce3e797e11c663830ac3e5418251bb665a120d027e08659a1cd4bc3ba1c51acde7bea52076156dc5dce9dae70
|
|
7
|
+
data.tar.gz: 3de15fa02321f4034aa1e6c0bd576cbb766a4e1a94bf32f0fdbac03d00cbc4743865678dbcaa4c79f631c2e89c7bff2e13f148301a12dbd93589fbbec591bb3d
|
data/README.md
CHANGED
data/_includes/all-posts.html
CHANGED
|
@@ -13,14 +13,16 @@
|
|
|
13
13
|
</div>
|
|
14
14
|
<div class="pan-post-list--right">
|
|
15
15
|
<div class="pan-post-list--content">
|
|
16
|
-
<
|
|
17
|
-
|
|
18
|
-
<
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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
|
+
-
|
|
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 %}
|
data/_includes/header.html
CHANGED
|
@@ -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
|
-
{
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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:
|
|
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(
|
|
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
|
}
|
data/_sass/includes/header.scss
CHANGED
|
@@ -43,11 +43,18 @@
|
|
|
43
43
|
margin-left: 10px;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
a {
|
|
47
|
+
display: inline-block;
|
|
47
48
|
width: 40px;
|
|
48
49
|
height: 40px;
|
|
49
|
-
|
|
50
|
-
|
|
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
|
}
|