okf-pub-theme 0.2.11 → 0.2.13

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
2
  SHA256:
3
- metadata.gz: 5ace98c5ab916350cd3a6cfba3d8d6783e5fb198843ee96cdbc8d73ac130902d
4
- data.tar.gz: 9a9285464550c73d8eb2cc90d10554de5185a6a0f35e7ed7a8920b8de53aa1a4
3
+ metadata.gz: f8dddffac11a16115a5a9ea26f68c703f90f10dee1eb1349387242516540e039
4
+ data.tar.gz: 07aa2f755dd473cd9b12ae367adae74f82d939ab819a584c3bd776c7a97064af
5
5
  SHA512:
6
- metadata.gz: 75c509c2eb36e65cbcef339c8df24e19fc1f6cf84a5786b16bbcd0c4624f73075d0e8c82fdaeb2ff3a1314d28201634c139301453f1cbda681e8e1054fef4c1e
7
- data.tar.gz: b68bac3b54d15cd447f74803e2648599edc5964ea980736cfe3b28570d7c6eeeb9773fa002e8d11c14bb7f1f12613b606433b39306e49031c81b505a55e2312b
6
+ metadata.gz: 37666939cd45a6bcb62f7c90dfe1b68bb311ef8fe962ef963f328c17cd5450d4ed2d2dddd365a3702071811b058a14a1bc05c336fa98860247c19a6d28884cab
7
+ data.tar.gz: 4e59da1ec8498df1f0c8385259d2e1d82fb09d7d6146005ec1b1ea3a0c36031b3402c0250a313a0ca368fd3fdd5fb60d5d6db9f657a5c2353d0815f39d6e4dbf
@@ -11,7 +11,7 @@
11
11
 
12
12
  {% include outcomes.html %}
13
13
 
14
- {% if page.website %}
14
+ {% if page.problem && page.website %}
15
15
  <section>
16
16
  <div class="chapter__outcomes">
17
17
  <div class="columns chapter__item">
data/_includes/head.html CHANGED
@@ -16,6 +16,8 @@
16
16
  <meta name="msapplication-config" content="/assets/favicon/browserconfig.xml">
17
17
  <meta name="theme-color" content="#ffffff">
18
18
 
19
+ <link rel="canonical" href="{{ site.url }}{{ page.url | replace:'index.html',''}}">
20
+
19
21
  {%- if jekyll.environment == 'production' and site.matomo -%}
20
22
  {%- include matomo.html -%}
21
23
  {%- endif -%}
@@ -22,8 +22,8 @@
22
22
  {% for x in site.chapter.outcomes %}
23
23
  {% if page[x.key] %}
24
24
  <div class="columns chapter__item">
25
- <h3 class="column is-one-third">{{ x.label }}</h3>
26
- <div class="column is-two-thirds no-inner-margin">
25
+ <h3 class="column is-one-quarter">{{ x.label }}</h3>
26
+ <div class="column is-three-quarters no-inner-margin">
27
27
  {{ page[x.key] | markdownify}}
28
28
  </div>
29
29
  </div>
data/_includes/team.html CHANGED
@@ -7,12 +7,13 @@
7
7
  {% assign img_path = person.img %}
8
8
  {% else %}
9
9
  {% assign img_path = person.name | downcase | split: ' ' | join: '' %}
10
- {% endif %}
10
+ {% endif %}</p>
11
+ <p>
11
12
  <img class="team-entry__img"
12
- src="/assets/images/team/{{ img_path }}.jpg"
13
- alt="Bild von {{ person.name }}"></p>
14
- <p><em>{{ person.position }}</em><br>
15
- {{ person.text }}</p>
13
+ src="/assets/images/team/{{ img_path }}.jpg"
14
+ alt="Bild von {{ person.name }}">
15
+ <em>{{ person.position }}</em><br>
16
+ {{ person.text }}</p>
16
17
  </div>
17
18
  {% endfor %}
18
19
  </div>
data/_layouts/home.html CHANGED
@@ -2,12 +2,12 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- <section class="hero is-light is-fullheight" style="{% if site.main_image %}background-image:{{ site.main_image}}{% endif %}">
5
+ <section class="hero is-light is-fullheight" style="{% if site.main_image %}background-image: url({{ site.main_image}}){% endif %}">
6
6
  <div class="hero-body">
7
7
  <div class="container">
8
8
  <div class="colums">
9
9
  <div class="column is-three-quarters-mobile is-two-thirds-tablet is-half-desktop">
10
- <h1 class="title is-spaced is-size-1">
10
+ <h1 class="title is-spaced">
11
11
  {{ site.title }}
12
12
  </h1>
13
13
  <h2 class="subtitle">
