Make code in headers not giant

This commit is contained in:
Ben Alpert
2014-07-13 13:03:12 -07:00
parent b8cc3f510a
commit 4a66260b2c
+5 -3
View File
@@ -5,8 +5,8 @@
@mixin code-typography {
font-family: 'source-code-pro', Menlo, Consolas, 'Courier New', monospace;
font-size: 13px;
line-height: 20px;
font-size: 0.8em;
line-height: 1.5;
}
$skinnyContentWidth: 650px;
@@ -689,9 +689,11 @@ p code {
}
.highlight pre code {
/* Respect line-height defined in <code> styles above */
display: block;
/* Cancel out styles for `li code` in case we have a <pre> within an <li>. */
background: none;
font-size: inherit;
padding: 0;
}