Skip to content

Commit 363933b

Browse files
committed
Remove code duplicated from minima
This makes the minima dependency less fragile hopefully minimizing issues such as were encountered last time minima updated. New method for incorporating the modified syntax-highlighting from jekyll/minima#79.
1 parent fbf6a6a commit 363933b

File tree

3 files changed

+7
-53
lines changed

3 files changed

+7
-53
lines changed

_sass/minima.scss

Lines changed: 0 additions & 52 deletions
This file was deleted.

_sass/minima/_syntax-highlighting.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ cyan #2aa198 strings, numbers
1818
green #859900 operators, other keywords
1919
*/
2020

21+
.highlight{
22+
.highlighter-rouge & {
23+
background: #fdf6e3;
24+
}
25+
}
2126
.highlight { background-color: #fdf6e3; color: #586e75 }
2227
.highlight .c { color: #93a1a1 } /* Comment */
2328
.highlight .err { color: #586e75 } /* Error */

assets/main.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55

66
// Import partials from the `minima` theme.
77
@import "minima";
8+
@import "minima/syntax-highlighting";
89

910
// Import navigation partial for Software page
1011
@import "intra-navigation";
1112

1213
// _base.scss overrides
1314
pre,
1415
code {
15-
background-color: inherit;
16+
background-color: unset;
1617
}
1718

1819
.wrapper {

0 commit comments

Comments
 (0)