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) */ /* alignments (blocks and inline) */
/* ------------------------------ */ /* ------------------------------ */
/* left elements */ /* left (or starting) elements */
.left { .left,
.start {
float: left; float: left;
} }
img.left { img.left,
img.start {
margin-right: 1em; margin-right: 1em;
} }
/* right elements */ /* right (or ending) elements */
.right { .right,
.end {
float: right; float: right;
} }
img.right { img.right,
img.end {
margin-left: 1em; margin-left: 1em;
} }
img.left, img.left,
img.right { img.right,
margin-bottom: 5px; img.start,
img.end {
margin-bottom: 0.5em;
} }
.center { .center {
margin-left: auto; margin-left: auto;

View file

@ -296,22 +296,27 @@ body > script {display: none !important;}
/* alignments (blocks and inline) */ /* alignments (blocks and inline) */
/* ------------------------------ */ /* ------------------------------ */
/* left elements */ /* left (or starting) elements */
.left { .left,
.start {
float: left; float: left;
} }
img.left { img.left,
margin-right: 1em; img.start {
margin-right: @small-value;
} }
/* right elements */ /* right (or ending) elements */
.right { .right,
.end {
float: right; float: right;
} }
img.right { img.right,
margin-left: 1em; img.end {
margin-left: @small-value;
} }
img.left, img.right { img.left, img.right,
margin-bottom: 5px; img.start, img.end {
margin-bottom: @tiny-value;
} }
.center { margin-left: auto; margin-right: auto; } .center { margin-left: auto; margin-right: auto; }
.txtleft { text-align: left; } .txtleft { text-align: left; }