jekyll-theme-lcsb-default 0.4.2 → 0.4.7

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: fe7d578a4a73c7a03412ac3bc11fe88fe4439d583f0c37eef0cf8f6bf4fc2a82
4
- data.tar.gz: 4156c595d140f76b4cbb369aaea7db0a74c48be03aeab4fec54dbbe7a2f3a4dd
3
+ metadata.gz: 273aa4758cdb87fb7cec08f42af43e64cbde3be0f380ca46bddd347e4616180f
4
+ data.tar.gz: 52c2ccef711874c3f975f56e62944e2813e98a5fcb6b0daaabaf60e6056df1ff
5
5
  SHA512:
6
- metadata.gz: 1e8fec56c686d2330858284966ee91272e6099c1433e75e263f9c8ac5f9a2d13eac2c4c3de9dcfaa08cc1f9074d099ad252fa84b0c66bd6c0957adf7a67e663a
7
- data.tar.gz: 3d3a22693c3646e074f81d88c575e594744f190a393ac59a230fd294df355ce9ecc89fff41e19c0229fae7ddc3082821db3123c745d2fe949b2b8370737dd144
6
+ metadata.gz: 5bde8c32cb34eb544fd05865717ee9638e5328a07e0d690dd694e51bd33e9a779aac3f2b5303c507c9353fa53d6b2cd3e0064319012a5582c86da57f3a4360fd
7
+ data.tar.gz: 451c0467605e0dcd92fe124d8fbeb0871ec153872acb05ef4c43bb584676bc2adcea06b40d991154979d6fd66fd804c8685a4249e70518ca0d5323b48d7cc94c
data/_includes/head.html CHANGED
@@ -1,5 +1,12 @@
1
1
  <head>
2
2
  <meta charset="utf-8">
3
+
4
+ {% if page.preventCaching %}
5
+ <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
6
+ <meta http-equiv="Pragma" content="no-cache" />
7
+ <meta http-equiv="Expires" content="0" />
8
+ {% endif %}
9
+
3
10
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
11
  <meta name="viewport" content="width=device-width, initial-scale=1"> {%- seo -%}
5
12
  <link rel="stylesheet" href="{{ '/assets/main.css' | relative_url }}">
@@ -30,10 +37,11 @@
30
37
  </script>
31
38
  <script src="https://analytics.lcsb.uni.lu/lap/static/js/jquery.min.js"></script>
32
39
  <script src="https://analytics.lcsb.uni.lu/lap/static/js/lap.js"></script>
40
+ <link rel="stylesheet" type="text/css" href="https://analytics.lcsb.uni.lu/lap/static/css/lap.css" />
33
41
  {%- endif -%}
34
42
 
35
43
  {%- if jekyll.environment == "review" -%}
36
44
  <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
45
  {%- endif -%}
38
46
 
39
- </head>
47
+ </head>
@@ -1,4 +1,4 @@
1
1
  <p>
2
2
  <a href="{{ site.path_policy | relative_url }}">Privacy Policy</a>
3
- (<span id="gdpr-result-text"></span> - <a href="javascript: showBanner();">change</a>)
3
+ (<span id="doNotTrack-text"><span id="gdpr-result-text"></span> - <a href="javascript: showBanner();">change</a></span>)
4
4
  </p>
data/_sass/minima.scss CHANGED
@@ -13,7 +13,7 @@ $spacing-unit: 30px !default;
13
13
  $text-color: #111 !default;
14
14
  $background-color: #fdfdfd !default;
15
15
  // $brand-color: #2a7ae2 !default;
16
- $brand-color: #4085e4 !default;
16
+ $brand-color: #00aadc !default;
17
17
 
18
18
  $grey-color: #5c5c5c !default;
19
19
  $grey-color-light: lighten($grey-color, 40%) !default;
@@ -56,6 +56,5 @@ $footer-height: 50px;
56
56
  "minima/syntax-highlighting",
57
57
  "minima/lcsb",
58
58
  "minima/boxes",
59
- "minima/search",
60
- "minima/gdpr"
59
+ "minima/search"
61
60
  ;
@@ -109,10 +109,14 @@ li {
109
109
  /**
110
110
  * Headings
111
111
  */
112
- h1, h2, h3, h4, h5, h6 {
112
+ h1, h2 {
113
113
  font-weight: $base-font-weight;
114
114
  }
115
115
 
116
+ h3, h4, h5, h6 {
117
+ font-weight: $base-font-weight + 300;
118
+ }
119
+
116
120
 
117
121
 
118
122
  /**
@@ -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.4.2"
6
+ VERSION = "0.4.7"
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.4.2
4
+ version: 0.4.7
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-06-16 00:00:00.000000000 Z
12
+ date: 2021-04-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -93,7 +93,6 @@ files:
93
93
  - _sass/minima/_base.scss
94
94
  - _sass/minima/_boxes.scss
95
95
  - _sass/minima/_frozen.scss
96
- - _sass/minima/_gdpr.scss
97
96
  - _sass/minima/_layout.scss
98
97
  - _sass/minima/_lcsb.scss
99
98
  - _sass/minima/_search.scss
@@ -1,251 +0,0 @@
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
- }