intia-theme 0.1.13 → 0.1.17

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: b88ed09bc1f742257defe1d4efc91e4a8ed4de01116a8ef9ab09f6cb554cf34c
4
- data.tar.gz: 6ecbd3fb415169e9adab1f8b886124cddd3ba845a99878248863787e0f5ed8d3
3
+ metadata.gz: 53296ddda845d66fa5916507b301141a35e3eabd5bcd02e44b1b96830192b1a4
4
+ data.tar.gz: '090e60815310dad0439bc027988ae48b9bf653a4ce8dfe63227f865952f6ed5c'
5
5
  SHA512:
6
- metadata.gz: 7890328c21d1f0d1f495a352e8a7cdce3fca2b623406c2ad04d54801cfde487090f469b3a45d34b3ef57bbb5eb82e5c6c6d55211e594202b20172548898b4759
7
- data.tar.gz: 003d6fff816a6e60b26ad474d99304f863927f66659e8220250c4ddd8c572d3fe88bcdbfcb60044854eac79144a9fe07f72f9943a74931aa11c57fa49e8887af
6
+ metadata.gz: 88c769261767a6388d356a7752160c75665808e806d0b77aff3c8e6ab9fb0846df0922fd0bf06ac42229db3c447eb2049ceabf7e342c7fc691c87bd74c5e5b51
7
+ data.tar.gz: 439342205624ceb041d7be888fd9ee0d2ca20490eab0d2f43cdf2f1f0d94a60b406f3786075e56fb967365e4ed2631cc3ecec43fd4966eed125c5b48f30a1467
@@ -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,17 +78,23 @@ 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;
85
91
  display: flex;
86
92
  flex-direction: column;
93
+ height: 132px;
87
94
  }
88
95
  .is-pointed-down {
89
96
  transform: scaleY(-1);
97
+ margin-top: auto;
90
98
  }
