intia-theme 0.1.14 → 0.1.18

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: 564a52586c89ee13284be7aea2cf7f8e54c6608b05929db5def148ab41e8bd28
4
- data.tar.gz: e358425ed5e040a534ecc5cbd885d98a8c20bfee3a8d79197034bcbb50e43aad
3
+ metadata.gz: 8086f593a2fb18d23f6a12c2c3861fa1baae6dfc6c370ce4081b350db1fc31a8
4
+ data.tar.gz: cac867fccf4719ae6f771685346e5d53c4c784c81a823f0108feafa5ddf82810
5
5
  SHA512:
6
- metadata.gz: 0e7fdc0223c1a6c187092bb65de94b5eeae3e61693fd57adea35365be6e9c5fc87560423b29c9517bae8dfc1eff0f939d357be1be3948a3a9f341eeabc540e10
7
- data.tar.gz: e4c07f01803754b26270444fb308f0693583314e2af327e43a5c5fd213412f959472faa1590d12ec11867f34db9c31307ee99e9532a6e21feb9e1db3c387bb0b
6
+ metadata.gz: b1f8c53124c21df01a95b5fe69e2cee57779d46b2526c030f013b8816e22d1e1aaa0b19eb4e3c8217603d42c9bd23f22ecdbf31f28fd7a549585fe9958ecc317
7
+ data.tar.gz: a06fd3586b714ed9b7f07748ce5470988ab0491e95788f5860820ebf5d26125a98e91a7073cf001dfbfc5df056cf46f0f3f555ed76dafc2eedf3a06728ae087c
@@ -1,5 +1,5 @@
1
1
  {% if page.contact %}
2
- <div class="green contact">
2
+ <div class="container contact">
3
3
  <h1>{{ site.data.contact.title }}</h1>
4
4
  {{ site.data.contact.introduction }}
5
5
  <form action="{{ site.data.contact.action }}" class="columns">
@@ -46,18 +46,18 @@
46
46
  class="textarea"
47
47
  id="message"
48
48
  name="message"
49
- placeholder="Wie können wir dir helfen?"
49
+ placeholder="Hier tippen"
50
50
  required=""
51
51
  ></textarea>
52
52
  </div>
53
53
  </div>
54
54
  <div class="checkbox columns">
55
- <div class="column is-1">
55
+ <div class="column contact-box">
56
56
  <input class="column" type="checkbox" id="agree" name="privacy-policy" value="agreed" required oninvalid="this.setCustomValidity('Bitte dieses Feld anklicken, um fortzufahren')"
57
57
  oninput="this.setCustomValidity('')">
58
58
  </div>
59
59
 
60
- <div class="column">
60
+ <div class="column contact-agree">
61
61
  <label for="agree">{{ site.data.contact.checkbox }}</label><br><br>
62
62
  <button class="button is-rounded is-dark" type="submit">Abschicken</button>
63
63
  </div>
@@ -65,4 +65,4 @@
65
65
  </div>
66
66
  </form>
67
67
  </div>
68
- {% endif %}
68
+ {% endif %}
@@ -4,7 +4,7 @@
4
4
  <div class="navbar-brand column is-full">
5
5
  <a href="{{ site.baseurl }}/" class="columns navbar-item">
6
6
  <img class="column" src="{{ site.baseurl }}/assets/img/logo-white.png">
7
- <p class="calumn brand-title">Inklusiv für alle</p>
7
+ <p class="calumn brand-title"></p>
8
8
  </a>
9
9
  </div>
10
10
  <div class="column is-2">
@@ -54,12 +54,12 @@
54
54
  <div class="columns content is-small has-text-centered footer-logos">
55
55
  <div class="column has-text-right"><div class="page-owner">
56
56
  <p class="has-text-left">Eine Seite von</p>
57
- <img src="https://upload.wikimedia.org/wikipedia/commons/0/0e/TH_Koeln_Logo.svg">
58
- <img src="{{ site.baseurl }}/assets/img/logo-dites.png">
57
+ <img src="{{ site.baseurl }}/assets/img/logos/INTIA_Plattform_Logos_TH_weiss.png">
58
+ <img src="{{ site.baseurl }}/assets/img/logos/INTIA_Plattform_Logos_Dites_weiss.png">
59
59
  </div></div>
60
60
  <div class="column has-text-left"><div class="page-sponsor">
61
61
  <p class="has-text-left">Gefördert von</p>
