jekyll-theme-consulting 0.11.8 → 0.11.9

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: da844646417b70ea45a113f257b86a980a6865d30e1023dec8df7ffbdf0897cd
4
- data.tar.gz: 90da845a2fb58684f102c60f9c171d1a22382dffc22d5725afcaf4f80e193757
3
+ metadata.gz: cb80f0d60e62b2a455f0a35663b833cfa678c1a0478960350e8963cf1466048f
4
+ data.tar.gz: 1d6f28fe95b2d29508f600c65e0201bfbed4c4364990b0c799fc17504628b1eb
5
5
  SHA512:
6
- metadata.gz: 98d23a67e737af00821f5609f422453029657d68ac297ed8c56a9b9e992fc04387f69f8badecedbcf3e960abd9b9c2768c3e0acf6ac807e37826f5518faf8374
7
- data.tar.gz: 333dde6d9f4d1e50f1f153db3e2db34f08dcd61aa6805088e77e411538ee544f86c1519115c7121ca200e47e96741488ae098db4b30932d2b7ae3a0ac034bde6
6
+ metadata.gz: 2e730e36bd5c134ab281910c8e2cf4e21a6a9b185c762a6aa4f902afecfe5e48b0e9cdad45f5be25f5c78ab7d56829198374f2c2bacddcfd5806870937987637
7
+ data.tar.gz: aa97b5a4239f1c3f9d7d83d6daf6df032331de2c06ae15003c96ab1d6a20df90d3f727c8c60e1914f89273376cc27eeb0353076b2f486eeebde9f8b943f869b0
@@ -1,11 +1,5 @@
1
1
  <!-- Banner -->
2
- <section id="banner"
3
- {% if include.style.class %}class="{{ include.style.class | default: '' }}"{% endif %}
4
- {% if include.style.image %}style="
5
- background-image: url({{ 'assets/css/images/split.curve.svg' | absolute_url }}), url({{ include.style.image.url | absolute_url }});
6
- background-position: {{ include.style.image.position | default: 'right' }} -5em, {{ include.style.image.position | default: 'right' }} -5em;
7
- background-size: {{ include.style.image.size | default: 'auto 100vh' }}, {{ include.style.image.size | default: 'auto 100vh' }};"
8
- {% endif %}>
2
+ <section id="banner" class="{{ include.class | default: '' }}">
9
3
  <div class="content">
10
4
  <header>
11
5
  <h1>{{ include.title }}</h1>
@@ -0,0 +1,15 @@
1
+ {%- assign class = include.background.class | default: header.class | default: banner.class | default: '' -%}
2
+
3
+ <div id="header-background" class="{{ class | default: '' }}"
4
+ {% if include.background.image %}style="
5
+ background-image: url({{ 'assets/css/images/split.curve.wide.svg' | absolute_url }}), url({{ include.background.image.url | absolute_url }});
6
+ background-position: center top, {{ include.background.image.position | default: 'right' }} top;
7
+ background-size: cover, {{ include.background.image.size | default: '66% 100%' }};"
8
+ {% endif %}>
9
+ {%- if include.header -%}
10
+ {% include header.html title=header.title subtitle=header.subtitle class=class %}
11
+ {%- endif -%}
12
+ {%- if include.banner -%}
13
+ {% include banner.html title=banner.title subtitle=banner.subtitle description=banner.description button=banner.button class=class %}
14
+ {%- endif -%}
15
+ </div>
@@ -1,11 +1,5 @@
1
1
  <!-- Header -->
2
- <header id="header"
3
- {% if include.style.class %}class="{{ include.style.class | default: '' }}"{% endif %}
4
- {% if include.style.image %}style="
5
- background-image: url({{ 'assets/css/images/split.curve.svg' | absolute_url }}), url({{ include.style.image.url | absolute_url }});
6
- background-position: {{ include.style.image.position | default: 'right' }} top, {{ include.style.image.position | default: 'right' }} top;
7
- background-size: {{ include.style.image.size | default: 'auto 100vh' }}, {{ include.style.image.size | default: 'auto 100vh' }};"
8
- {% endif %}>
2
+ <header id="header" class="{{ include.class | default: '' }}">
9
3
  <a href="{{ '' | absolute_url }}" class="logo">
10
4
  <span class="title">
11
5
  <strong>{{ include.title }}</strong>
@@ -2,7 +2,6 @@
2
2
  ---
3
3
  {%- assign lang = page.lang | default: layout.lang | default: site.lang | default: 'en' -%}
4
4
  {%- assign menu = site.data.menus[page.menu][lang] -%}
5
- {%- assign header = page.header | default: layout.header | default: site.header -%}
6
5
  {%- assign title = page.title | default: layout.title | default: site.title -%}
7
6
  {%- assign description = page.description | default: layout.description | default: site.description -%}
8
7
  {%- assign stylesheets = page.stylesheets | default: layout.stylesheets | default: site.stylesheets -%}
