just-the-docs 0.4.0 → 0.4.2

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: f6dee6001e16aa8ad53cb0e3c9129ad2297d9a3af6a602958a17de1063c17f1c
4
- data.tar.gz: b528c7f6c8940474e80607b9645077d8877d701f3d359bcbed3befd3814b17fe
3
+ metadata.gz: b2a75d7008e3b7f782d50b4b3aed5e53db9f94f0b57a2c748cc252e0b41b39db
4
+ data.tar.gz: a529b1bd98602fa0db7105a1203e8139ee84c93277e1fa8afee98fd540b5e79c
5
5
  SHA512:
6
- metadata.gz: 9eec6b599ca82cfb750d99f703789059275730b4fd9b9775a02a5be4ba049165127ffc70832b316accdf85af8e76dfe4165257c9b26988ed0408a44720199a66
7
- data.tar.gz: ee4145089f1d1798eecf42e74ea391be7295d1b0c27e91de0a1fb61fe89bd7bdfcddc2903b60b2b3553b866dbbb0e346319bbf6e34aaeb6bdd92d6295c7303a9
6
+ metadata.gz: ecb0456688508db5ea904d3ee2a638ff9ecaa8eea80da2f36734f457ec9160497b152f1de3a158e27a27308641fc08ec456f5d6c18bfec7b433db5c1458a7144
7
+ data.tar.gz: d50d2faa91d48465e5e33f1e37ca5f2364f9ec399f421aed57aefb8d11df27c025512992ec06987b36c2589a888cb6a66f0e694d329bc118b52d159766f4b8ae
data/CHANGELOG.md CHANGED
@@ -16,11 +16,111 @@ The project underwent a major maintenance shift in March 2022.
16
16
  This website is built from the `HEAD` of the `main` branch of the theme repository.
17
17
 
18
18
  {: .warning }
19
- This website includes docs for some new features that are not available in `v0.4.0`!
19
+ This website includes docs for some new features that are not available in `v0.4.2`!
20
20
 
21
- Changes to `main` that are *not* in the latest release:
21
+ Code changes to `main` that are *not* in the latest release:
22
22
 
