From a9bf483763d32c4902de0e0b5e0dd79820266148 Mon Sep 17 00:00:00 2001 From: SkyArrow Date: Wed, 25 Jan 2012 01:20:36 +0800 Subject: high resolution favicon --- sass/parts/_article.scss | 2 +- sass/parts/_header.scss | 8 +++++++- sass/parts/_syntax.scss | 2 +- source/_includes/head.html | 3 ++- source/icon/icon.png | Bin 0 -> 26017 bytes 5 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 source/icon/icon.png diff --git a/sass/parts/_article.scss b/sass/parts/_article.scss index c5c7719..2639aeb 100644 --- a/sass/parts/_article.scss +++ b/sass/parts/_article.scss @@ -77,7 +77,7 @@ article{ background: $border; border: 1px solid #ccc; padding: 1px 3px; - border-radius: 5px; + @include border-radius(5px); margin: 0 3px; } } diff --git a/sass/parts/_header.scss b/sass/parts/_header.scss index a11ff44..a258e9d 100644 --- a/sass/parts/_header.scss +++ b/sass/parts/_header.scss @@ -44,7 +44,7 @@ header{ white-space: nowrap; background: #ddd; border: 1px solid #ccc; - border-radius: 0 0 5px 5px; + @include border-radius(0 0 5px 5px); box-shadow: 0 4px 8px #DDDDDD; list-style: none; display: none; @@ -161,6 +161,12 @@ header{ &:last-of-type{ margin-right: 0; } + >a{ + padding: 15px 30px 15px 0; + &:only-child{ + padding-right: 0; + } + } } ul{ top: 40px; diff --git a/sass/parts/_syntax.scss b/sass/parts/_syntax.scss index efdc01f..0ae39ad 100644 --- a/sass/parts/_syntax.scss +++ b/sass/parts/_syntax.scss @@ -48,8 +48,8 @@ figure.code{ padding: 5px 15px; margin-top: 10px; border: 1px solid #ccc; - border-radius: 5px; overflow-x: auto; + @include border-radius(5px); .line-numbers{ border-right: 1px solid #ccc; color: #000; diff --git a/source/_includes/head.html b/source/_includes/head.html index 1265151..6e67a6d 100644 --- a/source/_includes/head.html +++ b/source/_includes/head.html @@ -12,7 +12,8 @@ - + + diff --git a/source/icon/icon.png b/source/icon/icon.png new file mode 100644 index 0000000..d8ed9b0 Binary files /dev/null and b/source/icon/icon.png differ -- cgit v1.1-2-g2b99