intia-theme 0.1.51 → 0.1.54

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: f905a7cf72167a88c327e3a8de72dc0bf24395f73a2786c333f89880a557fb06
4
- data.tar.gz: 363c862e72c5da5ba2d0a8cd62f5f3c67de986af1624aa608661e84ea7da19e8
3
+ metadata.gz: 5a57ae54b99cc5c23737bdeea3ae9fa72f62219c49c31b8ee5045b1a1e51d963
4
+ data.tar.gz: 919bbdd3968ad79f17714ce8a095b13cbdd35457d83242ec4e44bdad45f0131d
5
5
  SHA512:
6
- metadata.gz: 929a33259fa68ca2656dc4f52dfd2cc45c676c5b9cc0356ad50c21529d3516b8ca3dceab982fa084e53e097da6dbba217598a5039cf9e7320b819fdf8a098594
7
- data.tar.gz: 5a650a0bfd4ab32dfca2808849136c632f2d0eb1ab1dac9023c4546109c42199503c5af296ca13752493283c6fc8a126c3aadb179fc57e31a65e532c0dd72746
6
+ metadata.gz: bf470d16533d41d7a8975e5c290dbb240bebffe34c7b95a7fc31b9d20cbce73cb8a370812f3f2cd58a7d454739024c02d1cf67a0ba46b35a941025ee5d9500ae
7
+ data.tar.gz: 1041c4c8151cd9cdb305b29bd0ea0463d83a58d4acecc00fdf4abb3e0e58804a061fb509dd6ecf5b0127ad79ef246245638a7a63be81677b51429ed58cdba4a9
data/_includes/head.html CHANGED
@@ -7,7 +7,6 @@
7
7
  {% if site.favicon %} href="{{ site.favicon | relative_url }}" {% else %} href="{{ site.baseurl }}/favicon.png" {% endif %}
8
8
  />
9
9
  <script src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.8.0/dist/alpine.min.js" defer></script>
10
- <link href="https://fonts.googleapis.com/css?family=Verdana" rel="stylesheet" type='text/css'>
11
10
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/all.min.css">
12
11
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma-carousel@4.0.3/dist/css/bulma-carousel.min.css">
13
12
  {% unless site.hide_radar %}
@@ -12,7 +12,26 @@
12
12
  </a>
13
13
  </div>
14
14
  <div class="navbar-menu" id="navMenu" :class="{ 'is-active': openNav }">
15
- <div class="navbar-end buttons">
15
+ <div id="SearchOverlay" class="searchbar-overlay navbar-end buttons">
16
+ <div class="navbar-item searchbar">
17
+ <div class="field">
18
+ <div id="search-container" class="control">
19
+ <input class="input search-input" type="text" id="search-input" placeholder="Suchbegriff eintippen">
20
+ </div>
21
+ </div>
22
+ <ul id="results-container" class="search-result-list"></ul>
23
+ </div>
24
+ <div class="navbar-end">
25
+ <div class="navbar-item navbar-search">
26
+ <a id="closeSearch">
27
+ <span class="icon">
28
+ <i class="fa-solid icon-remove"></i>
29
+ </span>
30
+ </a>
31
+ </div>
32
+ </div>
33
+ </div>
34
+ <div id="navmenu" class="navbar-end buttons">
16
35
  {% if site.data.navigation %}
17
36
  {% for item in site.data.navigation %}
18
37
  {% if item.dropdown %}
@@ -42,7 +61,7 @@
42
61
  {% endif %}
43
62
  {% endfor %}
44
63
  {% endif %}
45
- <div class="navbar-end">
64
+
46
65
  <div class="navbar-item navbar-search">
47
66
  <a id="openSearch">
48
67
  <span class="icon">
@@ -50,12 +69,11 @@
50
69
  </span>
51
70
  </a>
52
71
  </div>
53
- </div>
72
+
54
73
  </div>
55
74
  </div>
56
75
  </div>
57
76
  </nav>
58
-
59
77
  {% unless page.hide_beadcrumb %}
60
78
  <section class="breadcrumb-section green-version">
61
79
  <div class="container breadcrumb-container">
@@ -91,20 +109,6 @@
91
109
  {% else %}
92
110
  {% endunless %}
93
111
 
94
-
95
- <div id="SearchOverlay" class="overlay">
96
-
97
- <div class="overlay-content">
98
-
99
- <div class="field">
100
- <div id="search-container" class="control">
101
- <input class="input" type="text" id="search-input" placeholder="Suchbegriff eintippen">
102
- </div>
103
- </div>
104
- <span class="closebtn" id="closeSearch" title="Close Overlay">×</span>
105
- <ul id="results-container"></ul>
106
- </div>
107
- </div>
108
112
  <!-- Script pointing to search-script.js -->
