adding .start and .end classes

This commit is contained in:
Raphael Goetter 2014-04-20 20:02:32 +02:00
parent b1970263cc
commit a20f157800
2 changed files with 29 additions and 18 deletions

View file

@ -309,23 +309,29 @@ body > script {
}
/* alignments (blocks and inline) */
/* ------------------------------ */
/* left elements */
.left {
/* left (or starting) elements */
.left,
.start {
float: left;
}
img.left {
img.left,
img.start {
margin-right: 1em;
}
/* right elements */
.right {
/* right (or ending) elements */
.right,
.end {
float: right;
}
img.right {
img.right,
img.end {
margin-left: 1em;
}
img.left,
img.right {
margin-bottom: 5px;
img.right,
img.start,
img.end {
margin-bottom: 0.5em;
}
.center {
margin-left: auto;