intia-theme 0.1.53 → 0.1.54
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 +4 -4
- 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 +105 -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: 5a57ae54b99cc5c23737bdeea3ae9fa72f62219c49c31b8ee5045b1a1e51d963
|
|
4
|
+
data.tar.gz: 919bbdd3968ad79f17714ce8a095b13cbdd35457d83242ec4e44bdad45f0131d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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 %}
|
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,60 @@ 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
|
+
@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
|
-
|
|
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.
|
|
66
|
+
font-size: 1.5rem;
|
|
68
67
|
padding-top: 50px;
|
|
69
68
|
}
|
|
70
69
|
|
|
71
70
|
h4 {
|
|
72
|
-
font-size:
|
|
71
|
+
font-size: 1.5rem;
|
|
73
72
|
}
|
|
74
73
|
|
|
75
74
|
h5 {
|
|
76
|
-
font-size:
|
|
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;
|
|
@@ -94,10 +104,24 @@ a:hover {
|
|
|
94
104
|
a:active {
|
|
95
105
|
color: #1E7D73;
|
|
96
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
|
+
}
|
|
97
121
|
// Button Animation + Gleiche Breite
|
|
98
122
|
.button {
|
|
99
123
|
// Schrifft
|
|
100
|
-
font-size:
|
|
124
|
+
font-size: 0.667rem !important;
|
|
101
125
|
font-weight: 600;
|
|
102
126
|
// Animation
|
|
103
127
|
transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
@@ -114,35 +138,32 @@ a:active {
|
|
|
114
138
|
-moz-transition-duration: 0.3s;
|
|
115
139
|
}
|
|
116
140
|
|
|
117
|
-
.button
|
|
118
|
-
|
|
119
|
-
// Schrifft
|
|
120
|
-
font-size: 16px !important;
|
|
121
|
-
font-weight: 600;
|
|
141
|
+
.button {
|
|
142
|
+
height: 2rem;
|
|
122
143
|
}
|
|
123
144
|
|
|
124
145
|
.navbar-menu .button,
|
|
125
146
|
.navbar-dropdown .button {
|
|
126
147
|
// Buttongröße aus Figma
|
|
127
148
|
width: 180px;
|
|
128
|
-
|
|
149
|
+
font-weight: 600;
|
|
129
150
|
}
|
|
130
151
|
.navbar-item.has-no-dropdown {
|
|
131
152
|
padding: 0;
|
|
132
153
|
}
|
|
133
154
|
.navbar.is-primary .navbar-item.has-no-dropdown .navbar-link:hover,
|
|
134
155
|
.navbar.is-primary .navbar-item.has-no-dropdown .navbar-link.is-active {
|
|
135
|
-
background-color: transparent;
|
|
136
156
|
color: #fff;
|
|
157
|
+
background-color: transparent;
|
|
137
158
|
}
|
|
138
159
|
|
|
139
160
|
// z.B. "Mehr über Intia" Button
|
|
140
161
|
.button.is-dark:hover,
|
|
141
162
|
.button.is-dark.is-hovered {
|
|
142
163
|
border-width: 1px;
|
|
143
|
-
background-color: $dark;
|
|
164
|
+
background-color: $dark !important;
|
|
144
165
|
border-color: transparent;
|
|
145
|
-
color: white;
|
|
166
|
+
color: white !important;
|
|
146
167
|
}
|
|
147
168
|
@include desktop {
|
|
148
169
|
.navbar-menu .button.is-dark:hover.has-dropdown,
|
|
@@ -194,8 +215,14 @@ a:active {
|
|
|
194
215
|
}
|
|
195
216
|
// Search
|
|
196
217
|
.navbar-search{
|
|
197
|
-
padding
|
|
198
|
-
|
|
218
|
+
padding: 0px !important;
|
|
219
|
+
height: 2rem;
|
|
220
|
+
margin-bottom: 12px;
|
|
221
|
+
}
|
|
222
|
+
.navbar-search .icon {
|
|
223
|
+
height: 1.5rem;
|
|
224
|
+
width: 1.5rem;
|
|
225
|
+
vertical-align : middle;
|
|
199
226
|
}
|
|
200
227
|
//Search overlay
|
|
201
228
|
.searchbar .field{
|
|
@@ -208,6 +235,7 @@ a:active {
|
|
|
208
235
|
height: 47px;
|
|
209
236
|
width: 800px;
|
|
210
237
|
padding-top: 0 !important;
|
|
238
|
+
margin-right: 1rem;
|
|
211
239
|
}
|
|
212
240
|
.search-item {
|
|
213
241
|
color: black;
|
|
@@ -305,14 +333,6 @@ div.highlight {
|
|
|
305
333
|
overflow: hidden;
|
|
306
334
|
}
|
|
307
335
|
|
|
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
336
|
.overtitle {
|
|
317
337
|
margin-bottom: 0 !important;
|
|
318
338
|
padding-bottom: 0 !important;
|
|
@@ -333,7 +353,7 @@ img.is-rounded {
|
|
|
333
353
|
.arrow-image {
|
|
334
354
|
z-index: 10;
|
|
335
355
|
top: calc(50% - 68px);
|
|
336
|
-
left:
|
|
356
|
+
left: calc(100% - 2vw - 64px);
|
|
337
357
|
position: sticky;
|
|
338
358
|
width: 64px;
|
|
339
359
|
cursor: pointer;
|
|
@@ -341,6 +361,18 @@ img.is-rounded {
|
|
|
341
361
|
flex-direction: column;
|
|
342
362
|
height: 132px;
|
|
343
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
|
+
}
|
|
344
376
|
.is-pointed-down {
|
|
345
377
|
transform: scaleY(-1);
|
|
346
378
|
margin-top: auto;
|
|
@@ -381,7 +413,7 @@ a .tooltip-popup {
|
|
|
381
413
|
|
|
382
414
|
// Navi
|
|
383
415
|
.navbar {
|
|
384
|
-
padding-top:
|
|
416
|
+
padding-top: 10px;
|
|
385
417
|
}
|
|
386
418
|
|
|
387
419
|
.navbar.is-primary .navbar-dropdown a.navbar-item.is-active {
|
|
@@ -390,8 +422,8 @@ a .tooltip-popup {
|
|
|
390
422
|
}
|
|
391
423
|
|
|
392
424
|
.navbar-brand img {
|
|
393
|
-
max-height:
|
|
394
|
-
margin-top:
|
|
425
|
+
max-height: 2rem;
|
|
426
|
+
margin-top: 16px;
|
|
395
427
|
}
|
|
396
428
|
|
|
397
429
|
.navbar-brand a p {
|
|
@@ -550,10 +582,6 @@ a.navbar-item.is-active,
|
|
|
550
582
|
box-shadow: none;
|
|
551
583
|
}
|
|
552
584
|
|
|
553
|
-
.card .button {
|
|
554
|
-
margin-top: 50px;
|
|
555
|
-
}
|
|
556
|
-
|
|
557
585
|
.content-wrapper h1 {
|
|
558
586
|
padding-top: 50px;
|
|
559
587
|
}
|
|
@@ -586,10 +614,10 @@ a.navbar-item.is-active,
|
|
|
586
614
|
margin: auto;
|
|
587
615
|
}
|
|
588
616
|
.card-content p {
|
|
589
|
-
padding-left:
|
|
617
|
+
padding-left: 15px + 48px;
|
|
590
618
|
}
|
|
591
619
|
.card-content a {
|
|
592
|
-
margin-left:
|
|
620
|
+
margin-left: 15px + 48px;
|
|
593
621
|
}
|
|
594
622
|
.card-image:last-child img {
|
|
595
623
|
border-bottom-left-radius: 65px;
|
|
@@ -636,6 +664,12 @@ figcaption {
|
|
|
636
664
|
.slider-container .card-content .content {
|
|
637
665
|
margin: 50px;
|
|
638
666
|
}
|
|
667
|
+
.slider-item {
|
|
668
|
+
margin: auto;
|
|
669
|
+
}
|
|
670
|
+
.slider-titel {
|
|
671
|
+
padding-top: 0px !important;
|
|
672
|
+
}
|
|
639
673
|
.story-slider {
|
|
640
674
|
background-color: white;
|
|
641
675
|
border-bottom-left-radius: 65px !important;
|
|
@@ -701,7 +735,8 @@ figcaption {
|
|
|
701
735
|
background-color: $light;
|
|
702
736
|
border-radius: 65px;
|
|
703
737
|
padding: 75px;
|
|
704
|
-
|
|
738
|
+
margin-top: 3em;
|
|
739
|
+
margin-bottom: 3em;
|
|
705
740
|
}
|
|
706
741
|
|
|
707
742
|
.min-height25p {
|
|
@@ -714,8 +749,6 @@ figcaption {
|
|
|
714
749
|
}
|
|
715
750
|
.highlighter h2 {
|
|
716
751
|
padding-top: 0;
|
|
717
|
-
font-size: 2rem;
|
|
718
|
-
font-weight: 600;
|
|
719
752
|
}
|
|
720
753
|
.two-columns p {
|
|
721
754
|
column-count: 2;
|
|
@@ -760,7 +793,6 @@ figcaption {
|
|
|
760
793
|
width: 50%;
|
|
761
794
|
float: right;
|
|
762
795
|
padding-left: 5rem;
|
|
763
|
-
padding-right: 5rem;
|
|
764
796
|
}
|
|
765
797
|
.highlighter img.with-zone {
|
|
766
798
|
width: 100%;
|
|
@@ -904,7 +936,7 @@ a:hover .tooltip-popup,
|
|
|
904
936
|
box-shadow: none;
|
|
905
937
|
}
|
|
906
938
|
.input {
|
|
907
|
-
height:
|
|
939
|
+
height: 2em;
|
|
908
940
|
}
|
|
909
941
|
|
|
910
942
|
.textarea {
|
|
@@ -1014,10 +1046,6 @@ a:hover .tooltip-popup,
|
|
|
1014
1046
|
margin-bottom: 2rem;
|
|
1015
1047
|
padding-top: 0;
|
|
1016
1048
|
}
|
|
1017
|
-
.news-content h4 {
|
|
1018
|
-
font-size: 0.75rem;
|
|
1019
|
-
letter-spacing: 0.3rem;
|
|
1020
|
-
}
|
|
1021
1049
|
.news-content {
|
|
1022
1050
|
width: 100%;
|
|
1023
1051
|
display: flow-root;
|
|
@@ -1101,10 +1129,15 @@ div.faq {
|
|
|
1101
1129
|
}
|
|
1102
1130
|
|
|
1103
1131
|
// Breadcrumbs
|
|
1132
|
+
.breadcrumb {
|
|
1133
|
+
font-size: 0.667rem;
|
|
1134
|
+
}
|
|
1104
1135
|
.breadcrumb-section {
|
|
1105
|
-
margin-top:
|
|
1136
|
+
margin-top: calc(80px + 1rem);
|
|
1106
1137
|
// position: fixed;
|
|
1107
1138
|
// z-index: 29;
|
|
1139
|
+
padding-top: 10px;
|
|
1140
|
+
padding-bottom: 10px;
|
|
1108
1141
|
width: 100%;
|
|
1109
1142
|
background-color: white;
|
|
1110
1143
|
border-top: 2px solid #1e7d73;
|
|
@@ -1200,7 +1233,7 @@ div.faq {
|
|
|
1200
1233
|
font-size: 0.83rem;
|
|
1201
1234
|
}
|
|
1202
1235
|
.navbar {
|
|
1203
|
-
padding-top:
|
|
1236
|
+
padding-top: 10px;
|
|
1204
1237
|
}
|
|
1205
1238
|
.navbar-brand img {
|
|
1206
1239
|
margin: 1rem;
|
|
@@ -1323,6 +1356,7 @@ div.faq {
|
|
|
1323
1356
|
.searchbar{
|
|
1324
1357
|
height: 47px;
|
|
1325
1358
|
width: auto;
|
|
1359
|
+
margin-right: 1rem;
|
|
1326
1360
|
padding-top: 0 !important;
|
|
1327
1361
|
}
|
|
1328
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
|
+
|
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.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-
|
|
11
|
+
date: 2022-05-10 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
|