intia-theme 0.1.2 → 0.1.6

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: d59b8f49344fa7667b64b29875c0ccf80dc98b37635cfb046861a4e2ea1b4078
4
- data.tar.gz: a2d0b40d0315fabedacb820f9c930c858cfda7dfa985aa3ea37171688a484487
3
+ metadata.gz: dd43c09dfb72c2d380c9d9453149294ad144fb1ee621c7d2b4ee410b2bd319d3
4
+ data.tar.gz: 39d38b6b40bf85937e2bc5cb5e1c7b9ffcbfc13f9e99cb8778551f0124ae4338
5
5
  SHA512:
6
- metadata.gz: 94c440bde306ad2a798c7bbe1f04d030c47a0f33cd9a5ba29499618dda49ca9e9814118372b4a9b049a4583bb1d05dc17ed291cfe195c4a335f29fa4742f5bd4
7
- data.tar.gz: e0e851c54fca092d0693c30b886596c73f0f160a1da55ab4427746083b18771b497ec5b70fa3a2ed8ecc85fc1124a33f3337121c97fc33779873766afed6e6ca
6
+ metadata.gz: 723ecf7c8aa986cd2b7450c66659bda0abee60e6e89d465d5aa66f4956b18e1401abe8ba76a9df814b87eeb19bdcd13243f640afe5df48a8e10da4343327cb13
7
+ data.tar.gz: 6dc7a304987f6efc81cf290fc0debed93ea87c16c02143ca8440da679ff6bea1026436edb709fe70dbcc8bfc63337b9ff7f14b01d9ba5b3d54aafe06b94e7600
data/_includes/hero.html CHANGED
@@ -1,8 +1,13 @@
1
- <section class="hero is-primary is-hidden-print {% if page.hero_height %} {{ page.hero_height }} {% else %} is-medium {% endif %}" {% if page.hero_background_image %} style="background: url('{{ page.hero_background_image }}') no-repeat center center; background-size: cover;" {% endif %}>
1
+ <section class="hero is-primary is-hidden-print {% if page.hero_height %} {{ page.hero_height }} {% else %} is-medium {% endif %} {% if page.hero_tags %} {{ page.hero_tags }} {% endif %}" {% if page.hero_background_image %} style="background: url('{{ page.hero_background_image }}') no-repeat center center; background-size: cover;" {% endif %}>
2
2
  <div class="hero-body">
3
3
  <div class="container">
4
- <img src="https://via.placeholder.com/440x638" alt="placeholder" class="is-rounded is-hidden-mobile">
5
- <h1 class="title is-1">{{ page.title }}</h1>
4
+ {% if page.hero_image %}
5
+ <img src="{{page.hero_image}}" alt="placeholder" class="is-rounded is-hidden-mobile">
6
+ {% endif %}
7
+ {% if page.title_above %}
8
+ <h1 class="overtitle subtitle is-4">{{ page.title_above }}</h1>
9
+ {% endif %}
10
+ <h1 class="title is-1 {% if page.title_above %} title-with-overtitle {% endif %}">{{ page.title }}</h1>
6
11
  <p class="subtitle is-4">{{ page.subtitle }}</p>
7
12
  {% if page.hero_link %}
8
13
  <a href="{{ page.hero_link | relative_url }}" class="button is-rounded is-dark">
@@ -13,7 +18,7 @@
13
18
  </a>
14
19
  {% endif %}
15
20
  </div>
16
- <img src="../assets/img/arrow-down.png" alt="placeholder" class="arrow-image is-pulled-left is-hidden-mobile">
21
+ <img src="{{ site.baseurl }}/assets/img/arrow-down.png" alt="placeholder" class="arrow-image is-pulled-left is-hidden-mobile" onClick="document.getElementById('main').scrollIntoView();">
17
22
  </div>
18
23
  </section>
19
24
  <i class="fas {{ section.icon }}"></i>
@@ -36,6 +36,6 @@
36
36
  </div>
37
37
  {% endfor %}
38
38
  </div>
39
- <img src="../assets/img/arrow-down.png" alt="placeholder" class="arrow-image is-pulled-right is-hidden-mobile">
39
+ <img src="../assets/img/arrow-down.png" alt="placeholder" class="arrow-image is-pulled-right is-hidden-mobile" onClick="document.getElementById('content').scrollIntoView();">
40
40
  </div>
41
41
  {% endif %}
data/_layouts/404.html ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ {% if page.error_image %}
5
+ <img src="{{page.error_image}}" alt="placeholder">
6
+ {% endif %}
7
+ {{content | markdownify}}
@@ -15,11 +15,11 @@ The Default layout that everything is using
15
15
  {% else %}
16
16
 
17
17
  {% endunless %}
18
- <div class="content-wrapper has-background-primary-light">
18
+ <div id="main" class="content-wrapper has-background-primary-light">
19
19
 
20
20
  {% include story-slider.html %}
21
21
  <div class="columns is-centered">
22
- <div class="column is-10-desktop is-12-tablet">
22
+ <div id="content" class="column is-10-desktop is-12-tablet">
23
23
  {% include introduction.html %}
