mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-12-24 08:28:50 -05:00
updated blog theme to default to left aligned images. To center images, use classname "center"
This commit is contained in:
parent
cf31601d4b
commit
178a198ea7
@ -51,14 +51,15 @@ article {
|
|||||||
@include box-shadow(rgba(#000, .15) 0 1px 4px);
|
@include box-shadow(rgba(#000, .15) 0 1px 4px);
|
||||||
@include box-sizing(border-box);
|
@include box-sizing(border-box);
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0 auto 1.5em;
|
|
||||||
}
|
}
|
||||||
img {
|
img {
|
||||||
&.left { float: left; margin-right: 1.5em; }
|
&.left { float: left; margin-right: 1.5em; }
|
||||||
&.right { float: right; margin-left: 1.5em; }
|
&.right { float: right; margin-left: 1.5em; }
|
||||||
|
&.center { margin: 0 auto 1.5em; }
|
||||||
&.left, &.right { margin-bottom: .8em; }
|
&.left, &.right { margin-bottom: .8em; }
|
||||||
}
|
}
|
||||||
video { display: block; margin-bottom: 1.5em; width: 100%; }
|
video, .flash-video { margin: 0 auto 1.5em; }
|
||||||
|
video { display: block; width: 100%; }
|
||||||
.flash-video {
|
.flash-video {
|
||||||
> div {
|
> div {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
Loading…
Reference in New Issue
Block a user