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 +4 -4
- data/_sass/_posts.scss +1 -1
- data/_sass/_variables.scss +1 -3
- data/_sass/code/_wrappers.scss +7 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75b728e8ad881814e8dfdc233497231e518066f20f9c3be0348b45ff47ed5386
|
4
|
+
data.tar.gz: 32b5f91b5bd69491aa64476a05c7b1e9aa9cd9085dbd52b0f805451bdb789e3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
105
|
+
p, ul, ol, blockquote, table, .highlighter-rouge, figure.highlight {
|
106
106
|
max-width: variables.$max-content-width;
|
107
107
|
}
|
108
108
|
}
|
data/_sass/_variables.scss
CHANGED
@@ -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:
|
98
|
-
--code-color-wcag: #{$wcag-code-on-dark};
|
96
|
+
--code-color: #{$wcag-code-on-dark};
|
99
97
|
}
|
100
98
|
}
|
data/_sass/code/_wrappers.scss
CHANGED
@@ -11,7 +11,13 @@ pre {
|
|
11
11
|
|
12
12
|
code {
|
13
13
|
font-size: 85%;
|
14
|
-
|
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;
|