24
24
  {% include left-right-blocks.html %}
25
25
  {{content | markdownify}}
data/_sass/_layout.scss CHANGED
@@ -46,6 +46,33 @@ div.highlight {
46
46
  top: 30px;
47
47
  }
48
48
 
49
+ .green {
50
+ background-color: $light;
51
+ padding-left: 5%;
52
+ padding-right: 5%;
53
+ padding-top: 6rem;
54
+ padding-bottom: 8rem;
55
+ }
56
+
57
+ .highlighter {
58
+ background-color: $light;
59
+ padding-left: 5%;
60
+ padding-right: 5%;
61
+ padding-bottom: 5%;
62
+ border-radius: 65px;
63
+ margin-top: 3em;
64
+ }
65
+ .highlighter-image {
66
+ }
67
+
68
+ .overtitle {
69
+ margin-bottom: 0 !important;
70
+ padding-bottom: 0 !important;
71
+ }
72
+ .title-with-overtitle {
73
+ margin-top: 0 !important;
74
+ padding-top: 0.25em !important;
75
+ }
49
76
  // Globals
50
77
  img.is-rounded {
51
78
  border-radius: 65px;
@@ -55,6 +82,7 @@ img.is-rounded {
55
82
  position: relative;
56
83
  bottom: -90px;
57
84
  width: 64px;
85
+ cursor: pointer;
58
86
  }
59
87
 
60
88
  .clear {
@@ -148,6 +176,15 @@ img.is-rounded {
148
176
  .hero-body .container .button {
149
177
  float: right;
150
178
  }
179
+ .home .hero-body h1,
180
+ .home .hero-body h1 p {
181
+ text-align: left;
182
+ }
183
+ //// Hero sub-pages with green text
184
+ .subpage h1,
185
+ .subpage p {
186
+ color: #229387 !important;
187
+ }
151
188
 
152
189
  // Content
153
190
  .subtitle {
@@ -172,6 +209,7 @@ img.is-rounded {
172
209
  .content-wrapper img {
173
210
  border-radius: 65px;
174
211
  height: auto;
212
+ object-fit: cover;
175
213
  }
176
214
 
177
215
  .content-wrapper p {
@@ -221,14 +259,6 @@ img.is-rounded {
221
259
  }
222
260
 
223
261
  // story-slider
224
-
225
- .green {
226
- background-color: #e7f2ea;
227
- padding-left: 5%;
228
- padding-right: 5%;
229
- padding-top: 6rem;
230
- padding-bottom: 8rem;
231
- }
232
262
  .slider {
233
263
  box-shadow: none;
234
264
  }
@@ -259,6 +289,7 @@ img.is-rounded {
259
289
  border-top-right-radius: 0 !important;
260
290
  border-bottom-right-radius: 0 !important;
261
291
  height: 100%;
292
+ object-fit: cover;
262
293
  }
263
294
  .column.slider-content {
264
295
  padding: 3em;
@@ -306,6 +337,7 @@ img.is-rounded {
306
337
  }
307
338
  .footer-logos img {
308
339
  height: 75px;
340
+ margin-right: 15px;
309
341
  }
310
342
  .footer .title {
311
343
  color: white;
data/_sass/_main.scss CHANGED
@@ -28,11 +28,29 @@ body {
28
28
  line-height: 2.25rem;
29
29
  }
30
30
 
31
+ h1, h2, h3, p {
32
+ padding-bottom:30px;
33
+ }
34
+ h1, h2{
35
+ padding-top:90px;
36
+ }
37
+
38
+ .card h1, .card h2, .card p, .slider h1, .slider h2, .slider p {
39
+ padding-top:0;
40
+ padding-bottom: 0;
41
+ }
42
+
31
43
  h1,
32
44
  h1 p {
33
45
  font-size: 48px;
34
46
  line-height: 72px;
35
47
  font-weight: 600;
48
+ text-align: center;
49
+ }
50
+
51
+ .green h1,
52
+ .green h1 p{
53
+ text-align: left;
36
54
  }
37
55
 
38
56
  h2,
@@ -56,6 +74,7 @@ h4 {
56
74
  h5 {
57
75
  font-size: 0.83rem;
58
76
  }
77
+
59
78
  // Button Animation + Gleiche Breite
60
79
  .button {
61
80
  // Schrifft
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: intia-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marc Schmidt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-12 00:00:00.000000000 Z
11
+ date: 2021-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -41,10 +41,12 @@ files:
41
41
  - _includes/introduction.html
42
42
  - _includes/left-right-blocks.html
43
43
  - _includes/story-slider.html
44
+ - _layouts/404.html
44
45
  - _layouts/default.html
45
46
  - _sass/_layout.scss
46
47
  - _sass/_main.scss
47
48
  - _sass/_print.scss
49
+ - assets/img/404.png
48
50
  - assets/img/arrow-down.png
49
51
  - assets/img/arrow-left.png
50
52
  - assets/img/logo-black.png