From bc06f338b5622565a9c5d4b8578da618d0bd91f0 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Fri, 4 Jan 2013 23:27:01 +0000 Subject: Fix code boxes. --- view/theme/fancyred/css/style.css | 4 ++-- view/theme/redbasic/css/style.css | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/view/theme/fancyred/css/style.css b/view/theme/fancyred/css/style.css index e1b17fda1..c9da4b730 100644 --- a/view/theme/fancyred/css/style.css +++ b/view/theme/fancyred/css/style.css @@ -113,7 +113,6 @@ img { border :0px; } code { font-family: Courier, monospace; - white-space: pre; display: block; overflow: auto; border: 1px solid #444; @@ -122,7 +121,8 @@ code { padding: 10px; margin-top: 20px; max-width: 80%; - margin-left: 45px; + box-shadow: 5px 5px 5px #111; + border-radius: 5px; } blockquote { diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 7601987de..b3435b28f 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -121,7 +121,6 @@ img { border :0px; } code { font-family: Courier, monospace; - white-space: pre; display: block; overflow: auto; border: 1px solid #444; -- cgit v1.2.3