intia-theme 0.1.31 → 0.1.35
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/button.html +2 -2
- data/_includes/contact.html +15 -2
- data/_includes/head-scripts.html +1 -0
- data/_includes/hero.html +5 -1
- data/_includes/highlighter.html +20 -1
- data/_includes/stories.html +1 -1
- data/_sass/_layout.scss +35 -1
- data/_sass/_main.scss +4 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f2467e450ec5e4e065c075bed6701bb65d8e53f34efd67a285057354ce2b80d
|
4
|
+
data.tar.gz: 3c5852624847fbdfe32e446d8406050e8407ef1d6275ec10358e5760ea4f13ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: acb05160ae4f313db03148e1d6d1a57dd65b4995727a54a2c6ddba5aca0623304636acdb2e4a9c34fa996de762406cd958edf2ad498574a68a46829937f65fa1
|
7
|
+
data.tar.gz: '092b3d9369d57f29504bef50042c4e425b16f396628fb3a97fab83d6a28ace8b23f0f5fe73ef8e1ecec854c0470f42a5692242de7304f105e00104ebb52aee11'
|
data/_includes/button.html
CHANGED
data/_includes/contact.html
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
<div class="container contact">
|
3
3
|
<h1>{{ site.data.contact.title }}</h1>
|
4
4
|
{{ site.data.contact.introduction }}
|
5
|
-
<form action="{{ site.data.contact.action }}" class="columns">
|
5
|
+
<form id="form" action="{{ site.data.contact.action }}" data-botpoison-public-key="{{ site.data.contact.botpoison_key }}" class="columns">
|
6
6
|
<div class="column is-6">
|
7
7
|
<div class="field">
|
8
8
|
<label class="label">Vor- und Nachname</label>
|
@@ -53,10 +53,23 @@
|
|
53
53
|
|
54
54
|
<div class="column contact-agree">
|
55
55
|
<label for="agree">{{ site.data.contact.checkbox }}</label><br><br>
|
56
|
-
<button class="button is-rounded is-dark" type="submit">Abschicken</button>
|
56
|
+
<button id="button" class="button is-rounded is-dark" type="submit">Abschicken</button>
|
57
57
|
</div>
|
58
58
|
</div>
|
59
59
|
</div>
|
60
60
|
</form>
|
61
|
+
<script>
|
62
|
+
var formElement = document.getElementById("form");
|
63
|
+
var buttonElement = document.getElementById("button");
|
64
|
+
formElement.addEventListener("botpoison-challenge-start", function () {
|
65
|
+
buttonElement.setAttribute("disabled", "disabled");
|
66
|
+
});
|
67
|
+
formElement.addEventListener("botpoison-challenge-success", function () {
|
68
|
+
buttonElement.removeAttribute("disabled");
|
69
|
+
});
|
70
|
+
formElement.addEventListener("botpoison-challenge-error", function () {
|
71
|
+
buttonElement.removeAttribute("disabled");
|
72
|
+
});
|
73
|
+
</script>
|
61
74
|
</div>
|
62
75
|
{% endif %}
|
data/_includes/head-scripts.html
CHANGED
data/_includes/hero.html
CHANGED
@@ -8,7 +8,11 @@
|
|
8
8
|
{% if page.hero_image %}
|
9
9
|
<img src="{{page.hero_image}}" alt="placeholder" class="is-rounded is-hidden-mobile">
|
10
10
|
{% endif %}
|
11
|
-
|
11
|
+
{% if page.subtitle_markdownify %}
|
12
|
+
<p class="subtitle is-4">{{ page.subtitle | markdownify }}</p>
|
13
|
+
{% else %}
|
14
|
+
<p class="subtitle is-4">{{ page.subtitle }}</p>
|
15
|
+
{% endif %}
|
12
16
|
{% if page.hero_link %}
|
13
17
|
<a href="{{ page.hero_link | relative_url }}" class="button is-rounded is-dark">
|
14
18
|
<span>{{ page.hero_link_text }}</span>
|
data/_includes/highlighter.html
CHANGED
@@ -1,7 +1,26 @@
|
|
1
1
|
|
2
|
-
<div class="highlighter {% if include.two-columns %} two-columns {% endif %} {% if include.min-height25p %} min-height25p {% endif %} {% if include.style %} include.style {% endif %} ">
|
2
|
+
<div class="highlighter {% if include.two-columns %} two-columns {% endif %} {% if include.image %} highlighter-fit-image {% endif %} {% if include.min-height25p %} min-height25p {% endif %} {% if include.style %} include.style {% endif %} ">
|
3
|
+
{% if include.image %}
|
4
|
+
|
5
|
+
<div class="columns">
|
6
|
+
<div class="highlighter-image column is-two-fifths">
|
7
|
+
<figure class="image">
|
8
|
+
<img src={{ include.image }}>
|
9
|
+
</figure>
|
10
|
+
</div>
|
11
|
+
<div class="highlighter-content column">
|
12
|
+
|
13
|
+
{% endif %}
|
14
|
+
|
3
15
|
{{ include.content }}
|
4
16
|
{% if include.button %}
|
5
17
|
{% include button.html label=include.button %}
|
6
18
|
{% endif %}
|
19
|
+
|
20
|
+
{% if include.image %}
|
21
|
+
|
22
|
+
</div>
|
23
|
+
</div>
|
24
|
+
|
25
|
+
{% endif %}
|
7
26
|
</div>
|
data/_includes/stories.html
CHANGED
data/_sass/_layout.scss
CHANGED
@@ -234,7 +234,8 @@ a.navbar-item.is-active,
|
|
234
234
|
}
|
235
235
|
//// Hero sub-pages with green text
|
236
236
|
.subpage h1,
|
237
|
-
.subpage p
|
237
|
+
.subpage p,
|
238
|
+
.subpage ul {
|
238
239
|
color: $primary-dark !important;
|
239
240
|
}
|
240
241
|
.subpage .hero-body img,
|
@@ -476,6 +477,34 @@ figcaption {
|
|
476
477
|
.highlighter .button {
|
477
478
|
float: right;
|
478
479
|
}
|
480
|
+
.highlighter .column.highlighter-image {
|
481
|
+
margin-right: 0;
|
482
|
+
padding: 0;
|
483
|
+
}
|
484
|
+
.highlighter .highlighter-image img {
|
485
|
+
padding: 0;
|
486
|
+
}
|
487
|
+
.highlighter .highlighter-image .image {
|
488
|
+
height: 100%;
|
489
|
+
}
|
490
|
+
.highlighter .highlighter-image img {
|
491
|
+
border-top-left-radius: 65px;
|
492
|
+
border-bottom-left-radius: 65px;
|
493
|
+
border-top-right-radius: 0 !important;
|
494
|
+
border-bottom-right-radius: 0 !important;
|
495
|
+
height: 100%;
|
496
|
+
width: 100%;
|
497
|
+
object-fit: cover;
|
498
|
+
}
|
499
|
+
.highlighter .highlighter-content {
|
500
|
+
padding: 3em;
|
501
|
+
}
|
502
|
+
.highlighter .column.highlighter-content {
|
503
|
+
margin-right: 0;
|
504
|
+
}
|
505
|
+
.highlighter.highlighter-fit-image {
|
506
|
+
padding: 0;
|
507
|
+
}
|
479
508
|
|
480
509
|
.highlighter img {
|
481
510
|
border-radius: 0;
|
@@ -496,6 +525,11 @@ figcaption {
|
|
496
525
|
padding-top: 2rem;
|
497
526
|
padding-bottom: 2rem;
|
498
527
|
}
|
528
|
+
.highlighter .column .button.highlighter-column-button {
|
529
|
+
margin-top: 1em;
|
530
|
+
margin-left: 2em;
|
531
|
+
float: none;
|
532
|
+
}
|
499
533
|
|
500
534
|
.highlighter .is-round {
|
501
535
|
display: flex;
|
data/_sass/_main.scss
CHANGED
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.
|
4
|
+
version: 0.1.35
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marc Schmidt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|