jekyll-theme-coo 6.3.10 → 6.3.11

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: 3170daaa3a1041934ca503d225390f46be9913f92adbd7f73f8cf1ff31edc942
4
- data.tar.gz: 42d2303509d530801d7c9358913282b638007539bc19fe6286634a2c81b7ce03
3
+ metadata.gz: a6787b89c58d6e508d671bb29d5495a2bb188276e6752a74b127e4b3eb086dab
4
+ data.tar.gz: 90258f71fecbca27d6ba45f7283ff8b3aecb56ce8eac951b9ee8abdbcb0abdf6
5
5
  SHA512:
6
- metadata.gz: 7fb594f264c3273d73d5d8c9db40cbf0bfc9ddd312e9f6bfdd7a164c90db460faa9c2b9846a4b2a5f09decd7ee8eaa8850d40adc9f6ef5207468ff6a03909bb6
7
- data.tar.gz: 3ccdb65eb17740cf373e916bcd4d575a60a281e55c187a2f606dacb8a986b7a749f7508e0343bb6320aef71abd7169e0b5c13e6a84b747e8ae2950d2727bb859
6
+ metadata.gz: '0578f1da9fb41adaf736f815ebaa7411a763b3b70fda88b9b3c1ae6b62f774232a9082de1dc94a322e9dba32476079b14c69b4662dba5c735e4d5e5a42d6619b'
7
+ data.tar.gz: d919be782f2b3ee6f48182cf9df417ad1683c2e805cb665ac6c8d33fb6ae496c90f06d8fb958002ee838a9ff1e4b22a641aa4857999a602f8f9bd84432adcc74
data/README.md CHANGED
@@ -20,5 +20,5 @@ Modification by:
20
20
  Copyright (c) 2023 Duck McSouls https://github.com/quacksouls
21
21
 
22
22
  [chirpy]: https://github.com/cotes2020/jekyll-theme-chirpy
23
- [demo]: https://quacksouls.github.io/tekyll/
23
+ [demo]: https://tekyllcoo.github.io
24
24
  [license]: https://github.com/quacksouls/jekyll-theme-coo/blob/master/LICENSE
@@ -1,55 +1,7 @@
1
1
  <!-- The Side Bar -->
2
2
 
3
3
  <aside aria-label="Sidebar" id="sidebar" class="d-flex flex-column align-items-end">
4
- <header class="profile-wrapper">
5
- <a href="{{ '/' | relative_url }}" id="avatar" class="rounded-circle">
6
- {% if site.avatar != empty and site.avatar %}
7
- {% capture avatar_url %}
8
- {% if site.avatar contains '://' %}
9
- {{ site.avatar }}
10
- {% elsif site.img_cdn != empty and site.img_cdn %}
11
- {{ site.avatar | prepend: site.img_cdn }}
12
- {% else %}
13
- {{ site.avatar | relative_url }}
14
- {% endif %}
15
- {% endcapture %}
16
- <img src="{{ avatar_url | strip }}" width="112" height="112" alt="avatar" onerror="this.style.display='none'">
17
- {% endif %}
18
- </a>
19
-
20
- <h1 class="site-title">
21
- <a href="{{ '/' | relative_url }}">{{ site.title }}</a>
22
- </h1>
23
- <p class="site-subtitle fst-italic mb-0">{{ site.tagline }}</p>
24
- </header>
25
- <!-- .profile-wrapper -->
26
-
27
- <!-- Table of contents -->
28
- <nav class="flex-column flex-grow-1 w-100 ps-0">
29
- <ul class="nav">
30
- {% for item in site.data.summary.toc %}
31
- <li class="nav-item{% if item.url == page.url %}{{ " active" }}{% endif %}">
32
- <a href="{{ site.data.summary.prefix | append: item.url }}" class="nav-link">
33
- <span>{{ item.title }}</span>
34
- </a>
35
-
36
- {% if item.subfolder %}
37
- <ul class="nav">
38
- {% for sec in item.subfolder %}
39
- <li class="nav-item{% if sec.url == page.url %}{{ " active" }}{% endif %}">
40
- <a href="{{ site.data.summary.prefix | append: sec.url }}" class="nav-link">
41
- <span>{{ sec.title }}</span>
42
- </a>
43
- </li>
44
- {% endfor %}
45
- </ul>
46
- {% endif %}
47
- </li>
48
- {% endfor %}
49
- </ul>
50
- </nav>
51
-
52
- <div class="sidebar-bottom d-flex flex-wrap align-items-center w-100">
4
+ <div class="sidebar-top d-flex flex-wrap align-items-center w-100">
53
5
  {% unless site.theme_mode %}
