updated blog styles to latest octopress

This commit is contained in:
Brandon Mathis 2011-07-23 00:32:47 -04:00
parent dcda5add23
commit db1f23e63c

View File

@ -42,13 +42,31 @@ article {
font-size: 2.0em; font-style: italic; font-size: 2.0em; font-style: italic;
line-height: 1.3em; line-height: 1.3em;
} }
.entry-content { img {
img, video { max-width: 100%; height: auto; } max-width: 100%;
video { border: .5em solid #fff;
width: 100%; display: block; margin-bottom: 1.5em; @include border-radius(.3em);
padding: .8em; background: #fff; border: 1px solid #eee; @include box-shadow(rgba(#000, .15) 0 1px 4px);
@include box-sizing(border-box); @include box-sizing(border-box);
display: block;
margin: 0 auto 1.5em;
&.left {
float: left;
margin-right: 1.5em;
} }
&.right {
float: right;
margin-left: 1.5em;
}
&.left, &.right {
margin-bottom: .8em;
}
}
img, video { max-width: 100%; height: auto; }
video {
width: 100%; display: block; margin-bottom: 1.5em;
padding: .8em; background: #fff; border: 1px solid #eee;
@include box-sizing(border-box);
} }
.flash-video { .flash-video {
max-width: 100%; max-width: 100%;