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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 83cb7733263ea438add3f0caf0f854e0022fe6ea8300f348d34f0619a257d571
4
- data.tar.gz: cbcf062d0e8ba1e4ba03081d08bd566bc5e03399548bbbefeae75e3b06948391
3
+ metadata.gz: d09869c9cdb800f23a5eb6e8b024b48701de1b37c270048847d641e7569eb8df
4
+ data.tar.gz: 6db50ca61bfa57d76a712fe5262be67cc20b3b96955bd77f4946422a9873d842
5
5
  SHA512:
6
- metadata.gz: f754fd5be24c6235e93a2ace94e98572390d161f3806731360c038d069597dbfeb7ebf6d262f89b4f0488e5168a42ed9c36d57ccd5553a1b81f0093e2fccea38
7
- data.tar.gz: 7cbc3109fb1e481f42492cac12bc8496b0e7a58571c1ad6ee6b51b5589e1fd6d6a79ffaa6a17385593d358d62857f2fc287e8e9c2a45a6f263ef66ebb6e81b67
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
- <h3>{{ include.title }}</h3>
7
- <p>{{ include.content }}</p>
8
- <span class="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>
@@ -15,7 +15,7 @@
15
15
  position: relative;
16
16
  margin: 0;
17
17
  padding: 0;
18
- min-height: 20vh;
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: 1em;
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
- overflox: hidden;
33
+ overflow: hidden;
34
34
 
35
- background-color: _palette(accent-light) !important;
35
+ background-color: #336699 !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 {
44
- color: _palette(fg);
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
- h3, .icon {
52
+ .on {
48
53
  display: block;
49
54
  }
50
55
 
51
- p {
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
- h3, .icon {
90
+ .on {
90
91
  display: none;
91
92
  }
92
93
 
93
- p {
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 h3, .tile p {
105
- color: _palette(fg-inverted);
106
- }
107
- }
104
+ .tile {
105
+ background-color: rgba(0,100,140,0.6) !important;
108
106
 
109
- .inverted .tileset .tile-container:hover {
110
- .tile h3, .tile p {
111
- color: _palette(accent-cp) !important;
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.17
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-03 00:00:00.000000000 Z
11
+ date: 2021-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll