From a2d6e6eec95b73a499bf68421c5fd8b165c61f01 Mon Sep 17 00:00:00 2001 From: Zhongwei Sun Date: Fri, 23 Jan 2015 08:35:25 +0800 Subject: [PATCH] set pre style --- pelican/themes/notmyidea/static/css/main.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pelican/themes/notmyidea/static/css/main.css b/pelican/themes/notmyidea/static/css/main.css index c5b187be..563ed90c 100644 --- a/pelican/themes/notmyidea/static/css/main.css +++ b/pelican/themes/notmyidea/static/css/main.css @@ -103,11 +103,19 @@ dt {font-weight: bold;} dd {margin-left: 1.5em;} pre { + border-radius: 5px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; display: block; padding: 0.5em; background: #002b36; - color: #D9E9EB; + color: #DBDBD8; margin-bottom: 1em; + font-family: monospace, Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; +} + +pre * { + color: #DBDBD8 !important; } /* Quotes */