91
99
  .is-hidden {
92
100
  visibility: hidden;
@@ -156,7 +164,17 @@ a .tooltip-popup {
156
164
  .navbar-link {
157
165
  background-color: transparent;
158
166
  }
159
-
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
+ }
160
178
  .button.is-rounded {
161
179
  padding-right: 0em !important;
162
180
  }
@@ -205,7 +223,8 @@ a .tooltip-popup {
205
223
  padding: 16px !important;
206
224
  }
207
225
 
208
- .hero-body .container .button, .float_right {
226
+ .hero-body .container .button,
227
+ .float_right {
209
228
  float: right;
210
229
  }
211
230
  .home .hero-body h1,
@@ -233,9 +252,9 @@ a .tooltip-popup {
233
252
  object-fit: cover;
234
253
  }
235
254
  .subpage .hero-body img {
236
- object-fit: cover;
237
- max-height: 30vw;
238
- width: 100%;
255
+ object-fit: cover;
256
+ max-height: 30vw;
257
+ width: 100%;
239
258
  }
240
259
  .buttons-hero {
241
260
  display: none;
@@ -267,7 +286,9 @@ width: 100%;
267
286
  .subtitle {
268
287
  padding: 50px;
269
288
  }
270
-
289
+ .subtitle.is-4 {
290
+ font-size: 1.6rem;
291
+ }
271
292
  .post h3 {
272
293
  font-weight: 600;
273
294
  padding-top: 2rem;
@@ -460,19 +481,20 @@ width: 100%;
460
481
  display: flex;
461
482
  background-color: white;
462
483
  border-radius: 1000px;
463
- padding: 3rem;
484
+ padding: 2rem;
464
485
  float: none;
465
486
  overflow: hidden;
466
487
  height: 300px;
467
- width: 300px;
488
+ width: 300px;
468
489
  }
469
490
  .highlighter .is-round img {
470
491
  background-color: white;
471
492
  padding-left: 0;
472
493
  padding-right: 0;
473
- object-fit: contain;
474
- height: auto;
494
+ object-fit: cover;
495
+ //height: auto;
475
496
  width: auto;
497
+ aspect-ratio: 1 / 1;
476
498
  }
477
499
 
478
500
  // Footer
@@ -488,8 +510,12 @@ width: 100%;
488
510
  flex-grow: 0;
489
511
  }
490
512
  .footer-logos img {
491
- height: 75px;
513
+ height: 80px;
492
514
  margin-right: 15px;
515
+ image-rendering: -webkit-optimize-contrast;
516
+ }
517
+ .footer-logos p {
518
+ padding-bottom: 5px;
493
519
  }
494
520
  .footer .title {
495
521
  color: white;
@@ -526,53 +552,26 @@ footer .columns {
526
552
  font-weight: 600;
527
553
  }
528
554
 
529
- // Hacks für Mobil
530
- @include mobile {
531
- .button {
532
- height: auto;
533
- }
534
- .button a,
535
- .button span {
536
- font-size: 24px !important;
537
- font-weight: 600;
538
- }
539
- .buttons {
540
- display: table-caption;
541
- }
542
- .navbar-menu {
543
- background-color: #229387;
544
- }
545
- .hero.is-medium .hero-body {
546
- padding: 5rem 1rem 4.5rem;
547
- }
548
- .navbar-menu .button {
549
- // Buttongröße aus Figma
550
- height: auto;
551
- }
552
- .footer-logos .column {
553
- text-align: left !important;
554
- }
555
- }
556
-
557
555
  // Tool-Tip
558
556
 
559
- .tooltip-popup {
557
+ .tooltip-popup {
560
558
  position: absolute;
561
559
  width: 20vw;
562
560
  z-index: 30;
563
561
  visibility: hidden;
564
562
  display: none;
565
563
  background: #e7f2ea;
566
- border-radius: 65px;
564
+ border-radius: 65px;
567
565
  padding: 50px;
568
566
  margin-top: -10px;
569
567
  margin-right: 30px;
570
568
  }
571
- a:hover .tooltip-popup, .show {
569
+ a:hover .tooltip-popup,
570
+ .show {
572
571
  visibility: visible;
573
572
  display: block;
574
573
  }
575
- .tooltip-popup h2{
574
+ .tooltip-popup h2 {
576
575
  padding-top: 0;
577
576
  }
578
577
  // Contect
@@ -580,13 +579,24 @@ a:hover .tooltip-popup, .show {
580
579
  .input,
581
580
  .textarea,
582
581
  #thema {
582
+ background-color: $light;
583
583
  border: 3px solid $primary-dark;
584
584
  border-radius: 45px;
585
585
  padding-left: 2.5em;
586
586
  padding-right: 2.5em;
587
587
  }
588
- .input,
589
- #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 {
590
600
  height: 2.75em;
591
601
  }
592
602
 
@@ -598,13 +608,21 @@ a:hover .tooltip-popup, .show {
598
608
  .label {
599
609
  color: $primary-dark;
600
610
  font-weight: 600;
601
- padding-left: 1rem;
611
+ padding-left: 0.5rem;
602
612
  margin-bottom: 0 !important;
603
613
  }
604
614
  .contact .column {
605
615
  padding: 5rem;
616
+ padding-bottom: 0;
606
617
  padding-left: 0;
607
618
  }
619
+ .contact .contact-box {
620
+ flex-grow: 0;
621
+ padding-right: 50px;
622
+ }
623
+ .contact-agree {
624
+ padding-right: 0 !important;
625
+ }
608
626
  .select:not(.is-multiple):not(.is-loading)::after {
609
627
  border-color: $primary-dark;
610
628
  right: 2.3em;
@@ -615,9 +633,40 @@ a:hover .tooltip-popup, .show {
615
633
  top: 2px;
616
634
  }
617
635
  .contact .button {
636
+ margin-top: 50px;
618
637
  float: right;
619
638
  }
620
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
+
621
670
  // newss
622
671
  .news {
623
672
  box-shadow: none;
@@ -667,3 +716,168 @@ a:hover .tooltip-popup, .show {
667
716
  display: flow-root;
668
717
  margin: auto;
669
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
+ .footer-logos .column {
881
+ text-align: left !important;
882
+ }
883
+ }
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
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.13
4
+ version: 0.1.17
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-03 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
@@ -59,14 +59,26 @@ 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
62
63
  - assets/img/logo-black.png
63
64
  - assets/img/logo-dites.png
64
65
  - assets/img/logo-green-white.png
65
66
  - assets/img/logo-green.png
66
67
  - assets/img/logo-short-green.png
67
68
  - assets/img/logo-short.png
69
+ - assets/img/logo-white-old.png
68
70
  - assets/img/logo-white.png
69
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
70
82
  - assets/img/posts/escape-game.jpg
71
83
  - assets/img/posts/messenger.jpg
72
84
  - assets/img/posts/photoprobe.jpg