jekyll-theme-centos 0.5.11 → 0.5.12

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: 971e12cee20cea2db6273556d284276593631ab42ac68e262d5a13bd3211c085
4
- data.tar.gz: c2071597146c3f449ce10062c03ccfee663fbdf491fe2e04b12ec5debe1a78e6
3
+ metadata.gz: fd23bff5e8c6f7a57e5892fd84c784c8a88ae00639ae1fb4b14ab7013113cc4c
4
+ data.tar.gz: 149339a075600492fed274ec29c48257ecca413a0f1544d0978c5a36262bf100
5
5
  SHA512:
6
- metadata.gz: 8f1379d601b1a7f6853cb1ff4fe2bc63862c35d87fb481ba3d068f3a2701522a85a6bdbf291b376e6a72d691894ab3a4ec204e73dbd0b6ca6091cf553590b7bf
7
- data.tar.gz: cecdc59f5a21948a5e0f5f74142580f5e36d65adc870a3feec012b6f224e48a25b3088b60dc7cde9578a3e075ff1aa8dc426d05b1bd00111c4b776a63d5c98b8
6
+ metadata.gz: 43e9c522f4efdcea4438fff0da26d7c64e5cb2a0c959dd75a06dcdc2792053957e0972360e0b5912202d63f928677cb715d21f9679c704331f71a96b323cfb3f
7
+ data.tar.gz: 849737687ebc8519108fc9aeb658ffcbcd759ff313889a60640f555db2b34a7279fbee3cda5edcfe12a376a1df7d427a7fa0d7c76659cdd5647779e6633936c0
@@ -1,8 +1,8 @@
1
1
  <div class="code-header">
2
- {% if include.type %}
3
- <div class="code-header--description-{{ include.type }}"></div>
2
+ {% if include.icon and include.title %}
3
+ <div class="code-header--description-{{ include.icon }}">{{ include.title }}</div>
4
4
  {% else %}
5
- <div class="code-header--description-code"></div>
5
+ <div class="code-header--description-code">Code</div>
6
6
  {% endif %}
7
7
  <div class="code-header--button">
8
8
  <button class="copy-code-button" aria-label="Copy code to clipboard"></button>
@@ -8,21 +8,21 @@
8
8
  background-color: $body-color;
9
9
  color: $white;
10
10
  align-items: center;
11
- padding-left: 15px;
11
+ padding-left: 10px;
12
12
  font-size: small;
13
13
 
14
14
  &--description {
15
15
  &-code {
16
- &:before { @extend .fas; content: fa-content($fa-var-code); }
17
- &:after { content: "Code"; padding-left: 5px}
16
+ &:before { @extend .fas; content: fa-content($fa-var-code); padding-right: 5px; }
18
17
  }
19
18
  &-python {
20
- &:before { @extend .fab; content: fa-content($fa-var-python); }
21
- &:after { content: "Python"; padding-left: 5px}
19
+ &:before { @extend .fab; content: fa-content($fa-var-python); padding-right: 5px; }
22
20
  }
23
21
  &-terminal {
24
- &:before { @extend .fas; content: fa-content($fa-var-terminal); }
25
- &:after { content: "Terminal"; padding-left: 5px}
22
+ &:before { @extend .fas; content: fa-content($fa-var-terminal); padding-right: 5px; }
23
+ }
24
+ &-key {
25
+ &:before { @extend .fas; content: fa-content($fa-var-key); padding-right: 5px; }
26
26
  }
27
27
  }
28
28
 
@@ -27,7 +27,7 @@
27
27
  pre {
28
28
  font-family: "overpass-mono";
29
29
  @extend .highlight, .pre-scrollable;
30
- padding: 5px 15px;
30
+ padding: 5px 10px;
31
31
  }
32
32
 
33
33
  code {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-centos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.11
4
+ version: 0.5.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alain Reguera Delgado