jekyll-theme-lcsb-default 0.3.17 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1b790347c75df6d08f3c1f8a1d34fb4e6b75405678e313324aa546361d0ca3e8
4
- data.tar.gz: dc6a6a9657d160eacaf3eaf6fcfe869bc4ce6182ca29ecce3537dea3fb207695
3
+ metadata.gz: fe7d578a4a73c7a03412ac3bc11fe88fe4439d583f0c37eef0cf8f6bf4fc2a82
4
+ data.tar.gz: 4156c595d140f76b4cbb369aaea7db0a74c48be03aeab4fec54dbbe7a2f3a4dd
5
5
  SHA512:
6
- metadata.gz: 1ceea1da46a5087922022faccd50c2076952d1057028a4e5ff66b88e08d17898f4f163ac1672756ee8b12a669cb50ce78847dbad64ad7c6065decbd5f22a7826
7
- data.tar.gz: 128a48bca455a2e355a350a0bea61c2db72da7999b165c7573a17c3046561ad0047931273375f0b8269bd822b132a2e96c699c86a3424ca0d1bb18f2b5695b45
6
+ metadata.gz: 1e8fec56c686d2330858284966ee91272e6099c1433e75e263f9c8ac5f9a2d13eac2c4c3de9dcfaa08cc1f9074d099ad252fa84b0c66bd6c0957adf7a67e663a
7
+ data.tar.gz: 3d3a22693c3646e074f81d88c575e594744f190a393ac59a230fd294df355ce9ecc89fff41e19c0229fae7ddc3082821db3123c745d2fe949b2b8370737dd144
@@ -1,3 +1,3 @@
1
1
  {% comment %}
2
2
  Insert here CSS <link/> tags, and <style/> tags if needed.
3
- {% endcomment %}
3
+ {% endcomment %}
@@ -3,35 +3,48 @@
3
3
  <data class="u-url" href="{{ "/" | relative_url }}"></data>
4
4
 
5
5
  <div class="footer-cp">
6
- <div class="r3-logo-container">
7
- <img class="r3-logo" src="{{ '/assets/banners/r3-logo.svg' | relative_url }}" type="image/svg+xml" />
8
- <img class="lcsb-logo" src="{{ '/assets/banners/lcsb-compact.svg' | relative_url }}" type="image/svg+xml" />
9
- </div>
6
+ <div class="r3-logo-container">
7
+ <img class="r3-logo" src="{{ '/assets/banners/r3-logo.svg' | relative_url }}" type="image/svg+xml" />
8
+ <img class="lcsb-logo" src="{{ '/assets/banners/lcsb-compact.svg' | relative_url }}" type="image/svg+xml" />
9
+ </div>
10
10
 
11
- {% comment %}This is used to generate share URL for howto-pages{% endcomment %}
12
- {% if page.shortcut %}
13
- <p class="site-footer-share">Share this page:
14
- <a href="{{ site.share_url }}{{ page.shortcut }}">
15
- {{ site.share_url }}{{ page.shortcut }}
16
- </a>
17
- </p>
18
- {% elsif page.include_link %}
19
- {% assign parts = page.url | absolute_url | replace: ".html", "" | replace: "http://", "" | replace: "https://", "" | split: "/" %}
20
- <p class="site-footer-share">Share this page:
21
- <a href="{{ site.share_url }}{{ parts[site.include_link_index] }}">
22
- {{ site.share_url }}{{ parts[site.include_link_index] }}
23
- </a>
24
- </p>
25
- {% endif %}
11
+ {% comment %}This is used to generate share URL for howto-pages{% endcomment %}
12
+ <div class="footer-text-container">
13
+ {% if page.shortcut %}
14
+ <p>
15
+ Share this page:
16
+ <a href="{{ site.share_url }}{{ page.shortcut }}">
17
+ {{ site.share_url }}{{ page.shortcut }}
18
+ </a>
19
+ </p>
26
20
 
27
- <p>
28
- © <a href="https://wwwen.uni.lu/" target="_parent">
29
- <strong>Université du Luxembourg</strong>,
30
- </a>
31
- {{ 'now' | date: "%Y" }}. All rights reserved.
21
+ {% elsif page.include_link %}
22
+ {% assign parts = page.url | absolute_url | replace: ".html", "" | replace: "http://", "" | replace: "https://", "" | split: "/" %}
23
+ <p>
24
+ Share this page:
25
+ <a href="{{ site.share_url }}{{ parts[site.include_link_index] }}">
26
+ {{ site.share_url }}{{ parts[site.include_link_index] }}
27
+ </a>
28
+ </p>
29
+ {% endif %}
30
+ <p>
31
+ &copy; <a href="https://wwwen.uni.lu/" target="_parent">
32
+ <strong>Université du Luxembourg</strong>,
33
+ </a>
34
+ {{ 'now' | date: "%Y" }}. All rights reserved.
35
+ </p>
32
36
 
33
- {%- include social.html -%}
34
- </p>
37
+ {% if site.siteID > 0 %}
38
+ {%- include policy.html -%}
39
+ {% endif %}
40
+ </div>
41
+
42
+ <div class="social-container">
43
+ {%- include social.html -%}
44
+ </div>
35
45
  </div>
36
46
  </div>
37
47
  </footer>
48
+ {% if site.siteID > 0 %}
49
+ {%- include gdpr-banner.html -%}
50
+ {% endif %}
@@ -0,0 +1,18 @@
1
+ <div id="lap-cookies-banner">
2
+ <div class="banner-intro">
3
+ <div class="close-button">
4
+ <a class="lap-refuse"><i class="fa fa-times" aria-hidden="true"></i></a>
5
+ </div>
6
+ <div class="banner-img">
7
+ <img src="{{ site.logo_policy | relative_url }}" type="image/svg+xml" />
8
+ </div>
9
+ <div class="banner-title">{{ site.banner_title }}</div>
10
+ <div class="banner-text">{{ site.banner_text }}</div>
11
+ </div>
12
+
13
+ <div class="banner-buttons">
14
+ <a class="btn lap-accept">{{ site.banner_accept_text }}</a>
15
+ <a class="btn lap-refuse">{{ site.banner_refuse_text }}</a>
16
+ <a class="btn lap-cookies-more" href="{{ site.path_policy | relative_url }}">{{ site.banner_more_text }}</a>
17
+ </div>
18
+ </div>
@@ -1,34 +1,39 @@
1
1
  <head>
2
- <meta charset="utf-8">
3
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
- <meta name="viewport" content="width=device-width, initial-scale=1">
5
- {%- seo -%}
6
- <link rel="stylesheet" href="{{ '/assets/main.css' | relative_url }}">
7
- <link rel="stylesheet" href="{{ '/assets/fontawesome/css/fontawesome-all.min.css' | relative_url }}">
2
+ <meta charset="utf-8">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
+ <meta name="viewport" content="width=device-width, initial-scale=1"> {%- seo -%}
5
+ <link rel="stylesheet" href="{{ '/assets/main.css' | relative_url }}">
6
+ <link rel="stylesheet" href="{{ '/assets/fontawesome/css/fontawesome-all.min.css' | relative_url }}">
8
7
 
