jekyll-theme-gruv-poole 1.0.2 → 1.0.3

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: 5d62b1e4438155d8e2e064ccd61733e50bee6d2cb8d7fc8b228ad970d069eec9
4
- data.tar.gz: 86d11738e846973164faae77bed6ca27c93841e4ce1b7c285dacbd31f486c2a2
3
+ metadata.gz: 75b728e8ad881814e8dfdc233497231e518066f20f9c3be0348b45ff47ed5386
4
+ data.tar.gz: 32b5f91b5bd69491aa64476a05c7b1e9aa9cd9085dbd52b0f805451bdb789e3a
5
5
  SHA512:
6
- metadata.gz: 457fd84503fc37089fefd99720c5189e1561e508ec8322e1b01555dc976624374c921a1e49457a0b4ac8f26e7ddc9a0815bad7edd2eb3e73dd046828b83ab231
7
- data.tar.gz: b1b68af4cedc75a3a8f723cfecb101481e4bb3718d6ff3f0a776f9b35c110545e5894b7fede9a0f03434cc220e38f59cb8bfde874a3bcfd48e53d1bd88103bdf
6
+ metadata.gz: 2ab8aaf5087f28398300964a5a029e933c512414ac2b6d84871b62c2a3c93772a4e3064fb451f55c7cbce2c9473c6ee7ec9d5f7af80a3685e6af6532c313f809
7
+ data.tar.gz: abd277e2ce02417c842088ce5ac2bb49568d5459241f3b6e44a82b121235664f2e20e0cbd9e72e7c69d9a117b7ccfd6d0c0fdf9c415691b4f23831401df762ac
data/_sass/_posts.scss CHANGED
@@ -102,7 +102,7 @@
102
102
  // on elements of a post
103
103
  @media (min-width: variables.$breakpoint-md) {
104
104
  .post {
105
- p, ul, ol, blockquote,.highlighter-rouge {
105
+ p, ul, ol, blockquote, table, .highlighter-rouge, figure.highlight {
106
106
  max-width: variables.$max-content-width;
107
107
  }
108
108
  }
@@ -75,7 +75,6 @@ $wcag-code-on-dark: color.scale(#fb4934, $lightness: 8%);
75
75
  --quote-color: var(--blue-dark);
76
76
  --quote-accent: var(--blue);
77
77
  --code-color: var(--red-dark);
78
- --code-color-wcag: var(--red-dark);
79
78
  }
80
79
 
81
80
  /* Dark theme specific contrast and colors */
@@ -94,7 +93,6 @@ $wcag-code-on-dark: color.scale(#fb4934, $lightness: 8%);
94
93
  --alert: var(--yellow);
95
94
  --quote-color: var(--blue-light);
96
95
  --quote-accent: var(--blue);
97
- --code-color: var(--red-light);
98
- --code-color-wcag: #{$wcag-code-on-dark};
96
+ --code-color: #{$wcag-code-on-dark};
99
97
  }
100
98
  }
@@ -11,7 +11,13 @@ pre {
11
11
 
12
12
  code {
13
13
  font-size: 85%;
14
- color: var(--code-color-wcag);
14
+ }
15
+
16
+ // Only apply code color to inline
17
+ // code elements. Multiline are handled
18
+ // through Rouge (and applies gruvbox.scss styles)
19
+ code:not(pre>code) {
20
+ color: var(--code-color);
15
21
  }
16
22
 
17
23
  pre {
@@ -32,10 +38,6 @@ pre {
32
38
  margin-bottom: 0;
33
39
  }
34
40
 
35
- code {
36
- color: var(--code-color);
37
- }
38
-
39
41
  // Triple backticks (code fencing) doubles the .highlight elements
40
42
  .highlight {
41
43
  padding: 0;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-gruv-poole
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamison Griffith