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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 06bf6f07388adcf00fe9596659a302be4dbb62ecf307860da1f0b11979286be6
4
- data.tar.gz: bf48222bf1ccfbffa6116891806d406760acc82e63fbb3fce393bd01c0e3c051
3
+ metadata.gz: 0f2467e450ec5e4e065c075bed6701bb65d8e53f34efd67a285057354ce2b80d
4
+ data.tar.gz: 3c5852624847fbdfe32e446d8406050e8407ef1d6275ec10358e5760ea4f13ea
5
5
  SHA512:
6
- metadata.gz: 7835a46769b16e9205eb4008ac037d814ac83e921281fe6e7b54b6f2714a9a051cda4032b0d8c9f4768eaee3b5cac91f663a925875c391b5239f388d6c12e4c0
7
- data.tar.gz: c5c1037a96c939efda4226d1e636eeb31d743ae8dbd1def6bd5add1460311d47ae14aa5a51e6c0df525846168d00b4c55ee74955070dc7335a50d596cd2f776d
6
+ metadata.gz: acb05160ae4f313db03148e1d6d1a57dd65b4995727a54a2c6ddba5aca0623304636acdb2e4a9c34fa996de762406cd958edf2ad498574a68a46829937f65fa1
7
+ data.tar.gz: '092b3d9369d57f29504bef50042c4e425b16f396628fb3a97fab83d6a28ace8b23f0f5fe73ef8e1ecec854c0470f42a5692242de7304f105e00104ebb52aee11'
@@ -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>
@@ -13,7 +13,7 @@
13
13
  <div class="news-content column is-half">
14
14
  <div class="media">
15
15
  <div class="media-content">
16
- <h4>{{story.date | date: "%m.%d.%Y"}}</h4>
16
+ <h4>{{story.date | date: "%d.%m.%Y"}}</h4>
17
17
  <h2>{{story.title}}</h2>
18
18
  </div>
19
19
  </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
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.31
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: 2021-12-16 00:00:00.000000000 Z
11
+ date: 2022-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll