From 0b62e359e2cbc3e7651c18ea783eebaca7e99981 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Wed, 11 Oct 2017 19:57:52 +0100 Subject: [PATCH] Tweaked styles to better handle code examples --- src/css/main.scss | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/src/css/main.scss b/src/css/main.scss index 7021f3d..83ff8e2 100644 --- a/src/css/main.scss +++ b/src/css/main.scss @@ -39,8 +39,24 @@ a { } pre code { - overflow: scroll; + overflow-x: auto; + overflow-y: auto; padding-bottom: 15px; + font-size: 0.85em; +} + +p > code { + background-color: #3f3f3f; + color: #dcdcdc; + font-size: 0.9em; + padding: 2px; +} + +blockquote { + border-left: 8px solid rgba(121, 130, 139, 0.52); + margin-left: 0; + padding-left: 1em; + color: #79828B; } figure { @@ -68,7 +84,7 @@ iframe { } .container { - max-width: 732px; + max-width: 1020px; margin: 0 auto; } @@ -142,4 +158,4 @@ footer { a svg { height: 40px; } -} \ No newline at end of file +}