Image alignment

This commit is contained in:
Oleg Lavrovsky 2017-05-04 00:23:51 +02:00
parent 6fdae0efd8
commit 7b20f476b7
2 changed files with 15 additions and 6 deletions

View file

@ -21,14 +21,23 @@ section {
h5 { font-size: 22px; } h5 { font-size: 22px; }
line-height: 1.5; line-height: 1.5;
img.full-width {
width: 100%;
}
} }
// Article content blocks // Article content blocks
.article-body > div { .article-body > div {
clear: both; clear: both;
} }
.infoblocks article:nth-child(3n+0) { .infoblocks {
clear: both; .image img {
width: 300px; height: 300px;
}
article:nth-child(3n+1) {
clear: left;
}
} }
// Special article layout // Special article layout