111 lines
3.6 KiB
CSS
111 lines
3.6 KiB
CSS
.post-image-above-header .inside-article .post-image,
|
|
.post-image-above-header .inside-article .featured-image {
|
|
margin-top: 0;
|
|
margin-bottom: 2em;
|
|
}
|
|
|
|
.post-image-aligned-left .inside-article .post-image,
|
|
.post-image-aligned-left .inside-article .featured-image {
|
|
margin-top: 0;
|
|
margin-right: 2em;
|
|
float: left;
|
|
text-align: left;
|
|
}
|
|
|
|
.post-image-aligned-center .post-image,
|
|
.post-image-aligned-center .featured-image {
|
|
text-align: center;
|
|
}
|
|
|
|
.post-image-aligned-right .inside-article .post-image,
|
|
.post-image-aligned-right .inside-article .featured-image {
|
|
margin-top: 0;
|
|
margin-left: 2em;
|
|
float: right;
|
|
text-align: right;
|
|
}
|
|
|
|
.post-image-below-header.post-image-aligned-right .inside-article .post-image,
|
|
.post-image-below-header.post-image-aligned-right .inside-article .featured-image,
|
|
.post-image-below-header.post-image-aligned-center .inside-article .featured-image,
|
|
.post-image-below-header.post-image-aligned-left .inside-article .post-image,
|
|
.post-image-below-header.post-image-aligned-left .inside-article .featured-image {
|
|
margin-top: 2em;
|
|
}
|
|
|
|
.post-image-aligned-left > .featured-image,
|
|
.post-image-aligned-right > .featured-image {
|
|
float: none;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.post-image-aligned-left .featured-image {
|
|
text-align: left;
|
|
}
|
|
|
|
.post-image-aligned-right .featured-image {
|
|
text-align: right;
|
|
}
|
|
|
|
.post-image-aligned-left .inside-article:before,
|
|
.post-image-aligned-left .inside-article:after,
|
|
.post-image-aligned-right .inside-article:before,
|
|
.post-image-aligned-right .inside-article:after {
|
|
content: "";
|
|
display: table;
|
|
}
|
|
|
|
.post-image-aligned-left .inside-article:after,
|
|
.post-image-aligned-right .inside-article:after {
|
|
clear: both;
|
|
}
|
|
|
|
.post-image-aligned-left .inside-article,
|
|
.post-image-aligned-right .inside-article {
|
|
zoom: 1;
|
|
/* For IE 6/7 (trigger hasLayout) */
|
|
}
|
|
|
|
.one-container.post-image-above-header .page-header + .no-featured-image-padding .inside-article .post-image,
|
|
.one-container.post-image-above-header .no-featured-image-padding.generate-columns .inside-article .post-image {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.one-container.right-sidebar.post-image-aligned-center .no-featured-image-padding .post-image,
|
|
.one-container.right-sidebar.post-image-aligned-center .no-featured-image-padding .featured-image,
|
|
.one-container.both-right.post-image-aligned-center .no-featured-image-padding .post-image,
|
|
.one-container.both-right.post-image-aligned-center .no-featured-image-padding .featured-image {
|
|
margin-right: 0;
|
|
}
|
|
|
|
.one-container.left-sidebar.post-image-aligned-center .no-featured-image-padding .post-image,
|
|
.one-container.left-sidebar.post-image-aligned-center .no-featured-image-padding .featured-image,
|
|
.one-container.both-left.post-image-aligned-center .no-featured-image-padding .post-image,
|
|
.one-container.both-left.post-image-aligned-center .no-featured-image-padding .featured-image {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.one-container.both-sidebars.post-image-aligned-center .no-featured-image-padding .post-image,
|
|
.one-container.both-sidebars.post-image-aligned-center .no-featured-image-padding .featured-image {
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
|
|
.one-container.post-image-aligned-center .no-featured-image-padding.generate-columns .post-image,
|
|
.one-container.post-image-aligned-center .no-featured-image-padding.generate-columns .featured-image {
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
body:not(.post-image-aligned-center) .inside-article .post-image,
|
|
body:not(.post-image-aligned-center) .featured-image,
|
|
body:not(.post-image-aligned-center) .inside-article .featured-image {
|
|
margin-right: 0;
|
|
margin-left: 0;
|
|
float: none;
|
|
text-align: center;
|
|
}
|
|
}
|