9
- <link rel="apple-touch-icon" sizes="180x180" href="{{ '/assets/favicon/apple-touch-icon.png' | relative_url }}">
10
- <link rel="icon" type="image/png" sizes="32x32" href="{{ '/assets/favicon/favicon-32x32.png' | relative_url }}">
11
- <link rel="icon" type="image/png" sizes="16x16" href="{{ '/assets/favicon/favicon-16x16.png' | relative_url }}">
12
- <link rel="manifest" href="{{ '/assets/favicon/site.webmanifest' | relative_url }}">
13
- <link rel="mask-icon" href="{{ '/assets/favicon/safari-pinned-tab.svg' | relative_url }}" color="#5bbad5">
14
- <link rel="shortcut icon" href="{{ '/assets/favicon/favicon.ico' | relative_url }}">
15
- <meta name="msapplication-TileColor" content="#da532c">
16
- <meta name="msapplication-config" content="{{ '/assets/favicon/browserconfig.xml' | relative_url }}">
17
- <meta name="theme-color" content="#ffffff">
8
+ <link rel="apple-touch-icon" sizes="180x180" href="{{ '/assets/favicon/apple-touch-icon.png' | relative_url }}">
9
+ <link rel="icon" type="image/png" sizes="32x32" href="{{ '/assets/favicon/favicon-32x32.png' | relative_url }}">
10
+ <link rel="icon" type="image/png" sizes="16x16" href="{{ '/assets/favicon/favicon-16x16.png' | relative_url }}">
11
+ <link rel="manifest" href="{{ '/assets/favicon/site.webmanifest' | relative_url }}">
12
+ <link rel="mask-icon" href="{{ '/assets/favicon/safari-pinned-tab.svg' | relative_url }}" color="#5bbad5">
13
+ <link rel="shortcut icon" href="{{ '/assets/favicon/favicon.ico' | relative_url }}">
14
+ <meta name="msapplication-TileColor" content="#da532c">
15
+ <meta name="msapplication-config" content="{{ '/assets/favicon/browserconfig.xml' | relative_url }}">
16
+ <meta name="theme-color" content="#ffffff"> {%- include css-imports.html -%}
17
+ {% if site.siteID > 0 %}
18
+ <script>
19
+ const settings = {
20
+ expires: "{{ site.cookies_expire }}",
21
+ matomoURL: "{{ site.analyticsurl }}",
22
+ siteID: "{{ site.siteID }}",
23
+ accept_all_text: "{{ site.accept_all_text }}",
24
+ only_necessary_text: "{{ site.only_necessary_text }}",
25
+ cookieName: "{{ site.cookieName }}",
26
+ bots: /bot|crawler|spider|crawling/i,
27
+ timeout_hidebanner: "{{ site.timeout_hidebanner }}",
28
+ cookieDomain: "{{ site.cookieDomain }}",
29
+ }
30
+ </script>
31
+ <script src="https://analytics.lcsb.uni.lu/lap/static/js/jquery.min.js"></script>
32
+ <script src="https://analytics.lcsb.uni.lu/lap/static/js/lap.js"></script>
33
+ {%- endif -%}
18
34
 
19
- {%- include css-imports.html -%}
35
+ {%- if jekyll.environment == "review" -%}
36
+ <script defer data-project-id='{{site.project_id}}' data-project-path='{{site.project_namespace}}' data-merge-request-id='{{site.mr_id}}' data-mr-url='{{site.gitlab_host}}' id='review-app-toolbar-script' src='{{site.gitlab_host}}/assets/webpack/visual_review_toolbar.js'></script>
37
+ {%- endif -%}
20
38
 
21
- {%- if jekyll.environment == "review" -%}
22
- <script defer
23
- data-project-id='{{site.project_id}}'
24
- data-project-path='{{site.project_namespace}}'
25
- data-merge-request-id='{{site.mr_id}}'
26
- data-mr-url='{{site.gitlab_host}}'
27
- id='review-app-toolbar-script'
28
- src='{{site.gitlab_host}}/assets/webpack/visual_review_toolbar.js'></script>
29
- {%- endif -%}
30
-
31
- {%- if jekyll.environment == 'production' and site.google_analytics -%}
32
- {%- include google-analytics.html -%}
33
- {%- endif -%}
34
- </head>
39
+ </head>
@@ -0,0 +1,4 @@
1
+ <p>
2
+ <a href="{{ site.path_policy | relative_url }}">Privacy Policy</a>
3
+ (<span id="gdpr-result-text"></span> - <a href="javascript: showBanner();">change</a>)
4
+ </p>
@@ -2,8 +2,3 @@
2
2
  Add here additional javascript libraries and code.
3
3
  Uncomment those if needed.
4
4
  {% endcomment %}
