From cad133190f6cba2f10add21c4d205cb43e7cfad1 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Thu, 24 Aug 2017 12:33:24 +0800 Subject: [PATCH] Update --- _includes/2017/head.html | 2 +- _sass/2017/components/h3-section.scss | 2 -- _sass/2017/markdown/headings.scss | 26 ++++++++++++++++++++++++++ 3 files changed, 27 insertions(+), 3 deletions(-) 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; +}