109
113
  <script src="/assets/js/search.js" type="text/javascript"></script>
110
114
 
data/_includes/hero.html CHANGED
@@ -1,17 +1,17 @@
1
- <section class="hero is-primary is-hidden-print {% if page.hero_height %} {{ page.hero_height }} {% else %} is-medium {% endif %} {% if page.hero_tags %} {{ page.hero_tags }} {% endif %}" {% if page.hero_background_image %} style="background: url('{{ page.hero_background_image }}') no-repeat center center; background-size: cover;" {% endif %}>
1
+ <section class="hero is-hidden-print {% if page.hero_height %} {{ page.hero_height }} {% else %} is-medium {% endif %} {% if page.hero_tags %} {{ page.hero_tags }} {% endif %}" {% if page.hero_background_image %} style="background: url('{{ page.hero_background_image }}') no-repeat center center; background-size: cover;" {% endif %}>
2
2
  <div class="hero-body">
3
3
  <div class="container">
4
4
  {% if page.title_above %}
5
- <h1 class="overtitle subtitle is-4">{{ page.title_above }}</h1>
5
+ <h5 class="overtitle">{{ page.title_above }}</h5>
6
6
  {% endif %}
7
- <h1 class="title is-1 {% if page.title_above %} title-with-overtitle {% endif %}">{{ page.title }}</h1>
7
+ <h1 class="{% if page.title_above %} title-with-overtitle {% endif %}">{{ page.title }}</h1>
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
11
  {% if page.subtitle_markdownify %}
12
- <p class="subtitle is-4">{{ page.subtitle | markdownify }}</p>
12
+ <h4>{{ page.subtitle | markdownify }}</h4>
13
13
  {% else %}
14
- <p class="subtitle is-4">{{ page.subtitle }}</p>
14
+ <h4>{{ page.subtitle }}</h4>
15
15
  {% endif %}
16
16
  {% if page.hero_link %}
17
17
  <a href="{{ page.hero_link | relative_url }}" class="button is-rounded is-dark">
@@ -1,6 +1,6 @@
1
1
  <div class="card column is-8 is-offset-2">
2
2
  <h1 class="has-text-centered">{{include.title}}</h1>
3
- <h3 class="subtitle is-4 has-text-left">{{include.content}}</h3>
3
+ <h4 class="has-text-left">{{include.content}}</h4>
4
4
  <br>
5
5
  <br>
6
6
  </div>
@@ -13,8 +13,8 @@
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: "%d.%m.%Y"}}</h4>
17
- <h2>{{story.title}}</h2>
16
+ <div class="date">{{story.date | date: "%d.%m.%Y"}}</div>
17
+ <h4>{{story.title}}</h4>
18
18
  </div>
19
19
  </div>
20
20
  <div class="content">
@@ -17,7 +17,8 @@
17
17
  <div class="slider-content column is-half">
18
18
  <div class="media">
19
19
  <div class="media-content">
20
- <h2>{{story.title}}</h2>
20
+ <div class="date">{{story.date | date: "%d.%m.%Y"}}</div>
21
+ <h4>{{story.title}}</h4>
21
22
  </div>
22
23
  </div>
23
24
 
@@ -14,6 +14,13 @@ The Default layout that everything is using
14
14
  <img id="scroll-up" src="{{ site.baseurl }}/assets/img/arrow-down.png" alt="placeholder">
15
15
  <img id="scroll-down" src="{{ site.baseurl }}/assets/img/arrow-down.png" alt="placeholder" class="is-pointed-down">
16
16
  </div>
17
+ <div class="accessibility-image is-pulled-left is-hidden-mobile">
18
+ <a id="changeFontsize"class="button is-rounded is-dark">
19
+ <span class="icon is-small">
20
+ <i class="fas icon-font-size fa-xs invert"></i>
21
+ </span>
22
+ </a>
23
+ </div>
17
24
  {% unless page.hide_hero %}
18
25
  {% include hero.html %}
19
26
  {% else %}
@@ -27,7 +34,7 @@ The Default layout that everything is using
27
34
  {% if page.toc %}
28
35
  {% include toc.html html=content class='menu-list' h_min=1 h_max=1 %}
29
36
  {% endif %}
30
- {{content | markdownify}}
37
+ {{content | markdownify }}
31
38
  </div>
32
39
  </div>
33
40
  </div>
