intia-theme 0.1.53 → 0.1.56
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/glossary.html +1 -1
- data/_includes/head.html +0 -1
- data/_includes/header.html +2 -2
- data/_includes/hero.html +5 -5
- data/_includes/introduction.md +1 -1
- data/_includes/stories.html +2 -2
- data/_includes/story-slider.html +2 -1
- data/_layouts/default.html +9 -2
- data/_sass/_icons.scss +13 -4
- data/_sass/_layout.scss +107 -71
- data/assets/img/icons/contrast.svg +21 -0
- data/assets/img/icons/font-size.svg +22 -0
- data/assets/js/main.js +64 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3d3b98390c39c7b9199ccb9ab7a697e00b9dfcbef1577c558243fb729f9ce8c
|
4
|
+
data.tar.gz: cf2f452d0da883c2f4b4bc3c9ab4857653f695af018c4986c6a31316f4a7a7be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c4344e05d1df9f424d720635a31f4f09300f4d1a45a02d4b038515973863331e902492706bcb4d68c63b4c86eab638934667e76f7619f232ef9ee779a6e2f89
|
7
|
+
data.tar.gz: c47d43986c8970ec0ebec47ddc651c1ae43812968dfc5948957b2ed46fac03df90a897dcd7359f96dae5505b8e1cb3f2296e2810e3b90426d59e6b6d51e68aa8
|
data/_includes/glossary.html
CHANGED
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 %}
|
data/_includes/header.html
CHANGED
@@ -61,7 +61,7 @@
|
|
61
61
|
{% endif %}
|
62
62
|
{% endfor %}
|
63
63
|
{% endif %}
|
64
|
-
|
64
|
+
|
65
65
|
<div class="navbar-item navbar-search">
|
66
66
|
<a id="openSearch">
|
67
67
|
<span class="icon">
|
@@ -69,7 +69,7 @@
|
|
69
69
|
</span>
|
70
70
|
</a>
|
71
71
|
</div>
|
72
|
-
|
72
|
+
|
73
73
|
</div>
|
74
74
|
</div>
|
75
75
|
</div>
|
data/_includes/hero.html
CHANGED
@@ -1,17 +1,17 @@
|
|
1
|
-
<section class="hero is-
|
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
|
-
<
|
5
|
+
<h5 class="overtitle">{{ page.title_above }}</h5>
|
6
6
|
{% endif %}
|
7
|
-
<h1 class="
|
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
|
-
<
|
12
|
+
<h4>{{ page.subtitle | markdownify }}</h4>
|
13
13
|
{% else %}
|
14
|
-
<
|
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">
|
data/_includes/introduction.md
CHANGED
data/_includes/stories.html
CHANGED
@@ -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
|
-
<
|
17
|
-
<
|
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">
|
data/_includes/story-slider.html
CHANGED
data/_layouts/default.html
CHANGED
@@ -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,15 +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:
|
19
|
-
height:
|
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
|
}
|
22
24
|
.icon-remove:before {
|
23
25
|
@extend .custom-button-icons;
|
24
26
|
background: url(/assets/img/icons/remove.svg) no-repeat;
|
25
|
-
width:
|
26
|
-
height:
|
27
|
+
width: 1.5rem;
|
28
|
+
height: 1.5rem;
|
27
29
|
filter: invert(35%) sepia(93%) saturate(355%) hue-rotate(124deg) brightness(93%) contrast(88%);
|
28
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
|
+
}
|
29
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:
|
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,51 +30,62 @@ 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:
|
45
|
-
line-height:
|
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
|
+
font-size: 2rem;
|
53
|
+
line-height: 3rem;
|
54
|
+
font-weight: 400;
|
55
|
+
text-align: left;
|
56
|
+
}
|
49
57
|
|
58
|
+
// Should be replaced
|
50
59
|
.green h1,
|
51
60
|
.green h1 p {
|
52
61
|
text-align: left;
|
53
62
|
}
|
54
63
|
|
55
|
-
|
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
|
-
}
|
64
|
+
|
64
65
|
|
65
66
|
h3 {
|
66
67
|
font-weight: 600;
|
67
|
-
font-size: 1.
|
68
|
+
font-size: 1.5rem;
|
68
69
|
padding-top: 50px;
|
69
70
|
}
|
70
71
|
|
71
72
|
h4 {
|
72
|
-
font-size:
|
73
|
+
font-size: 1.5rem;
|
73
74
|
}
|
74
75
|
|
75
76
|
h5 {
|
76
|
-
font-size:
|
77
|
+
font-size: 1rem;
|
78
|
+
text-align: center;
|
79
|
+
text-transform: uppercase;
|
80
|
+
}
|
81
|
+
h6 {
|
82
|
+
font-size: 0.5rem;
|
83
|
+
text-transform: uppercase;
|
84
|
+
letter-spacing: 20%;
|
85
|
+
}
|
86
|
+
//h7
|
87
|
+
.date {
|
88
|
+
font-size: 0.5833rem;
|
77
89
|
}
|
78
90
|
ul {
|
79
91
|
list-style-type: disc;
|
@@ -94,10 +106,24 @@ a:hover {
|
|
94
106
|
a:active {
|
95
107
|
color: #1E7D73;
|
96
108
|
}
|
109
|
+
.card h1,
|
110
|
+
.card h2,
|
111
|
+
.card p,
|
112
|
+
.slider h1,
|
113
|
+
.slider h2,
|
114
|
+
.slider p {
|
115
|
+
padding-top: 0;
|
116
|
+
}
|
117
|
+
.card h2.fas {
|
118
|
+
padding-bottom: 0;
|
119
|
+
}
|
120
|
+
.fas p {
|
121
|
+
font-family: "Verdana", sans-serif;
|
122
|
+
}
|
97
123
|
// Button Animation + Gleiche Breite
|
98
124
|
.button {
|
99
125
|
// Schrifft
|
100
|
-
font-size:
|
126
|
+
font-size: 0.667rem !important;
|
101
127
|
font-weight: 600;
|
102
128
|
// Animation
|
103
129
|
transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
@@ -114,35 +140,32 @@ a:active {
|
|
114
140
|
-moz-transition-duration: 0.3s;
|
115
141
|
}
|
116
142
|
|
117
|
-
.button
|
118
|
-
|
119
|
-
// Schrifft
|
120
|
-
font-size: 16px !important;
|
121
|
-
font-weight: 600;
|
143
|
+
.button {
|
144
|
+
height: 2rem;
|
122
145
|
}
|
123
146
|
|
124
147
|
.navbar-menu .button,
|
125
148
|
.navbar-dropdown .button {
|
126
149
|
// Buttongröße aus Figma
|
127
150
|
width: 180px;
|
128
|
-
|
151
|
+
font-weight: 600;
|
129
152
|
}
|
130
153
|
.navbar-item.has-no-dropdown {
|
131
154
|
padding: 0;
|
132
155
|
}
|
133
156
|
.navbar.is-primary .navbar-item.has-no-dropdown .navbar-link:hover,
|
134
157
|
.navbar.is-primary .navbar-item.has-no-dropdown .navbar-link.is-active {
|
135
|
-
background-color: transparent;
|
136
158
|
color: #fff;
|
159
|
+
background-color: transparent;
|
137
160
|
}
|
138
161
|
|
139
162
|
// z.B. "Mehr über Intia" Button
|
140
163
|
.button.is-dark:hover,
|
141
164
|
.button.is-dark.is-hovered {
|
142
165
|
border-width: 1px;
|
143
|
-
background-color: $dark;
|
166
|
+
background-color: $dark !important;
|
144
167
|
border-color: transparent;
|
145
|
-
color: white;
|
168
|
+
color: white !important;
|
146
169
|
}
|
147
170
|
@include desktop {
|
148
171
|
.navbar-menu .button.is-dark:hover.has-dropdown,
|
@@ -194,8 +217,14 @@ a:active {
|
|
194
217
|
}
|
195
218
|
// Search
|
196
219
|
.navbar-search{
|
197
|
-
padding
|
198
|
-
|
220
|
+
padding: 0px !important;
|
221
|
+
height: 2rem;
|
222
|
+
margin-bottom: 12px;
|
223
|
+
}
|
224
|
+
.navbar-search .icon {
|
225
|
+
height: 1.5rem;
|
226
|
+
width: 1.5rem;
|
227
|
+
vertical-align : middle;
|
199
228
|
}
|
200
229
|
//Search overlay
|
201
230
|
.searchbar .field{
|
@@ -208,6 +237,7 @@ a:active {
|
|
208
237
|
height: 47px;
|
209
238
|
width: 800px;
|
210
239
|
padding-top: 0 !important;
|
240
|
+
margin-right: 1rem;
|
211
241
|
}
|
212
242
|
.search-item {
|
213
243
|
color: black;
|
@@ -305,14 +335,6 @@ div.highlight {
|
|
305
335
|
overflow: hidden;
|
306
336
|
}
|
307
337
|
|
308
|
-
.highlighter {
|
309
|
-
background-color: $light;
|
310
|
-
padding-left: 5%;
|
311
|
-
padding-right: 5%;
|
312
|
-
padding-bottom: 5%;
|
313
|
-
border-radius: 65px;
|
314
|
-
margin-top: 3em;
|
315
|
-
}
|
316
338
|
.overtitle {
|
317
339
|
margin-bottom: 0 !important;
|
318
340
|
padding-bottom: 0 !important;
|
@@ -333,7 +355,7 @@ img.is-rounded {
|
|
333
355
|
.arrow-image {
|
334
356
|
z-index: 10;
|
335
357
|
top: calc(50% - 68px);
|
336
|
-
left:
|
358
|
+
left: calc(100% - 2vw - 64px);
|
337
359
|
position: sticky;
|
338
360
|
width: 64px;
|
339
361
|
cursor: pointer;
|
@@ -341,6 +363,18 @@ img.is-rounded {
|
|
341
363
|
flex-direction: column;
|
342
364
|
height: 132px;
|
343
365
|
}
|
366
|
+
.accessibility-image {
|
367
|
+
z-index: 10;
|
368
|
+
top: calc(50% - 68px);
|
369
|
+
left: 0.5vw;
|
370
|
+
position: sticky;
|
371
|
+
cursor: pointer;
|
372
|
+
}
|
373
|
+
.accessibility-image .button {
|
374
|
+
border-radius: 9999px;
|
375
|
+
height: 3rem;
|
376
|
+
width: 3rem;
|
377
|
+
}
|
344
378
|
.is-pointed-down {
|
345
379
|
transform: scaleY(-1);
|
346
380
|
margin-top: auto;
|
@@ -381,7 +415,7 @@ a .tooltip-popup {
|
|
381
415
|
|
382
416
|
// Navi
|
383
417
|
.navbar {
|
384
|
-
padding-top:
|
418
|
+
padding-top: 10px;
|
385
419
|
}
|
386
420
|
|
387
421
|
.navbar.is-primary .navbar-dropdown a.navbar-item.is-active {
|
@@ -390,8 +424,8 @@ a .tooltip-popup {
|
|
390
424
|
}
|
391
425
|
|
392
426
|
.navbar-brand img {
|
393
|
-
max-height:
|
394
|
-
margin-top:
|
427
|
+
max-height: 2rem;
|
428
|
+
margin-top: 16px;
|
395
429
|
}
|
396
430
|
|
397
431
|
.navbar-brand a p {
|
@@ -550,10 +584,6 @@ a.navbar-item.is-active,
|
|
550
584
|
box-shadow: none;
|
551
585
|
}
|
552
586
|
|
553
|
-
.card .button {
|
554
|
-
margin-top: 50px;
|
555
|
-
}
|
556
|
-
|
557
587
|
.content-wrapper h1 {
|
558
588
|
padding-top: 50px;
|
559
589
|
}
|
@@ -586,10 +616,10 @@ a.navbar-item.is-active,
|
|
586
616
|
margin: auto;
|
587
617
|
}
|
588
618
|
.card-content p {
|
589
|
-
padding-left:
|
619
|
+
padding-left: 15px + 48px;
|
590
620
|
}
|
591
621
|
.card-content a {
|
592
|
-
margin-left:
|
622
|
+
margin-left: 15px + 48px;
|
593
623
|
}
|
594
624
|
.card-image:last-child img {
|
595
625
|
border-bottom-left-radius: 65px;
|
@@ -636,6 +666,12 @@ figcaption {
|
|
636
666
|
.slider-container .card-content .content {
|
637
667
|
margin: 50px;
|
638
668
|
}
|
669
|
+
.slider-item {
|
670
|
+
margin: auto;
|
671
|
+
}
|
672
|
+
.slider-titel {
|
673
|
+
padding-top: 0px !important;
|
674
|
+
}
|
639
675
|
.story-slider {
|
640
676
|
background-color: white;
|
641
677
|
border-bottom-left-radius: 65px !important;
|
@@ -701,7 +737,8 @@ figcaption {
|
|
701
737
|
background-color: $light;
|
702
738
|
border-radius: 65px;
|
703
739
|
padding: 75px;
|
704
|
-
|
740
|
+
margin-top: 3em;
|
741
|
+
margin-bottom: 3em;
|
705
742
|
}
|
706
743
|
|
707
744
|
.min-height25p {
|
@@ -714,8 +751,6 @@ figcaption {
|
|
714
751
|
}
|
715
752
|
.highlighter h2 {
|
716
753
|
padding-top: 0;
|
717
|
-
font-size: 2rem;
|
718
|
-
font-weight: 600;
|
719
754
|
}
|
720
755
|
.two-columns p {
|
721
756
|
column-count: 2;
|
@@ -760,7 +795,6 @@ figcaption {
|
|
760
795
|
width: 50%;
|
761
796
|
float: right;
|
762
797
|
padding-left: 5rem;
|
763
|
-
padding-right: 5rem;
|
764
798
|
}
|
765
799
|
.highlighter img.with-zone {
|
766
800
|
width: 100%;
|
@@ -904,7 +938,7 @@ a:hover .tooltip-popup,
|
|
904
938
|
box-shadow: none;
|
905
939
|
}
|
906
940
|
.input {
|
907
|
-
height:
|
941
|
+
height: 2em;
|
908
942
|
}
|
909
943
|
|
910
944
|
.textarea {
|
@@ -1014,10 +1048,6 @@ a:hover .tooltip-popup,
|
|
1014
1048
|
margin-bottom: 2rem;
|
1015
1049
|
padding-top: 0;
|
1016
1050
|
}
|
1017
|
-
.news-content h4 {
|
1018
|
-
font-size: 0.75rem;
|
1019
|
-
letter-spacing: 0.3rem;
|
1020
|
-
}
|
1021
1051
|
.news-content {
|
1022
1052
|
width: 100%;
|
1023
1053
|
display: flow-root;
|
@@ -1101,10 +1131,15 @@ div.faq {
|
|
1101
1131
|
}
|
1102
1132
|
|
1103
1133
|
// Breadcrumbs
|
1134
|
+
.breadcrumb {
|
1135
|
+
font-size: 0.667rem;
|
1136
|
+
}
|
1104
1137
|
.breadcrumb-section {
|
1105
|
-
margin-top:
|
1138
|
+
margin-top: calc(80px + 1rem);
|
1106
1139
|
// position: fixed;
|
1107
1140
|
// z-index: 29;
|
1141
|
+
padding-top: 10px;
|
1142
|
+
padding-bottom: 10px;
|
1108
1143
|
width: 100%;
|
1109
1144
|
background-color: white;
|
1110
1145
|
border-top: 2px solid #1e7d73;
|
@@ -1200,7 +1235,7 @@ div.faq {
|
|
1200
1235
|
font-size: 0.83rem;
|
1201
1236
|
}
|
1202
1237
|
.navbar {
|
1203
|
-
padding-top:
|
1238
|
+
padding-top: 10px;
|
1204
1239
|
}
|
1205
1240
|
.navbar-brand img {
|
1206
1241
|
margin: 1rem;
|
@@ -1323,6 +1358,7 @@ div.faq {
|
|
1323
1358
|
.searchbar{
|
1324
1359
|
height: 47px;
|
1325
1360
|
width: auto;
|
1361
|
+
margin-right: 1rem;
|
1326
1362
|
padding-top: 0 !important;
|
1327
1363
|
}
|
1328
1364
|
}
|
@@ -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
|
+
|
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,6 +50,7 @@ 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);
|
54
56
|
document.getElementById("search-input").addEventListener("input", showsearchresults);
|
@@ -79,4 +81,65 @@ function showsearchresults(e) {
|
|
79
81
|
searchInput.style.borderBottomLeftRadius = "45px";
|
80
82
|
searchInput.style.borderBottomRightRadius = "45px";
|
81
83
|
}
|
82
|
-
}
|
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.
|
4
|
+
version: 0.1.56
|
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-
|
11
|
+
date: 2022-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -61,10 +61,12 @@ 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
|
70
72
|
- assets/img/icons/remove.svg
|