5
-
6
- {% comment %}
7
- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
8
- <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
9
- {% endcomment %}
@@ -15,9 +15,6 @@
15
15
 
16
16
  {%- include css-imports.html -%}
17
17
 
18
- {%- if jekyll.environment == 'production' and site.google_analytics -%}
19
- {%- include google-analytics.html -%}
20
- {%- endif -%}
21
18
  </head>
22
19
 
23
20
  <body>
@@ -56,5 +56,6 @@ $footer-height: 50px;
56
56
  "minima/syntax-highlighting",
57
57
  "minima/lcsb",
58
58
  "minima/boxes",
59
- "minima/search"
59
+ "minima/search",
60
+ "minima/gdpr"
60
61
  ;
@@ -176,6 +176,8 @@ pre,
176
176
  code {
177
177
  @include relative-font-size(0.9375);
178
178
  background-color: #f6f8fa;
179
+ overflow-wrap: break-word;
180
+ word-break: break-word;
179
181
  }
180
182
 
181
183
  code {
@@ -226,6 +228,7 @@ pre {
226
228
  margin-left: 0px;
227
229
  background-color: #fdfdfd;
228
230
  box-shadow: unset;
231
+ display: block;
229
232
  }
230
233
  }
231
234
 
@@ -0,0 +1,251 @@
1
+ #lap-cookies-banner {
2
+ position: fixed;
3
+ bottom: 0;
4
+ background-color: #fff;
5
+ padding-top: 1em;
6
+ padding-bottom: 1em;
7
+ z-index: 1000;
8
+ left: 0;
9
+ text-align: center;
10
+ border-top: 1px solid #198cdc;
11
+ width: 100%;
12
+ display: none;
13
+
14
+ /* hidden by default */
15
+ }
16
+
17
+ #lap-cookies-banner .banner-intro {
18
+ width: 40%;
19
+ position: relative;
20
+ left: 30%;
21
+ text-align: left;
22
+ }
23
+
24
+ #lap-cookies-banner .banner-img {
25
+ width: 50px;
26
+ position: absolute;
27
+ padding-top: 5px;
28
+ height: 50px;
29
+ }
30
+
31
+ #lap-cookies-banner .banner-title {
32
+ font-size: 120%;
33
+ font-weight: bold;
34
+ text-align: left;
35
+ padding-left: 60px;
36
+ }
37
+
38
+ #lap-cookies-banner .banner-text {
39
+ float: center;
40
+ min-height: 40px;
41
+ padding-left: 60px;
42
+ font-size: 80%;
43
+ text-align: left;
44
+ }
45
+
46
+ #lap-cookies-banner .banner-buttons {
47
+ float: center;
48
+ padding-top: 5px;
49
+ height: 20px;
50
+ margin-bottom: 10px;
51
+ }
52
+
53
+ #lap-cookies-banner .close-button {
54
+ position: absolute;
55
+ left: 100%;
56
+ }
57
+
58
+ #lap-cookies-banner .banner-buttons .lap-accept,
59
+ #lap-cookies-banner .banner-buttons .lap-refuse,
60
+ #lap-cookies-banner .banner-buttons .lap-cookies-more,
61
+ #lap-cookies-banner .banner-buttons .btn.active {
62
+ border: 1px solid #198cdc;
63
+ font-weight: bold;
64
+ background-color: #198cdc;
65
+ color: #ffffff !important;
66
+ box-sizing: border-box;
67
+ -moz-box-sizing: border-box;
68
+ -webkit-box-sizing: border-box;
69
+ }
70
+
71
+ #lap-cookies-banner .banner-buttons .lap-accept:hover,
72
+ #lap-cookies-banner .banner-buttons .lap-refuse:hover,
73
+ #lap-cookies-banner .banner-buttons .lap-cookies-more:hover,
74
+ #lap-cookies-banner .banner-buttons .btn.selected {
75
+ background: white;
76
+ color: #198cdc !important;
77
+ border: 1px solid #198cdc;
78
+ box-sizing: border-box;
79
+ -moz-box-sizing: border-box;
80
+ -webkit-box-sizing: border-box;
81
+ text-decoration: none;
82
+ }
83
+
84
+ #lap-cookies-banner .btn {
85
+ text-decoration: none;
86
+ display: inline-block;
87
+ margin-bottom: 0;
88
+ text-align: center;
89
+ vertical-align: middle;
90
+ touch-action: manipulation;
91
+ background-image: none;
92
+ white-space: nowrap;
93
+ padding: 3px 10px;
94
+ font-size: 9pt;
95
+ line-height: 20px;
96
+ -webkit-user-select: none;
97
+ -moz-user-select: none;
98
+ -ms-user-select: none;
99
+ user-select: none;
100
+ margin-right: 10px;
101
+ margin-bottom: 10px;
102
+ }
103
+
104
+ // Small component to show a Material Design style input toggle
105
+ // ref: https://codepen.io/FezVrasta/pen/yNRgrB - MIT licensed
106
+ $toggle-w: 32px;
107
+ $toggle-h: 14px;
108
+ $handle-size: 18px;
109
+ $unchecked-handle-bg: #F1F1F1;
110
+ $checked-handle-bg: #198cdc;
111
+ $disabled-handle-bg: #BDBDBD;
112
+ $unchecked-toggle-bg: #848484;
113
+ $checked-toggle-bg: desaturate(lighten($checked-handle-bg, 28%), 32%); // kind of magic recipe
114
+ $disabled-toggle-bg: #D5D5D5;
115
+ label.input-toggle {
116
+ line-height: 0;
117
+ font-size: 0;
118
+ display: inline-block;
119
+ margin: 0;
120
+ >span {
121
+ display: inline-block;
122
+ position: relative;
123
+ background-image: linear-gradient( to right, $unchecked-toggle-bg 0%, $unchecked-toggle-bg 50%, $checked-toggle-bg 50%, $checked-toggle-bg 100%);
124
+ background-size: $toggle-w*2 $toggle-h;
125
+ background-position: 0%;
126
+ border-radius: $toggle-w;
127
+ width: $toggle-w;
128
+ height: $toggle-h;
129
+ cursor: pointer;
130
+ transition: background-position 0.2s ease-in;
131
+ }
132
+ >input:checked+span {
133
+ background-position: -100%;
134
+ }
135
+ >span:after {
136
+ content: "";
137
+ display: block;
138
+ position: absolute;
139
+ width: $handle-size;
140
+ height: $handle-size;
141
+ background: $unchecked-handle-bg;
142
+ align-self: center;
143
+ top: 50%;
144
+ left: 0;
145
+ transform: translateY(-50%);
146
+ border-radius: 100%;
147
+ //box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
148
+ transition: left 0.2s ease-in, background-color 0.2s ease-in, transform 0.3s ease;
149
+ }
150
+ >input:checked+span:after {
151
+ left: $handle-size;
152
+ background-color: $checked-handle-bg;
153
+ }
154
+ // Jelly effect on click
155
+ >span:active:after {
156
+ //transform: translateY(-50%) scale3d(1.15, 0.85, 1);
157
+ }
158
+ // No jelly effect on disabled toggles
159
+ >input:disabled+span:active:after {
160
+ transform: translateY(-50%);
161
+ }
162
+ >input:disabled+span {
163
+ cursor: default;
164
+ }
165
+ >input:disabled+span {
166
+ background: $disabled-toggle-bg;
167
+ }
168
+ >input:disabled+span:after {
169
+ background: $disabled-handle-bg;
170
+ }
171
+ // Hide original checkbox, but don't use `display: none` to allow focus on it using keyboard
172
+ >input {
173
+ display: block;
174
+ position: absolute;
175
+ opacity: 0;
176
+ width: 0;
177
+ height: 0;
178
+ }
179
+ }
180
+
181
+ #lap-cookies-banner .banner-checkboxes {
182
+ font-size: 80%;
183
+ margin-top: 1em;
184
+ }
185
+
186
+ #lap-cookies-banner .checkbox-label {
187
+ margin-left: 0.3em;
188
+ margin-right: 1.5em;
189
+ top: -0.2em;
190
+ position: relative;
191
+ }
192
+
193
+ @media(max-width: 500px) {
194
+ #lap-cookies-banner {
195
+ position: fixed;
196
+ bottom: 0;
197
+ background-color: #fff;
198
+ padding-top: 1em;
199
+ padding-bottom: 1em;
200
+ z-index: 1000;
201
+ left: 0;
202
+ text-align: center;
203
+ border-top: 1px solid #198cdc;
204
+ width: 100%;
205
+ display: none;
206
+ height: 280px;
207
+ overflow: auto;
208
+ /* hidden by default */
209
+ }
210
+
211
+ #lap-cookies-banner .banner-intro {
212
+ width: 60%;
213
+ position: relative;
214
+ left: 20%;
215
+ text-align: left;
216
+ }
217
+ }
218
+
219
+ @media(max-width: 1100px) {
220
+ #lap-cookies-banner .banner-intro {
221
+ width: 90%;
222
+ position: relative;
223
+ left: 5%;
224
+ text-align: left;
225
+ }
226
+ #lap-cookies-banner .banner-buttons {
227
+ float: center;
228
+ padding-top: 5px;
229
+ height: 60px;
230
+ margin-bottom: 10px;
231
+ }
232
+ }
233
+
234
+ @media(max-width: 1600px) {
235
+ #lap-cookies-banner .banner-intro {
236
+ width: 60%;
237
+ position: relative;
238
+ left: 20%;
239
+ text-align: left;
240
+ }
241
+ }
242
+
243
+ /* ultra-wide screen */
244
+ @media(min-width: 2400px) {
245
+ #lap-cookies-banner .banner-intro {
246
+ position: relative;
247
+ text-align: left;
248
+ max-width: 800px;
249
+ left: 35%;
250
+ }
251
+ }
@@ -254,7 +254,7 @@ html {
254
254
  width:100%;
255
255
  margin-top: -$footer-height + $spacing-unit;
256
256
  flex-shrink: 0;
257
- height: $footer-height;
257
+ min-height: $footer-height;
258
258
  line-height: 15px;
259
259
 
260
260
  @media print {
@@ -311,12 +311,6 @@ html {
311
311
  }
312
312
  }
313
313
 
314
- .site-footer-share {
315
- margin-bottom: 4px;
316
- }
317
-
318
-
319
-
320
314
  /**
321
315
  * Page content
322
316
  */
@@ -89,31 +89,34 @@ div.alert.primary {
89
89
  right: 0px;
90
90
  }
91
91
 
92
+ .footer-text-container {
93
+ margin-bottom: 4px;
94
+ left: 0;
95
+ width: 100%;
96
+ position: absolute;
97
+ text-align: center;
98
+ }
99
+
100
+
92
101
  .r3-logo-container {
102
+ float: left;
103
+ position: relative;
104
+ left: 11%;
93
105
  }
94
106
 
95
107
  .r3-logo {
96
- float: left;
97
- position: relative;
98
- top: -10px;
99
- left: 100px;
100
- height: 30px;
108
+ height: 30px;
101
109
  }
102
110
 
103
111
  .lcsb-logo {
104
- float: left;
105
- position: relative;
106
- top: -10px;
107
- left: 100px;
108
112
  height: 30px;
109
113
  padding-left: 1em;
110
- }
114
+ }
111
115
 
