From: Ben Beltran Date: Mon, 3 Jul 2017 06:35:04 +0000 (-0500) Subject: Add styles for code X-Git-Tag: 1.0.1~3 X-Git-Url: https://git.r.bdr.sh/rbdr/blog/commitdiff_plain/14184276fc87d931fd710bf7d2f928c5b9d05a63?ds=inline Add styles for code --- diff --git a/static/css/style.css b/static/css/style.css index aeda780..c18e6fa 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -24,7 +24,7 @@ header a { } main { - background-color: #fff; + background-color: white; padding: 1.414em; } @@ -46,6 +46,17 @@ h2 { font-size: 2.827em; } h3 { font-size: 1.999em; } h4 { font-size: 1.414em; } +code { + background-color: whitesmoke; + padding: 0.2em 0.5em; +} + +pre { + background-color: whitesmoke; + padding: 1em; + max-width: 40em; +} + footer { background-color: pink; padding: 1.414em;