summaryrefslogtreecommitdiffstats
path: root/sass/parts
diff options
context:
space:
mode:
authorSkyArrow <tommy351@gmail.com>2012-03-17 02:55:17 +0100
committerSkyArrow <tommy351@gmail.com>2012-03-17 03:00:32 +0100
commitab252d05b7c4dd4857377dfdee29824faa000b2c (patch)
tree3d2af9ebadefd6c9b46cb0cd7db2099ee33a7d47 /sass/parts
parentf8481b9c59c18b35a0b920c2bd44edde9e1ac8c7 (diff)
downloadoctopress-theme-jeyzu-ab252d05b7c4dd4857377dfdee29824faa000b2c.zip
octopress-theme-jeyzu-ab252d05b7c4dd4857377dfdee29824faa000b2c.tar.gz
modify article style, fix video wrong position
Diffstat (limited to 'sass/parts')
-rw-r--r--sass/parts/_article.scss20
1 files changed, 10 insertions, 10 deletions
diff --git a/sass/parts/_article.scss b/sass/parts/_article.scss
index a17ddcd..4a7ba6b 100644
--- a/sass/parts/_article.scss
+++ b/sass/parts/_article.scss
@@ -25,22 +25,26 @@ article{
padding-left: 30px;
background: image-url('more.png') 0 center no-repeat;
}
- strong{
- font-weight: bold;
+ p, blockquote, ul, ol, dl, table, iframe, h1, h2, h3, h4, h5, h6, .video-container{
+ margin-top: 10px;
}
- ol, ul{
+ ul, ol, dl{
margin-left: 20px;
- margin-top: 10px;
- ol, ul{
+ ul, ol, dl{
margin-top: 0;
}
}
+ strong{
+ font-weight: bold;
+ }
+ em{
+ font-style: italic;
+ }
p{
margin-top: 10px;
}
h2{
font-weight: 300;
- margin-top: 10px;
border-bottom: 1px solid $gray04;
position: relative;
&:before{
@@ -51,9 +55,6 @@ article{
width: 100%;
}
}
- h3{
- margin-top: 10px;
- }
img, video{
max-width: 100%;
height: auto;
@@ -68,7 +69,6 @@ article{
}
}
iframe{
- margin-top: 10px;
border: none;
}
table{