data/_sass/_effects.sass CHANGED
@@ -1,7 +1,7 @@
1
1
  .effect-chain
2
2
  list-style: none
3
3
  counter-reset: effects
4
-
4
+ margin-top: 4em
5
5
 
6
6
  $spacing: 0.25rem
7
7
  .effect-chain__link
@@ -21,7 +21,7 @@
21
21
 
22
22
  .effect-chain__sublink
23
23
  margin: 0 0 0 $spacing
24
- padding: 2.2rem 0 5rem 2rem
24
+ padding: 2.2rem 0 1.5rem 2rem
25
25
  border-left: 2px solid $okf-grey-2
26
26
  > li
27
27
  position: relative
data/_sass/_header.sass CHANGED
@@ -47,6 +47,7 @@
47
47
  line-height: 1.5
48
48
  transform: rotate(90deg) translate(10%, -50%)
49
49
  transform-origin: left bottom
50
+ white-space: nowrap
50
51
 
51
52
  .header__toggleble
52
53
  height: 100vh
data/_sass/_helpers.sass CHANGED
@@ -24,3 +24,28 @@
24
24
  vertical-align: sub
25
25
  margin-left: .3em
26
26
  transition: transform 200ms ease
27
+
28
+
29
+ .hero
30
+ .title
31
+ font-size: 2rem
32
+ @media (min-width: $tablet)
33
+ font-size: 3.9rem
34
+
35
+ .download-table
36
+ text-transform: uppercase
37
+ font-size: 1rem
38
+ font-weight: 500
39
+ &:before
40
+ content: ""
41
+ background-image: url(/assets/images/table.svg)
42
+ background-repeat: no-repeat
43
+ width: 1em
44
+ height: 1.2em
45
+ display: inline-block
46
+ vertical-align: sub
47
+ margin-right: 0.5em
48
+ &:active,
49
+ &:hover
50
+ color: $okf-blue
51
+ text-decoration: underline
data/_sass/_main.sass CHANGED
@@ -64,6 +64,7 @@ main
64
64
 
65
65
  h3
66
66
  font-size: $size-5
67
+ margin-top: 1.4em
67
68
 
68
69
  p, ul, ol
69
70
  color: $okf-font-2
data/_sass/team.sass CHANGED
@@ -1,22 +1,15 @@
1
1
  .team
2
2
  & > div
3
- margin-bottom: 10rem
4
-
5
- .team-entry
6
- display: flex
7
- flex-direction: column-reverse
8
- @media (min-width: $desktop)
9
- flex-direction: row
10
- align-items: end
11
- justify-content: space-between
3
+ margin-bottom: 4rem
12
4
 
13
5
 
14
6
  .team-entry__img
7
+ display: inline-block
8
+ margin: 0 0 0.5em 0.6em
9
+ width: 100%
10
+ height: 160px
11
+ float: right
15
12
  object-fit: cover
16
- max-height: 180px
17
13
  @media (min-width: $tablet)
18
- flex: 0 1 200px
19
- max-height: 120px
20
-
21
-
22
- .tema-entry__name
14
+ width: 200px
15
+ height: 120px
@@ -0,0 +1,6 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="13" height="18" viewBox="0 0 13 18">
2
+ <g fill="none" fill-rule="evenodd">
3
+ <path fill="#1900D5" d="M0 0h13v18H0z"/>
4
+ <path fill="#FFF" fill-rule="nonzero" d="M2.737 3.462h2.737v.692H2.737zM2.737 5.538h4.79v.693h-4.79zM8.21 5.538h2.053v.693H8.211zM2.737 13.846h4.79v.692h-4.79zM8.21 13.846h2.053v.692H8.211zM2.737 9.692h7.526v.693H2.737zM5.474 7.615h4.79v.693h-4.79zM2.737 7.615h2.052v.693H2.737zM2.737 11.77h1.368v.692H2.737zM4.79 11.77h5.473v.692H4.79z"/>
5
+ </g>
6
+ </svg>
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.11
4
+ version: 0.2.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - lislis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-28 00:00:00.000000000 Z
11
+ date: 2019-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '2.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: jekyll-sitemap
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '='
60
+ - !ruby/object:Gem::Version
61
+ version: 1.3.1
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '='
67
+ - !ruby/object:Gem::Version
68
+ version: 1.3.1
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: bundler
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -292,6 +306,7 @@ files:
292
306
  - assets/fonts/apercu-regular-pro.woff
293
307
  - assets/fonts/apercu-regular-pro.woff2
294
308
  - assets/images/download.svg
309
+ - assets/images/table.svg
295
310
  - assets/images/team/adrianagroh.jpg
296
311
  homepage: https://github.com/okfde/okf-pub
297
312
  licenses: