summaryrefslogtreecommitdiffstats
path: root/sass
diff options
context:
space:
mode:
authorSkyArrow <tommy351@gmail.com>2012-01-24 18:04:50 +0100
committerSkyArrow <tommy351@gmail.com>2012-01-24 18:04:50 +0100
commit60eeb5b1e38979edb37988ce8e712fad587d8835 (patch)
tree492f62d03f8b543485fd3aa7929b3829b695149f /sass
parent7688d26354567ac7ed1c6001fa484d0438900559 (diff)
downloadoctopress-theme-jeyzu-60eeb5b1e38979edb37988ce8e712fad587d8835.zip
octopress-theme-jeyzu-60eeb5b1e38979edb37988ce8e712fad587d8835.tar.gz
sharing
Diffstat (limited to 'sass')
-rw-r--r--sass/base/_layout.scss4
-rw-r--r--sass/parts/_article.scss4
-rw-r--r--sass/parts/_banner.scss3
-rw-r--r--sass/parts/_comment.scss3
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;