54
6
  <button type="button" class="mode-toggle btn" aria-label="Switch Mode">
55
7
  <i class="fas fa-adjust"></i>
@@ -101,6 +53,52 @@
101
53
  {% endif %}
102
54
  {% endfor %}
103
55
  </div>
104
- <!-- .sidebar-bottom -->
56
+ <!-- .sidebar-top -->
57
+
58
+ <header class="profile-wrapper">
59
+ <a href="{{ '/' | relative_url }}" id="avatar" class="rounded-circle">
60
+ {% if site.avatar != empty and site.avatar %}
61
+ {% capture avatar_url %}
62
+ {% if site.avatar contains '://' %}
63
+ {{ site.avatar }}
64
+ {% elsif site.img_cdn != empty and site.img_cdn %}
65
+ {{ site.avatar | prepend: site.img_cdn }}
66
+ {% else %}
67
+ {{ site.avatar | relative_url }}
68
+ {% endif %}
69
+ {% endcapture %}
70
+ <img src="{{ avatar_url | strip }}" width="112" height="112" alt="avatar" onerror="this.style.display='none'">
71
+ {% endif %}
72
+ </a>
73
+ </header>
74
+ <!-- .profile-wrapper -->
75
+
76
+ <!-- Table of contents -->
77
+ <nav class="flex-column flex-grow-1 w-100 ps-0">
78
+ <ul class="nav">
79
+ {% for item in site.data.summary.toc %}
80
+ <li class="nav-item{% if item.url == page.url %}{{ " active" }}{% endif %}">
81
+ <a href="{{ site.data.summary.prefix | append: item.url }}" class="nav-link">
82
+ <span>{{ item.title }}</span>
83
+ </a>
84
+
85
+ {% if item.subfolder %}
86
+ <ul class="nav">
87
+ {% for sec in item.subfolder %}
88
+ <li class="nav-item{% if sec.url == page.url %}{{ " active" }}{% endif %}">
89
+ <a href="{{ site.data.summary.prefix | append: sec.url }}" class="nav-link">
90
+ <span>{{ sec.title }}</span>
91
+ </a>
92
+ </li>
93
+ {% endfor %}
94
+ </ul>
95
+ {% endif %}
96
+ </li>
97
+ {% endfor %}
98
+ </ul>
99
+ </nav>
100
+
101
+ <!-- Vertical whitespace to separate the last TOC entry from the bottom. -->
102
+ <div class="sidebar-bottom"></div>
105
103
  </aside>
106
104
  <!-- #sidebar -->
@@ -815,10 +815,10 @@ $btn-mb: 0.5rem;
815
815
  }
816
816
  }
817
817
 
818
- .sidebar-bottom {
819
- padding-left: 2rem;
818
+ .sidebar-top {
819
+ padding-left: 2.5rem;
820
820
  padding-right: 1rem;
821
- margin-bottom: 1.5rem;
821
+ margin-bottom: 0rem;
822
822
 
823
823
  $btn-size: 1.75rem;
824
824
 
@@ -874,7 +874,14 @@ $btn-mb: 0.5rem;
874
874
  border-radius: 50%;
875
875
  margin-bottom: $btn-mb;
876
876
  }
877
- } /* .sidebar-bottom */
877
+ } /* .sidebar-top */
878
+
879
+ /* Vertical whitespace to separate last element from the bottom. */
880
+ .sidebar-bottom {
881
+ padding-left: 2.5rem;
882
+ padding-right: 1rem;
883
+ margin-bottom: 2rem;
884
+ }
878
885
  } /* #sidebar */
879
886
 
880
887
  @media (hover: hover) {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-coo
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.3.10
4
+ version: 6.3.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cotes Chung
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-11-24 00:00:00.000000000 Z
12
+ date: 2023-11-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll