jekyll-theme-noesya 1.1.4 → 1.1.6

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: 10709aa31e1b914d2795991621c73e044dd14688cef02eb5a1cc7fa9e1506eec
4
- data.tar.gz: c35b3b8c89fbacdb862520a17b58b2c74796c60db0dc91406d885d27e0544d49
3
+ metadata.gz: e9454bc3b7a24c006ac00973d2b1a0cd90bb14dbfa91f1dd09ddf3512c06ffe2
4
+ data.tar.gz: a7fced1b9df2656c14372e38b80baf59e2071f660919026406bde7388adccbf9
5
5
  SHA512:
6
- metadata.gz: 987540311bd07af0d3d7b62e7aaaeba4fa195910b7b120bb9a481a94c74fd917cdb3a513732e92535111ac1712dbe4e8cf454932fbe39182807baa5e0e867ae8
7
- data.tar.gz: 8196b0537c210ebfec02ef88b1486628a6abf2b97b8e960c5e200f6f00e1f9e8572516c7a4a6360d0ad4aae23756c410e234397013e5ca50fb96363df852bc91
6
+ metadata.gz: 4bb9f2ce2b200005314a61d769efd0017daa4b6676932bf61930abdcf8020857202f493c1c33a6e8de328fe3a10238bd0eaf953e4de3b7b433b52d9885457967
7
+ data.tar.gz: bf27deda51389e2ec82b716d020415ea603796ca3a810b980bb88481d331ec03fe982e1c4e8102ee3486648cef9b604d67b2c4f4009493c638cff7ec666b98bd
@@ -38,9 +38,10 @@ window.menu = {
38
38
  },
39
39
  scroll: function () {
40
40
  'use strict';
41
- var y = window.scrollY;
41
+ var y = window.scrollY,
42
+ mainHeight = document.querySelector('main').offsetHeight;
42
43
 
43
- if (y > window.innerHeight / 2) {
44
+ if (y > 100 || mainHeight < window.innerHeight) {
44
45
  this.footer.classList.add('is-visible');
45
46
  } else {
46
47
  this.footer.classList.remove('is-visible');
@@ -43,6 +43,9 @@ body > footer
43
43
  display: block
44
44
  margin-bottom: $grid-gutter
45
45
  max-width: 85px
46
+ img
47
+ object-fit: contain
48
+ max-height: 30vh
46
49
 
47
50
  @include media-breakpoint-down(lg)
48
51
  .bcorp
@@ -54,15 +57,24 @@ body > footer
54
57
  li
55
58
  font-size: px2rem(40)
56
59
  line-height: 1.4
57
-
58
- @include media-breakpoint-height-up(780px)
60
+ @include media-breakpoint-height-up(700px)
59
61
  padding-bottom: $grid-gutter * 2
60
- padding-top: $grid-gutter * 4
61
- nav
62
- &:first-of-type
63
- li
64
- font-size: px2rem(55)
65
- line-height: px2rem(75)
62
+ padding-top: $grid-gutter * 2
63
+ nav:first-of-type
64
+ li
65
+ font-size: px2rem(35)
66
+ line-height: px2rem(55)
67
+ @include media-breakpoint-height-up(790px)
68
+ nav:first-of-type
69
+ li
70
+ font-size: px2rem(45)
71
+ line-height: px2rem(65)
72
+ @include media-breakpoint-height-up(860px)
73
+ padding-bottom: $grid-gutter * 4
74
+ nav:first-of-type
75
+ li
76
+ font-size: px2rem(55)
77
+ line-height: px2rem(75)
66
78
 
67
79
  @include media-breakpoint-up(lg)
68
80
  bottom: 0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-noesya
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sébastien Moulène
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-04-03 00:00:00.000000000 Z
13
+ date: 2023-10-08 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: jekyll