okf-pub-theme 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 73ba7b45bb64f40bbf9424c77c7c52057e86664a
4
- data.tar.gz: be33a9f87253c8e441f5916c989d1f3229a8e9ae
3
+ metadata.gz: 5cfe4dca1225e80aa71fda31d006ae839a692aa1
4
+ data.tar.gz: 46871f8576c36feb8387dcbcf29417d9b5b3d0ed
5
5
  SHA512:
6
- metadata.gz: fbc12d0ad879b548a2475720c27d2aa29332938b4de824e96d3bad2e06c0f2d5953451d7a7ec5aad28c78fbaab1df8cfcfc769f549efb15b6a72e5b586372ca4
7
- data.tar.gz: 2f2441cd401e7d6a21bb86fd17718d527c7acd4f31deb4b4a552479081dece5b7a43200657867a61a390db230e22539a64e2e80e2db24ecb34a648d40d75fafc
6
+ metadata.gz: 847dfca5414585bb5170d1596e5f21672a88ec825d1428b2f44d114231bf68af7d01c092e608c28c465fa0f07dadfd40c73a4d92d71edaa249e886587ff6535b
7
+ data.tar.gz: e39ddc97cd209089c155ceab94ffda35ce1af442f34719cfc4ee808e96f125f2017942e742984c0ef2bbc48fc5c5d550644acd18e8ab8faab05eebac83323dd3
@@ -7,7 +7,7 @@
7
7
  {% assign collection = page[x.key] %}
8
8
  <ol class="effect__chain">
9
9
  {% for item in collection %}
10
- {% include effect-item.html %}
10
+ {% include effect-item.html %}
11
11
  {% endfor %}
12
12
  </ol>
13
13
  </div>
@@ -1,5 +1,5 @@
1
- <li>
1
+ <li {% if item.claim %}class="effect__claim"{% endif %}>
2
2
  {% if item.title %}<h4>{{ item.title }}</h4>{% endif %}
3
3
  {% if item.text %}<p>{{ item.text }}</p>{% endif %}
4
- {% if item.claim %}<p class="effect__claim"><strong>{{ item.claim }}</strong></p>{% endif %}
4
+ {% if item.claim %}<p><strong>{{ item.claim }}</strong></p>{% endif %}
5
5
  </li>
data/_layouts/home.html CHANGED
@@ -2,7 +2,7 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- <section class="hero is-light is-fullheight" style="{% if site.main_image %}background-image: url({{ site.main_image}}){% endif %}">
5
+ <section class="hero is-light is-fullheight" style="{% if site.main_image %}background-image:{{ site.main_image}}{% endif %}">
6
6
  <div class="hero-body">
7
7
  <div class="container">
8
8
  <div class="colums">
data/_layouts/page.html CHANGED
@@ -12,9 +12,11 @@ layout: default
12
12
  {% endif%}
13
13
 
14
14
  {% if page.visuals %}
15
+ <div class="main__img__vislist">
15
16
  {% for vis in page.visuals %}
16
17
  <img src="{{ vis.img }}" alt="{{ vis.alt }}" class="main__img__vis">
17
18
  {% endfor %}
19
+ </div>
18
20
  {% endif %}
19
21
  </div>
20
22
  <div class="main__copy column is-half">
data/_sass/_effects.sass CHANGED
@@ -4,7 +4,6 @@
4
4
 
5
5
  .effect__chain
6
6
  list-style: none
7
- margin-left: 1rem
8
7
  $spacing: 0.3rem
9
8
  h4
10
9
  margin-bottom: $spacing
@@ -23,13 +22,23 @@
23
22
 
24
23
  p:not(.effect__claim)
25
24
  border-left: 1px solid $okf-grey-2
26
- li:last-of-type
27
- p
28
- border: none
25
+
26
+ li
27
+ margin-left: 1rem
28
+ &:last-of-type
29
+ p
30
+ border: none
31
+ &:only-child
32
+ margin-left: 0
33
+ p
34
+ padding: 0
29
35
 
30
36
  .effect__claim
31
- &::before
32
- content: "🔥"
33
- margin-right: 1rem
34
- margin-left: -1.6rem
35
- margin-right: 0.6rem
37
+ p
38
+ padding-bottom: 1rem
39
+ border: none
40
+ &::before
41
+ content: "🔥"
42
+ margin-right: 1rem
43
+ margin-left: -1.6rem
44
+ margin-right: 0.6rem
data/_sass/_header.sass CHANGED
@@ -44,7 +44,8 @@
44
44
  position: absolute
45
45
  width: 100vh
46
46
  font-size: 1.2rem
47
- transform: rotate(90deg) translate(10%, -40%)
47
+ line-height: 1
48
+ transform: rotate(90deg) translate(10%, -50%)
48
49
  transform-origin: left bottom
49
50
 
50
51
  .header__toggleble
@@ -63,6 +64,7 @@
63
64
  .header__nav
64
65
  flex-grow: 1
65
66
  padding: 1.2em $gap / 2 1em
67
+ overflow-y: scroll
66
68
  li
67
69
  position: relative
68
70
  ol
data/_sass/_main.sass CHANGED
@@ -7,9 +7,8 @@ main
7
7
  padding-left: $column-gap
8
8
  padding-right: 0
9
9
  background-color: $okf-grey-1
10
- .main__img__img
11
- width: 100%
12
- // margin-top: 14.5rem
10
+ position: relative
11
+ z-index: 1
13
12
 
14
13
  .main + .main .main__chapter
15
14
  margin-top: 5rem
@@ -23,17 +22,27 @@ main
23
22
  &:nth-of-type(odd)
24
23
  float: right
25
24
 
25
+ .main__img__vislist,
26
+ .main__img__img
27
+ width: 100%
28
+ @media (min-width: $tablet)
29
+ width: 50%
30
+ position: fixed
31
+
26
32
  .main__copy__inner
33
+ min-height: 100vh
27
34
  max-width: 40rem
28
35
  margin: auto
36
+ //font-size: 1.2rem
29
37
 
30
38
  .main__copy
31
- min-height: 100vh
39
+ position: relative
40
+ z-index: 2
32
41
  padding: 3rem 4em 0em 3em
33
42
  background-color: white
34
43
 
35
44
  div > p:first-child
36
- margin-bottom: 1.8em
45
+ margin-bottom: 1rem
37
46
 
38
47
  .main__chapter
39
48
  margin-bottom: 1.5em
@@ -67,7 +76,7 @@ main
67
76
 
68
77
  ul
69
78
  list-style: bullet
70
- list-style: disc inside
79
+ list-style: disc outside
71
80
  margin: 1em 0
72
81
  padding-left: 2em
73
82
 
data/_sass/chapter.sass CHANGED
@@ -5,13 +5,8 @@
5
5
  h3
6
6
  font-size: 1rem
7
7
  ul
8
- padding-left: 0
9
- list-style: none
10
- li
11
- &:before
12
- content: "-"
13
- margin-right: .3em
14
-
8
+ padding-left: 1rem
9
+ list-style-position: outside
15
10
  .chapter__resources
16
11
 
17
12
  .chapter__item
@@ -23,6 +23,7 @@ $link: $okf-blue
23
23
  $size-1: 3.9rem
24
24
  $footer-background-color: $okf-grey-2
25
25
  $footer-padding: 3rem 2rem 1.5rem
26
+ $body-size: 1.2rem
26
27
 
27
28
  // Update some of Bulma's component variables
28
29
 
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.0
4
+ version: 0.2.1
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-17 00:00:00.000000000 Z
11
+ date: 2019-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll