From 135befd065e6feb17bee14508cf712ba304c8703 Mon Sep 17 00:00:00 2001 From: Olivier DOSSMANN Date: Mon, 26 Jun 2017 22:50:00 +0200 Subject: CSS: Code and bloquote tags improved --- static/css/main.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/static/css/main.css b/static/css/main.css index 7ad79f5..4f68d8f 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -11,6 +11,21 @@ main a:active, main a:link, main a:visited, main a:hover { blockquote { padding: 0.5rem 1rem; border-left: 0.3rem solid #e5e5e5; + background-color: #f9f9f9; +} + +pre { + display: block; + margin-top: 0; + margin-bottom: 1rem; + padding: 1rem; + line-height: 1.4; + white-space: pre; + white-space: pre-wrap; + word-break: break-all; + word-wrap: break-word; + background-color: #f9f9f9; + border: thin solid #ccc; } -- cgit v1.2.3