62
- <img src="https://www.bmbf.de/SiteGlobals/Frontend/Images/icons/_common/logo.svg;jsessionid=73771066A725D13D2D34C4D38E4A181D.live382?__blob=normal&v=3">
62
+ <img src="{{ site.baseurl }}/assets/img/logos/INTIA_Plattform_Logos_BMBF_weiss.png">
63
63
  </div></div>
64
64
  </div>
65
65
  <div class="content is-small has-text-centered">
@@ -17,20 +17,25 @@
17
17
  {% for item in site.data.navigation %}
18
18
  {% if item.dropdown %}
19
19
  <div
20
- class="navbar-item has-text-left button is-rounded is-dark has-dropdown is-hoverable {% if site.fixed_navbar == 'bottom' %} has-dropdown-up {% endif %}">
21
- <a href="{{ item.link | relative_url }}"
22
- class="navbar-link {% if item.link == page.url %}is-active{% endif %}">{{ item.name }}</a>
20
+ class="navbar-item has-text-left button is-rounded is-dark has-dropdown is-hoverable {% if site.fixed_navbar == 'bottom' %} has-dropdown-up {% endif %} {% for subitem in item.dropdown %} {% if subitem.link == page.url %} is-active-header {% endif %} {% endfor %}">
21
+
22
+ {% if item.selectable %}
23
+ <a href="{{ item.link | relative_url }}"
24
+ class="navbar-link {% if item.link == page.url %} is-active {% endif %}">{{ item.name }}</a>
25
+ {% else %}
26
+ <a for="navbar-click" class="navbar-link">{{ item.name }}</a>
27
+ {% endif %}
23
28
  <div class="navbar-dropdown">
24
29
  {% for subitem in item.dropdown %}
25
30
  <a href="{{ subitem.link | relative_url }}"
26
- class="navbar-item button is-rounded is-dark {% if subitem.link == page.url %}is-active{% endif %}">{{ subitem.name
31
+ class="navbar-item button is-rounded is-dark {% if subitem.link == page.url %} is-active {% endif %}">{{ subitem.name
27
32
  }}</a>
28
33
  {% endfor %}
29
34
  </div>
30
35
  </div>
31
36
  {% else %}
32
37
  <a href="{{ item.link | relative_url }}"
33
- class="navbar-item button is-rounded is-dark {% if item.link == page.url %}is-active{% endif %}">{{ item.name }}</a>
38
+ class="navbar-item has-text-left button is-rounded is-dark {% if item.link == page.url %}is-active{% endif %}">{{ item.name }}</a>
34
39
  {% endif %}
35
40
  {% endfor %}
36
41
  {% endif %}
data/_sass/_layout.scss CHANGED
@@ -47,11 +47,13 @@ div.highlight {
47
47
  }
48
48
 
49
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 {
@@ -76,9 +78,13 @@ div.highlight {
76
78
  img.is-rounded {
77
79
  border-radius: 65px;
78
80
  }
81
+ .hidden {
82
+ display: none;
83
+ }
79
84
  .arrow-image {
80
85
  z-index: 10;
81
86
  top: calc(50% - 68px);
87
+ left: 4vw;
82
88
  position: sticky;
83
89
  width: 64px;
84
90
  cursor: pointer;
@@ -158,7 +164,17 @@ a .tooltip-popup {
158
164
  .navbar-link {
159
165
  background-color: transparent;
160
166
  }
161
-
167
+ a.navbar-item:focus,
168
+ a.navbar-item:focus-within,
169
+ a.navbar-item:hover,
170
+ a.navbar-item.is-active,
171
+ .navbar-link:focus,
172
+ .navbar-link:focus-within,
173
+ .navbar-link:hover,
174
+ .navbar-link.is-active {
175
+ background-color: $primary-dark;
176
+ color: white;
177
+ }
162
178
  .button.is-rounded {
163
179
  padding-right: 0em !important;
164
180
  }
@@ -270,7 +286,9 @@ a .tooltip-popup {
270
286
  .subtitle {
271
287
  padding: 50px;
272
288
  }
273
-
289
+ .subtitle.is-4 {
290
+ font-size: 1.6rem;
291
+ }
274
292
  .post h3 {
275
293
  font-weight: 600;
276
294
  padding-top: 2rem;
@@ -463,19 +481,20 @@ a .tooltip-popup {
463
481
  display: flex;
464
482
  background-color: white;
465
483
  border-radius: 1000px;
466
- padding: 3rem;
484
+ padding: 2rem;
467
485
  float: none;
468
486
  overflow: hidden;
469
487
  height: 300px;
470
- width: 300px;
488
+ width: 300px;
471
489
  }
472
490
  .highlighter .is-round img {
473
491
  background-color: white;
474
492
  padding-left: 0;
475
493
  padding-right: 0;
476
- object-fit: contain;
477
- height: auto;
494
+ object-fit: cover;
495
+ //height: auto;
478
496
  width: auto;
497
+ aspect-ratio: 1 / 1;
479
498
  }
480
499
 
481
500
  // Footer
@@ -491,8 +510,12 @@ a .tooltip-popup {
491
510
  flex-grow: 0;
492
511
  }
493
512
  .footer-logos img {
494
- height: 75px;
513
+ height: 80px;
495
514
  margin-right: 15px;
515
+ image-rendering: -webkit-optimize-contrast;
516
+ }
517
+ .footer-logos p {
518
+ padding-bottom: 5px;
496
519
  }
497
520
  .footer .title {
498
521
  color: white;
@@ -529,34 +552,6 @@ footer .columns {
529
552
  font-weight: 600;
530
553
  }
531
554
 
532
- // Hacks für Mobil
533
- @include mobile {
534
- .button {
535
- height: auto;
536
- }
537
- .button a,
538
- .button span {
539
- font-size: 24px !important;
540
- font-weight: 600;
541
- }
542
- .buttons {
543
- display: table-caption;
544
- }
545
- .navbar-menu {
546
- background-color: #229387;
547
- }
548
- .hero.is-medium .hero-body {
549
- padding: 5rem 1rem 4.5rem;
550
- }
551
- .navbar-menu .button {
552
- // Buttongröße aus Figma
553
- height: auto;
554
- }
555
- .footer-logos .column {
556
- text-align: left !important;
557
- }
558
- }
559
-
560
555
  // Tool-Tip
561
556
 
562
557
  .tooltip-popup {
@@ -584,13 +579,24 @@ a:hover .tooltip-popup,
584
579
  .input,
585
580
  .textarea,
586
581
  #thema {
582
+ background-color: $light;
587
583
  border: 3px solid $primary-dark;
588
584
  border-radius: 45px;
589
585
  padding-left: 2.5em;
590
586
  padding-right: 2.5em;
591
587
  }
592
- .input,
593
- #thema {
588
+ .input:hover,
589
+ .textarea:hover,
590
+ #thema:hover {
591
+ border: 3px solid $dark;
592
+ }
593
+ .input:focus,
594
+ .textarea:focus {
595
+ //border: 2px solid $primary-dark;
596
+ border: 3px solid $dark;
597
+ box-shadow: none;
598
+ }
599
+ .input {
594
600
  height: 2.75em;
595
601
  }
596
602
 
@@ -602,13 +608,21 @@ a:hover .tooltip-popup,
602
608
  .label {
603
609
  color: $primary-dark;
604
610
  font-weight: 600;
605
- padding-left: 1rem;
611
+ padding-left: 0.5rem;
606
612
  margin-bottom: 0 !important;
607
613
  }
608
614
  .contact .column {
609
615
  padding: 5rem;
616
+ padding-bottom: 0;
610
617
  padding-left: 0;
611
618
  }
619
+ .contact .contact-box {
620
+ flex-grow: 0;
621
+ padding-right: 50px;
622
+ }
623
+ .contact-agree {
624
+ padding-right: 0 !important;
625
+ }
612
626
  .select:not(.is-multiple):not(.is-loading)::after {
613
627
  border-color: $primary-dark;
614
628
  right: 2.3em;
@@ -619,9 +633,40 @@ a:hover .tooltip-popup,
619
633
  top: 2px;
620
634
  }
621
635
  .contact .button {
636
+ margin-top: 50px;
622
637
  float: right;
623
638
  }
624
639
 
640
+ [type="checkbox"] {
641
+ position: relative;
642
+ //left: 15px;
643
+ top: 0;
644
+ z-index: 0;
645
+ -webkit-appearance: none;
646
+ }
647
+ [type="checkbox"] {
648
+ position: absolute;
649
+ }
650
+ [type="checkbox"]::before {
651
+ width: 25px;
652
+ height: 25px;
653
+ border-radius: 8px;
654
+ border: 2px solid $primary-dark;
655
+ background-color: $light;
656
+ display: block;
657
+ content: "";
658
+ float: left;
659
+ left: 12px;
660
+ //margin-top: 5px;
661
+ //margin-right: 5px;
662
+ z-index: 5;
663
+ position: relative;
664
+ }
665
+ [type="checkbox"]:checked::before {
666
+ box-shadow: inset 0px 0px 0px 4px #fff;
667
+ background-color: $primary-dark;
668
+ }
669
+
625
670
  // newss
626
671
  .news {
627
672
  box-shadow: none;
@@ -671,3 +716,173 @@ a:hover .tooltip-popup,
671
716
  display: flow-root;
672
717
  margin: auto;
673
718
  }
719
+
720
+ // Mobil
721
+
722
+ @include mobile {
723
+ body,
724
+ .highlighter {
725
+ font-size: 0.9rem;
726
+ line-height: 1.5rem;
727
+ }
728
+ .arrow-image {
729
+ display: none;
730
+ }
731
+ h1,
732
+ h2,
733
+ h3,
734
+ p {
735
+ padding-bottom: 0px;
736
+ }
737
+ h1,
738
+ h1 p {
739
+ font-size: 1.875rem; //30px
740
+ }
741
+ .home .hero-body h1 {
742
+ max-width: none;
743
+ }
744
+ .subtitle {
745
+ padding: 35px;
746
+ padding-top: 0;
747
+ }
748
+ .title.is-1 {
749
+ font-size: 1.3rem;
750
+ font-weight: 600;
751
+ }
752
+ .subtitle.is-4 {
753
+ font-size: 1.1rem;
754
+ }
755
+ h2,
756
+ h2 p,
757
+ .highlighter h2 {
758
+ font-size: 1.2rem;
759
+ }
760
+
761
+ h3 {
762
+ font-weight: 600;
763
+ font-size: 1.7rem;
764
+ }
765
+
766
+ h4 {
767
+ font-size: 1rem;
768
+ }
769
+
770
+ h5 {
771
+ font-size: 0.83rem;
772
+ }
773
+ .navbar {
774
+ padding-top: 0.6rem;
775
+ padding-bottom: 0.6rem;
776
+ }
777
+ .navbar-brand img {
778
+ margin: 1rem;
779
+ }
780
+ .hero.is-primary .title {
781
+ padding-top: 35px;
782
+ }
783
+ .navbar-menu .button.is-dark {
784
+ background-color: transparent;
785
+ border-radius: 0;
786
+ width: 100vw;
787
+ }
788
+ .navbar-menu {
789
+ background-color: transparent;
790
+ }
791
+ a.navbar-link {
792
+ background-color: $primary-dark;
793
+ }
794
+ a.navbar-item {
795
+ background-color: $primary-dark !important;
796
+ margin-left: 50px;
797
+ }
798
+ .navbar-item,
799
+ .navbar-link {
800
+ color: #fff;
801
+ display: block;
802
+ line-height: 2.5;
803
+ padding: 0.9rem;
804
+ position: relative;
805
+ }
806
+ .navbar-link:not(.is-arrowless)::after {
807
+ border-color: #fff;
808
+ }
809
+ .navbar.is-primary .navbar-dropdown a.navbar-item.is-active {
810
+ background-color: #09443e !important;
811
+ }
812
+ .button {
813
+ height: auto;
814
+ }
815
+ .button a,
816
+ .button span {
817
+ font-size: 0.8rem !important;
818
+ font-weight: 600;
819
+ }
820
+ .navbar.is-primary .navbar-dropdown a.navbar-item.is-active {
821
+ background-color: #09443e;
822
+ color: #fff;
823
+ }
824
+ .buttons {
825
+ // display: table-caption;
826
+ }
827
+ .hero-body .button,
828
+ .content-wrapper .button {
829
+ padding: 0.5rem !important;
830
+ }
831
+ .hero.is-medium .hero-body {
832
+ padding: 5rem 1rem 4.5rem;
833
+ }
834
+ .navbar-menu .button {
835
+ // Buttongröße aus Figma
836
+ height: auto;
837
+ }
838
+ .story-slider,
839
+ .content-wrapper img {
840
+ border-radius: 25px !important;
841
+ }
842
+ .column.slider-image img {
843
+ border-top-right-radius: 25px !important;
844
+ border-bottom-left-radius: 0 !important;
845
+ border-bottom-right-radius: 0 !important;
846
+ }
847
+ .slider-navigation-next,
848
+ .slider-navigation-previous {
849
+ top: 100% !important;
850
+ width: 20px !important;
851
+ height: 20px !important;
852
+ margin-left: 80px;
853
+ margin-right: 80px;
854
+ }
855
+ .card-content p {
856
+ padding-left: 3rem;
857
+ }
858
+ .card {
859
+ margin-top: 0;
860
+ }
861
+ .card-content {
862
+ padding: 2.5rem;
863
+ }
864
+ .left.card-image {
865
+ padding-left: 2.5rem;
866
+ padding-right: 2.5rem;
867
+ }
868
+ .right.card-image {
869
+ padding-bottom: 2.5rem;
870
+ }
871
+ .columns {
872
+ margin-left: 0;
873
+ margin-right: 0;
874
+ margin-top: 0;
875
+ }
876
+ .two-columns p {
877
+ column-count: 1;
878
+ column-gap: 1rem;
879
+ }
880
+ .highlighter .is-round {
881
+ padding: 10px;
882
+ height: auto;
883
+ width: auto;
884
+ }
885
+ .footer-logos .column {
886
+ text-align: left !important;
887
+ }
888
+ }
data/_sass/_main.scss CHANGED
@@ -132,7 +132,20 @@ h5 {
132
132
  border-color: transparent;
133
133
  color: white;
134
134
  }
135
-
135
+ @include desktop {
136
+ .navbar-menu .button.is-dark:hover.has-dropdown,
137
+ .navbar-menu .button.is-dark.is-hovered.has-dropdown {
138
+ background-color: $primary-dark;
139
+ }
140
+ }
141
+ .is-active-header {
142
+ background-color: $dark !important;
143
+ }
144
+ @include mobile {
145
+ .is-active-header {
146
+ background-color: transparent !important;
147
+ }
148
+ }
136
149
  // Dropdownmenüelemente
137
150
  .navbar-dropdown,
138
151
  .navbar-item:focus,
@@ -142,6 +155,11 @@ h5 {
142
155
  border-width: 2px;
143
156
  color: white;
144
157
  }
158
+ .navbar.is-primary .navbar-start .navbar-item:hover .navbar-link::after,
159
+ .navbar.is-primary .navbar-end .navbar-item:hover .navbar-link::after {
160
+ transform: rotate(135deg);
161
+ margin-top: 0;
162
+ }
145
163
 
146
164
  // Dropdownmenühintergrund und Rand
147
165
  .navbar-dropdown {
@@ -159,6 +177,13 @@ h5 {
159
177
  .navbar-item {
160
178
  //padding-top: 21px;
161
179
  }
180
+ .navbar-dropdown {
181
+ display: none;
182
+ }
183
+ .button.is-dark.has-dropdown:hover .navbar-dropdown,
184
+ .button.is-dark.is-hovered.has-dropdown .navbar-dropdown {
185
+ display: block;
186
+ }
162
187
 
163
188
  .footer {
164
189
  background-color: $primary-dark;
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.14
4
+ version: 0.1.18
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-11-11 00:00:00.000000000 Z
11
+ date: 2021-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -69,6 +69,16 @@ files:
69
69
  - assets/img/logo-white-old.png
70
70
  - assets/img/logo-white.png
71
71
  - assets/img/logo.png
72
+ - assets/img/logos/BMBF-01.png
73
+ - assets/img/logos/DiTes_Single.png
74
+ - assets/img/logos/Diakonie_Logo.png
75
+ - assets/img/logos/EvJugendhilfe_Logo.png
76
+ - assets/img/logos/FJMK_Logo.png
77
+ - assets/img/logos/INTIA_Plattform_Logos_BMBF_weiss.png
78
+ - assets/img/logos/INTIA_Plattform_Logos_Dites_weiss.png
79
+ - assets/img/logos/INTIA_Plattform_Logos_TH_weiss.png
80
+ - assets/img/logos/StadtGrenzenlos_Logo.png
81
+ - assets/img/logos/TH_Single.png
72
82
  - assets/img/posts/escape-game.jpg
73
83
  - assets/img/posts/messenger.jpg
74
84
  - assets/img/posts/photoprobe.jpg
@@ -393,6 +403,6 @@ requirements: []
393
403
  rubygems_version: 3.2.19
394
404
  signing_key:
395
405
  specification_version: 4
396
- summary: A barrier-free design by INTIA, created to be used as an Jekyll theme using
397
- Bulma. It can be viewed on theme.intia.de
406
+ summary: A accessible focused design by INTIA, created to be used as an Jekyll theme
407
+ using Bulma. It can be viewed on theme.intia.de
398
408
  test_files: []