diff --git a/_includes/2017/head.html b/_includes/2017/head.html index 421133a20..c9a3a7bed 100644 --- a/_includes/2017/head.html +++ b/_includes/2017/head.html @@ -10,7 +10,7 @@ - + diff --git a/_sass/2017/components/h3-section.scss b/_sass/2017/components/h3-section.scss index 1ec9711dd..9ab5d5ec3 100644 --- a/_sass/2017/components/h3-section.scss +++ b/_sass/2017/components/h3-section.scss @@ -7,8 +7,6 @@ margin: 0; padding: 16px; font-size: 12px; - overflow: auto; - background: white; } & { diff --git a/_sass/2017/markdown/headings.scss b/_sass/2017/markdown/headings.scss index e778e629f..3fb2d039f 100644 --- a/_sass/2017/markdown/headings.scss +++ b/_sass/2017/markdown/headings.scss @@ -55,3 +55,29 @@ width: 100%; } } + +.MarkdownBody code { + color: $gray-text; + font-size: 0.86em; +} + +/* + * Undo prism theme crap + */ + +.MarkdownBody pre { + box-shadow: none; + border-left: 0; + overflow: hidden; + overflow-x: auto; + background: white; +} + +.MarkdownBody pre > code { + color: $text-color; + max-height: auto; + padding: 0; + background: transparent; + overflow: visible; + font-size: 1em; +}