jekyll-theme-consulting 0.11.17 → 0.11.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/tile.html +12 -3
- data/_sass/main/components/_tileset.scss +35 -27
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d09869c9cdb800f23a5eb6e8b024b48701de1b37c270048847d641e7569eb8df
|
4
|
+
data.tar.gz: 6db50ca61bfa57d76a712fe5262be67cc20b3b96955bd77f4946422a9873d842
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f2ea2a76139edb57821f04a1db52c751f44f861ed225c03436c6dea132f4edfbfca240098ca9260e1e62fa61fd0f44b2af0806e8b8a00b254df5266bc658af0
|
7
|
+
data.tar.gz: 9055d22babb819a1ff3a815d471dac958e6654e1595353614de44320f4f8bd0a0d8af84b4aa995d414992fef022bef3b5d23de2f63856d764e9a4cfd479dc964
|
data/_includes/tile.html
CHANGED
@@ -3,9 +3,18 @@
|
|
3
3
|
<a href='{{ include.target_url | absolute_url }}'>
|
4
4
|
{%- endif -%}
|
5
5
|
<div class="tile">
|
6
|
-
<
|
7
|
-
|
8
|
-
|
6
|
+
<div class= "on">
|
7
|
+
<h3>{{ include.title }}</h3>
|
8
|
+
<span class="icon {{ include.icon }}"></span>
|
9
|
+
</div>
|
10
|
+
<div class="off">
|
11
|
+
{%- if include.content and include.content != blank and include.content != nil and include.content != "" -%}
|
12
|
+
{{ include.content }}
|
13
|
+
{%- else -%}
|
14
|
+
<h3>{{ include.title }}</h3>
|
15
|
+
<span class="icon {{ include.icon }}"></span>
|
16
|
+
{%- endif -%}
|
17
|
+
</div>
|
9
18
|
</div>
|
10
19
|
{%- if include.target_url -%}
|
11
20
|
</a>
|
@@ -15,7 +15,7 @@
|
|
15
15
|
position: relative;
|
16
16
|
margin: 0;
|
17
17
|
padding: 0;
|
18
|
-
min-height:
|
18
|
+
min-height: 30vh;
|
19
19
|
|
20
20
|
.tile {
|
21
21
|
transition: width 0.4s, height 0.4s, top 0.4s, left 0.4s, background-color 0.4s;
|
@@ -23,36 +23,41 @@
|
|
23
23
|
position: relative;
|
24
24
|
top: 10%;
|
25
25
|
left: 10%;
|
26
|
-
padding:
|
26
|
+
padding: 0;
|
27
27
|
width: 80%;
|
28
28
|
height: 80%;
|
29
29
|
|
30
30
|
border-radius: 0.5rem;
|
31
31
|
border: 0;
|
32
32
|
display: block;
|
33
|
-
|
33
|
+
overflow: hidden;
|
34
34
|
|
35
|
-
background-color:
|
35
|
+
background-color: #336699 !important;
|
36
36
|
|
37
|
-
|
37
|
+
div.on, div.off {
|
38
|
+
position: absolute;
|
38
39
|
width: 100%;
|
39
|
-
|
40
|
-
|
40
|
+
padding: 1em;
|
41
|
+
top: 50%;
|
42
|
+
transform: translateY(-50%);
|
41
43
|
}
|
42
44
|
|
43
|
-
h3, .icon
|
44
|
-
|
45
|
+
h3, p, div, .icon {
|
46
|
+
margin: 0 !important;
|
47
|
+
width: 100%;
|
48
|
+
text-align: center;
|
49
|
+
color: _palette(bg) !important;
|
45
50
|
}
|
46
51
|
|
47
|
-
|
52
|
+
.on {
|
48
53
|
display: block;
|
49
54
|
}
|
50
55
|
|
51
|
-
|
56
|
+
.off {
|
52
57
|
display: none;
|
53
|
-
margin: 0 !important;
|
54
58
|
}
|
55
59
|
|
60
|
+
|
56
61
|
.icon {
|
57
62
|
z-index: 10;
|
58
63
|
width: 100%;
|
@@ -70,10 +75,6 @@
|
|
70
75
|
}
|
71
76
|
|
72
77
|
.tile-container:hover, .tile-container:active {
|
73
|
-
.icon {
|
74
|
-
color: _palette(accent-cp) !important;
|
75
|
-
}
|
76
|
-
|
77
78
|
.tile {
|
78
79
|
top: 0;
|
79
80
|
left: 0;
|
@@ -86,13 +87,12 @@
|
|
86
87
|
color: _palette(accent-cp) !important;
|
87
88
|
}
|
88
89
|
|
89
|
-
|
90
|
+
.on {
|
90
91
|
display: none;
|
91
92
|
}
|
92
93
|
|
93
|
-
|
94
|
+
.off {
|
94
95
|
display: block;
|
95
|
-
margin: 0 !important;
|
96
96
|
}
|
97
97
|
}
|
98
98
|
}
|
@@ -101,13 +101,21 @@
|
|
101
101
|
/* Inverted */
|
102
102
|
|
103
103
|
.inverted .tileset .tile-container {
|
104
|
-
.tile
|
105
|
-
color:
|
106
|
-
}
|
107
|
-
}
|
104
|
+
.tile {
|
105
|
+
background-color: rgba(0,100,140,0.6) !important;
|
108
106
|
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
}
|
107
|
+
h3, p, icon {
|
108
|
+
color: _palette(bg) !important;
|
109
|
+
}
|
110
|
+
}
|
113
111
|
}
|
112
|
+
|
113
|
+
.inverted .tileset .tile-container:hover, .inverted .tileset .tile-container:active {
|
114
|
+
.tile {
|
115
|
+
background-color: _palette(accent) !important;
|
116
|
+
|
117
|
+
h3, p, icon {
|
118
|
+
color: _palette(accent-cp) !important;
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-consulting
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Apehex
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06-
|
11
|
+
date: 2021-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|