112
- .social-media-list {
113
- float: right;
114
- padding-right: 7%;
115
- position: relative;
116
- top: -2.4em;
116
+ .social-container {
117
+ float: right;
118
+ padding-right: 7%;
119
+ padding-top: 0.5em;
117
120
  }
118
121
 
119
122
  .svg-icon {
@@ -148,6 +151,42 @@ div.alert.primary {
148
151
  }
149
152
  }
150
153
 
154
+ @media (max-width: 680px) {
155
+ .lcsb-logo {
156
+ height: 32px;
157
+ margin: 0px auto;
158
+
159
+ float: none;
160
+ position: initial;
161
+ top: unset;
162
+ left: unset;
163
+ }
164
+
165
+ .r3-logo-container {
166
+ position: relative;
167
+ left:0;
168
+ width: 100%;
169
+ text-align: center;
170
+ padding-bottom: 1em;
171
+
172
+ }
173
+
174
+ .footer-text-container {
175
+ margin-bottom: 4px;
176
+ left: 0;
177
+ width: 100%;
178
+ position: relative;
179
+ text-align: center;
180
+ }
181
+ .social-container {
182
+ position: relative;
183
+ left:0;
184
+ width: 100%;
185
+ text-align: center;
186
+ float: unset;
187
+ }
188
+ }
189
+
151
190
  @media (max-width: 640px) {
152
191
  .img-uni-lu {
153
192
  }
@@ -165,37 +204,11 @@ div.alert.primary {
165
204
  width: 120px;
166
205
  display: none;
167
206
  }
168
-
169
- .r3-logo {
170
- height: 32px;
171
- margin: 0px auto;
172
-
173
- float: none;
174
- position: initial;
175
- top: unset;
176
- left: unset;
177
- }
178
-
179
- .lcsb-logo {
180
- height: 32px;
181
- margin: 0px auto;
182
-
183
- float: none;
184
- position: initial;
185
- top: unset;
186
- left: unset;
187
- }
188
-
189
- .r3-logo-container {
190
- width: 100%;
191
- position: relative;
192
- top: -10px;
193
- }
194
207
  }
195
208
 
196
209
  // Ultra-small screen ==================================================================================
197
210
 
198
- @media (max-width: 500px) {
211
+ @media (max-width: 650px) {
199
212
  .img-banner-main {
200
213
  margin-left: 9px;
201
214
  bottom: -8px;
@@ -216,14 +229,6 @@ div.alert.primary {
216
229
  position: relative;
217
230
  width: 80px;
218
231
  }
219
-
220
- .social-media-list {
221
- text-align: center;
222
- position:relative;
223
- right:33%;
224
- top: 0.2em;
225
- padding-right: 2%;
226
- }
227
232
  }
228
233
 
229
234
 
@@ -3,5 +3,5 @@
3
3
  # Note: keep the format of NUMBER.NUMBER.NUMBER (where NUMBER is [0-9]+);
4
4
  # Otherwise Gitlab-CI could fail to detect the version (see .gitlab-ci.yml) and auto-tag the job
5
5
  module Theme
6
- VERSION = "0.3.17"
6
+ VERSION = "0.4.2"
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-lcsb-default
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.17
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Trefex
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-04-09 00:00:00.000000000 Z
12
+ date: 2020-06-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -77,9 +77,10 @@ files:
77
77
  - LICENSE.txt
78
78
  - _includes/css-imports.html
79
79
  - _includes/footer.html
80
- - _includes/google-analytics.html
80
+ - _includes/gdpr-banner.html
81
81
  - _includes/head.html
82
82
  - _includes/header.html
83
+ - _includes/policy.html
83
84
  - _includes/scripts.html
84
85
  - _includes/social.html
85
86
  - _layouts/default.html
@@ -92,6 +93,7 @@ files:
92
93
  - _sass/minima/_base.scss
93
94
  - _sass/minima/_boxes.scss
94
95
  - _sass/minima/_frozen.scss
96
+ - _sass/minima/_gdpr.scss
95
97
  - _sass/minima/_layout.scss
96
98
  - _sass/minima/_lcsb.scss
97
99
  - _sass/minima/_search.scss
@@ -1,12 +0,0 @@
1
- <script>
2
- if(!(window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1")) {
3
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
4
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
5
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
6
- })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
7
-
8
- ga('create', '{{ site.google_analytics }}', 'auto');
9
- ga('send', 'pageview');
10
- }
11
- </script>
12
-