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 +4 -4
- data/_includes/post-card.html +1 -1
- data/_sass/tallneck/components/about.scss +13 -4
- data/_sass/tallneck/components/post.scss +1 -1
- data/_sass/tallneck/variables.scss +4 -0
- 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: c0d648a4f3f48ea1d0f1ddfd13d4dcd2bd1569e721f1b1ba342da1ddd528a7c8
|
4
|
+
data.tar.gz: bd4d7480cbf8e44c18a1391650c0d149719ab55574a778e04f77642aea81abeb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 495e1a5df8ac3a3dbab1da5a5351901431f8dd6f7170585680dad719ed4ddd9fa735b9887e4373cd23e7f11e0f90d4736be9b1e6c704071bc3cdd7e12d53b6ee
|
7
|
+
data.tar.gz: fd8ddc27dd8881fbaa0aaa89f5ec5fd95c0862d9e152d8449b96d8e77924ddb886ac4f7c5e15b4271d48424fa897c651f8c32c718b2d26e527650f9694710b1d
|
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;
|
@@ -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;
|