Skip to content
This repository was archived by the owner on Nov 2, 2023. It is now read-only.

Commit ffe12c6

Browse files
authored
Merge pull request #125 from adamvoss/cleaner-minima-integration
Remove code duplicated from minima
2 parents f3b9c29 + 0f61328 commit ffe12c6

File tree

5 files changed

+12
-88
lines changed

5 files changed

+12
-88
lines changed

_config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ google_analytics: UA-99695987-1
2626
markdown: kramdown
2727
theme: minima
2828

29+
header_pages:
30+
- documentation.md
31+
- examples.md
32+
- implementations.md
33+
2934
collections:
3035
docs:
3136
output: true

_includes/header.html

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

_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)