23
- - n/a
23
+ - N/A
24
+
25
+ Docs changes in `main` that are *not* in the latest release:
26
+
27
+ - N/A
28
+
29
+ ## Release v0.4.2
30
+
31
+ Hello! We're back again with another small release. Like `v0.4.1`, this release is a [semver patch](https://semver.org/): it only includes bugfixes, and is fully backwards-compatible.
32
+
33
+ The big highlight of this theme is fixing our light scheme code highlighting contrast issues; this was one of our most-requested features! This change is fully backwards-compatible; users can [opt-in to our old highlighting theme](https://just-the-docs.github.io/just-the-docs/docs/customization/#deprecated-legacy_light) by using `legacy_light` instead of `light`.
34
+
35
+ As always, we'd love your feedback. [Open an issue](https://github.com/just-the-docs/just-the-docs/issues) or [start a discussion](https://github.com/just-the-docs/just-the-docs/discussions) for bug reports, feature requests, and any other feedback. Thanks for continuing to use Just the Docs!
36
+
37
+ ### Using Release `v0.4.2`
38
+
39
+ Users who have not pinned the theme version will be **automatically upgraded to `v0.4.2` the next time they build their site**.
40
+
41
+ To use this release explicitly as a remote theme:
42
+
43
+ ```yml
44
+ remote_theme: just-the-docs/just-the-docs@v0.4.2
45
+ ```
46
+
47
+ To use this RC explicitly as a gem-based theme, pin the version in your `Gemfile` and re-run `bundle install` or `bundle update just-the-docs`:
48
+
49
+ ```ruby
50
+ gem "just-the-docs", "0.4.2"
51
+ ```
52
+
53
+ To use and pin a previous version of the theme, replace the `0.4.2` with the desired release tag.
54
+
55
+ ### Bugfixes
56
+
57
+ - Fixed: light scheme code highlighting contrast issues; updated to use Atom's One Light colors, consolidate theme variables by [@mattxwang] in [#1166]
58
+ - Fixed: duplicate import of `color_schemes` by [@mattxwang] in [#1173]
59
+ - Fixed: import order for `setup.scss` by [@mattxwang] in [#1184]
60
+ - Removed: unused dark syntax themes by [@mattxwang] in [#1192]
61
+
62
+ ### Documentation
63
+
64
+ - Added: docs for using mermaid with AsciiDoc by [@flyx] in [#1182]
65
+
66
+ **Full Changelog**: [https://github.com/just-the-docs/just-the-docs/compare/v0.4.1...v0.4.2](https://github.com/just-the-docs/just-the-docs/compare/v0.4.1...v0.4.2)
67
+
68
+ [#1166]: https://github.com/just-the-docs/just-the-docs/pull/1166
69
+ [#1173]: https://github.com/just-the-docs/just-the-docs/pull/1173
70
+ [#1182]: https://github.com/just-the-docs/just-the-docs/pull/1182
71
+ [#1184]: https://github.com/just-the-docs/just-the-docs/pull/1184
72
+ [#1192]: https://github.com/just-the-docs/just-the-docs/pull/1192
73
+
74
+ ## Release v0.4.1
75
+
76
+ Hello! We hope you've been enjoying the new `v0.4.0`; we appreciate all the feedback we've gotten already! As promised, future releases will be small with simple steps to upgrade. This is one of them! `v0.4.1` is a [semver patch](https://semver.org/): it only includes bugfixes, and is fully backwards-compatible.
77
+
78
+ As always, we'd love your feedback. [Open an issue](https://github.com/just-the-docs/just-the-docs/issues) or [start a discussion](https://github.com/just-the-docs/just-the-docs/discussions) for bug reports, feature requests, and any other feedback. Thanks for continuing to use Just the Docs!
79
+
80
+ ### Using Release `v0.4.1`
81
+
82
+ Users who have not pinned the theme version will be **automatically upgraded to `v0.4.1` the next time they build their site**.
83
+
84
+ To use this release explicitly as a remote theme:
85
+
86
+ ```yml
87
+ remote_theme: just-the-docs/just-the-docs@v0.4.1
88
+ ```
89
+
90
+ To use this RC explicitly as a gem-based theme, pin the version in your `Gemfile` and re-run `bundle install` or `bundle update just-the-docs`:
91
+
92
+ ```ruby
93
+ gem "just-the-docs", "0.4.1"
94
+ ```
95
+
96
+ To use and pin a previous version of the theme, replace the `0.4.1` with the desired release tag.
97
+
98
+ ### Bugfixes
99
+
100
+ - Fixed: allow later versions of `bundler` by [@mattxwang] in [#1165]
101
+ - Fixed: AsciiDoc code block styling by [@flyx] in [#1168]
102
+ - Fixed: main content negative margin for viewports in `[$md, $nav-width + $content-width]` by [@Dima-369] in [#1177]
103
+ - Removed: unused `OneDarkJekyll` files by [@mattxwang] in [#1167]
104
+
105
+ ### Documentation
106
+
107
+ - Fixed: re-add `jekyll-github-metadata` to docs site by [@mattxwang] in [#1108]
108
+
109
+ ### New Contributors
110
+
111
+ - [@flyx] made their first contribution in [#1168]
112
+ - [@Dima-369] made their first contribution in [#1177]
113
+
114
+ [#1108]: https://github.com/just-the-docs/just-the-docs/pull/1108
115
+ [#1165]: https://github.com/just-the-docs/just-the-docs/pull/1165
116
+ [#1167]: https://github.com/just-the-docs/just-the-docs/pull/1167
117
+ [#1168]: https://github.com/just-the-docs/just-the-docs/pull/1168
118
+ [#1177]: https://github.com/just-the-docs/just-the-docs/pull/1177
119
+
120
+ [@flyx]: https://github.com/flyx
121
+ [@Dima-369]: https://github.com/Dima-369
122
+
123
+ **Full Changelog**: [https://github.com/just-the-docs/just-the-docs/compare/v0.4.0...v0.4.1](https://github.com/just-the-docs/just-the-docs/compare/v0.4.0...v0.4.1)
24
124
 
25
125
  ## Release v0.4.0
26
126
 
@@ -2,9 +2,11 @@
2
2
  $logo: "{{ site.logo | relative_url }}";
3
3
  {% endif %}
4
4
  @import "./support/support";
5
- @import "./custom/setup";
6
5
  @import "./color_schemes/light";
6
+ {% unless include.color_scheme == "light" %}
7
7
  @import "./color_schemes/{{ include.color_scheme }}";
8
+ {% endunless %}
9
+ @import "./custom/setup";
8
10
  @import "./modules";
9
11
  {% include css/callouts.scss.liquid color_scheme = include.color_scheme %}
10
12
  {% include css/custom.scss.liquid %}
data/_sass/code.scss CHANGED
@@ -50,6 +50,11 @@ a:visited code {
50
50
  // Kramdown line_numbers = true: fences have a wider gutter than with Liquid?
51
51
 
52
52
  // ```[LANG]...```
53
+ // or in AsciiDoc:
54
+ //
55
+ // ----
56
+ // ...
57
+ // ----
53
58
 
54
59
  // the code may appear with 3 different types:
55
60
  // container \ case: default case, code with line number, code with html rendering
@@ -59,6 +64,7 @@ a:visited code {
59
64
  // last level: code, pre, code (optionality)
60
65
  // highlighter level: span, span, span
61
66
  // the spacing are only in the second level for case 1, 3 and in the third level for case 2
67
+ // in AsciiDoc, there is a parent container that contains optionally a title and the content.
62
68
 
63
69
  // select top level container
64
70
  div.highlighter-rouge,
@@ -111,17 +117,17 @@ figure.highlight {
111
117
  }
112
118
 
113
119
  // setting the spacing and scrollbar on the second level for the first case
114
- // remove all space on the second and thirt level
115
- div.highlighter-rouge,
116
- div.listingblock {
117
- div.highlight {
120
+ // remove all space on the second and third level
121
+ // this is a mixin to accommodate for the slightly different structures generated via Markdown vs AsciiDoc
122
+ @mixin scroll-and-spacing($code-div, $pre-select) {
123
+ #{$code-div} {
118
124
  overflow-x: auto;
119
125
  padding: $sp-3;
120
126
  margin: 0;
121
127
  border: 0;
122
128
  }
123
129
 
124
- pre.highlight,
130
+ #{$pre-select},
125
131
  code {
126
132
  padding: 0;
127
133
  margin: 0;
@@ -129,6 +135,19 @@ div.listingblock {
129
135
  }
130
136
  }
131
137
 
138
+ // for Markdown
139
+ div.highlighter-rouge {
140
+ @include scroll-and-spacing("div.highlight", "pre.highlight");
141
+ }
142
+
143
+ // for AsciiDoc. we also need to fix the margins for its parent container.
144
+ div.listingblock {
145
+ @include scroll-and-spacing("div.content", "div.content > pre");
146
+
147
+ margin-top: 0;
148
+ margin-bottom: $sp-3;
149
+ }
150
+
132
151
  // {% highlight LANG %}...{% endhighlight %},
133
152
  // {% highlight LANG linenos %}...{% endhighlight %}:
134
153
 
@@ -1,32 +1,17 @@
1
1
  $body-background-color: $grey-dk-300;
2
- $sidebar-color: $grey-dk-300;
3
- $border-color: $grey-dk-200;
4
- $body-text-color: $grey-lt-300;
5
2
  $body-heading-color: $grey-lt-000;
6
- $nav-child-link-color: $grey-dk-000;
7
- $search-result-preview-color: $grey-dk-000;
3
+ $body-text-color: $grey-lt-300;
8
4
  $link-color: $blue-000;
9
- $btn-primary-color: $blue-200;
5
+ $nav-child-link-color: $grey-dk-000;
6
+ $sidebar-color: $grey-dk-300;
10
7
  $base-button-color: $grey-dk-250;
11
- $search-background-color: $grey-dk-250;
12
- $table-background-color: $grey-dk-250;
13
- $feedback-color: darken($sidebar-color, 3%);
14
-
15
- // The following highlight theme is more legible than that used for the light color scheme
16
-
17
- // @import "./vendor/OneDarkJekyll/syntax-one-dark";
18
- // $code-background-color: #282c34; // OneDarkJekyll default for syntax-one-dark
19
- // $code-linenumber-color: #abb2bf; // OneDarkJekyll .nf for syntax-one-dark
20
-
21
- @import "./vendor/OneDarkJekyll/syntax-one-dark-vivid";
22
-
8
+ $btn-primary-color: $blue-200;
23
9
  $code-background-color: #31343f; // OneDarkJekyll default for syntax-one-dark-vivid
24
10
  $code-linenumber-color: #dee2f7; // OneDarkJekyll .nf for syntax-one-dark-vivid
11
+ $feedback-color: darken($sidebar-color, 3%);
12
+ $table-background-color: $grey-dk-250;
13
+ $search-background-color: $grey-dk-250;
14
+ $search-result-preview-color: $grey-dk-000;
15
+ $border-color: $grey-dk-200;
25
16
 
26
- // @import "./vendor/OneDarkJekyll/syntax-firewatch";
27
- // $code-background-color: #282c34; // OneDarkJekyll default for syntax-firewatch
28
- // $code-linenumber-color: #abb2bf; // OneDarkJekyll .nf for syntax-firewatch
29
-
30
- // @import "./vendor/OneDarkJekyll/syntax-firewatch-green";
31
- // $code-background-color: #282c34; // OneDarkJekyll default for syntax-firewatch-green
32
- // $code-linenumber-color: #abb2bf; // OneDarkJekyll .nf for syntax-firewatch-green
17
+ @import "./vendor/OneDarkJekyll/syntax"; // this is the one-dark-vivid atom syntax theme
@@ -0,0 +1,208 @@
1
+ // Moved from _sass/code.scss
2
+
3
+ .highlight .c {
4
+ color: #586e75;
5
+ } // comment //
6
+ .highlight .err {
7
+ color: #93a1a1;
8
+ } // error //
9
+ .highlight .g {
10
+ color: #93a1a1;
11
+ } // generic //
12
+ .highlight .k {
13
+ color: #859900;
14
+ } // keyword //
15
+ .highlight .l {
16
+ color: #93a1a1;
17
+ } // literal //
18
+ .highlight .n {
19
+ color: #93a1a1;
20
+ } // name //
21
+ .highlight .o {
22
+ color: #859900;
23
+ } // operator //
24
+ .highlight .x {
25
+ color: #cb4b16;
26
+ } // other //
27
+ .highlight .p {
28
+ color: #93a1a1;
29
+ } // punctuation //
30
+ .highlight .cm {
31
+ color: #586e75;
32
+ } // comment.multiline //
33
+ .highlight .cp {
34
+ color: #859900;
35
+ } // comment.preproc //
36
+ .highlight .c1 {
37
+ color: #586e75;
38
+ } // comment.single //
39
+ .highlight .cs {
40
+ color: #859900;
41
+ } // comment.special //
42
+ .highlight .gd {
43
+ color: #2aa198;
44
+ } // generic.deleted //
45
+ .highlight .ge {
46
+ font-style: italic;
47
+ color: #93a1a1;
48
+ } // generic.emph //
49
+ .highlight .gr {
50
+ color: #dc322f;
51
+ } // generic.error //
52
+ .highlight .gh {
53
+ color: #cb4b16;
54
+ } // generic.heading //
55
+ .highlight .gi {
56
+ color: #859900;
57
+ } // generic.inserted //
58
+ .highlight .go {
59
+ color: #93a1a1;
60
+ } // generic.output //
61
+ .highlight .gp {
62
+ color: #93a1a1;
63
+ } // generic.prompt //
64
+ .highlight .gs {
65
+ font-weight: bold;
66
+ color: #93a1a1;
67
+ } // generic.strong //
68
+ .highlight .gu {
69
+ color: #cb4b16;
70
+ } // generic.subheading //
71
+ .highlight .gt {
72
+ color: #93a1a1;
73
+ } // generic.traceback //
74
+ .highlight .kc {
75
+ color: #cb4b16;
76
+ } // keyword.constant //
77
+ .highlight .kd {
78
+ color: #268bd2;
79
+ } // keyword.declaration //
80
+ .highlight .kn {
81
+ color: #859900;
82
+ } // keyword.namespace //
83
+ .highlight .kp {
84
+ color: #859900;
85
+ } // keyword.pseudo //
86
+ .highlight .kr {
87
+ color: #268bd2;
88
+ } // keyword.reserved //
89
+ .highlight .kt {
90
+ color: #dc322f;
91
+ } // keyword.type //
92
+ .highlight .ld {
93
+ color: #93a1a1;
94
+ } // literal.date //
95
+ .highlight .m {
96
+ color: #2aa198;
97
+ } // literal.number //
98
+ .highlight .s {
99
+ color: #2aa198;
100
+ } // literal.string //
101
+ .highlight .na {
102
+ color: #555;
103
+ } // name.attribute //
104
+ .highlight .nb {
105
+ color: #b58900;
106
+ } // name.builtin //
107
+ .highlight .nc {
108
+ color: #268bd2;
109
+ } // name.class //
110
+ .highlight .no {
111
+ color: #cb4b16;
112
+ } // name.constant //
113
+ .highlight .nd {
114
+ color: #268bd2;
115
+ } // name.decorator //
116
+ .highlight .ni {
117
+ color: #cb4b16;
118
+ } // name.entity //
119
+ .highlight .ne {
120
+ color: #cb4b16;
121
+ } // name.exception //
122
+ .highlight .nf {
123
+ color: #268bd2;
124
+ } // name.function //
125
+ .highlight .nl {
126
+ color: #555;
127
+ } // name.label //
128
+ .highlight .nn {
129
+ color: #93a1a1;
130
+ } // name.namespace //
131
+ .highlight .nx {
132
+ color: #555;
133
+ } // name.other //
134
+ .highlight .py {
135
+ color: #93a1a1;
136
+ } // name.property //
137
+ .highlight .nt {
138
+ color: #268bd2;
139
+ } // name.tag //
140
+ .highlight .nv {
141
+ color: #268bd2;
142
+ } // name.variable //
143
+ .highlight .ow {
144
+ color: #859900;
145
+ } // operator.word //
146
+ .highlight .w {
147
+ color: #93a1a1;
148
+ } // text.whitespace //
149
+ .highlight .mf {
150
+ color: #2aa198;
151
+ } // literal.number.float //
152
+ .highlight .mh {
153
+ color: #2aa198;
154
+ } // literal.number.hex //
155
+ .highlight .mi {
156
+ color: #2aa198;
157
+ } // literal.number.integer //
158
+ .highlight .mo {
159
+ color: #2aa198;
160
+ } // literal.number.oct //
161
+ .highlight .sb {
162
+ color: #586e75;
163
+ } // literal.string.backtick //
164
+ .highlight .sc {
165
+ color: #2aa198;
166
+ } // literal.string.char //
167
+ .highlight .sd {
168
+ color: #93a1a1;
169
+ } // literal.string.doc //
170
+ .highlight .s2 {
171
+ color: #2aa198;
172
+ } // literal.string.double //
173
+ .highlight .se {
174
+ color: #cb4b16;
175
+ } // literal.string.escape //
176
+ .highlight .sh {
177
+ color: #93a1a1;
178
+ } // literal.string.heredoc //
179
+ .highlight .si {
180
+ color: #2aa198;
181
+ } // literal.string.interpol //
182
+ .highlight .sx {
183
+ color: #2aa198;
184
+ } // literal.string.other //
185
+ .highlight .sr {
186
+ color: #dc322f;
187
+ } // literal.string.regex //
188
+ .highlight .s1 {
189
+ color: #2aa198;
190
+ } // literal.string.single //
191
+ .highlight .ss {
192
+ color: #2aa198;
193
+ } // literal.string.symbol //
194
+ .highlight .bp {
195
+ color: #268bd2;
196
+ } // name.builtin.pseudo //
197
+ .highlight .vc {
198
+ color: #268bd2;
199
+ } // name.variable.class //
200
+ .highlight .vg {
201
+ color: #268bd2;
202
+ } // name.variable.global //
203
+ .highlight .vi {
204
+ color: #268bd2;
205
+ } // name.variable.instance //
206
+ .highlight .il {
207
+ color: #2aa198;
208
+ } // literal.number.integer.long //
@@ -1,208 +1,15 @@
1
- // Moved from _sass/code.scss
1
+ $body-background-color: $white !default;
2
+ $body-heading-color: $grey-dk-300 !default;
3
+ $body-text-color: $grey-dk-100 !default;
4
+ $link-color: $purple-000 !default;
5
+ $nav-child-link-color: $grey-dk-100 !default;
6
+ $sidebar-color: $grey-lt-000 !default;
7
+ $base-button-color: #f7f7f7 !default;
8
+ $btn-primary-color: $purple-100 !default;
9
+ $code-background-color: $grey-lt-000 !default;
10
+ $feedback-color: darken($sidebar-color, 3%) !default;
11
+ $table-background-color: $white !default;
12
+ $search-background-color: $white !default;
13
+ $search-result-preview-color: $grey-dk-000 !default;
2
14
 
3
- .highlight .c {
4
- color: #586e75;
5
- } // comment //
6
- .highlight .err {
7
- color: #93a1a1;
8
- } // error //
9
- .highlight .g {
10
- color: #93a1a1;
11
- } // generic //
12
- .highlight .k {
13
- color: #859900;
14
- } // keyword //
15
- .highlight .l {
16
- color: #93a1a1;
17
- } // literal //
18
- .highlight .n {
19
- color: #93a1a1;
20
- } // name //
21
- .highlight .o {
22
- color: #859900;
23
- } // operator //
24
- .highlight .x {
25
- color: #cb4b16;
26
- } // other //
27
- .highlight .p {
28
- color: #93a1a1;
29
- } // punctuation //
30
- .highlight .cm {
31
- color: #586e75;
32
- } // comment.multiline //
33
- .highlight .cp {
34
- color: #859900;
35
- } // comment.preproc //
36
- .highlight .c1 {
37
- color: #586e75;
38
- } // comment.single //
39
- .highlight .cs {
40
- color: #859900;
41
- } // comment.special //
42
- .highlight .gd {
43
- color: #2aa198;
44
- } // generic.deleted //
45
- .highlight .ge {
46
- font-style: italic;
47
- color: #93a1a1;
48
- } // generic.emph //
49
- .highlight .gr {
50
- color: #dc322f;
51
- } // generic.error //
52
- .highlight .gh {
53
- color: #cb4b16;
54
- } // generic.heading //
55
- .highlight .gi {
56
- color: #859900;
57
- } // generic.inserted //
58
- .highlight .go {
59
- color: #93a1a1;
60
- } // generic.output //
61
- .highlight .gp {
62
- color: #93a1a1;
63
- } // generic.prompt //
64
- .highlight .gs {
65
- font-weight: bold;
66
- color: #93a1a1;
67
- } // generic.strong //
68
- .highlight .gu {
69
- color: #cb4b16;
70
- } // generic.subheading //
71
- .highlight .gt {
72
- color: #93a1a1;
73
- } // generic.traceback //
74
- .highlight .kc {
75
- color: #cb4b16;
76
- } // keyword.constant //
77
- .highlight .kd {
78
- color: #268bd2;
79
- } // keyword.declaration //
80
- .highlight .kn {
81
- color: #859900;
82
- } // keyword.namespace //
83
- .highlight .kp {
84
- color: #859900;
85
- } // keyword.pseudo //
86
- .highlight .kr {
87
- color: #268bd2;
88
- } // keyword.reserved //
89
- .highlight .kt {
90
- color: #dc322f;
91
- } // keyword.type //
92
- .highlight .ld {
93
- color: #93a1a1;
94
- } // literal.date //
95
- .highlight .m {
96
- color: #2aa198;
97
- } // literal.number //
98
- .highlight .s {
99
- color: #2aa198;
100
- } // literal.string //
101
- .highlight .na {
102
- color: #555;
103
- } // name.attribute //
104
- .highlight .nb {
105
- color: #b58900;
106
- } // name.builtin //
107
- .highlight .nc {
108
- color: #268bd2;
109
- } // name.class //
110
- .highlight .no {
111
- color: #cb4b16;
112
- } // name.constant //
113
- .highlight .nd {
114
- color: #268bd2;
115
- } // name.decorator //
116
- .highlight .ni {
117
- color: #cb4b16;
118
- } // name.entity //
119
- .highlight .ne {
120
- color: #cb4b16;
121
- } // name.exception //
122
- .highlight .nf {
123
- color: #268bd2;
124
- } // name.function //
125
- .highlight .nl {
126
- color: #555;
127
- } // name.label //
128
- .highlight .nn {
129
- color: #93a1a1;
130
- } // name.namespace //
131
- .highlight .nx {
132
- color: #555;
133
- } // name.other //
134
- .highlight .py {
135
- color: #93a1a1;
136
- } // name.property //
137
- .highlight .nt {
138
- color: #268bd2;
139
- } // name.tag //
140
- .highlight .nv {
141
- color: #268bd2;
142
- } // name.variable //
143
- .highlight .ow {
144
- color: #859900;
145
- } // operator.word //
146
- .highlight .w {
147
- color: #93a1a1;
148
- } // text.whitespace //
149
- .highlight .mf {
150
- color: #2aa198;
151
- } // literal.number.float //
152
- .highlight .mh {
153
- color: #2aa198;
154
- } // literal.number.hex //
155
- .highlight .mi {
156
- color: #2aa198;
157
- } // literal.number.integer //
158
- .highlight .mo {
159
- color: #2aa198;
160
- } // literal.number.oct //
161
- .highlight .sb {
162
- color: #586e75;
163
- } // literal.string.backtick //
164
- .highlight .sc {
165
- color: #2aa198;
166
- } // literal.string.char //
167
- .highlight .sd {
168
- color: #93a1a1;
169
- } // literal.string.doc //
170
- .highlight .s2 {
171
- color: #2aa198;
172
- } // literal.string.double //
173
- .highlight .se {
174
- color: #cb4b16;
175
- } // literal.string.escape //
176
- .highlight .sh {
177
- color: #93a1a1;
178
- } // literal.string.heredoc //
179
- .highlight .si {
180
- color: #2aa198;
181
- } // literal.string.interpol //
182
- .highlight .sx {
183
- color: #2aa198;
184
- } // literal.string.other //
185
- .highlight .sr {
186
- color: #dc322f;
187
- } // literal.string.regex //
188
- .highlight .s1 {
189
- color: #2aa198;
190
- } // literal.string.single //
191
- .highlight .ss {
192
- color: #2aa198;
193
- } // literal.string.symbol //
194
- .highlight .bp {
195
- color: #268bd2;
196
- } // name.builtin.pseudo //
197
- .highlight .vc {
198
- color: #268bd2;
199
- } // name.variable.class //
200
- .highlight .vg {
201
- color: #268bd2;
202
- } // name.variable.global //
203
- .highlight .vi {
204
- color: #268bd2;
205
- } // name.variable.instance //
206
- .highlight .il {
207
- color: #2aa198;
208
- } // literal.number.integer.long //
15
+ @import "./vendor/OneLightJekyll/syntax";
data/_sass/layout.scss CHANGED
@@ -29,9 +29,13 @@
29
29
  }
30
30
 
31
31
  @include mq(lg) {
32
- margin-left: calc(
33
- (100% - #{$nav-width + $content-width}) / 2 + #{$nav-width}
32
+ // stylelint-disable function-name-case
33
+ // disable for Max(), we want to use the CSS max() function
34
+ margin-left: Max(
35
+ #{$nav-width},
36
+ calc((100% - #{$nav-width + $content-width}) / 2 + #{$nav-width})
34
37
  );
38
+ // stylelint-enable function-name-case
35
39
  }
36
40
  }
37
41