diff options
Diffstat (limited to 'sass')
-rw-r--r-- | sass/base/_layout.scss | 4 | ||||
-rw-r--r-- | sass/parts/_article.scss | 4 | ||||
-rw-r--r-- | sass/parts/_banner.scss | 3 | ||||
-rw-r--r-- | sass/parts/_comment.scss | 3 |
4 files changed, 10 insertions, 4 deletions
diff --git a/sass/base/_layout.scss b/sass/base/_layout.scss index 10d0d10..2f9586d 100644 --- a/sass/base/_layout.scss +++ b/sass/base/_layout.scss @@ -11,6 +11,10 @@ $max-width: 1000px; -o-user-select: $select; user-select: $select; } +@mixin border-shadow($top: #fff, $bottom: #ddd){ + border-top: 1px solid #fff; + border-bottom: 1px solid #ddd; +} *{ margin: 0; diff --git a/sass/parts/_article.scss b/sass/parts/_article.scss index 28864d6..0d3de44 100644 --- a/sass/parts/_article.scss +++ b/sass/parts/_article.scss @@ -119,4 +119,8 @@ article{ } } } +} +.share{ + padding: 15px 0; + @include border-shadow(); }
\ No newline at end of file diff --git a/sass/parts/_banner.scss b/sass/parts/_banner.scss index 23b3353..a17b9d6 100644 --- a/sass/parts/_banner.scss +++ b/sass/parts/_banner.scss @@ -1,6 +1,5 @@ #banner{ - border-top: 1px solid $light-shadow; - border-bottom: 1px solid $border; color: $font-main; padding: 30px 0; + @include border-shadow(); }
\ No newline at end of file diff --git a/sass/parts/_comment.scss b/sass/parts/_comment.scss index f98c014..ead3ebc 100644 --- a/sass/parts/_comment.scss +++ b/sass/parts/_comment.scss @@ -1,7 +1,6 @@ #comment{ padding: 30px 0; - border-top: 1px solid $light-shadow; - border-bottom: 1px solid $border; + @include border-shadow(); h1.title{ font-size: 25px; font-weight: 300; |