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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f0c377290b63185b1739d81ec14b6e30b41075bc8297255d53e2922a51a91069
4
- data.tar.gz: e6e1ce665d3b87b65b2a3b03c0a9937ee68e501301608aece4e6c32150f2b850
3
+ metadata.gz: 1406df3751a93bc92021f9e914ca530f3b1a7f5c3c292c38c87eae134fcbfffe
4
+ data.tar.gz: a8b4bf468350e4ac08022cf898b41fd60aa8c18e7a3c5947a4d8b46ab4f886c4
5
5
  SHA512:
6
- metadata.gz: 0a9045accdf205aa0c653ba6a1c326b2e4786185ce6b27c235a41f2e8a4506519687ac9ffa12f4a727ca935947046aa68ca827d963d6a23284e206ab6c479c8a
7
- data.tar.gz: be851517531a4ee0354807909238c6ab12edc2e16c470e2568cf11c51d6f67663193701a883797f39495e33fbe7440518d46087b3a2b6526b2f0cc3afd06d47e
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
- <h3 class="on">{{ include.title }}</h3>
7
- <div class="off">{{ include.content }}</div>
8
- <span class="on icon {{ include.icon }}"></span>
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: 1em;
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
- h3, p {
37
+ div.on, div.off {
38
+ position: absolute;
38
39
  width: 100%;
39
- text-align: center;
40
- color: _palette(bg);
40
+ padding: 1em;
41
+ top: 50%;
42
+ transform: translateY(-50%);
41
43
  }
42
44
 
43
- h3, .icon, p, div {
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-consulting
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.19
4
+ version: 0.11.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Apehex