jekyll-theme-centos 2.22.0 → 2.24.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: a3d39e4cf59e8b76a1cccddb890125e54b3c156c15ed4d80355a8ba50aca15d3
4
- data.tar.gz: 365143601a86a25728b49dea88a113d03a566aa6ba4b44520ce73aa544347d63
3
+ metadata.gz: f38a28e7152523412e669752f3722e75f872e4c85df459b17eea3036da0ea8ef
4
+ data.tar.gz: 5570d8f40f70bffd6d5ebd1171ed5b9276de58aee55258836f6aa0397d34aed0
5
5
  SHA512:
6
- metadata.gz: 71e4805f4625909233044f8bc4a39b3c36e06d28bf55d8c7f3487e5be7764c99cd00540af071c52a5735d797d53ef42d7c3b2c5fa7d5b36a45e523c4727224d2
7
- data.tar.gz: 0a3e4e991bbfbb5402b49d72e43abbe9f449f6c5f0b6e48c790208fd4e892f2bcb3f05e0e4b8716a3d78e4f99d7f34843f878bfb3c473eb3f9b3cbe6f122587a
6
+ metadata.gz: 671b6edb156e47bac2c0a0791ee4b6790d6ef5fafdb3ef6b65b926b33b241b66abd3ff30e51c0b5df6febd299df2ea8a6e17905ee0e9dd7ff2555d9a6923d251
7
+ data.tar.gz: a7ecb8a7a8e275ca021beebcc247e6ae1fae313f0b1392560920373b4c975cf1eb8867547bc623db16daa9d178de484a85ef8c687680489bb272e08ba0112d2f
@@ -10,8 +10,8 @@
10
10
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat:100,200,300,400,500,600,700,800,900" />
11
11
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Overpass+Mono:100,200,300,400,500,600,700,800,900" />
12
12
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
13
- {% if page.with_highlight == true -%}
14
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/base16/gruvbox-dark-hard.min.css">
13
+ {% if page.with_highlight != false -%}
14
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/{{ page.with_highlight | default('default') }}.min.css">
15
15
  <link rel="stylesheet" href="https://unpkg.com/highlightjs-copy@1.0.3/dist/highlightjs-copy.min.css" />
16
16
  {% endif -%}
17
17
  {% if page.with_datatables == true -%}
@@ -1,5 +1,5 @@
1
1
  <!-- Highlight.js -->
2
- {% if page.with_highlight == true -%}
2
+ {% if page.with_highlight != false -%}
3
3
  <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/highlight.min.js"></script>
4
4
  <script src="https://unpkg.com/highlightjs-copy@1.0.3/dist/highlightjs-copy.min.js"></script>
5
5
  <script>
@@ -17,11 +17,8 @@
17
17
  <div class="row">
18
18
  {% for pubkey in page.pubkeys.content %}
19
19
  <div class="col-sm-6">
20
- <p class="fw-bold">{{ pubkey.name }}</p>
21
- <div class="input-group">
22
- <textarea id="{{ pubkey.name }}-key-{{ forloop.index }}" class="form-control font-monospace" placeholder="User's key" aria-label="User's key" aria-describedby="{{ pubkey.name }}-button-{{ forloop.index }}" readonly rows="2">{{ pubkey.content }}</textarea>
23
- <button id="{{ pubkey.name }}-button-{{ forloop.index }}" class="btn btn-outline-primary btn-clipboard" type="button" aria-label="Copy to clipboard" data-clipboard-target="#{{ pubkey.name }}-key-{{ forloop.index }}" data-bs-toggle="tooltip" data-bs-title="Copy to clipboard"><i class="fa-solid fa-clipboard"></i></button>
24
- </div>
20
+ <h5>{{ pubkey.name }}</h5>
21
+ <pre><code class="text-start rounded" style="height: 8rem;">{{ pubkey.content }}</code></pre>
25
22
  </div>
26
23
  {% endfor %}
27
24
  </div>
@@ -48,14 +48,17 @@ main {
48
48
  margin-top: 3rem;
49
49
  }
50
50
  // --------------------------------------------------------------------------------
51
- // Highlight.js
51
+ // Highlightjs-copy
52
52
  // --------------------------------------------------------------------------------
53
53
  .content {
54
54
  pre.highlight {
55
55
  code.hljs {
56
- min-height: 100px;
57
56
  max-height: 50vh;
58
57
  overflow: auto;
58
+ border-radius: var(--bs-border-radius);
59
+ }
60
+ button.hljs-copy-button {
61
+ --hljs-theme-background: var(--bs-body-color);
59
62
  }
60
63
  }
61
64
  }
Binary file
Binary file
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-centos
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.22.0
4
+ version: 2.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ReleaseBot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-23 00:00:00.000000000 Z
11
+ date: 2023-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll