intia-theme 0.1.2 → 0.1.3

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: ee311aee41a62cd387c9c614a126c0656fe27e855f0997972f3670c7606d779e
4
+ data.tar.gz: 9bbaf10edc06c16403a87b30fe25f21f3212cb442f9e862d252256f1d82302e4
5
5
  SHA512:
6
- metadata.gz: 94c440bde306ad2a798c7bbe1f04d030c47a0f33cd9a5ba29499618dda49ca9e9814118372b4a9b049a4583bb1d05dc17ed291cfe195c4a335f29fa4742f5bd4
7
- data.tar.gz: e0e851c54fca092d0693c30b886596c73f0f160a1da55ab4427746083b18771b497ec5b70fa3a2ed8ecc85fc1124a33f3337121c97fc33779873766afed6e6ca
6
+ metadata.gz: ce96af5c0a36eb1157db4c73cfc26ec511176e66bac2496b3ffc5cf7b64a685194713a2e9b448c2b6b6e5a236cad497d29a926a2ecb481729488d5678dfe4514
7
+ data.tar.gz: a9d2cec53bfb0a615da9d43f7df1b009da205edcae7c69e143b17fd08e5c919fd58c6cab499bc3e3dd3fd5540e905f2142b4892843f7847718c9784fc8061f45
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 %}
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
@@ -148,6 +148,15 @@ img.is-rounded {
148
148
  .hero-body .container .button {
149
149
  float: right;
150
150
  }
151
+ .home .hero-body h1,
152
+ .home .hero-body h1 p {
153
+ text-align: left;
154
+ }
155
+ //// Hero sub-pages with green text
156
+ .subpage h1, .subpage p {
157
+ color: #229387 !important;
158
+ }
159
+
151
160
 
152
161
  // Content
153
162
  .subtitle {
@@ -172,6 +181,7 @@ img.is-rounded {
172
181
  .content-wrapper img {
173
182
  border-radius: 65px;
174
183
  height: auto;
184
+ object-fit: cover;
175
185
  }
176
186
 
177
187
  .content-wrapper p {
@@ -259,6 +269,7 @@ img.is-rounded {
259
269
  border-top-right-radius: 0 !important;
260
270
  border-bottom-right-radius: 0 !important;
261
271
  height: 100%;
272
+ object-fit: cover;
262
273
  }
263
274
  .column.slider-content {
264
275
  padding: 3em;
@@ -306,6 +317,7 @@ img.is-rounded {
306
317
  }
307
318
  .footer-logos img {
308
319
  height: 75px;
320
+ margin-right: 15px;
309
321
  }
310
322
  .footer .title {
311
323
  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.3
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