@@ -26,8 +25,6 @@
26
25
  <div id="main">
27
26
  <div class="inner">
28
27
 
29
- {% include header.html title=header.title subtitle=header.subtitle style=header.style %}
30
-
31
28
  {{ content }}
32
29
 
33
30
  </div>
data/_layouts/home.html CHANGED
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
+ {%- assign header = page.header | default: layout.header | default: site.header -%}
4
5
  {%- assign banner = page.banner | default: layout.banner | default: site.banner -%}
5
- {%- assign title = banner.title | default: page.title | default: layout.title | default: site.title -%}
6
- {%- assign subtitle = banner.subtitle | default: page.subtitle | default: layout.subtitle | default: site.subtitle -%}
7
- {%- assign description = banner.description | default: page.description | default: layout.description | default: site.description -%}
8
- {% include banner.html title=title subtitle=subtitle description=description button=banner.button style=banner.style %}
6
+ {%- assign background = page.background | default: layout.background | default: site.background -%}
7
+
8
+ {% include front.html header=header banner=banner background=background %}
9
9
  {{ content }}
data/_layouts/page.html CHANGED
@@ -1,4 +1,8 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
+ {%- assign header = page.header | default: layout.header | default: site.header -%}
5
+ {%- assign background = page.background | default: layout.background | default: site.background -%}
6
+
7
+ {% include front.html header=header background=background %}
4
8
  {{ content }}
data/_layouts/post.html CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- layout: default
2
+ layout: page
3
3
  ---
4
4
  <article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
5
5
 
@@ -3,9 +3,6 @@
3
3
  #banner {
4
4
  @include padding(6em, 0);
5
5
  @include vendor('display', 'flex');
6
- background-size: 100% auto;
7
- background-position: center -5em;
8
- background-repeat: no-repeat;
9
6
 
10
7
  h1 {
11
8
  margin-top: -0.125em;
@@ -38,6 +35,10 @@
38
35
  }
39
36
  }
40
37
 
38
+ header p {
39
+ text-transform: none !important;
40
+ }
41
+
41
42
  @include orientation(portrait) {
42
43
  @include vendor('flex-direction', 'column-reverse');
43
44
 
@@ -64,3 +65,9 @@
64
65
  }
65
66
  }
66
67
  }
68
+
69
+ /* Inverted */
70
+
71
+ section#banner.inverted {
72
+ background-color: transparent !important;
73
+ }
@@ -1,12 +1,15 @@
1
1
  /* Header */
2
2
 
3
+ #header-background {
4
+ background-size: cover, 70% 100%;
5
+ background-position: center top, right top;
6
+ background-repeat: no-repeat, no-repeat;
7
+ }
8
+
3
9
  #header {
4
10
  @include vendor('display', 'flex');
5
11
  border-bottom: solid 5px _palette(accent);
6
12
  position: relative;
7
- background-size: 100% auto;
8
- background-position: center top;
9
- background-repeat: no-repeat;
10
13
 
11
14
  > * {
12
15
  margin-bottom: 0;
@@ -27,6 +30,9 @@
27
30
  /* Inverted */
28
31
 
29
32
  #header.inverted {
30
- background-color: _palette(bg-alt-inverted);
31
33
  border-bottom: solid 5px _palette(accent-inverted);
32
34
  }
35
+
36
+ #header-background.inverted {
37
+ background-color: _palette(bg-alt-inverted);
38
+ }
@@ -9,7 +9,7 @@
9
9
  margin: 0 auto;
10
10
  max-width: 110em;
11
11
 
12
- > section {
12
+ section {
13
13
  border-top: solid 2px _palette(border);
14
14
  padding: 1em 1em 1em 4em;
15
15
 
@@ -116,7 +116,7 @@
116
116
  color: inherit;
117
117
 
118
118
  &:hover {
119
- color: _palette(accent-inverted);
119
+ color: _palette(accent-cp);
120
120
  }
121
121
 
122
122
  &.opener {
@@ -126,7 +126,7 @@
126
126
 
127
127
  &:hover {
128
128
  &:before {
129
- color: _palette(accent-inverted);
129
+ color: _palette(accent-cp);
130
130
  }
131
131
  }
132
132
  }
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.8
4
+ version: 0.11.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Moodule
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-03 00:00:00.000000000 Z
11
+ date: 2021-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -84,6 +84,7 @@ files:
84
84
  - _includes/fact.html
85
85
  - _includes/feature.html
86
86
  - _includes/footer.html
87
+ - _includes/front.html
87
88
  - _includes/head.html
88
89
  - _includes/header.html
89
90
  - _includes/language.html
@@ -313,7 +314,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
313
314
  - !ruby/object:Gem::Version
314
315
  version: '0'
315
316
  requirements: []
316
- rubygems_version: 3.2.7
317
+ rubygems_version: 3.2.13
317
318
  signing_key:
318
319
  specification_version: 4
319
320
  summary: A sober, hassle-free, full-featured, Jekyll template for businesses.