okf-pub-theme 0.2.21 → 0.2.22
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/_includes/team.html +15 -15
- data/_layouts/print.html +39 -0
- data/_sass/_print.sass +61 -0
- data/assets/css/style.sass +1 -30
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 75ae124f3baa1f1d5b21eef2168deb854259d8649d07082fa3d8c1a13492edd2
|
|
4
|
+
data.tar.gz: 64d42caac03ce3c52216838c67dc3ed8bf60a629aa28e819fa8cf21121dcdf63
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7ad7fe69be024d286dec06a9bd4798a374f9448b797147b088919a5a909c58cb2885548820387d8bdb8214a781425b454901d27532302a353097c1dd625270fe
|
|
7
|
+
data.tar.gz: 5fd926c104fe6e31c777836a0e4c1c5b64796a6119e9b40f3cb15e4de362d883eb4f267d1cc150555719f35a9fb6dfce2a13484e2819ab43cc85441eca14b9e4
|
data/_includes/team.html
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
<div class="team">
|
|
2
|
-
{% for person in site.data.team %}
|
|
3
|
-
<div>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
{% for person in site.data.team %}
|
|
3
|
+
<div>
|
|
4
|
+
<p class="team-entry">
|
|
5
|
+
<strong class="team-entry__name">{{ person.name }}</strong>
|
|
6
|
+
{% if person.img %}
|
|
7
7
|
{% assign img_path = person.img %}
|
|
8
|
-
|
|
8
|
+
{% else %}
|
|
9
9
|
{% assign img_path = person.name | downcase | split: ' ' | join: '' %}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
</div>
|
|
18
|
-
{% endfor %}
|
|
10
|
+
{% endif %}</p>
|
|
11
|
+
<p>
|
|
12
|
+
<img class="team-entry__img"
|
|
13
|
+
src="/assets/images/team/{{ img_path }}.jpg"
|
|
14
|
+
alt="Bild von {{ person.name }}">
|
|
15
|
+
<em>{{ person.position }}</em><br>
|
|
16
|
+
{{ person.text }}</p>
|
|
17
|
+
</div>
|
|
18
|
+
{% endfor %}
|
|
19
19
|
</div>
|
data/_layouts/print.html
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<div class="print">
|
|
6
|
+
<section class="main__copy column">
|
|
7
|
+
<div class="main__copy__inner">
|
|
8
|
+
{% assign sorted_pages = site.pages | sort:"chapter" %}
|
|
9
|
+
{% for page in sorted_pages %}
|
|
10
|
+
{% if page.layout == 'home' %}
|
|
11
|
+
<h1 class="title is-spaced">
|
|
12
|
+
{{ site.title }}
|
|
13
|
+
</h1>
|
|
14
|
+
<h2 class="subtitle">
|
|
15
|
+
{{ site.description }}
|
|
16
|
+
</h2>
|
|
17
|
+
{% endif %}
|
|
18
|
+
{% endfor %}
|
|
19
|
+
</div>
|
|
20
|
+
</section>
|
|
21
|
+
|
|
22
|
+
{% assign sorted_pages = site.pages | sort:"chapter" %}
|
|
23
|
+
{% for page in sorted_pages %}
|
|
24
|
+
{% if page.layout == 'page' %}
|
|
25
|
+
{% assign frags = page.path | split: "/" %}
|
|
26
|
+
<section>
|
|
27
|
+
<div class="main__copy column">
|
|
28
|
+
<div class="main__copy__inner">
|
|
29
|
+
{% include chapters.html %}
|
|
30
|
+
{% if page.team %}
|
|
31
|
+
{% include team.html %}
|
|
32
|
+
{% endif %}
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</section>
|
|
36
|
+
|
|
37
|
+
{% endif %}
|
|
38
|
+
{% endfor %}
|
|
39
|
+
</div>
|
data/_sass/_print.sass
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
@media print
|
|
2
|
+
body
|
|
3
|
+
background: white
|
|
4
|
+
font-size: 12px
|
|
5
|
+
main
|
|
6
|
+
padding-left: 0 !important
|
|
7
|
+
h1
|
|
8
|
+
page-break-after: avoid
|
|
9
|
+
h2, h3, h4
|
|
10
|
+
page-break-before: avoid
|
|
11
|
+
page-break-after: avoid
|
|
12
|
+
.main__chapter
|
|
13
|
+
page-break-before: always
|
|
14
|
+
.effect-chain__link
|
|
15
|
+
page-break-inside: avoid
|
|
16
|
+
|
|
17
|
+
img
|
|
18
|
+
height: auto
|
|
19
|
+
min-height: 25%
|
|
20
|
+
max-width: 100% !important
|
|
21
|
+
|
|
22
|
+
article
|
|
23
|
+
page-break-before: always
|
|
24
|
+
|
|
25
|
+
ul, img
|
|
26
|
+
page-break-inside: avoid
|
|
27
|
+
|
|
28
|
+
a
|
|
29
|
+
font-weight: bolder
|
|
30
|
+
color: currentColor
|
|
31
|
+
text-decoration: none
|
|
32
|
+
|
|
33
|
+
a[href^=http]:after
|
|
34
|
+
content: " (" attr(href) ")"
|
|
35
|
+
|
|
36
|
+
a[href^="#"]:after
|
|
37
|
+
content: ""
|
|
38
|
+
|
|
39
|
+
.column
|
|
40
|
+
display: block !important
|
|
41
|
+
|
|
42
|
+
.main__copy,
|
|
43
|
+
.main__copy__inner,
|
|
44
|
+
.main__chapter,
|
|
45
|
+
.main__copy__inner
|
|
46
|
+
max-width: 100% !important
|
|
47
|
+
width: 100% !important
|
|
48
|
+
display: block !important
|
|
49
|
+
height: auto !important
|
|
50
|
+
min-height: auto !important
|
|
51
|
+
background-color: none !important
|
|
52
|
+
float: none !important
|
|
53
|
+
font-size: 1rem
|
|
54
|
+
padding-left: 0 !important
|
|
55
|
+
padding-right: 0 !important
|
|
56
|
+
|
|
57
|
+
.header,
|
|
58
|
+
.main__img__vis,
|
|
59
|
+
.main__img__vislist,
|
|
60
|
+
.main__img__img,
|
|
61
|
+
display: none
|
data/assets/css/style.sass
CHANGED
|
@@ -37,33 +37,4 @@ $input-shadow: none
|
|
|
37
37
|
@import "chapter"
|
|
38
38
|
@import "team"
|
|
39
39
|
@import "helpers"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
@media print
|
|
43
|
-
h1
|
|
44
|
-
page-break-before: always
|
|
45
|
-
|
|
46
|
-
h2, h3
|
|
47
|
-
page-break-after: avoid
|
|
48
|
-
|
|
49
|
-
img
|
|
50
|
-
max-width: 100% !important
|
|
51
|
-
|
|
52
|
-
article
|
|
53
|
-
page-break-before: always
|
|
54
|
-
|
|
55
|
-
ul, img
|
|
56
|
-
page-break-inside: avoid
|
|
57
|
-
|
|
58
|
-
article a
|
|
59
|
-
font-weight: bolder
|
|
60
|
-
text-decoration: none
|
|
61
|
-
|
|
62
|
-
article a[href^=http]:after
|
|
63
|
-
content: attr(href)
|
|
64
|
-
|
|
65
|
-
article a[href^="#"]:after
|
|
66
|
-
content: ""
|
|
67
|
-
|
|
68
|
-
.header
|
|
69
|
-
display: none
|
|
40
|
+
@import "print"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: okf-pub-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.22
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- lislis
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-02-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -116,6 +116,7 @@ files:
|
|
|
116
116
|
- _layouts/default.html
|
|
117
117
|
- _layouts/home.html
|
|
118
118
|
- _layouts/page.html
|
|
119
|
+
- _layouts/print.html
|
|
119
120
|
- _sass/_a11y.sass
|
|
120
121
|
- _sass/_bulma-0.7.4/CHANGELOG.md
|
|
121
122
|
- _sass/_bulma-0.7.4/LICENSE
|
|
@@ -177,6 +178,7 @@ files:
|
|
|
177
178
|
- _sass/_header.sass
|
|
178
179
|
- _sass/_helpers.sass
|
|
179
180
|
- _sass/_main.sass
|
|
181
|
+
- _sass/_print.sass
|
|
180
182
|
- _sass/chapter.sass
|
|
181
183
|
- _sass/team.sass
|
|
182
184
|
- assets/css/style.sass
|