intia-theme 0.1.1 → 0.1.5

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: 30fdd9a28960de2274940f5dd301c6ce9aa814cb1e92882e6227920482b468af
4
- data.tar.gz: acd46379a7927830ee32a91676f264f68608b5ade1d8e2a7fc876654bc8b9b02
3
+ metadata.gz: e93c7a5b012d03132b56ab55629505ced35da8b7cf5682878f173c8504afd3bf
4
+ data.tar.gz: 619844a2c4a867454ca3abfc5fc0eb29ba4ecdea7763f102c5b525004c179491
5
5
  SHA512:
6
- metadata.gz: 8113d2536ee4e76f73ebbc8bc3fe543ba898b41d5d588ef03dafb80b378d1152ecfbfbc518267d9e4690c750373e33182bbab53313d2022ce53d3f8aec2c1232
7
- data.tar.gz: 20265082ef66a95cb80ac26da14ff9a604ca2867775254ed76a0aa010a11eba5e3eec92126dff6f7148a33bb3f3e4024d65bd74d1126d07ae4ca1bba6fad42b5
6
+ metadata.gz: b27587d1e3c9a82b9dc6792fdff77979bec6223f5ea555c80162fdfd2506380d5cdbd3bfc6b7c3181a0a5981879913e320bdb35ab3ce3a7c82ed12db67c1678c
7
+ data.tar.gz: e0e86fd1ef8bba5394235da6fb2b99a7bfd8b2fafc01a83049c82b52bb630ccb8b382c8518c0f98b0a33dfc2f9c78852e2fb8f460d974df533dedce1e948f08a
data/_includes/hero.html CHANGED
@@ -1,7 +1,9 @@
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">
4
+ {% if page.hero_image %}
5
+ <img src="{{page.hero_image}}" alt="placeholder" class="is-rounded is-hidden-mobile">
6
+ {% endif %}
5
7
  <h1 class="title is-1">{{ page.title }}</h1>
6
8
  <p class="subtitle is-4">{{ page.subtitle }}</p>
7
9
  {% if page.hero_link %}
@@ -13,7 +15,7 @@
13
15
  </a>
14
16
  {% endif %}
15
17
  </div>
16
- <img src="../assets/img/arrow.png" alt="placeholder" class="arrow-image is-pulled-left is-hidden-mobile">
18
+ <img src="{{ site.baseurl }}/assets/img/arrow-down.png" alt="placeholder" class="arrow-image is-pulled-left is-hidden-mobile">
17
19
  </div>
18
20
  </section>
19
21
  <i class="fas {{ section.icon }}"></i>
@@ -1,5 +1,5 @@
1
1
  {% if page.introduction_title %}
2
- <div class="card">
2
+ <div class="card column is-8 is-offset-2">
3
3
  <h1 class="has-text-centered">{{page.introduction_title}}</h1>
4
4
  <h3 class="subtitle is-4 has-text-left">{{page.introduction_content}}</h3>
5
5
  <br>
@@ -36,6 +36,6 @@
36
36
  </div>
37
37
  {% endfor %}
38
38
  </div>
39
- <img src="../assets/img/arrow.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">
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}}
data/_sass/_layout.scss CHANGED
@@ -46,6 +46,24 @@ 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
+ }
49
67
  // Globals
50
68
  img.is-rounded {
51
69
  border-radius: 65px;
@@ -105,6 +123,10 @@ img.is-rounded {
105
123
  .button.is-rounded {
106
124
  padding-right: 0em !important;
107
125
  }
126
+ .button.button.is-rounded:not(.navbar-item) {
127
+ padding-left: 1.5em !important;
128
+ padding-right: 1.5em !important;
129
+ }
108
130
  .navbar-dropdown .button.is-rounded {
109
131
  padding-right: auto !important;
110
132
  }
@@ -144,6 +166,15 @@ img.is-rounded {
144
166
  .hero-body .container .button {
145
167
  float: right;
146
168
  }
169
+ .home .hero-body h1,
170
+ .home .hero-body h1 p {
171
+ text-align: left;
172
+ }
173
+ //// Hero sub-pages with green text
174
+ .subpage h1,
175
+ .subpage p {
176
+ color: #229387 !important;
177
+ }
147
178
 
148
179
  // Content
149
180
  .subtitle {
@@ -168,6 +199,7 @@ img.is-rounded {
168
199
  .content-wrapper img {
169
200
  border-radius: 65px;
170
201
  height: auto;
202
+ object-fit: cover;
171
203
  }
172
204
 
173
205
  .content-wrapper p {
@@ -176,6 +208,7 @@ img.is-rounded {
176
208
 
177
209
  .card-content h2 p {
178
210
  padding-left: 15px;
211
+ padding-bottom: 0.5em;
179
212
  }
180
213
 
181
214
  .card-image:first-child img {
@@ -216,20 +249,9 @@ img.is-rounded {
216
249
  }
217
250
 
218
251
  // story-slider
219
-
220
- .green {
221
- background-color: #e7f2ea;
222
- padding-left: 5%;
223
- padding-right: 5%;
224
- padding-top: 6rem;
225
- padding-bottom: 8rem;
226
- }
227
252
  .slider {
228
253
  box-shadow: none;
229
254
  }
230
- .slider-item {
231
- // padding-left: 50px;
232
- }
233
255
  .story-carousel-item {
234
256
  margin-left: 5%;
235
257
  margin-right: 5%;
@@ -257,6 +279,7 @@ img.is-rounded {
257
279
  border-top-right-radius: 0 !important;
258
280
  border-bottom-right-radius: 0 !important;
259
281
  height: 100%;
282
+ object-fit: cover;
260
283
  }
261
284
  .column.slider-content {
262
285
  padding: 3em;
@@ -285,6 +308,12 @@ img.is-rounded {
285
308
  .slider-pagination {
286
309
  bottom: -40px !important;
287
310
  }
311
+ .slider-navigation-previous,
312
+ .slider-navigation-next {
313
+ background: transparent !important;
314
+ border: 0px !important;
315
+ box-shadow: none !important;
316
+ }
288
317
  // Footer
289
318
 
290
319
  .footer {
@@ -298,6 +327,7 @@ img.is-rounded {
298
327
  }
299
328
  .footer-logos img {
300
329
  height: 75px;
330
+ margin-right: 15px;
301
331
  }
302
332
  .footer .title {
303
333
  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
Binary file
Binary file
data/assets/js/main.js CHANGED
@@ -2,5 +2,8 @@ import './bulma-carousel/js/bulma-carousel.js';
2
2
  // Initialize all elements with carousel class.
3
3
  const carousels = bulmaCarousel.attach('.carousel',{
4
4
  slidesToScroll: 1,
5
- slidesToShow: 1
5
+ slidesToShow: 1,
6
+ icons: {
7
+ 'previous': `<img src="../assets/img/arrow-left.png"></img>`,
8
+ 'next': `<img src="../assets/img/arrow-left.png" style="transform: rotate(180deg);"></img>`}
6
9
  });
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.1
4
+ version: 0.1.5
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-11 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,11 +41,14 @@ 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
48
- - assets/img/arrow.png
49
+ - assets/img/404.png
50
+ - assets/img/arrow-down.png
51
+ - assets/img/arrow-left.png
49
52
  - assets/img/logo-black.png
50
53
  - assets/img/logo-dites.png
51
54
  - assets/img/logo-green.png
data/assets/img/arrow.png DELETED
Binary file