diff options
author | SkyArrow <tommy351@gmail.com> | 2012-02-16 11:46:01 +0100 |
---|---|---|
committer | SkyArrow <tommy351@gmail.com> | 2012-02-17 10:33:17 +0100 |
commit | 934af494392bd3c6ba443150dbef285f80c99277 (patch) | |
tree | b75941510d8ed97537eeabb4c3d722783ea20a2e /sass/parts | |
parent | ea5229c7e2b2213bb0d86cdd6837d27116737548 (diff) | |
download | octopress-theme-jeyzu-934af494392bd3c6ba443150dbef285f80c99277.zip octopress-theme-jeyzu-934af494392bd3c6ba443150dbef285f80c99277.tar.gz |
replace some code with Compass
Diffstat (limited to 'sass/parts')
-rw-r--r-- | sass/parts/_archive.scss | 2 | ||||
-rw-r--r-- | sass/parts/_header.scss | 4 | ||||
-rw-r--r-- | sass/parts/_post.scss | 7 |
3 files changed, 5 insertions, 8 deletions
diff --git a/sass/parts/_archive.scss b/sass/parts/_archive.scss index 405922d..e2e3aea 100644 --- a/sass/parts/_archive.scss +++ b/sass/parts/_archive.scss @@ -45,7 +45,7 @@ section.archive{ span{ margin-right: 30px; padding-left: 30px; - display: inline-block; + @include inline-block; } a{ color: $gray02; diff --git a/sass/parts/_header.scss b/sass/parts/_header.scss index cd9de82..32893ad 100644 --- a/sass/parts/_header.scss +++ b/sass/parts/_header.scss @@ -18,7 +18,7 @@ header{ margin-left: 30px; >ul{ >li{ - display: inline-block; + @include inline-block; margin-left: 50px; &:hover{ >a{ @@ -119,7 +119,7 @@ header{ margin-right: 15px; a{ @include border-radius(50%); - display: inline-block; + @include inline-block; text-indent: -9999px; margin-right: 15px; opacity: 0.5; diff --git a/sass/parts/_post.scss b/sass/parts/_post.scss index 09a4491..1b5f554 100644 --- a/sass/parts/_post.scss +++ b/sass/parts/_post.scss @@ -10,11 +10,8 @@ color: $gray02; width: 170px; a{ - color: $gray02; + @include link-colors($gray02, $gray01); @include transition(0.3s); - &:hover{ - color: $gray01; - } } .date, .tags, .comments{ padding-left: 30px; @@ -41,7 +38,7 @@ position: static; width: auto; .date, .tags, .comments{ - display: inline-block; + @include inline-block; margin-right: 30px; } } |