From 1f3f2ca8d260701381ede93d0d9c136b2f369b18 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 29 May 2015 15:45:12 +0800 Subject: [PATCH] update code box style --- static/style.css | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/static/style.css b/static/style.css index e66110f6ed..9804a1cceb 100644 --- a/static/style.css +++ b/static/style.css @@ -1077,12 +1077,13 @@ footer ul li > a { .code-box .code-box-demo { padding: 50px 25px; - border-bottom: 1px solid #ddd; + border-bottom: 1px solid #E9E9E9; } .code-box-meta { position: relative; padding: 25px 15px; + background: #f9f9f9; } .code-box-meta h4, @@ -1092,11 +1093,13 @@ footer ul li > a { .code-box-title { position: absolute; - top: -10px; - background: #fff; - padding: 0 1em; + top: -13px; + padding: 0px 1.1em; color: #888; font-weight: bold; + border-radius: 6px; + background: #F9F9F9; + box-shadow: 0 -1.5px 0 #e9e9e9; } .code-box-title:before {