diff --git a/layout/_partial/after-footer.ejs b/layout/_partial/after-footer.ejs index 85039c4d3..247674ab4 100644 --- a/layout/_partial/after-footer.ejs +++ b/layout/_partial/after-footer.ejs @@ -13,5 +13,5 @@ global: theme.open_in_new.global }) %> <%- partial('tab-title-change') %> - \ No newline at end of file + diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs index 56b5764a6..b19a12ea1 100644 --- a/layout/_partial/head.ejs +++ b/layout/_partial/head.ejs @@ -42,7 +42,7 @@ <% } %> -<%- css('css/style') %> +<%- css('/css/style') %> <% if (is_home() && theme.animate){ %> @@ -113,4 +113,4 @@ if ( is_archive() ) { <% } %> - \ No newline at end of file + diff --git a/source/css/_partial/highlight.styl b/source/css/_partial/highlight.styl index f36243533..8f27c744d 100644 --- a/source/css/_partial/highlight.styl +++ b/source/css/_partial/highlight.styl @@ -19,6 +19,9 @@ $line-numbers pre, code font-family: font-mono, monospace, font-chs font-size: 1em + .line:after + content: '' + display: inline-block; pre @extend $code-block code @@ -30,7 +33,7 @@ $line-numbers .highlight @extend $code-block border-radius: 2px - max-height: 50em + //max-height: 50em margin-top: .5em margin-bottom: 1em overflow: auto @@ -149,4 +152,4 @@ pre color: highlight-blue .keyword .javascript .function - color: highlight-purple \ No newline at end of file + color: highlight-purple