intia-theme 0.1.15 → 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: dad25200e7456171f853920065539c3fb3169b546f48d59d11e383d57be1b75d
4
- data.tar.gz: 203cce0d02af37e95b9baaef926b84d59d9a8f9c86d21c51b29513513611c126
3
+ metadata.gz: 29b89930dd6eb39693bee037d177d7e6c01f6210f57b019b745bd41e5619c527
4
+ data.tar.gz: 2a44934b710dc03f53e77bcedf20d58b144f7b47cbd4eef0c472c89675002cd3
5
5
  SHA512:
6
- metadata.gz: fc52414ecc848aba937a9bdad1707294a7800f0fd23e8d50a498d522f479e7078d95294fe9c9e729ec3a556bbd302cf8ece30a820c91e5063f7b7e1a953eda32
7
- data.tar.gz: dd45c656e74d32ff1f0c16d2028b9d7136c561c1046d08c2de129becafd4acf6f523d341a0900d4875fdfc3a29840c3454d6d51f020077d49a196de0002e934d
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 %}
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 {
@@ -78,7 +80,8 @@ img.is-rounded {
78
80
  }
79
81
  .arrow-image {
80
82
  z-index: 10;
81
- top: calc(50% - 68px);
83
+ top: calc(50% - 68px);
84
+ left: 4vw;
82
85
  position: sticky;
83
86
  width: 64px;
84
87
  cursor: pointer;
@@ -270,7 +273,9 @@ a .tooltip-popup {
270
273
  .subtitle {
271
274
  padding: 50px;
272
275
  }
273
-
276
+ .subtitle.is-4 {
277
+ font-size: 1.6rem;
278
+ }
274
279
  .post h3 {
275
280
  font-weight: 600;
276
281
  padding-top: 2rem;
@@ -529,33 +534,7 @@ footer .columns {
529
534
  font-weight: 600;
530
535
  }
531
536
 
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
- }
537
+
559
538
 
560
539
  // Tool-Tip
561
540
 
@@ -607,8 +586,13 @@ a:hover .tooltip-popup,
607
586
  }
608
587
  .contact .column {
609
588
  padding: 5rem;
589
+ padding-bottom: 0;
610
590
  padding-left: 0;
611
591
  }
592
+ .contact .contact-box {
593
+ flex-grow: 0;
594
+ padding-right: 50px;
595
+ }
612
596
  .select:not(.is-multiple):not(.is-loading)::after {
613
597
  border-color: $primary-dark;
614
598
  right: 2.3em;
@@ -619,9 +603,40 @@ a:hover .tooltip-popup,
619
603
  top: 2px;
620
604
  }
621
605
  .contact .button {
606
+ margin-top: 50px;
622
607
  float: right;
623
608
  }
624
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
+
625
640
  // newss
626
641
  .news {
627
642
  box-shadow: none;
@@ -671,3 +686,159 @@ a:hover .tooltip-popup,
671
686
  display: flow-root;
672
687
  margin: auto;
673
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
+ }
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.15
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-11-11 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