intia-theme 0.1.12 → 0.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a8669769ba7066d73a60076f7ae616c64ff29130ba0325ed44d1f4640c1bc1ee
4
- data.tar.gz: 67c715c276ad0f4fb60293a607afee265a850a91d45f5bd301fea2cc7acd99c9
3
+ metadata.gz: 29b89930dd6eb39693bee037d177d7e6c01f6210f57b019b745bd41e5619c527
4
+ data.tar.gz: 2a44934b710dc03f53e77bcedf20d58b144f7b47cbd4eef0c472c89675002cd3
5
5
  SHA512:
6
- metadata.gz: 8e52fc65a5da0ca117e95b220b7cd2e721230800c0684b2dc8df02032b5bf6653785ac6164625a779aa9af6eaaa5513c98d39fd549d1a7b4e86f96e2ef27885b
7
- data.tar.gz: 45befe3feb7d858cbb86fddf71078beb62435d5d44ba265f866204a9486bf81558a96a760b6ceccff60dc0a910b7ebdd571c8d7515550bf79acb56d8fa419d64
6
+ metadata.gz: 8b9b527d719ec52c5bda8f94652d0f9f7d559376ffe268abeb799cbfd8644e20be942e70315a198d8637345384da31fa5ece2ad9bd00552eead1424764b83d22
7
+ data.tar.gz: f5bfdfaab597667c9892c759fba7f66e802cad3fced9bb9939fad7124e59f548e2d87b1fd470c2cec21abc405df3aced7b72dd52a8d4e7923aea892ebc9035ba
@@ -1,5 +1,6 @@
1
1
  {% if page.contact %}
2
2
  <div class="green contact">
3
+ <div class="container">
3
4
  <h1>{{ site.data.contact.title }}</h1>
4
5
  {{ site.data.contact.introduction }}
5
6
  <form action="{{ site.data.contact.action }}" class="columns">
@@ -46,13 +47,13 @@
46
47
  class="textarea"
47
48
  id="message"
48
49
  name="message"
49
- placeholder="Wie können wir dir helfen?"
50
+ placeholder="Hier tippen"
50
51
  required=""
51
52
  ></textarea>
52
53
  </div>
53
54
  </div>
54
55
  <div class="checkbox columns">
55
- <div class="column is-1">
56
+ <div class="column contact-box">
56
57
  <input class="column" type="checkbox" id="agree" name="privacy-policy" value="agreed" required oninvalid="this.setCustomValidity('Bitte dieses Feld anklicken, um fortzufahren')"
57
58
  oninput="this.setCustomValidity('')">
58
59
  </div>
@@ -65,4 +66,5 @@
65
66
  </div>
66
67
  </form>
67
68
  </div>
68
- {% endif %}
69
+ </div>
70
+ {% endif %}
@@ -0,0 +1,15 @@
1
+ {% assign entries=site.glossary | sort:page.sort %}
2
+ {% for entry in entries %}
3
+ <h2> {{entry.title}} </h2>
4
+ <p class="text-green has-text-weight-bold">{{entry.subtitle}}</p>
5
+
6
+ {{entry.abstract}}
7
+
8
+ <a href="{{ entry.url | relative_url }}" class="button float_right is-rounded has-text-centert is-dark {% if item.link == page.url %}is-active{% endif %}">
9
+ <span>Mehr lesen</span>
10
+ <span class="icon is-small">
11
+ <i class="fas fa-chevron-right fa-xs"></i>
12
+ </span>
13
+ </a>
14
+
15
+ {% endfor %}
@@ -1,5 +1,6 @@
1
1
  {% if page.story_slider %}
2
2
  <div class="green">
3
+ <div class="container">
3
4
  <h1 class="slider-titel">Aktuelles</h1>
4
5
 
5
6
  <div class="carousel">
@@ -35,6 +36,7 @@
35
36
  </div>
36
37
  </div>
37
38
  {% endfor %}
38
- </div>
39
+ </div>
40
+ </div>
39
41
  </div>
40
42
  {% endif %}
@@ -24,7 +24,7 @@ The Default layout that everything is using
24
24
  {% include latest-story.html %}
25
25
  {% include contact.html %}
26
26
  <div class="columns is-centered">
27
- <div id="content" class="column is-10-desktop is-12-tablet">
27
+ <div id="content" class="container column is-10-desktop is-12-tablet">
28
28
  {{content | markdownify}}
29
29
  </div>
30
30
  </div>
data/_sass/_layout.scss CHANGED
@@ -46,12 +46,14 @@ div.highlight {
46
46
  top: 30px;
47
47
  }
48
48
 
49
- .green {
49
+ .green {
50
+ width: 100%;
50
51
  background-color: $light;
51
52
  padding-left: 5%;
52
53
  padding-right: 5%;
53
54
  padding-top: 6rem;
54
55
  padding-bottom: 8rem;
56
+ overflow: hidden;
55
57
  }
56
58
 
57
59
  .highlighter {
@@ -65,6 +67,8 @@ div.highlight {
65
67
  .overtitle {
66
68
  margin-bottom: 0 !important;
67
69
  padding-bottom: 0 !important;
70
+ text-transform: uppercase;
71
+ letter-spacing: 0.3rem;
68
72
  }
69
73
  .title-with-overtitle {
70
74
  margin-top: 0 !important;
@@ -76,15 +80,18 @@ img.is-rounded {
76
80
  }
77
81
  .arrow-image {
78
82
  z-index: 10;
79
- top: calc(50% - 68px);
83
+ top: calc(50% - 68px);
84
+ left: 4vw;
80
85
  position: sticky;
81
86
  width: 64px;
82
87
  cursor: pointer;
83
88
  display: flex;
84
89
  flex-direction: column;
90
+ height: 132px;
85
91
  }
86
92
  .is-pointed-down {
87
93
  transform: scaleY(-1);
94
+ margin-top: auto;
88
95
  }
89
96
  .is-hidden {
90
97
  visibility: hidden;
@@ -103,6 +110,17 @@ img.is-rounded {
103
110
  display: block;
104
111
  width: 100%;
105
112
  }
113
+ .text-green {
114
+ color: $primary-dark;
115
+ }
116
+ a.tooltip-link {
117
+ color: $primary-dark;
118
+ font-weight: 600;
119
+ }
120
+ a .tooltip-popup {
121
+ color: #000;
122
+ font-weight: normal;
123
+ }
106
124
 
107
125
  // Buttons - Mybe global in Buttons und raus damit?
108
126
  .button.is-dark {
@@ -176,11 +194,6 @@ img.is-rounded {
176
194
  top: -175px;
177
195
  position: inherit;
178
196
  }
179
- .home .hero-body img {
180
- max-width: 40%;
181
- height: 66vh;
182
- object-fit: cover;
183
- }
184
197
  .hero {
185
198
  display: block;
186
199
  }
@@ -197,7 +210,8 @@ img.is-rounded {
197
210
  padding: 16px !important;
198
211
  }
199
212
 
200
- .hero-body .container .button {
213
+ .hero-body .container .button,
214
+ .float_right {
201
215
  float: right;
202
216
  }
203
217
  .home .hero-body h1,
@@ -216,9 +230,19 @@ img.is-rounded {
216
230
  margin-right: auto;
217
231
  display: block;
218
232
  top: 0;
219
- max-height: 50vh;
220
233
  max-width: auto;
221
234
  }
235
+ .home .hero-body img {
236
+ max-width: 37%;
237
+ height: auto;
238
+ aspect-ratio: 5 / 7;
239
+ object-fit: cover;
240
+ }
241
+ .subpage .hero-body img {
242
+ object-fit: cover;
243
+ max-height: 30vw;
244
+ width: 100%;
245
+ }
222
246
  .buttons-hero {
223
247
  display: none;
224
248
  }
@@ -249,7 +273,9 @@ img.is-rounded {
249
273
  .subtitle {
250
274
  padding: 50px;
251
275
  }
252
-
276
+ .subtitle.is-4 {
277
+ font-size: 1.6rem;
278
+ }
253
279
  .post h3 {
254
280
  font-weight: 600;
255
281
  padding-top: 2rem;
@@ -328,8 +354,8 @@ img.is-rounded {
328
354
  box-shadow: none;
329
355
  }
330
356
  .story-carousel-item {
331
- margin-left: 5%;
332
- margin-right: 5%;
357
+ margin-left: 2%;
358
+ margin-right: 2%;
333
359
  }
334
360
  .slider-container .card-content .content {
335
361
  margin: 50px;
@@ -508,49 +534,30 @@ footer .columns {
508
534
  font-weight: 600;
509
535
  }
510
536
 
511
- // Hacks für Mobil
512
- @include mobile {
513
- .button {
514
- height: auto;
515
- }
516
- .button a,
517
- .button span {
518
- font-size: 24px !important;
519
- font-weight: 600;
520
- }
521
- .buttons {
522
- display: table-caption;
523
- }
524
- .navbar-menu {
525
- background-color: #229387;
526
- }
527
- .hero.is-medium .hero-body {
528
- padding: 5rem 1rem 4.5rem;
529
- }
530
- .navbar-menu .button {
531
- // Buttongröße aus Figma
532
- height: auto;
533
- }
534
- .footer-logos .column {
535
- text-align: left !important;
536
- }
537
- }
537
+
538
538
 
539
539
  // Tool-Tip
540
540
 
541
- a:hover .tooltip-popup {
542
- visibility: visible;
543
- display: block;
544
- }
545
541
  .tooltip-popup {
546
- position: relative;
542
+ position: absolute;
547
543
  width: 20vw;
544
+ z-index: 30;
548
545
  visibility: hidden;
549
546
  display: none;
550
- background: $light;
547
+ background: #e7f2ea;
551
548
  border-radius: 65px;
549
+ padding: 50px;
550
+ margin-top: -10px;
551
+ margin-right: 30px;
552
+ }
553
+ a:hover .tooltip-popup,
554
+ .show {
555
+ visibility: visible;
556
+ display: block;
557
+ }
558
+ .tooltip-popup h2 {
559
+ padding-top: 0;
552
560
  }
553
-
554
561
  // Contect
555
562
 
556
563
  .input,
@@ -579,8 +586,13 @@ a:hover .tooltip-popup {
579
586
  }
580
587
  .contact .column {
581
588
  padding: 5rem;
589
+ padding-bottom: 0;
582
590
  padding-left: 0;
583
591
  }
592
+ .contact .contact-box {
593
+ flex-grow: 0;
594
+ padding-right: 50px;
595
+ }
584
596
  .select:not(.is-multiple):not(.is-loading)::after {
585
597
  border-color: $primary-dark;
586
598
  right: 2.3em;
@@ -591,9 +603,40 @@ a:hover .tooltip-popup {
591
603
  top: 2px;
592
604
  }
593
605
  .contact .button {
606
+ margin-top: 50px;
594
607
  float: right;
595
608
  }
596
609
 
610
+ [type="checkbox"] {
611
+ position: relative;
612
+ //left: 15px;
613
+ top: 0;
614
+ z-index: 0;
615
+ -webkit-appearance: none;
616
+ }
617
+ [type="checkbox"] {
618
+ position: absolute;
619
+ }
620
+ [type="checkbox"]::before {
621
+ width: 25px;
622
+ height: 25px;
623
+ border-radius: 8px;
624
+ border: 2px solid $primary-dark;
625
+ background-color: #fff;
626
+ display: block;
627
+ content: "";
628
+ float: left;
629
+ //margin-top: 5px;
630
+ //margin-right: 5px;
631
+ z-index: 5;
632
+ position: relative;
633
+ }
634
+ [type="checkbox"]:checked::before {
635
+ box-shadow: inset 0px 0px 0px 4px #fff;
636
+ background-color: $primary-dark;
637
+ }
638
+
639
+
597
640
  // newss
598
641
  .news {
599
642
  box-shadow: none;
@@ -643,3 +686,159 @@ a:hover .tooltip-popup {
643
686
  display: flow-root;
644
687
  margin: auto;
645
688
  }
689
+
690
+ // Mobil
691
+
692
+ @include mobile {
693
+ body, .highlighter {
694
+ font-size: 0.9rem;
695
+ line-height: 1.5rem;
696
+ }
697
+ .arrow-image {
698
+ display: none;
699
+ }
700
+ h1, h2, h3, p {
701
+ padding-bottom: 0px;
702
+ }
703
+ h1,
704
+ h1 p {
705
+ font-size: 1.875rem; //30px
706
+ }
707
+ .home .hero-body h1 {
708
+ max-width: none;
709
+ }
710
+ .subtitle {
711
+ padding: 35px;
712
+ padding-top: 0;
713
+ }
714
+ .title.is-1 {
715
+ font-size: 1.3rem;
716
+ font-weight: 600;
717
+ }
718
+ .subtitle.is-4 {
719
+ font-size: 1.1rem;
720
+ }
721
+ h2,
722
+ h2 p, .highlighter h2 {
723
+ font-size: 1.2rem;
724
+ }
725
+
726
+ h3 {
727
+ font-weight: 600;
728
+ font-size: 1.7rem;
729
+ }
730
+
731
+ h4 {
732
+ font-size: 1rem;
733
+ }
734
+
735
+ h5 {
736
+ font-size: 0.83rem;
737
+ }
738
+ .navbar {
739
+ padding-top: 0.6rem;
740
+ padding-bottom: 0.6rem;
741
+ }
742
+ .navbar-brand img {
743
+ margin: 1rem;
744
+ }
745
+ .hero.is-primary .title {
746
+ padding-top: 35px;
747
+ }
748
+ .navbar-menu .button.is-dark {
749
+ background-color: transparent;
750
+ border-radius: 0;
751
+ width: 100vw;
752
+ }
753
+ .navbar-menu {
754
+ background-color: transparent;
755
+ }
756
+ a.navbar-link {
757
+ background-color: $primary-dark;
758
+ }
759
+ a.navbar-item {
760
+ background-color: $primary-dark !important;
761
+ margin-left: 50px;
762
+ }
763
+ .navbar-item, .navbar-link {
764
+ color: #fff;
765
+ display: block;
766
+ line-height: 2.5;
767
+ padding: 0.9rem;
768
+ position: relative;
769
+ }
770
+ .navbar-link:not(.is-arrowless)::after {
771
+ border-color: #fff;
772
+ }
773
+ .navbar.is-primary .navbar-dropdown a.navbar-item.is-active {
774
+ background-color: #09443e !important;
775
+ }
776
+ .button {
777
+ height: auto;
778
+ }
779
+ .button a,
780
+ .button span {
781
+ font-size: 0.8rem !important;
782
+ font-weight: 600;
783
+ }
784
+ .navbar.is-primary .navbar-dropdown a.navbar-item.is-active {
785
+ background-color: #09443e;
786
+ color: #fff;
787
+ }
788
+ .buttons {
789
+ // display: table-caption;
790
+ }
791
+ .hero-body .button, .content-wrapper .button {
792
+ padding: 0.5rem !important;
793
+ }
794
+ .hero.is-medium .hero-body {
795
+ padding: 5rem 1rem 4.5rem;
796
+ }
797
+ .navbar-menu .button {
798
+ // Buttongröße aus Figma
799
+ height: auto;
800
+ }
801
+ .story-slider, .content-wrapper img {
802
+ border-radius: 25px !important;
803
+ }
804
+ .column.slider-image img {
805
+ border-top-right-radius: 25px !important;
806
+ border-bottom-left-radius: 0 !important;
807
+ border-bottom-right-radius: 0 !important;
808
+ }
809
+ .slider-navigation-next, .slider-navigation-previous {
810
+ top: 100% !important;
811
+ width: 20px !important;
812
+ height: 20px !important;
813
+ margin-left: 80px;
814
+ margin-right: 80px;
815
+ }
816
+ .card-content p {
817
+ padding-left: 3rem;
818
+ }
819
+ .card {
820
+ margin-top: 0;
821
+ }
822
+ .card-content {
823
+ padding: 2.5rem;
824
+ }
825
+ .left.card-image {
826
+ padding-left: 2.5rem;
827
+ padding-right: 2.5rem;
828
+ }
829
+ .right.card-image {
830
+ padding-bottom: 2.5rem;
831
+ }
832
+ .columns {
833
+ margin-left: 0;
834
+ margin-right: 0;
835
+ margin-top: 0;
836
+ }
837
+ .two-columns p {
838
+ column-count: 1;
839
+ column-gap: 1rem;
840
+ }
841
+ .footer-logos .column {
842
+ text-align: left !important;
843
+ }
844
+ }
Binary file
Binary file
Binary file
Binary file
Binary file
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.12
4
+ version: 0.1.16
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-27 00:00:00.000000000 Z
11
+ date: 2021-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -36,6 +36,7 @@ files:
36
36
  - _includes/button.html
37
37
  - _includes/contact.html
38
38
  - _includes/footer.html
39
+ - _includes/glossary.html
39
40
  - _includes/head-scripts.html
40
41
  - _includes/head.html
41
42
  - _includes/header.html
@@ -55,13 +56,17 @@ files:
55
56
  - assets/img/404.png
56
57
  - assets/img/arrow-down.png
57
58
  - assets/img/arrow-left.png
59
+ - assets/img/download_link.png
58
60
  - assets/img/external-link.png
61
+ - assets/img/internal-link.png
62
+ - assets/img/logo-black-old.png
59
63
  - assets/img/logo-black.png
60
64
  - assets/img/logo-dites.png
61
65
  - assets/img/logo-green-white.png
62
66
  - assets/img/logo-green.png
63
67
  - assets/img/logo-short-green.png
64
68
  - assets/img/logo-short.png
69
+ - assets/img/logo-white-old.png
65
70
  - assets/img/logo-white.png
66
71
  - assets/img/logo.png
67
72
  - assets/img/posts/escape-game.jpg