jekyll-theme-consulting 0.11.12 → 0.11.18

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: e0847f4a5411b77b62d294d16ee9127679f3bfc230378a90b21816ebcd45bed5
4
- data.tar.gz: caec9b0b068e9e3d3f1b22dfaea75777c4898c1eabf650432bb1c80dfdc07d62
3
+ metadata.gz: f1fa1eea81bfad758a978cde0c0aad9e0b61b18918145c4e40608f38acd31886
4
+ data.tar.gz: 74aeaa7703b4a5d1c8bd1ab141c4c8c7b647b386e4af6e06b1c692472eeaa4ef
5
5
  SHA512:
6
- metadata.gz: 2d941a2e8f949733f1c031a3069528113ca1c192c130e0dae67ab006d03b667d3a4cfd080718cd379c54477509ae3cc619af39e562132a26b6e632fe439ec030
7
- data.tar.gz: 194a47a8a055c24a69015667ad42d14f324c5a2fdcb0c2bd566330cafb73172ec8e7c7797409942531d88bfedcda3d2586c845072cb018bc8b642e9c7c5664db
6
+ metadata.gz: 5f545e6fa5c4ea75a0646e6f02722ecdb55a402f10fe4856996d31c9ea28ece5067ba37a160ae307486b33954f94e0696386d18fe3bb34c48a60f016391e01b7
7
+ data.tar.gz: 8fb082b4d51e43f80e4296af32cd99aa114be2d4c499ae8479075526e41df7ff24331e94358af88bd5693fa36840847608572261b3e71346856f9dc4ba706652
@@ -18,6 +18,7 @@
18
18
  </div>
19
19
  <div class="col-6 col-12-medium col-12-small col-12-xsmall">
20
20
  <ul class="contact">
21
+ {% if site.name %}<li class="icon solid fa-user"><a href="">{{ site.name }}</a></li>{% endif %}
21
22
  <li class="icon solid fa-envelope"><a href="mailto:{{ site.email }}">{{ site.email }}</a></li>
22
23
  <li class="icon solid fa-phone"><a href="tel:{{ site.phone }}">{{ site.phone }}</a></li>
23
24
  <li class="icon solid fa-home">{{ site.street_address }}<br />
data/_includes/fact.html CHANGED
@@ -10,8 +10,8 @@
10
10
  </div>
11
11
  <div class="fact-outro on">
12
12
  <p>{{ include.default.outro | default: &nbsp; }}</p>
13
+ <span class="icon {{ include.default.icon | default: 'fa-play' }} on"></span>
13
14
  </div>
14
- <span class="icon {{ include.default.icon | default: 'fa-play' }} on"></span>
15
15
  <div class="fact-intro off">
16
16
  <p>{{ include.hover.intro | default: &nbsp; }}</p>
17
17
  </div>
@@ -20,8 +20,8 @@
20
20
  </div>
21
21
  <div class="fact-outro off">
22
22
  <p>{{ include.hover.outro | default: &nbsp; }}</p>
23
+ <span class="icon {{ include.hover.icon | default: 'fa-exclamation' }} off"></span>
23
24
  </div>
24
- <span class="icon {{ include.hover.icon | default: 'fa-exclamation' }} off"></span>
25
25
  {%- if include.target_url -%}
26
26
  </a>
27
27
  {%- endif -%}
@@ -2,12 +2,22 @@
2
2
  <nav id="menu">
3
3
  <ul>
4
4
  {%- for item in include.menu -%}
5
- <li {% if item.url == page.url %} class="current" {% endif %}>
5
+ {%- assign is_current = false -%}
6
+ {%- if item.url == page.url %}
7
+ {%- assign is_current = true -%}
8
+ {%- elsif item.menu[0] -%}
9
+ {%- for subitem in item.menu -%}
10
+ {% if subitem.url == page.url %}
11
+ {%- assign is_current = true -%}
12
+ {%- endif -%}
13
+ {%- endfor -%}
14
+ {% endif -%}
15
+ <li {% if is_current == true %}class="current"{% endif %}>
6
16
  {%- if item.menu[0] -%}
7
17
  <span class="opener">{{ item.title }}</span>
8
18
  <ul>
9
19
  {%- for subitem in item.menu -%}
10
- <li {% if subitem.url == page.url %} class="current" {% endif %}>
20
+ <li>
11
21
  <a href="{{ subitem.url | absolute_url }}">{{ subitem.title }}</a>
12
22
  </li>
13
23
  {%- endfor -%}
@@ -0,0 +1,13 @@
1
+ <article class="tile-container {{ include.class }}">
2
+ {%- if include.target_url -%}
3
+ <a href='{{ include.target_url | absolute_url }}'>
4
+ {%- endif -%}
5
+ <div class="tile">
6
+ <h3>{{ include.title }}</h3>
7
+ <p>{{ include.content }}</p>
8
+ <span class="icon {{ include.icon }}"></span>
9
+ </div>
10
+ {%- if include.target_url -%}
11
+ </a>
12
+ {%- endif -%}
13
+ </article>
data/_sass/large.scss CHANGED
@@ -37,6 +37,7 @@
37
37
  @import 'large/components/mini-posts';
38
38
  @import 'large/components/features';
39
39
  @import 'large/components/facts';
40
+ @import 'large/components/tileset';
40
41
  @import 'large/components/posts';
41
42
 
42
43
  // Layout.
File without changes
@@ -39,6 +39,7 @@ $palette: (
39
39
  bg-alt: #f5f6f7,
40
40
  bg-inverted: #0044dd,
41
41
  bg-alt-inverted: #123456,
42
+ bg-light-inverted: #274c6f,
42
43
  fg: #000000,
43
44
  fg-bold: #000000,
44
45
  fg-light: #9fa3a6,
@@ -51,6 +52,8 @@ $palette: (
51
52
  border-bg-inverted: #ffffff,
52
53
  accent: #0044dd,
53
54
  accent-cp: #ffdd44,
55
+ accent-light: rgba(130,200,255,0.5),
54
56
  accent-inverted: #ffffff,
55
57
  accent-cp-inverted: #6666ff,
58
+ accent-light-inverted: #ffdd88,
56
59
  );
data/_sass/main.scss CHANGED
@@ -31,6 +31,7 @@
31
31
  @import 'main/components/mini-posts';
32
32
  @import 'main/components/features';
33
33
  @import 'main/components/facts';
34
+ @import 'main/components/tileset';
34
35
  @import 'main/components/posts';
35
36
  @import 'main/components/horizontal-tabs';
36
37
  @import 'main/components/vertical-tabs';
@@ -5,13 +5,14 @@
5
5
 
6
6
  @include vendor('display', 'flex');
7
7
  @include vendor('flex-wrap', 'wrap');
8
- margin: 0 0 0 0;
8
+ margin: 0 !important;
9
9
  width: 100%;
10
10
 
11
11
  article {
12
12
  @include vendor('flex-grow', '1');
13
13
  @include vendor('flex-shrink', '1');
14
- margin: 0 0 $gutter $gutter;
14
+ margin: 0 !important;
15
+ padding: 0 !important;
15
16
  position: relative;
16
17
  min-height: 512px;
17
18
 
@@ -31,10 +32,12 @@
31
32
  }
32
33
 
33
34
  .icon {
34
- position: relative;
35
+ position: absolute;
36
+ bottom:0;
37
+ left: 0;
35
38
  margin: 0;
36
39
  width: 100%;
37
- height: 20%;
40
+ height: 50%;
38
41
  text-align: center;
39
42
  font-size: 3rem;
40
43
  color: _palette(accent) !important;
@@ -43,7 +46,7 @@
43
46
  .fact-intro, .fact-outro {
44
47
  position: relative;
45
48
  width: 100%;
46
- height: 30%;
49
+ height: 35%;
47
50
  margin: 0;
48
51
 
49
52
  p {
@@ -68,7 +71,7 @@
68
71
  .fact {
69
72
  position: relative;
70
73
  width: 100%;
71
- height: 20%;
74
+ height: 30%;
72
75
  margin: 0;
73
76
 
74
77
  h3 {
@@ -0,0 +1,117 @@
1
+ /* Tileset */
2
+
3
+ .tileset {
4
+ $gutter: 0;
5
+
6
+ @include vendor('display', 'flex');
7
+ @include vendor('flex-wrap', 'wrap');
8
+ margin: 0 !important;
9
+ width: 100%;
10
+
11
+ .tile-container {
12
+ @include vendor('flex-grow', '1');
13
+ @include vendor('flex-shrink', '1');
14
+
15
+ position: relative;
16
+ margin: 0;
17
+ padding: 0;
18
+ min-height: 20vh;
19
+
20
+ .tile {
21
+ transition: width 0.4s, height 0.4s, top 0.4s, left 0.4s, background-color 0.4s;
22
+
23
+ position: relative;
24
+ top: 10%;
25
+ left: 10%;
26
+ padding: 1em;
27
+ width: 80%;
28
+ height: 80%;
29
+
30
+ border-radius: 0.5rem;
31
+ border: 0;
32
+ display: block;
33
+ overflow: hidden;
34
+
35
+ background-color: rgba(0,55,88,0.75) !important;
36
+
37
+ h3, p {
38
+ width: 100%;
39
+ text-align: center;
40
+ color: _palette(bg);
41
+ }
42
+
43
+ h3, .icon, p {
44
+ color: _palette(bg) !important;
45
+ }
46
+
47
+ h3, .icon {
48
+ display: block;
49
+ }
50
+
51
+ p {
52
+ display: none;
53
+ margin: 0 !important;
54
+ }
55
+
56
+ .icon {
57
+ z-index: 10;
58
+ width: 100%;
59
+ padding: 0;
60
+ position: relative;
61
+ color: _palette(accent);
62
+ font-size: 3rem;
63
+ text-align: center;
64
+
65
+ &:before{
66
+ width: 100%;
67
+ }
68
+ }
69
+ }
70
+ }
71
+
72
+ .tile-container:hover, .tile-container:active {
73
+ .tile {
74
+ top: 0;
75
+ left: 0;
76
+ width: 100%;
77
+ height: 100%;
78
+
79
+ background-color: _palette(accent) !important;
80
+
81
+ h3, p, .icon {
82
+ color: _palette(accent-cp) !important;
83
+ }
84
+
85
+ h3, .icon {
86
+ display: none;
87
+ }
88
+
89
+ p {
90
+ display: block;
91
+ margin: 0 !important;
92
+ }
93
+ }
94
+ }
95
+ }
96
+
97
+ /* Inverted */
98
+
99
+ .inverted .tileset .tile-container {
100
+ .tile {
101
+ background-color: rgba(0,100,140,0.3) !important;
102
+
103
+ h3, p, icon {
104
+ color: _palette(bg) !important;
105
+ }
106
+ }
107
+ }
108
+
109
+ .inverted .tileset .tile-container:hover, .inverted .tileset .tile-container:active {
110
+ .tile {
111
+ background-color: _palette(accent) !important;
112
+
113
+ h3, p, icon {
114
+ color: _palette(accent-cp) !important;
115
+ }
116
+ }
117
+ }
@@ -99,9 +99,13 @@
99
99
  height: 100%;
100
100
  }
101
101
 
102
- &.current::before, &:hover::before {
102
+ &.current::before {
103
103
  border-left: 6px solid _palette(accent);
104
104
  }
105
+
106
+ &:hover::before {
107
+ border-left: 6px solid _palette(accent-cp);
108
+ }
105
109
  }
106
110
  }
107
111
  }
@@ -147,9 +151,13 @@
147
151
  padding-top: 0;
148
152
  }
149
153
 
150
- &.current::before, &:hover::before {
154
+ &.current::before {
151
155
  border-left: 6px solid _palette(accent-inverted);
152
156
  }
157
+
158
+ &:hover::before {
159
+ border-left: 6px solid _palette(accent-cp);
160
+ }
153
161
  }
154
162
  }
155
163
  }
