jekyll-theme-lcsb-default 0.3.13 → 0.3.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d6be09cc87d086bc9bd423e9a4e9079fb00a5a7aa1668da934b081a77c972294
4
- data.tar.gz: 9f5fa9195066b5b5f6b8d882b137f61a7136c6aea29fcd013ae0d0c1aa838e91
3
+ metadata.gz: 10c868820c8a595e00e54a96ceaf405817d9433e909a2034ce3e886e3787fbd1
4
+ data.tar.gz: 55dab60ad7556fe590b905e91701d621853949e076658098d688d3f3f4d06e4a
5
5
  SHA512:
6
- metadata.gz: dc95ccb5db9f1827366b6cf9443f7a24de493877a62c78eccc2be65b9a487e7fc5b228c3f6a16727dd1e9acb0cb0f65b84a6acf33ec2e7a7f8b21d6d265133d1
7
- data.tar.gz: 03e2946035d9bbe6b69d486d79ece7b0db3f98f2d55687cfe1f5e63e7716d2520bd732088940a174dd657562f68f6da24e4577ee4a4be3b453fa69bb7a878bc1
6
+ metadata.gz: c9798056c81076d4e6e4acb0ee835f54ee2c69d2787d204bd969898f31463714d62acadee09038aabbc94333a1bbcb99d1e66b9ec0ec02d00201b22a5334e6fe
7
+ data.tar.gz: 809bf3b700fb4c9295d648a81e8dd53d5caf228277876129777dbed905d9687a50df20b58be3c3c5fa012d29954cda5ff7a339203e25abd6341ef2b0dd7ef5bb
@@ -9,6 +9,12 @@
9
9
  {%- include header.html -%}
10
10
  <main class="page-content" aria-label="Content">
11
11
  <div class="wrapper">
12
+ {%- if page.show_print_button -%}
13
+ <div class="print-button">
14
+ <img src="{{ "assets/pdf.svg" | relative_url }}">
15
+ <a href="javascript:window.print()"><span>Print the page</span></a>
16
+ </div>
17
+ {%- endif -%}
12
18
  {{ content }}
13
19
  </div>
14
20
  </main>
@@ -132,7 +132,8 @@ a {
132
132
  }
133
133
 
134
134
  &:visited {
135
- color: darken($brand-color, 15%);
135
+ // color: darken($brand-color, 15%);
136
+ color: $brand-color;
136
137
  }
137
138
 
138
139
  &:hover {
@@ -176,7 +177,7 @@ code {
176
177
  @include relative-font-size(0.9375);
177
178
  border: 1px solid $grey-color-light;
178
179
  border-radius: 3px;
179
- background-color: #eef;
180
+ background-color: #f4f4f4;
180
181
  }
181
182
 
182
183
  code {
@@ -322,14 +323,16 @@ table {
322
323
  border: 1px solid $grey-color-light;
323
324
  tr {
324
325
  &:nth-child(even) {
325
- background-color: lighten($grey-color-light, 6%);
326
+ // background-color: lighten($grey-color-light, 6%);
327
+ background-color: #f0f0f0;
326
328
  }
327
329
  }
328
330
  th, td {
329
331
  padding: ($spacing-unit / 3) ($spacing-unit / 2);
330
332
  }
331
333
  th {
332
- background-color: lighten($grey-color-light, 3%);
334
+ // background-color: lighten($grey-color-light, 3%);
335
+ background-color: #f0f0f0;
333
336
  border: 1px solid darken($grey-color-light, 4%);
334
337
  border-bottom-color: darken($grey-color-light, 12%);
335
338
  }
@@ -21,7 +21,7 @@ $COLOR_BOX_FONT: #444;
21
21
  padding: 10px 20px 0px 20px;
22
22
 
23
23
  border: solid 2px $COLOR_BOX_SECONDARY;
24
- margin-bottom: #{"min(35px, 5%)"};
24
+ margin-bottom: 25px;
25
25
  border-radius: 0 0 15px 15px;
26
26
  border-top: solid 5px $COLOR_BOX_PRIMARY;
27
27
 
@@ -31,7 +31,7 @@ $COLOR_BOX_FONT: #444;
31
31
  }
32
32
 
33
33
  @media (max-width: 800px) {
34
- width: 90%;
34
+ width: 86%;
35
35
  margin-right: 0;
36
36
  }
37
37
 
@@ -162,7 +162,7 @@ html {
162
162
  }
163
163
 
164
164
  .active:after {
165
- border-color: #58595B;
165
+ border-color: $brand-color;
166
166
  }
167
167
  }
168
168
 
@@ -421,3 +421,22 @@ html {
421
421
  margin: 0 auto;
422
422
  display: block;
423
423
  }
424
+
425
+ .print-button {
426
+ @media print {
427
+ display: none;
428
+ }
429
+
430
+ float: right;
431
+ color: #252525;
432
+ margin-right: 40px;
433
+ margin-top: 14px;
434
+
435
+ @include media-query($on-palm) {
436
+ display: none;
437
+ }
438
+
439
+ span {
440
+ padding-left: 5px;
441
+ }
442
+ }
data/_sass/minima.scss CHANGED
@@ -12,7 +12,8 @@ $spacing-unit: 30px !default;
12
12
 
13
13
  $text-color: #111 !default;
14
14
  $background-color: #fdfdfd !default;
15
- $brand-color: #2a7ae2 !default;
15
+ // $brand-color: #2a7ae2 !default;
16
+ $brand-color: #4085e4 !default;
16
17
 
17
18
  $grey-color: #5c5c5c !default;
18
19
  $grey-color-light: lighten($grey-color, 40%) !default;
data/assets/pdf.svg ADDED
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 7.5c0 .83-.67 1.5-1.5 1.5H9v1.25c0 .41-.34.75-.75.75s-.75-.34-.75-.75V8c0-.55.45-1 1-1H10c.83 0 1.5.67 1.5 1.5v1zm5 2c0 .83-.67 1.5-1.5 1.5h-2c-.28 0-.5-.22-.5-.5v-5c0-.28.22-.5.5-.5h2c.83 0 1.5.67 1.5 1.5v3zm4-3.75c0 .41-.34.75-.75.75H19v1h.75c.41 0 .75.34.75.75s-.34.75-.75.75H19v1.25c0 .41-.34.75-.75.75s-.75-.34-.75-.75V8c0-.55.45-1 1-1h1.25c.41 0 .75.34.75.75zM9 9.5h1v-1H9v1zM3 6c-.55 0-1 .45-1 1v13c0 1.1.9 2 2 2h13c.55 0 1-.45 1-1s-.45-1-1-1H5c-.55 0-1-.45-1-1V7c0-.55-.45-1-1-1zm11 5.5h1v-3h-1v3z"/></svg>
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.13
4
+ version: 0.3.14
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-03-21 00:00:00.000000000 Z
12
+ date: 2020-03-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -176,6 +176,7 @@ files:
176
176
  - assets/fontawesome/webfonts/fa-solid-900.woff2
177
177
  - assets/main.scss
178
178
  - assets/minima-social-icons.svg
179
+ - assets/pdf.svg
179
180
  homepage: https://git-r3lab.uni.lu/core-services/jekyll-theme-lcsb-default
180
181
  licenses:
181
182
  - MIT