jekyll-theme-centos 2.23.0 → 2.25.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: 909803b3a7732149a02cf037bbb64c7327fd085b7e52b607bb77dc03c044dbdd
4
- data.tar.gz: 7fe8a6aa38583de20fb897b4a0ea9d5c51184a47c849ddb1fabe248fd7eb50c9
3
+ metadata.gz: '0088972120b87570466cbcc54577f04b5676af6ec22dd229b0ed51628f4b1988'
4
+ data.tar.gz: 040af352def4aff44b446156f60c0be646925507d39c7faad933f21e05a4c14f
5
5
  SHA512:
6
- metadata.gz: cfe0bf62ede68254ec1328c8d04cfe263c5c869d2cca7df557acd73288820f02b4dc1637f281138f033eb1a16d5470860927b320a88218195cb0f62a3f0d4405
7
- data.tar.gz: 6f3e3f2844ae0039b1cbad94f5c5691e2d0a50b52bd6a57d48e7c0773b26a8b3d4a9f6f49191700b212e51cc13b4e6f5c1e4a35b2122b8f991273ef932d69099
6
+ metadata.gz: 24b47afefa0969736fbcfa1ecd15f6e11865275fd5d740fe6355947dd6898453b47f25d88982decb23c81ce77a82a617969a3a8570704e5c53711ffd5706f273
7
+ data.tar.gz: e1b8c9856a7d58ce7e8cfa4603ce23d66e84f308de61ea17101615da122fc88a169a30cb43b0fb9aa09c14cd17c708ec67db9140426afcc563d5be0fe21711a8
@@ -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>
@@ -14,11 +14,11 @@
14
14
  {% endif %}
15
15
 
16
16
  {% if page.pubkeys.content.size > 0 %}
17
- <div class="row">
17
+ <div class="row content">
18
18
  {% for pubkey in page.pubkeys.content %}
19
19
  <div class="col-sm-6">
20
20
  <h5>{{ pubkey.name }}</h5>
21
- <pre><code class="text-start rounded" style="height: 8rem;">{{ pubkey.content }}</code></pre>
21
+ <pre class="highlight"><code class="hljs text-start" style="height: 8rem;">{{ pubkey.content }}</code></pre>
22
22
  </div>
23
23
  {% endfor %}
24
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.23.0
4
+ version: 2.25.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-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll