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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ac7f40fb695b180cdebe16b9fb4aa90ce7507d19b6710d85ad08468c022c49e
|
4
|
+
data.tar.gz: 554a4dc70ed0cf69c3c85feb01b385e9047efe384b7596b8f007d91e4409e1bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d37122f58a3a691e552d2cbf49acc7897c0e456344b0640babcba722c1ad052c4f4014f333220debc7c783c0ddbc7c577c43f0aff5bfc72f6d4058d5d0710f6
|
7
|
+
data.tar.gz: 456138597b7579250a61ec84180f13d29987e033dd6ef7fce674a80327b0c1a7ce96b2158614405b4a04cec874e2c1172547ea4f9f5ae19e4c2722a2d5e24502
|
data/_includes/post-card.html
CHANGED
@@ -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:
|
3
|
-
|
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
|
-
|
18
|
-
|
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;
|