@@ -35,4 +42,4 @@ The Default layout that everything is using
35
42
  {% include footer.html %}
36
43
  {% endunless %}
37
44
  </body>
38
- </html>
45
+ </html>
data/_sass/_icons.scss CHANGED
@@ -1,6 +1,8 @@
1
1
  // Custom Icons
2
2
  .icon-handshake:before {
3
3
  @extend .custom-icon;
4
+ width: 48px;
5
+ height: 48px;
4
6
  background: url(/assets/img/icons/handshake.svg) no-repeat;
5
7
  }
6
8
  .icon-download:before {
@@ -15,7 +17,22 @@
15
17
  .icon-search:before {
16
18
  @extend .custom-button-icons;
17
19
  background: url(/assets/img/icons/search.svg) no-repeat;
18
- width: 32px;
19
- height: 32px;
20
+ width: 1.5rem;
21
+ height: 1.5rem;
20
22
  filter: invert(35%) sepia(93%) saturate(355%) hue-rotate(124deg) brightness(93%) contrast(88%);
21
23
  }
24
+ .icon-remove:before {
25
+ @extend .custom-button-icons;
26
+ background: url(/assets/img/icons/remove.svg) no-repeat;
27
+ width: 1.5rem;
28
+ height: 1.5rem;
29
+ filter: invert(35%) sepia(93%) saturate(355%) hue-rotate(124deg) brightness(93%) contrast(88%);
30
+ }
31
+ .icon-font-size:before {
32
+ @extend .custom-button-icons;
33
+ width: 1.5rem;
34
+ height: 1.5rem;
35
+ filter: invert(100%);
36
+ background: url(/assets/img/icons/font-size.svg) no-repeat;
37
+ }
38
+
data/_sass/_layout.scss CHANGED
@@ -5,19 +5,20 @@
5
5
  @import "../node_modules/bulma-block-list/src/block-list.scss";
6
6
  @import "../node_modules/@creativebulma/bulma-tooltip/src/sass/index.sass";
7
7
  // Bulma Config
8
- $column-gap: 1rem;
8
+ $column-gap: 16px;
9
9
  $modal-content-width: 800px;
10
10
  $tabs-link-active-color: $primary;
11
11
  $tabs-link-active-border-bottom-color: $primary;
12
12
  // Global
13
+ //:root {
14
+ // font-size: 24px;
15
+ // line-height: 1.5rem;
16
+ //}
13
17
  html {
14
18
  scroll-behavior: smooth;
19
+ font-size: 24px;
20
+ line-height: 150%;
15
21
  }
16
- body {
17
- font-size: 1.5rem;
18
- line-height: 2.25rem;
19
- }
20
-
21
22
  h1,
22
23
  h2,
23
24
  h3,
@@ -29,60 +30,98 @@ h2 {
29
30
  padding-top: 90px;
30
31
  }
31
32
 
32
- .card h1,
33
- .card h2,
34
- .card p,
35
- .slider h1,
36
- .slider h2,
37
- .slider p {
38
- padding-top: 0;
39
- padding-bottom: 0;
40
- }
41
-
42
33
  h1,
43
34
  h1 p {
44
- font-size: 48px;
45
- line-height: 72px;
35
+ font-size: 2rem;
36
+ line-height: 3rem;
46
37
  font-weight: 600;
47
38
  text-align: center;
48
39
  }
40
+ .turquoise {
41
+ color: $primary-dark;
42
+ }
43
+ h2,
44
+ h2 p {
45
+ font-size: 2rem;
46
+ line-height: 3rem;
47
+ font-weight: 400;
48
+ text-align: center;
49
+ }
50
+ h3,
51
+ h3 p {
52
+ @extend h2;
53
+ text-align: left;
54
+ }
49
55
 
56
+ // Should be replaced
50
57
  .green h1,
51
58
  .green h1 p {
52
59
  text-align: left;
53
60
  }
54
61
 
55
- h2,
56
- h2 p {
57
- font-size: 36px;
58
- font-weight: 600;
59
- text-align: left;
60
- background-repeat: no-repeat;
61
- background-size: auto 35px;
62
- font-family: "Verdana", sans-serif;
63
- }
62
+
64
63
 
65
64
  h3 {
66
65
  font-weight: 600;
67
- font-size: 1.7rem;
66
+ font-size: 1.5rem;
68
67
  padding-top: 50px;
69
68
  }
70
69
 
71
70
  h4 {
72
- font-size: 1rem;
71
+ font-size: 1.5rem;
73
72
  }
74
73
 
75
74
  h5 {
76
- font-size: 0.83rem;
75
+ font-size: 1rem;
76
+ text-align: center;
77
+ text-transform: uppercase;
78
+ }
79
+ h6 {
80
+ font-size: 0.5rem;
81
+ text-transform: uppercase;
82
+ letter-spacing: 20%;
83
+ }
84
+ //h7
85
+ .date {
86
+ font-size: 0.5833rem;
77
87
  }
78
88
  ul {
79
89
  list-style-type: disc;
80
90
  padding-left: 1em;
81
91
  }
92
+ a:link {
93
+ color: #1E7D73;
94
+ }
95
+
96
+ a:visited {
97
+ color: #1E7D73;
98
+ }
99
+
100
+ a:hover {
101
+ color: #77B9A5;
102
+ }
103
+
104
+ a:active {
105
+ color: #1E7D73;
106
+ }
107
+ .card h1,
108
+ .card h2,
109
+ .card p,
110
+ .slider h1,
111
+ .slider h2,
112
+ .slider p {
113
+ padding-top: 0;
114
+ }
115
+ .card h2.fas {
116
+ padding-bottom: 0;
117
+ }
118
+ .fas p {
119
+ font-family: "Verdana", sans-serif;
120
+ }
82
121
  // Button Animation + Gleiche Breite
83
122
  .button {
84
123
  // Schrifft
85
- font-size: 1.31rem !important;
124
+ font-size: 0.667rem !important;
86
125
  font-weight: 600;
87
126
  // Animation
88
127
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
@@ -99,35 +138,32 @@ ul {
99
138
  -moz-transition-duration: 0.3s;
100
139
  }
101
140
 
102
- .button a,
103
- .button span {
104
- // Schrifft
105
- font-size: 16px !important;
106
- font-weight: 600;
141
+ .button {
142
+ height: 2rem;
107
143
  }
108
144
 
109
145
  .navbar-menu .button,
110
146
  .navbar-dropdown .button {
111
147
  // Buttongröße aus Figma
112
148
  width: 180px;
113
- height: 47px;
149
+ font-weight: 600;
114
150
  }
115
151
  .navbar-item.has-no-dropdown {
116
152
  padding: 0;
117
153
  }
118
154
  .navbar.is-primary .navbar-item.has-no-dropdown .navbar-link:hover,
119
155
  .navbar.is-primary .navbar-item.has-no-dropdown .navbar-link.is-active {
120
- background-color: transparent;
121
156
  color: #fff;
157
+ background-color: transparent;
122
158
  }
123
159
 
124
160
  // z.B. "Mehr über Intia" Button
125
161
  .button.is-dark:hover,
126
162
  .button.is-dark.is-hovered {
127
163
  border-width: 1px;
128
- background-color: $dark;
164
+ background-color: $dark !important;
129
165
  border-color: transparent;
130
- color: white;
166
+ color: white !important;
131
167
  }
132
168
  @include desktop {
133
169
  .navbar-menu .button.is-dark:hover.has-dropdown,
@@ -179,72 +215,47 @@ ul {
179
215
  }
180
216
  // Search
181
217
  .navbar-search{
182
- padding-left: 0.75rem !important;
183
- padding-top: 0.5rem !important;
184
- }
185
- //Search overlay
186
- .overlay {
187
- height: 100%;
188
- width: 100%;
189
- display: none;
190
- position: fixed;
191
- z-index: 40;
192
- top: 0;
193
- left: 0;
194
- background-color: #1e7d73be;
195
- }
196
-
197
- .overlay-content {
198
- position: relative;
199
- top: 46%;
200
- width: 80%;
201
- margin-top: 30px;
202
- margin: auto;
203
- }
204
-
205
- .overlay .closebtn {
206
- font-size: 60px;
207
- cursor: pointer;
208
- color: white;
218
+ padding: 0px !important;
219
+ height: 2rem;
220
+ margin-bottom: 12px;
209
221
  }
210
-
211
- .overlay .closebtn:hover {
212
- color: #ccc;
213
- }
214
-
215
- .overlay input[type=text] {
216
- padding: 15px;
217
- font-size: 17px;
218
- float: left;
219
- width: 80%;
220
- background: white;
221
- border: 3px solid $primary-dark;
222
+ .navbar-search .icon {
223
+ height: 1.5rem;
224
+ width: 1.5rem;
225
+ vertical-align : middle;
222
226
  }
223
-
224
- .overlay input[type=text]:hover {
225
- background: #f1f1f1;
227
+ //Search overlay
228
+ .searchbar .field{
229
+ margin-bottom: 0;
226
230
  }
227
-
228
- .overlay button {
229
- float: left;
230
- width: 20%;
231
- padding: 15px;
232
- background: #ddd;
233
- font-size: 17px;
234
- border: none;
235
- cursor: pointer;
231
+ .searchbar-overlay{
232
+ display: none;
236
233
  }
237
-
238
- .overlay button:hover {
239
- background: #bbb;
234
+ .searchbar{
235
+ height: 47px;
236
+ width: 800px;
237
+ padding-top: 0 !important;
238
+ margin-right: 1rem;
240
239
  }
241
-
242
240
  .search-item {
243
- color: white;
241
+ color: black;
244
242
  }
245
- .overlay-content ul{
243
+ .searchbar-overlay ul{
246
244
  list-style-type: none;
247
245
  }
246
+ .search-result-list {
247
+ display: none;
248
+ background-color: #e7f2ea;
249
+ color: black;
250
+ border-bottom-left-radius: 45px;
251
+ border-bottom-right-radius: 45px;
252
+ border-left: 3px solid #1e7d73;
253
+ border-right: 3px solid #1e7d73;
254
+ border-bottom: 3px solid #1e7d73;
255
+ }
256
+ .search-input:active, .search-input:hover{
257
+ border-color: #1e7d73 !important ;
258
+ }
248
259
 
249
260
  .button.is-dark.has-dropdown:hover .navbar-dropdown,
250
261
  .button.is-dark.is-hovered.has-dropdown .navbar-dropdown {
@@ -322,14 +333,6 @@ div.highlight {
322
333
  overflow: hidden;
323
334
  }
324
335
 
325
- .highlighter {
326
- background-color: $light;
327
- padding-left: 5%;
328
- padding-right: 5%;
329
- padding-bottom: 5%;
330
- border-radius: 65px;
331
- margin-top: 3em;
332
- }
333
336
  .overtitle {
334
337
  margin-bottom: 0 !important;
335
338
  padding-bottom: 0 !important;
@@ -350,7 +353,7 @@ img.is-rounded {
350
353
  .arrow-image {
351
354
  z-index: 10;
352
355
  top: calc(50% - 68px);
353
- left: 4vw;
356
+ left: calc(100% - 2vw - 64px);
354
357
  position: sticky;
355
358
  width: 64px;
356
359
  cursor: pointer;
@@ -358,6 +361,18 @@ img.is-rounded {
358
361
  flex-direction: column;
359
362
  height: 132px;
360
363
  }
364
+ .accessibility-image {
365
+ z-index: 10;
366
+ top: calc(50% - 68px);
367
+ left: 0.5vw;
368
+ position: sticky;
369
+ cursor: pointer;
370
+ }
371
+ .accessibility-image .button {
372
+ border-radius: 9999px;
373
+ height: 3rem;
374
+ width: 3rem;
375
+ }
361
376
  .is-pointed-down {
362
377
  transform: scaleY(-1);
363
378
  margin-top: auto;
@@ -398,8 +413,7 @@ a .tooltip-popup {
398
413
 
399
414
  // Navi
400
415
  .navbar {
401
- padding-top: 0.6rem;
402
- padding-bottom: 2.6rem;
416
+ padding-top: 10px;
403
417
  }
404
418
 
405
419
  .navbar.is-primary .navbar-dropdown a.navbar-item.is-active {
@@ -408,8 +422,8 @@ a .tooltip-popup {
408
422
  }
409
423
 
410
424
  .navbar-brand img {
411
- max-height: 3rem;
412
- margin-top: 1rem;
425
+ max-height: 2rem;
426
+ margin-top: 16px;
413
427
  }
414
428
 
415
429
  .navbar-brand a p {
@@ -568,10 +582,6 @@ a.navbar-item.is-active,
568
582
  box-shadow: none;
569
583
  }
570
584
 
571
- .card .button {
572
- margin-top: 50px;
573
- }
574
-
575
585
  .content-wrapper h1 {
576
586
  padding-top: 50px;
577
587
  }
@@ -604,10 +614,10 @@ a.navbar-item.is-active,
604
614
  margin: auto;
605
615
  }
606
616
  .card-content p {
607
- padding-left: 4rem;
617
+ padding-left: 15px + 48px;
608
618
  }
609
619
  .card-content a {
610
- margin-left: 4rem;
620
+ margin-left: 15px + 48px;
611
621
  }
612
622
  .card-image:last-child img {
613
623
  border-bottom-left-radius: 65px;
@@ -654,6 +664,12 @@ figcaption {
654
664
  .slider-container .card-content .content {
655
665
  margin: 50px;
656
666
  }
667
+ .slider-item {
668
+ margin: auto;
669
+ }
670
+ .slider-titel {
671
+ padding-top: 0px !important;
672
+ }
657
673
  .story-slider {
658
674
  background-color: white;
659
675
  border-bottom-left-radius: 65px !important;
@@ -719,7 +735,8 @@ figcaption {
719
735
  background-color: $light;
720
736
  border-radius: 65px;
721
737
  padding: 75px;
722
- font-size: 1.4rem;
738
+ margin-top: 3em;
739
+ margin-bottom: 3em;
723
740
  }
724
741
 
725
742
  .min-height25p {
@@ -732,8 +749,6 @@ figcaption {
732
749
  }
733
750
  .highlighter h2 {
734
751
  padding-top: 0;
735
- font-size: 2rem;
736
- font-weight: 600;
737
752
  }
738
753
  .two-columns p {
739
754
  column-count: 2;
@@ -778,7 +793,6 @@ figcaption {
778
793
  width: 50%;
779
794
  float: right;
780
795
  padding-left: 5rem;
781
- padding-right: 5rem;
782
796
  }
783
797
  .highlighter img.with-zone {
784
798
  width: 100%;
@@ -922,7 +936,7 @@ a:hover .tooltip-popup,
922
936
  box-shadow: none;
923
937
  }
924
938
  .input {
925
- height: 2.75em;
939
+ height: 2em;
926
940
  }
927
941
 
928
942
  .textarea {
@@ -1032,10 +1046,6 @@ a:hover .tooltip-popup,
1032
1046
  margin-bottom: 2rem;
1033
1047
  padding-top: 0;
1034
1048
  }
1035
- .news-content h4 {
1036
- font-size: 0.75rem;
1037
- letter-spacing: 0.3rem;
1038
- }
1039
1049
  .news-content {
1040
1050
  width: 100%;
1041
1051
  display: flow-root;
@@ -1119,10 +1129,15 @@ div.faq {
1119
1129
  }
1120
1130
 
1121
1131
  // Breadcrumbs
1132
+ .breadcrumb {
1133
+ font-size: 0.667rem;
1134
+ }
1122
1135
  .breadcrumb-section {
1123
- margin-top: 7.5rem;
1136
+ margin-top: calc(80px + 1rem);
1124
1137
  // position: fixed;
1125
1138
  // z-index: 29;
1139
+ padding-top: 10px;
1140
+ padding-bottom: 10px;
1126
1141
  width: 100%;
1127
1142
  background-color: white;
1128
1143
  border-top: 2px solid #1e7d73;
@@ -1132,9 +1147,6 @@ div.faq {
1132
1147
  color: #1e7d73;
1133
1148
  cursor: default;
1134
1149
  }
1135
- .navbar {
1136
- padding-bottom: 2.3rem;
1137
- }
1138
1150
  .hero.is-medium .hero-body {
1139
1151
  padding-top: 1rem;
1140
1152
  }
@@ -1221,8 +1233,7 @@ div.faq {
1221
1233
  font-size: 0.83rem;
1222
1234
  }
1223
1235
  .navbar {
1224
- padding-top: 0.6rem;
1225
- padding-bottom: 0.6rem;
1236
+ padding-top: 10px;
1226
1237
  }
1227
1238
  .navbar-brand img {
1228
1239
  margin: 1rem;
@@ -1341,4 +1352,11 @@ div.faq {
1341
1352
  image-rendering: -webkit-optimize-contrast;
1342
1353
  padding-bottom: 15px;
1343
1354
  }
1355
+ //Searchbar
1356
+ .searchbar{
1357
+ height: 47px;
1358
+ width: auto;
1359
+ margin-right: 1rem;
1360
+ padding-top: 0 !important;
1361
+ }
1344
1362
  }
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 25.4.5, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 48.53 48.61" style="enable-background:new 0 0 48.53 48.61;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#1E7D74;}
7
+ .st1{fill:#FFFFFF;stroke:#FFFFFF;stroke-width:0.7;stroke-linejoin:round;}
8
+ .st2{fill:#FFFFFF;stroke:#FFFFFF;stroke-width:0.7;stroke-linejoin:round;stroke-miterlimit:4;}
9
+ .st3{fill:#FFFFFF;}
10
+ .st4{fill:none;stroke:#FFFFFF;stroke-width:2;}
11
+ .st5{fill:#FFFFFF;stroke:#FFFFFF;}
12
+ .st6{opacity:0.2;fill:none;stroke:#FFFFFF;stroke-width:2;enable-background:new ;}
13
+ </style>
14
+ <g>
15
+ <path class="st0" d="M47.66,24.56L47.66,24.56c0,12.62-10.23,22.84-22.84,22.84h-0.86c-12.62,0-22.84-10.23-22.84-22.84l0,0
16
+ c0-12.62,10.23-22.84,22.84-22.84h0.86C37.43,1.72,47.66,11.94,47.66,24.56z"/>
17
+ <path class="st4" d="M36.45,24.13L36.45,24.13c0,6.19-5.02,11.21-11.21,11.21h-0.86c-6.19,0-11.21-5.02-11.21-11.21l0,0
18
+ c0-6.19,5.02-11.21,11.21-11.21h0.86C31.44,12.92,36.45,17.94,36.45,24.13z"/>
19
+ <path class="st5" d="M24.82,35.76V12.92c7.56,1.19,9.8,3.86,11.21,11.21C35.92,31.49,33.02,33.73,24.82,35.76z"/>
20
+ </g>
21
+ </svg>
@@ -0,0 +1,22 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 25.4.5, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 32.4 28" style="enable-background:new 0 0 32.4 28;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#1E7D74;}
7
+ .st1{fill:#FFFFFF;stroke:#FFFFFF;stroke-width:0.7;stroke-linejoin:round;}
8
+ .st2{fill:#FFFFFF;stroke:#FFFFFF;stroke-width:0.7;stroke-linejoin:round;stroke-miterlimit:4;}
9
+ .st3{fill:#FFFFFF;}
10
+ .st4{fill:none;stroke:#FFFFFF;stroke-width:2;}
11
+ .st5{fill:#FFFFFF;stroke:#FFFFFF;}
12
+ .st6{opacity:0.2;fill:none;stroke:#FFFFFF;stroke-width:2;enable-background:new ;}
13
+ </style>
14
+ <path class="st3" d="M31.19,5.93h-8.06v19.89h-3V5.93h-8.06V3.26h19.12V5.93z"/>
15
+ <path class="st3" d="M7.11,9.53h-5.3V8.15h12.2v1.38h-5.3v13.71H7.11V9.53z"/>
16
+ <path class="st3" d="M7.11,9.53h0.26V9.28H7.11V9.53z M1.81,9.53H1.55v0.26h0.26V9.53z M1.81,8.15V7.9H1.55v0.26H1.81z M14.01,8.15
17
+ h0.26V7.9h-0.26V8.15z M14.01,9.53v0.26h0.26V9.53H14.01z M8.71,9.53V9.28H8.45v0.26H8.71z M8.71,23.24v0.26h0.26v-0.26H8.71z
18
+ M7.11,23.24H6.85v0.26h0.26V23.24z M7.11,9.28h-5.3v0.52h5.3V9.28z M2.07,9.53V8.15H1.55v1.38H2.07z M1.81,8.41h12.2V7.9H1.81V8.41
19
+ z M13.75,8.15v1.38h0.52V8.15H13.75z M14.01,9.28h-5.3v0.52h5.3V9.28z M8.45,9.53v13.71h0.52V9.53H8.45z M8.71,22.98H7.11v0.52h1.59
20
+ V22.98z M7.37,23.24V9.53H6.85v13.71H7.37z"/>
21
+ </svg>
22
+
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48">
2
+
3
+ <g transform="matrix(2,0,0,2,0,0)"><path d="M.44,21.44a1.49,1.49,0,0,0,0,2.12,1.5,1.5,0,0,0,2.12,0l9.26-9.26a.25.25,0,0,1,.36,0l9.26,9.26a1.5,1.5,0,0,0,2.12,0,1.49,1.49,0,0,0,0-2.12L14.3,12.18a.25.25,0,0,1,0-.36l9.26-9.26A1.5,1.5,0,0,0,21.44.44L12.18,9.7a.25.25,0,0,1-.36,0L2.56.44A1.5,1.5,0,0,0,.44,2.56L9.7,11.82a.25.25,0,0,1,0,.36Z" style="fill: #000000"></path></g></svg>
data/assets/js/main.js CHANGED
@@ -8,6 +8,7 @@ const carousels = bulmaCarousel.attach('.carousel',{
8
8
  'next': `<img src="../assets/img/arrow-left.png" style="transform: rotate(180deg);"></img>`}
9
9
  });
10
10
 
11
+ // Scrollarrows
11
12
  var scrollUpArrow= document.getElementById("scroll-up");
12
13
  var scrollDownArrow= document.getElementById("scroll-down");
13
14
  var scrollStep=10,
@@ -49,13 +50,96 @@ window.onscroll = function(ev) {
49
50
  }
50
51
  };
51
52
 
53
+ // Searchbar
52
54
  document.getElementById("openSearch").addEventListener("click", openSearch);
53
55
  document.getElementById("closeSearch").addEventListener("click", closeSearch);
56
+ document.getElementById("search-input").addEventListener("input", showsearchresults);
57
+
58
+ var searchOverlay = document.getElementById("SearchOverlay");
59
+ var navmenu = document.getElementById("navmenu");
60
+ var resultsContainer = document.getElementById("results-container");
61
+ var searchInput = document.getElementById("search-input");
54
62
 
55
63
  function openSearch() {
56
- document.getElementById("SearchOverlay").style.display = "block";
64
+ searchOverlay.style.display = "flex";
65
+ navmenu.style.display = "none";
57
66
  }
58
67
 
59
68
  function closeSearch() {
60
- document.getElementById("SearchOverlay").style.display = "none";
61
- }
69
+ searchOverlay.style.display = "none";
70
+ navmenu.style.display = "flex";
71
+ }
72
+
73
+
74
+ function showsearchresults(e) {
75
+ if(e.target.value.length>0){
76
+ resultsContainer.style.display = "block";
77
+ searchInput.style.borderBottomLeftRadius = "0px";
78
+ searchInput.style.borderBottomRightRadius = "0px";
79
+ }else{
80
+ resultsContainer.style.display = "none";
81
+ searchInput.style.borderBottomLeftRadius = "45px";
82
+ searchInput.style.borderBottomRightRadius = "45px";
83
+ }
84
+ }
85
+
86
+ // Simple storage for site wide changes
87
+ var siteData
88
+ window.addEventListener('load', (event) => {
89
+ init()
90
+ });
91
+ // Triggered on load of body element
92
+ function init() {
93
+ loadFromStorage()
94
+ if (siteData == null) {
95
+ setDefaultData()
96
+ }
97
+ }
98
+
99
+ // Default data when no data is found
100
+ function setDefaultData() {
101
+ updateSiteData(null, 1.2)
102
+ }
103
+ function updateSiteData(newSiteData, newFontSize = 1.2) {
104
+ console.log("update " + newSiteData + " fontsize: " +newFontSize )
105
+ if (newSiteData == null) {
106
+ siteData = {
107
+ fontSize: newFontSize
108
+ }
109
+ } else {
110
+ siteData = newSiteData
111
+ }
112
+ saveToStorage()
113
+ updateSite()
114
+ }
115
+ function saveToStorage(){
116
+ localStorage.setItem("intiaSiteData", JSON.stringify(siteData))
117
+ }
118
+ function loadFromStorage() {
119
+ var data = JSON.parse(localStorage.getItem("intiaSiteData"))
120
+ loadFromJson(data)
121
+ }
122
+ function loadFromJson(jsonString){
123
+ if (jsonString !== null) {
124
+ updateSiteData(jsonString)
125
+ }
126
+ }
127
+
128
+ // Trigger update for all elements that are based on site wide data
129
+ function updateSite() {
130
+ updateFontSize()
131
+ }
132
+
133
+ // Font size
134
+ var html=document.querySelector('html');
135
+
136
+ function updateFontSize() {
137
+ html.style.fontSize=siteData.fontSize+"rem";
138
+ }
139
+
140
+ // Change font size Button
141
+ document.getElementById("changeFontsize").addEventListener("click", changeFontSize);
142
+ function changeFontSize() {
143
+ console.log("Fontsize changed "+ (siteData.fontSize == 1.2) ? 1.5 : 1.2)
144
+ updateSiteData(null, (siteData.fontSize == 1.2) ? 1.5 : 1.2)
145
+ }
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.51
4
+ version: 0.1.54
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marc Schmidt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-11 00:00:00.000000000 Z
11
+ date: 2022-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -61,12 +61,15 @@ files:
61
61
  - assets/img/arrow-left.png
62
62
  - assets/img/download_link.png
63
63
  - assets/img/external-link.png
64
+ - assets/img/icons/contrast.svg
64
65
  - assets/img/icons/download.png
65
66
  - assets/img/icons/download.svg
66
67
  - assets/img/icons/external.png
67
68
  - assets/img/icons/external.svg
69
+ - assets/img/icons/font-size.svg
68
70
  - assets/img/icons/handshake.svg
69
71
  - assets/img/icons/internal.png
72
+ - assets/img/icons/remove.svg
70
73
  - assets/img/icons/search.svg
71
74
  - assets/img/internal-link.png
72
75
  - assets/img/logo-black.png