jekyll-theme-open-project 1.1.11 → 1.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7df51e3bbc28d2eb3cdf7e9a85e9970038774a9965ef8f08b49f5aa765959263
4
- data.tar.gz: 4c05aa4b9fe2ea018caa95ad70b99f7577b65134cd8e7aede27f29308fd1f131
3
+ metadata.gz: ce2d06ab5d6de5f7cc6394f453e092ad265147fdfc38e85319d2b9277178dac0
4
+ data.tar.gz: 6f38bd423b111ad1f1966e443cd5e7402d28716ed7353b46a163182e916b92a5
5
5
  SHA512:
6
- metadata.gz: 13b49ea48ae9208dedacf329a7f030ba984d19acd576ec5ba84aa1a0b93dbdceb588f688bacd443de74e9834b5e9b3890270d71fb43b9f579c79cadaf0c77fd0
7
- data.tar.gz: e0df8c469b781cb61bb4f5423e42855e38884e71bfa01506accb18f9b68e1b75546425350e43c20d1803db4b72d6ad28b0078ae92c1e4774a054224887edd470
6
+ metadata.gz: '0161369b474574e8d32970c24bc6a75c6cdf0f8f7bc8fb38c69b84c66f2eec7e6d1ee89d57fa4f63951583f085306fb8d0f960ebeaa0d374d92486b24774b46e'
7
+ data.tar.gz: 730100cec185078589df4d2e98f5dc06b802f790a0b910488e97148556b6c1d7172bd4fe723d67506a934367da910f1a0438fce0238626fe4b1ddaefda5f800c
@@ -1,5 +1,7 @@
1
1
  $font-family: Helvetica, Arial, sans-serif !default;
2
2
 
3
+ $main-font-color: #000;
4
+
3
5
  $primary-color: lightblue !default;
4
6
  $primary-dark-color: navy !default;
5
7
  $accent-color: red !default;
@@ -8,6 +8,8 @@ body {
8
8
  -webkit-font-smoothing: antialiased;
9
9
  -moz-osx-font-smoothing: grayscale;
10
10
  font-smoothing: antialiased;
11
+
12
+ color: $main-font-color;
11
13
  }
12
14
 
13
15
  a {
@@ -289,6 +291,10 @@ a {
289
291
  > p:first-child {
290
292
  margin-top: 0;
291
293
  }
294
+
295
+ pre {
296
+ @include code-snippet-container();
297
+ }
292
298
  }
293
299
  }
294
300
 
@@ -13,6 +13,18 @@
13
13
  }
14
14
  }
15
15
 
16
+ @mixin code-snippet-container() {
17
+ overflow-x: scroll;
18
+ overflow-y: hidden;
19
+ line-height: 1;
20
+ white-space: pre-wrap;
21
+
22
+ > code {
23
+ font-size: 80%;
24
+ color: lighten($main-font-color, 24);
25
+ }
26
+ }
27
+
16
28
  @mixin cta-button($bgcolor, $color) {
17
29
  font-weight: 800;
18
30
  font-size: 18px;
@@ -237,16 +249,6 @@
237
249
  }
238
250
 
239
251
  > .body {
240
- pre {
241
- overflow-x: scroll;
242
- overflow-y: hidden;
243
- line-height: 1;
244
- white-space: pre-wrap;
245
- > code {
246
- font-size: 80%;
247
- }
248
- }
249
-
250
252
  // Used for e.g. code listing headings and tip block labels
251
253
  .title {
252
254
  text-transform: uppercase;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-open-project
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.11
4
+ version: 1.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-01 00:00:00.000000000 Z
11
+ date: 2018-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 1.1.11
75
+ version: 1.1.12
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 1.1.11
82
+ version: 1.1.12
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: bundler
85
85
  requirement: !ruby/object:Gem::Requirement