Skip to content

Commit

Permalink
modify article style, fix video wrong position
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy351 committed Mar 17, 2012
1 parent f8481b9 commit ab252d0
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions sass/parts/_article.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand All @@ -51,9 +55,6 @@ article{
width: 100%;
}
}
h3{
margin-top: 10px;
}
img, video{
max-width: 100%;
height: auto;
Expand All @@ -68,7 +69,6 @@ article{
}
}
iframe{
margin-top: 10px;
border: none;
}
table{
Expand Down

0 comments on commit ab252d0

Please sign in to comment.