okf-pub-theme 0.2.0 → 0.2.1
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/effect-chains.html +1 -1
- data/_includes/effect-item.html +2 -2
- data/_layouts/home.html +1 -1
- data/_layouts/page.html +2 -0
- data/_sass/_effects.sass +18 -9
- data/_sass/_header.sass +3 -1
- data/_sass/_main.sass +15 -6
- data/_sass/chapter.sass +2 -7
- data/assets/css/style.sass +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5cfe4dca1225e80aa71fda31d006ae839a692aa1
|
|
4
|
+
data.tar.gz: 46871f8576c36feb8387dcbcf29417d9b5b3d0ed
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 847dfca5414585bb5170d1596e5f21672a88ec825d1428b2f44d114231bf68af7d01c092e608c28c465fa0f07dadfd40c73a4d92d71edaa249e886587ff6535b
|
|
7
|
+
data.tar.gz: e39ddc97cd209089c155ceab94ffda35ce1af442f34719cfc4ee808e96f125f2017942e742984c0ef2bbc48fc5c5d550644acd18e8ab8faab05eebac83323dd3
|
data/_includes/effect-item.html
CHANGED
|
@@ -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
|
|
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:
|
|
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
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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
|
-
|
|
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
|
-
|
|
11
|
-
|
|
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
|
-
|
|
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:
|
|
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
|
|
79
|
+
list-style: disc outside
|
|
71
80
|
margin: 1em 0
|
|
72
81
|
padding-left: 2em
|
|
73
82
|
|
data/_sass/chapter.sass
CHANGED
data/assets/css/style.sass
CHANGED
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.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-
|
|
11
|
+
date: 2019-05-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|