data/_sass/medium.scss CHANGED
@@ -36,6 +36,7 @@
36
36
  @import 'medium/components/mini-posts';
37
37
  @import 'medium/components/features';
38
38
  @import 'medium/components/facts';
39
+ @import 'medium/components/tileset';
39
40
  @import 'medium/components/posts';
40
41
 
41
42
  // Layout.
File without changes
data/_sass/small.scss CHANGED
@@ -38,6 +38,7 @@
38
38
  @import 'small/components/mini-posts';
39
39
  @import 'small/components/features';
40
40
  @import 'small/components/facts';
41
+ @import 'small/components/tileset';
41
42
  @import 'small/components/posts';
42
43
 
43
44
  // Layout.
File without changes
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.12
4
+ version: 0.11.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Apehex
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-12 00:00:00.000000000 Z
11
+ date: 2021-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -80,6 +80,20 @@ dependencies:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '12.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: webrick
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '1.7'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '1.7'
83
97
  description:
84
98
  email:
85
99
  - apehex@protonmail.com
@@ -111,6 +125,7 @@ files:
111
125
  - _includes/social.html
112
126
  - _includes/tabs.html
113
127
  - _includes/thread.html
128
+ - _includes/tile.html
114
129
  - _includes/toggle.html
115
130
  - _includes/waves/bottom.html
116
131
  - _includes/waves/top.html
@@ -149,6 +164,7 @@ files:
149
164
  - _sass/large/components/_row.scss
150
165
  - _sass/large/components/_section.scss
151
166
  - _sass/large/components/_table.scss
167
+ - _sass/large/components/_tileset.scss
152
168
  - _sass/large/layout/_banner.scss
153
169
  - _sass/large/layout/_footer.scss
154
170
  - _sass/large/layout/_header.scss
@@ -186,6 +202,7 @@ files:
186
202
  - _sass/main/components/_row.scss
187
203
  - _sass/main/components/_section.scss
188
204
  - _sass/main/components/_table.scss
205
+ - _sass/main/components/_tileset.scss
189
206
  - _sass/main/components/_vertical-tabs.scss
190
207
  - _sass/main/layout/_banner.scss
191
208
  - _sass/main/layout/_footer.scss
@@ -216,6 +233,7 @@ files:
216
233
  - _sass/medium/components/_row.scss
217
234
  - _sass/medium/components/_section.scss
218
235
  - _sass/medium/components/_table.scss
236
+ - _sass/medium/components/_tileset.scss
219
237
  - _sass/medium/layout/_banner.scss
220
238
  - _sass/medium/layout/_footer.scss
221
239
  - _sass/medium/layout/_header.scss
@@ -245,6 +263,7 @@ files:
245
263
  - _sass/small/components/_row.scss
246
264
  - _sass/small/components/_section.scss
247
265
  - _sass/small/components/_table.scss
266
+ - _sass/small/components/_tileset.scss
248
267
  - _sass/small/layout/_banner.scss
249
268
  - _sass/small/layout/_footer.scss
250
269
  - _sass/small/layout/_header.scss
@@ -328,7 +347,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
328
347
  - !ruby/object:Gem::Version
329
348
  version: '0'
330
349
  requirements: []
331
- rubygems_version: 3.2.13
350
+ rubygems_version: 3.2.18
332
351
  signing_key:
333
352
  specification_version: 4
334
353
  summary: A sober, hassle-free, full-featured, Jekyll template for businesses.