intia-theme 0.1.30 → 0.1.34

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: b0856bc7dd5fac2bf2628a1e58be14fba85754a6320ba3ea78529fd3418bb666
4
- data.tar.gz: 9468415c58098cd55edff791021f5a11190ebb9d6138b5d2f99bbfd72afaacc7
3
+ metadata.gz: 7d8b0195d80fb69a9a2177a7769f02349333680f98daa8f8c504089157b5f6ca
4
+ data.tar.gz: 72c76f141f9836ee8d9e59c9d31d827b08eb9a501a602d7f85cc65c2901f6dbf
5
5
  SHA512:
6
- metadata.gz: dc94713b7f13376734318256f575c8199f2eb2a8d4c4a31901e9e69e006d612fbea5fb3250f038d0c615a6a8d610652a36e4d71775d79388d6d6ffbf43443e04
7
- data.tar.gz: 797f91253e472cb2c68af568efcbd96b23b9174654da55ced65aac5e2f9b5125dd1dd451143ea89fefe61a8b39565ec16af3b812979d223638a5893b4431a64e
6
+ metadata.gz: b6625d581bc2505c47b9dd3dbfdaf61c91d6d3d1b8ecf4e1257c10d7b6d2d4c5d02c0398ab5b153822a7660f7e237688a8fdf73a2147eeaeb7e631c9734fd8a4
7
+ data.tar.gz: da66ba79347f070acd22926429bd0528cb9997c2b6ac62fe77d60ec60aa0d1730d9f4b7ce82c1953ee3e66faec8ee18f42d67f507fe610b4a5d18dde10378c30
@@ -1,7 +1,7 @@
1
1
 
2
2
  <a href="#" class="button is-rounded is-dark">
3
+ <span> {{ include.label }} </span>
3
4
  <span class="icon is-small">
4
5
  <i class="fas fa-chevron-right fa-xs"></i>
5
- </span>
6
- <span> {{ include.label }} </span>
6
+ </span>
7
7
  </a>
@@ -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 %}
@@ -1,2 +1,3 @@
1
1
  <!-- head scripts -->
2
+ <script src="https://unpkg.com/@botpoison/browser"></script>
2
3
  <script type="module" src="{{ site.baseurl }}/assets/js/main.js"async></script>
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
- <p class="subtitle is-4">{{ page.subtitle }}</p>
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>
@@ -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/_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
@@ -88,7 +88,10 @@ h4 {
88
88
  h5 {
89
89
  font-size: 0.83rem;
90
90
  }
91
-
91
+ ul {
92
+ list-style-type: disc;
93
+ padding-left: 1em;
94
+ }
92
95
  // Button Animation + Gleiche Breite
93
96
  .button {
94
97
  // Schrifft
Binary file
Binary file
data/favicon.png CHANGED
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.30
4
+ version: 0.1.34
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-12-15 00:00:00.000000000 Z
11
+ date: 2021-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -59,10 +59,8 @@ files:
59
59
  - assets/img/download_link.png
60
60
  - assets/img/external-link.png
61
61
  - assets/img/internal-link.png
62
- - assets/img/logo-black-old.png
63
62
  - assets/img/logo-black.png
64
63
  - assets/img/logo-dites.png
65
- - assets/img/logo-white-short.png
66
64
  - assets/img/logo-white.png
67
65
  - assets/img/logos/BMBF_logo.jpg
68
66
  - assets/img/logos/DiTes_Single.png
Binary file
Binary file