jekyll-theme-lily 1.9.2.3.0 → 2.0.2.3.0

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: c7233df624196c1a350ed2823ff4f4c248176674086e1ab740dbd30bd820dd8a
4
- data.tar.gz: 1a82b5ac79eeb9c2fe91a7ad30b52b830002d79f2702fa7d620cc2097fc4a80a
3
+ metadata.gz: 6eccec689d3fd6f7827217de267eff23f00ef1d25da4dc3f45b57cfae0440a88
4
+ data.tar.gz: 6637b0192a2048ad162c2d173956d5bfb9dc9931c60b968900cae4f43a866f11
5
5
  SHA512:
6
- metadata.gz: 50c2240c20bf4333e781c51f38da6da95bd450d23855d2fcb87a65567848cf3f3aaf50f86b617853e58d57fc5e8577f0652afc83a6d68fcaa4012d94b2d77bd4
7
- data.tar.gz: 2b2ef12a8e5d3222c0ce75390a2757a36983cc1a0947777949333f6d4659de8d94004456d138c34b4977a7d6b01c7f8a9a52173de2e3ad10a19aade4976d5a2c
6
+ metadata.gz: 6fa4b59284d4cd7119b896415428d635552f4c68cf23c65f4e9aec09636ddb91c6692ab0b5b706a7173756cf3a35941063933d277aaff34c838c07eddc745f14
7
+ data.tar.gz: 4ff5f35b1d85f8154224752c4cea7632473506eccdd958f4fbf9ef51161222417f7b481b5a7636185671bc7e4eb0243dfb3c6ade2c7d6dc203ee589c8459b54f
data/README.md CHANGED
@@ -34,7 +34,7 @@ To directly use the Lily theme:
34
34
  1. Add the following to your site's `_config.yml`:
35
35
 
36
36
  ```yml
37
- remote_theme: HowerZiu/jekyll-theme-lily@1.9.2.3.0
37
+ remote_theme: HowerZiu/jekyll-theme-lily@2.0.2.3.0
38
38
  plugins:
39
39
  - jekyll-remote-theme # add this line to the plugins list if you already have one
40
40
  ```
@@ -1,4 +1,4 @@
1
- <footer>
1
+ <footer class="lily-footer">
2
2
  {% if site.github.is_project_page %}
3
3
  {{ site.title | default: site.github.repository_name }} is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a><br>
4
4
  <div class="small-divider"></div>
data/_includes/head.html CHANGED
@@ -1,6 +1,7 @@
1
1
  <head>
2
2
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
3
3
  <meta name="viewport" content="width=device-width, initial-scale=1">
4
+ <meta name="theme-color" content="#dee0ff">
4
5
  <title>
5
6
  {% if page.title %}
6
7
  {{ page.title | escape }}
@@ -28,7 +28,7 @@
28
28
  {{ content }}
29
29
  </section>
30
30
  </main>
31
- <div class="large-divider"></div>
31
+ <div class="divider"></div>
32
32
  {% include footer.html %}
33
33
  </div>
34
34
  <script>setLilyMode();</script>
@@ -13,7 +13,6 @@
13
13
  }
14
14
 
15
15
  .lily-translucent-bar {
16
- background-color: rgba(#000000, 0);
17
16
  &:after {
18
17
  content: "";
19
18
  position: absolute;
@@ -34,6 +33,10 @@
34
33
  text-overflow: ellipsis;
35
34
  }
36
35
 
36
+ .lily-footer {
37
+ padding: 16rem 16rem;
38
+ }
39
+
37
40
  .lily-post-date {
38
41
  flex: auto;
39
42
  word-wrap: break-word;
data/assets/js/lily.js CHANGED
@@ -21,16 +21,19 @@ function delLilyCookie(cname) {
21
21
  function setLilyMode() {
22
22
  body=document.body;
23
23
  var lily_mode=getLilyCookie("lily_mode");
24
+ var theme_color_meta=document.querySelector('meta[name="theme-color"]');
24
25
  if (lily_mode=="dark") {
25
26
  body.classList.remove("light");
26
27
  body.classList.add("dark");
27
28
  document.getElementById("body").classList.remove("lily-mode-light");
28
29
  document.getElementById("body").classList.add("lily-mode-dark");
30
+ theme_color_meta.setAttribute("content","#343e8f");
29
31
  } else {
30
32
  body.classList.remove("dark");
31
33
  body.classList.add("light");
32
34
  document.getElementById("body").classList.remove("lily-mode-dark");
33
35
  document.getElementById("body").classList.add("lily-mode-light");
36
+ theme_color_meta.setAttribute("content","#dee0ff");
34
37
  }
35
38
  }
36
39
  function changeLilyMode() {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-lily
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.2.3.0
4
+ version: 2.0.2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - HowerZiu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-05 00:00:00.000000000 Z
11
+ date: 2022-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll