From 05e73c7135b3ebd03cffae3ecbf1fcb11298b7a0 Mon Sep 17 00:00:00 2001 From: lepture Date: Thu, 5 Jul 2012 13:37:19 +0800 Subject: [PATCH] style changed --- static/style.css | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/static/style.css b/static/style.css index 1328768..08aa7ae 100644 --- a/static/style.css +++ b/static/style.css @@ -1,7 +1,6 @@ @import url(//fonts.googleapis.com/css?family=Signika); @import url(//fonts.googleapis.com/css?family=PT%20Sans); html, body { - background: #f4f4f4; color: #444; padding: 0; margin: 0; @@ -16,11 +15,11 @@ h1 { } h2 { font-size: 22px; - margin: 25px 0 5px; + margin: 45px 0 15px; } h3 { font-size: 18px; - margin: 20px 0 5px; + margin: 30px 0 10px; } /* block level */ @@ -37,8 +36,8 @@ blockquote blockquote { } p { font-weight: normal; - line-height: 160%; - margin-bottom: 0.8em; + line-height: 1.8; + margin: 20px 0; } figure {margin:0; padding:0;} @@ -103,7 +102,7 @@ pre, code, tt { } pre { margin: 1em 0; - background-color: #f0f0f0; + background-color: #fbfbfb; border: 1px solid #ddd; padding: 8px; line-height: 1.5em; @@ -113,11 +112,13 @@ pre { border-radius: 3px; } code, tt { - font-size: 14px; - background-color:#f8f8ff; - color: #d14; - padding: 0 .2em; - border: 1px solid #dedede; + background-color: #fee9cc; + color: rgba(0, 0, 0, 0.75); + padding: 1px 3px; + font-size: 12px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; } pre code { padding: 0; @@ -161,8 +162,8 @@ hr.end { } #header { position: relative; - background: #fff; - box-shadow: 0 0 3px #ccc; + background: #f4f4f4; + box-shadow: 0 0 5px #ccc; height: 46px; width: 100%; zoom: 1; @@ -197,7 +198,7 @@ hr.end { *width: 560px; height: 46px; margin: 0 auto; - background: #fff; + background: #f4f4f4; z-index: 9; } #nav a { @@ -278,13 +279,10 @@ hr.end { margin: 20px 0; } .entry-tags a { - background: #dbdfe4; - color: #6f747d; - border-bottom: 0 none; - padding: 2px 10px; - border-radius: 14px; margin-right: 10px; - box-shadow: inset 0 0 1px rgba(114, 125, 150, 0.4),inset 0 1px 0 rgba(114, 125, 150, 0.4),0 1px 0 rgba(255, 255, 255, 0.7); +} +.entry-tags a:before { + content: "#"; } .entry-tags a:hover { color: #d14;