intia-theme 0.1.52 → 0.1.55
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 +122 -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: e11e8ffb9117ba3c2c84d577e7bcadf8b2448ca3c928258c736f692bb3242c3f
|
|
4
|
+
data.tar.gz: 92bd9a1442b8ce5eb5cee06b55fbfa4132a866227c890cce3e5041fb7294ee55
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f21348681e693afd862ad1a9ff1df839a0eb6b43a73f64d4633e420e6aa0d8e821556f2de35168f49c2715383957a706e1c3d9a63b78139848fb4643bae244a3
|
|
7
|
+
data.tar.gz: f0f76f7d6ca8bfe9127528f8ff0f826dc1cc1c0880f07842cabb5e1067de2a67c20167f0458bd57f27d7bbad70456191ad5d6946e0ac53b275e58860cb85be09
|
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,60 +30,100 @@ 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;
|
|
80
92
|
padding-left: 1em;
|
|
81
93
|
}
|
|
94
|
+
a:link {
|
|
95
|
+
color: #1E7D73;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
a:visited {
|
|
99
|
+
color: #1E7D73;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
a:hover {
|
|
103
|
+
color: #77B9A5;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
a:active {
|
|
107
|
+
color: #1E7D73;
|
|
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
|
+
}
|
|
82
123
|
// Button Animation + Gleiche Breite
|
|
83
124
|
.button {
|
|
84
125
|
// Schrifft
|
|
85
|
-
font-size:
|
|
126
|
+
font-size: 0.667rem !important;
|
|
86
127
|
font-weight: 600;
|
|
87
128
|
// Animation
|
|
88
129
|
transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
@@ -99,35 +140,32 @@ ul {
|
|
|
99
140
|
-moz-transition-duration: 0.3s;
|
|
100
141
|
}
|
|
101
142
|
|
|
102
|
-
.button
|
|
103
|
-
|
|
104
|
-
// Schrifft
|
|
105
|
-
font-size: 16px !important;
|
|
106
|
-
font-weight: 600;
|
|
143
|
+
.button {
|
|
144
|
+
height: 2rem;
|
|
107
145
|
}
|
|
108
146
|
|
|
109
147
|
.navbar-menu .button,
|
|
110
148
|
.navbar-dropdown .button {
|
|
111
149
|
// Buttongröße aus Figma
|
|
112
150
|
width: 180px;
|
|
113
|
-
|
|
151
|
+
font-weight: 600;
|
|
114
152
|
}
|
|
115
153
|
.navbar-item.has-no-dropdown {
|
|
116
154
|
padding: 0;
|
|
117
155
|
}
|
|
118
156
|
.navbar.is-primary .navbar-item.has-no-dropdown .navbar-link:hover,
|
|
119
157
|
.navbar.is-primary .navbar-item.has-no-dropdown .navbar-link.is-active {
|
|
120
|
-
background-color: transparent;
|
|
121
158
|
color: #fff;
|
|
159
|
+
background-color: transparent;
|
|
122
160
|
}
|
|
123
161
|
|
|
124
162
|
// z.B. "Mehr über Intia" Button
|
|
125
163
|
.button.is-dark:hover,
|
|
126
164
|
.button.is-dark.is-hovered {
|
|
127
165
|
border-width: 1px;
|
|
128
|
-
background-color: $dark;
|
|
166
|
+
background-color: $dark !important;
|
|
129
167
|
border-color: transparent;
|
|
130
|
-
color: white;
|
|
168
|
+
color: white !important;
|
|
131
169
|
}
|
|
132
170
|
@include desktop {
|
|
133
171
|
.navbar-menu .button.is-dark:hover.has-dropdown,
|
|
@@ -179,8 +217,14 @@ ul {
|
|
|
179
217
|
}
|
|
180
218
|
// Search
|
|
181
219
|
.navbar-search{
|
|
182
|
-
padding
|
|
183
|
-
|
|
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;
|
|
184
228
|
}
|
|
185
229
|
//Search overlay
|
|
186
230
|
.searchbar .field{
|
|
@@ -193,6 +237,7 @@ ul {
|
|
|
193
237
|
height: 47px;
|
|
194
238
|
width: 800px;
|
|
195
239
|
padding-top: 0 !important;
|
|
240
|
+
margin-right: 1rem;
|
|
196
241
|
}
|
|
197
242
|
.search-item {
|
|
198
243
|
color: black;
|
|
@@ -290,14 +335,6 @@ div.highlight {
|
|
|
290
335
|
overflow: hidden;
|
|
291
336
|
}
|
|
292
337
|
|
|
293
|
-
.highlighter {
|
|
294
|
-
background-color: $light;
|
|
295
|
-
padding-left: 5%;
|
|
296
|
-
padding-right: 5%;
|
|
297
|
-
padding-bottom: 5%;
|
|
298
|
-
border-radius: 65px;
|
|
299
|
-
margin-top: 3em;
|
|
300
|
-
}
|
|
301
338
|
.overtitle {
|
|
302
339
|
margin-bottom: 0 !important;
|
|
303
340
|
padding-bottom: 0 !important;
|
|
@@ -318,7 +355,7 @@ img.is-rounded {
|
|
|
318
355
|
.arrow-image {
|
|
319
356
|
z-index: 10;
|
|
320
357
|
top: calc(50% - 68px);
|
|
321
|
-
left:
|
|
358
|
+
left: calc(100% - 2vw - 64px);
|
|
322
359
|
position: sticky;
|
|
323
360
|
width: 64px;
|
|
324
361
|
cursor: pointer;
|
|
@@ -326,6 +363,18 @@ img.is-rounded {
|
|
|
326
363
|
flex-direction: column;
|
|
327
364
|
height: 132px;
|
|
328
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
|
+
}
|
|
329
378
|
.is-pointed-down {
|
|
330
379
|
transform: scaleY(-1);
|
|
331
380
|
margin-top: auto;
|
|
@@ -366,7 +415,7 @@ a .tooltip-popup {
|
|
|
366
415
|
|
|
367
416
|
// Navi
|
|
368
417
|
.navbar {
|
|
369
|
-
padding-top:
|
|
418
|
+
padding-top: 10px;
|
|
370
419
|
}
|
|
371
420
|
|
|
372
421
|
.navbar.is-primary .navbar-dropdown a.navbar-item.is-active {
|
|
@@ -375,8 +424,8 @@ a .tooltip-popup {
|
|
|
375
424
|
}
|
|
376
425
|
|
|
377
426
|
.navbar-brand img {
|
|
378
|
-
max-height:
|
|
379
|
-
margin-top:
|
|
427
|
+
max-height: 2rem;
|
|
428
|
+
margin-top: 16px;
|
|
380
429
|
}
|
|
381
430
|
|
|
382
431
|
.navbar-brand a p {
|
|
@@ -535,10 +584,6 @@ a.navbar-item.is-active,
|
|
|
535
584
|
box-shadow: none;
|
|
536
585
|
}
|
|
537
586
|
|
|
538
|
-
.card .button {
|
|
539
|
-
margin-top: 50px;
|
|
540
|
-
}
|
|
541
|
-
|
|
542
587
|
.content-wrapper h1 {
|
|
543
588
|
padding-top: 50px;
|
|
544
589
|
}
|
|
@@ -571,10 +616,10 @@ a.navbar-item.is-active,
|
|
|
571
616
|
margin: auto;
|
|
572
617
|
}
|
|
573
618
|
.card-content p {
|
|
574
|
-
padding-left:
|
|
619
|
+
padding-left: 15px + 48px;
|
|
575
620
|
}
|
|
576
621
|
.card-content a {
|
|
577
|
-
margin-left:
|
|
622
|
+
margin-left: 15px + 48px;
|
|
578
623
|
}
|
|
579
624
|
.card-image:last-child img {
|
|
580
625
|
border-bottom-left-radius: 65px;
|
|
@@ -621,6 +666,12 @@ figcaption {
|
|
|
621
666
|
.slider-container .card-content .content {
|
|
622
667
|
margin: 50px;
|
|
623
668
|
}
|
|
669
|
+
.slider-item {
|
|
670
|
+
margin: auto;
|
|
671
|
+
}
|
|
672
|
+
.slider-titel {
|
|
673
|
+
padding-top: 0px !important;
|
|
674
|
+
}
|
|
624
675
|
.story-slider {
|
|
625
676
|
background-color: white;
|
|
626
677
|
border-bottom-left-radius: 65px !important;
|
|
@@ -686,7 +737,8 @@ figcaption {
|
|
|
686
737
|
background-color: $light;
|
|
687
738
|
border-radius: 65px;
|
|
688
739
|
padding: 75px;
|
|
689
|
-
|
|
740
|
+
margin-top: 3em;
|
|
741
|
+
margin-bottom: 3em;
|
|
690
742
|
}
|
|
691
743
|
|
|
692
744
|
.min-height25p {
|
|
@@ -699,8 +751,6 @@ figcaption {
|
|
|
699
751
|
}
|
|
700
752
|
.highlighter h2 {
|
|
701
753
|
padding-top: 0;
|
|
702
|
-
font-size: 2rem;
|
|
703
|
-
font-weight: 600;
|
|
704
754
|
}
|
|
705
755
|
.two-columns p {
|
|
706
756
|
column-count: 2;
|
|
@@ -745,7 +795,6 @@ figcaption {
|
|
|
745
795
|
width: 50%;
|
|
746
796
|
float: right;
|
|
747
797
|
padding-left: 5rem;
|
|
748
|
-
padding-right: 5rem;
|
|
749
798
|
}
|
|
750
799
|
.highlighter img.with-zone {
|
|
751
800
|
width: 100%;
|
|
@@ -889,7 +938,7 @@ a:hover .tooltip-popup,
|
|
|
889
938
|
box-shadow: none;
|
|
890
939
|
}
|
|
891
940
|
.input {
|
|
892
|
-
height:
|
|
941
|
+
height: 2em;
|
|
893
942
|
}
|
|
894
943
|
|
|
895
944
|
.textarea {
|
|
@@ -999,10 +1048,6 @@ a:hover .tooltip-popup,
|
|
|
999
1048
|
margin-bottom: 2rem;
|
|
1000
1049
|
padding-top: 0;
|
|
1001
1050
|
}
|
|
1002
|
-
.news-content h4 {
|
|
1003
|
-
font-size: 0.75rem;
|
|
1004
|
-
letter-spacing: 0.3rem;
|
|
1005
|
-
}
|
|
1006
1051
|
.news-content {
|
|
1007
1052
|
width: 100%;
|
|
1008
1053
|
display: flow-root;
|
|
@@ -1086,10 +1131,15 @@ div.faq {
|
|
|
1086
1131
|
}
|
|
1087
1132
|
|
|
1088
1133
|
// Breadcrumbs
|
|
1134
|
+
.breadcrumb {
|
|
1135
|
+
font-size: 0.667rem;
|
|
1136
|
+
}
|
|
1089
1137
|
.breadcrumb-section {
|
|
1090
|
-
margin-top:
|
|
1138
|
+
margin-top: calc(80px + 1rem);
|
|
1091
1139
|
// position: fixed;
|
|
1092
1140
|
// z-index: 29;
|
|
1141
|
+
padding-top: 10px;
|
|
1142
|
+
padding-bottom: 10px;
|
|
1093
1143
|
width: 100%;
|
|
1094
1144
|
background-color: white;
|
|
1095
1145
|
border-top: 2px solid #1e7d73;
|
|
@@ -1185,7 +1235,7 @@ div.faq {
|
|
|
1185
1235
|
font-size: 0.83rem;
|
|
1186
1236
|
}
|
|
1187
1237
|
.navbar {
|
|
1188
|
-
padding-top:
|
|
1238
|
+
padding-top: 10px;
|
|
1189
1239
|
}
|
|
1190
1240
|
.navbar-brand img {
|
|
1191
1241
|
margin: 1rem;
|
|
@@ -1308,6 +1358,7 @@ div.faq {
|
|
|
1308
1358
|
.searchbar{
|
|
1309
1359
|
height: 47px;
|
|
1310
1360
|
width: auto;
|
|
1361
|
+
margin-right: 1rem;
|
|
1311
1362
|
padding-top: 0 !important;
|
|
1312
1363
|
}
|
|
1313
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.55
|
|
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
|