okf-pub-theme 0.2.19 → 0.2.24

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 782b517707257bad9a749a15c1746cc782bdecdc81fb87a5b88b14e7f2b6c2d3
4
- data.tar.gz: b86678f3d9be2778173fc0484fde6e9a811e01d31ff848d8eec938b5fd975deb
2
+ SHA1:
3
+ metadata.gz: 0f12ebc15125fa9b51c3d6011442f71abf5578be
4
+ data.tar.gz: 6c564a68e30148b7cb4dbd916a06926bb3f99eb0
5
5
  SHA512:
6
- metadata.gz: a4871e7559482260391b9fbb160f197878e0414dc1da6b212d2099a9cc85d29a1d20cf2343bfa2d1f9bfdcbc661924820b7c7fbb2ff838f9a77eabbbf26766ca
7
- data.tar.gz: dc4cc48ef4b4602be2e270ed1db2b7373bfea1db8342d174b29002f101cb25b73f8dd317094ab0249f9d546321a2a6e040493be958363244e7499c329ad0c132
6
+ metadata.gz: 0b91b4afdcfe9373b8de88185a3dff91e7ef0b2291c15360542c83d926f23f11875346a0ccf3d73688df7ed4c816218287a0177312a473533e2191a19307299b
7
+ data.tar.gz: dbe832540bcd63b2d98c5c9ca4f2080a771b6ea704623f41bdbe67507cf53d1f09cfe081f7d2255079220468571fbf67ff744d0e43e8be355306cf1c573424cb
@@ -4,14 +4,14 @@
4
4
  <div class="header__toggle">
5
5
  <a href="#menutoggle" class="toggle burger" title="Menü ausklappen">
6
6
  <svg viewBox="0 0 100 100" width="60px" height="40px" class="toggle__icon">
7
- <title>Hamburger icon</title>
7
+ <title>Menü öffnen</title>
8
8
  <rect x="0" y="38" width="100" height="5" class="toggle__r" />
9
9
  <rect x="0" y="63" width="100" height="5" class="toggle__l" />
10
10
  </svg>
11
11
  </a>
12
12
  <a href="#content" class="toggle cross" title="Menü einklappen">
13
13
  <svg viewBox="0 0 100 100" width="60px" height="40px" class="toggle__icon">
14
- <title>Close icon</title>
14
+ <title>Menü schließen</title>
15
15
  <rect x="0" y="38" width="100" height="5" class="toggle__r" />
16
16
  <rect x="0" y="63" width="100" height="5" class="toggle__l" />
17
17
  </svg>
@@ -7,6 +7,7 @@
7
7
  (function() {
8
8
  var u="{{ site.matomo.url }}";
9
9
  _paq.push(['setTrackerUrl', u+'matomo.php']);
10
+ _paq.push(['disableCookies']);
10
11
  _paq.push(['setSiteId', {{ site.matomo.id }}]);
11
12
  var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
12
13
  g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
@@ -4,7 +4,7 @@
4
4
 
5
5
  {% if page.resources %}
6
6
  <div class="chapter__resources">
7
- <h3>Resourcen</h3>
7
+ <h3>{{ site.chapter.resources }}</h3>
8
8
  {{ page.resources | markdownify }}
9
9
  </div>
10
10
  {% endif %}
@@ -1,19 +1,25 @@
1
1
  <div class="team">
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 %}
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
- {% else %}
8
+ {% else %}
9
9
  {% assign img_path = person.name | downcase | split: ' ' | join: '' %}
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 %}
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
+ {% if person.text != "" %}
17
+ {{ person.text }}
18
+ {% endif %}
19
+ {% if person.bio != "" %}
20
+ {{ person.bio }}
21
+ {% endif %}
22
+ </p>
23
+ </div>
24
+ {% endfor %}
19
25
  </div>
@@ -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>
@@ -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
@@ -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,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: okf-pub-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.19
4
+ version: 0.2.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - lislis
8
+ - OKF
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2019-06-06 00:00:00.000000000 Z
12
+ date: 2020-07-01 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: jekyll
@@ -96,7 +97,7 @@ dependencies:
96
97
  version: '12.0'
97
98
  description:
98
99
  email:
99
- - mail@lislis.de
100
+ - info@okfn.de
100
101
  executables: []
101
102
  extensions: []
102
103
  extra_rdoc_files: []
@@ -116,6 +117,7 @@ files:
116
117
  - _layouts/default.html
117
118
  - _layouts/home.html
118
119
  - _layouts/page.html
120
+ - _layouts/print.html
119
121
  - _sass/_a11y.sass
120
122
  - _sass/_bulma-0.7.4/CHANGELOG.md
121
123
  - _sass/_bulma-0.7.4/LICENSE
@@ -177,6 +179,7 @@ files:
177
179
  - _sass/_header.sass
178
180
  - _sass/_helpers.sass
179
181
  - _sass/_main.sass
182
+ - _sass/_print.sass
180
183
  - _sass/chapter.sass
181
184
  - _sass/team.sass
182
185
  - assets/css/style.sass
@@ -327,7 +330,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
327
330
  - !ruby/object:Gem::Version
328
331
  version: '0'
329
332
  requirements: []
330
- rubygems_version: 3.0.3
333
+ rubyforge_project:
334
+ rubygems_version: 2.5.2.3
331
335
  signing_key:
332
336
  specification_version: 4
333
337
  summary: A Jekyll theme for OKF DE publications