jekyll-theme-isotc211 0.2.2 → 0.2.3
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/_layouts/home.html +11 -1
- data/_layouts/post.html +6 -0
- data/_sass/home.scss +25 -0
- data/_sass/jekyll-theme-isotc211.scss +1 -0
- data/_sass/post.scss +17 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 648b52e3cb050dbc2261025ec9f928a1eb6ebf1b4987845448da7b002b392d1d
|
|
4
|
+
data.tar.gz: 2708bf15dcc00822b810fd4148fe4cd8abc6965d038adb93116d11eae6df1161
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a089f2c6231b93500cb413b42d54753b5203e2267b20e2ea6111425d0be36bd1e8615d36c8fef01b04423240fd28f8d3e33d1dcffe2776cf6a98e403938c5a7d
|
|
7
|
+
data.tar.gz: be82f897bb606168f78a1abc393025e2991ec104d0fde547328bbea2d59c83f79718a757b53ae7d9be5fcdca48aef89b0f07a29c429c6ba64728e7355d5d5061
|
data/_layouts/home.html
CHANGED
|
@@ -13,7 +13,17 @@ bodyClass: home
|
|
|
13
13
|
|
|
14
14
|
<div class="items">
|
|
15
15
|
{% for post in site.posts %}
|
|
16
|
-
|
|
16
|
+
|
|
17
|
+
<article class="
|
|
18
|
+
news-item-card
|
|
19
|
+
{% if post.illustration %}news-item--with-illustration{% endif %}">
|
|
20
|
+
|
|
21
|
+
{% if post.illustration %}
|
|
22
|
+
<div class="illustration-container">
|
|
23
|
+
<img src="{{ post.illustration | relative_url }}">
|
|
24
|
+
</div>
|
|
25
|
+
{% endif %}
|
|
26
|
+
|
|
17
27
|
<h3 class="title"><a href="{{ post.url | relative_url }}">{{ post.title }}</a></h3>
|
|
18
28
|
<div class="excerpt">{{ post.excerpt }}</div>
|
|
19
29
|
</article>
|
data/_layouts/post.html
CHANGED
data/_sass/home.scss
CHANGED
|
@@ -35,6 +35,31 @@ body.home {
|
|
|
35
35
|
background: #fff;
|
|
36
36
|
margin-right: 1em;
|
|
37
37
|
|
|
38
|
+
&.news-item--with-illustration {
|
|
39
|
+
position: relative;
|
|
40
|
+
|
|
41
|
+
.title, .excerpt {
|
|
42
|
+
margin-left: 155px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.illustration-container {
|
|
46
|
+
position: absolute;
|
|
47
|
+
top: 0; left: 0; bottom: 0;
|
|
48
|
+
width: 155px;
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
|
|
51
|
+
img {
|
|
52
|
+
display: block;
|
|
53
|
+
width: 300px;
|
|
54
|
+
height: auto;
|
|
55
|
+
position: absolute;
|
|
56
|
+
top: 50%;
|
|
57
|
+
left: 50%;
|
|
58
|
+
transform: translateY(-50%) translateX(-50%);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
38
63
|
.title {
|
|
39
64
|
font-weight: normal;
|
|
40
65
|
a {
|
data/_sass/post.scss
ADDED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-theme-isotc211
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-03-
|
|
11
|
+
date: 2019-03-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -146,6 +146,7 @@ files:
|
|
|
146
146
|
- _sass/main.scss
|
|
147
147
|
- _sass/normalize.scss
|
|
148
148
|
- _sass/offsets.scss
|
|
149
|
+
- _sass/post.scss
|
|
149
150
|
- assets/logo-iso-noninverted.svg
|
|
150
151
|
- assets/logo-iso.svg
|
|
151
152
|
- assets/logo-ribose.svg
|