jekyll-theme-consulting 0.11.19 → 0.11.20
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 +9 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1406df3751a93bc92021f9e914ca530f3b1a7f5c3c292c38c87eae134fcbfffe
|
4
|
+
data.tar.gz: a8b4bf468350e4ac08022cf898b41fd60aa8c18e7a3c5947a4d8b46ab4f886c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26daff1285e5598a416fd04de9bebdf5fef935a02d8a796bde95ff4d4acc80a0fccc794b1f3c674b9b3a71cd5953154ddf3ad304bd8e7aa737cac50b203c977e
|
7
|
+
data.tar.gz: 9dd32624db9c1549487c9ecae23401ed6bdf2dd5f3e8b16b6048b7facce73ddf292ae64d3f1f723f4544bb6bf6e3b8c3637f981c1cd49d65b08f3bc971291c95
|
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>
|
@@ -23,7 +23,7 @@
|
|
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
|
|
@@ -34,14 +34,18 @@
|
|
34
34
|
|
35
35
|
background-color: rgba(0,55,88,0.75) !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,
|
45
|
+
h3, p, div, .icon {
|
44
46
|
margin: 0 !important;
|
47
|
+
width: 100%;
|
48
|
+
text-align: center;
|
45
49
|
color: _palette(bg) !important;
|
46
50
|
}
|
47
51
|
|