diff options
author | SkyArrow <tommy351@gmail.com> | 2012-01-24 18:19:10 +0100 |
---|---|---|
committer | SkyArrow <tommy351@gmail.com> | 2012-01-24 18:19:10 +0100 |
commit | caeed23e766705eecae7ef17a534213c0f87fdd6 (patch) | |
tree | e002f70de3b4a3c31d798f36af0b8e0598b185f1 /sass/parts | |
parent | 0a7ff46da7d7352373dc74c2839233e34e232aec (diff) | |
download | octopress-theme-jeyzu-caeed23e766705eecae7ef17a534213c0f87fdd6.zip octopress-theme-jeyzu-caeed23e766705eecae7ef17a534213c0f87fdd6.tar.gz |
archive, category
Diffstat (limited to 'sass/parts')
-rw-r--r-- | sass/parts/_archive.scss | 65 | ||||
-rw-r--r-- | sass/parts/_article.scss | 27 | ||||
-rw-r--r-- | sass/parts/_post.scss | 27 |
3 files changed, 92 insertions, 27 deletions
diff --git a/sass/parts/_archive.scss b/sass/parts/_archive.scss new file mode 100644 index 0000000..ad96dc2 --- /dev/null +++ b/sass/parts/_archive.scss @@ -0,0 +1,65 @@ +section.archive{ + position: relative; + &:first-of-type{ + border-top: 1px solid $light-shadow; + article.archive{ + border-top: none; + } + h1.archive-title{ + border-top: none; + &:before{ + border-top: none; + } + } + } + &:last-of-type{ + border-bottom: 1px solid $border; + article.archive{ + border-bottom: none; + } + } + h1.archive-title{ + font-size: 25px; + font-weight: 300; + line-height: 35px; + width: 200px; + position: absolute; + top: 0; + padding-top: 30px; + border-top: 1px solid #fff; + &:before{ + content: ""; + position: absolute; + top: -2px; + width: 100%; + border-top: 1px solid #ddd; + } + } + article.archive{ + margin-left: 200px; + .meta{ + color: $font-meta; + span{ + margin-right: 30px; + padding-left: 30px; + display: inline-block; + } + a{ + color: $font-meta; + @include transition(0.3s); + &:hover{ + color: $font-main; + } + } + .date{ + background: image-url('date.png') 0 center no-repeat; + } + .tags{ + background: image-url('tags.png') 0 center no-repeat; + } + .comments{ + background: image-url('comments.png') 0 center no-repeat; + } + } + } +}
\ No newline at end of file diff --git a/sass/parts/_article.scss b/sass/parts/_article.scss index eae9eaf..4423eee 100644 --- a/sass/parts/_article.scss +++ b/sass/parts/_article.scss @@ -95,33 +95,6 @@ article{ padding-left: 25px; } } - .meta{ - position: absolute; - top: 85px; - line-height: 2; - font-size: 13px; - color: $font-meta; - width: 170px; - a{ - color: $font-meta; - @include transition(0.3s); - &:hover{ - color: $font-main; - } - } - .date, .tags, .comments{ - padding-left: 30px; - } - .date{ - background: image-url('date.png') 0 center no-repeat; - } - .tags{ - background: image-url('tags.png') 0 center no-repeat; - } - .comments{ - background: image-url('comments.png') 0 center no-repeat; - } - } } .share{ padding: 15px 0; diff --git a/sass/parts/_post.scss b/sass/parts/_post.scss index bbd6029..b27b4c7 100644 --- a/sass/parts/_post.scss +++ b/sass/parts/_post.scss @@ -2,4 +2,31 @@ h1.title, .entry{ margin-left: 200px; } + .meta{ + position: absolute; + top: 85px; + line-height: 2; + font-size: 13px; + color: $font-meta; + width: 170px; + a{ + color: $font-meta; + @include transition(0.3s); + &:hover{ + color: $font-main; + } + } + .date, .tags, .comments{ + padding-left: 30px; + } + .date{ + background: image-url('date.png') 0 center no-repeat; + } + .tags{ + background: image-url('tags.png') 0 center no-repeat; + } + .comments{ + background: image-url('comments.png') 0 center no-repeat; + } + } }
\ No newline at end of file |