You are here

autofloat.css in AutoFloat 8

Same filename and directory in other branches
  1. 7.2 css/autofloat.css
/**
 * Float images found in the body text alternately right and left.
 */

/* Adjust the id or class if your theme uses another to target the node body.*/
.content .autofloat-odd,
#content .autofloat-odd {
  float: right; /* LTR */
  margin: 5px 0 0 15px; /* LTR */
}

.content .autofloat-even,
#content .autofloat-even {
  float: left; /* LTR */
  margin: 5px 15px 0 0; /* LTR */
}

File

css/autofloat.css
View source
  1. /**
  2. * Float images found in the body text alternately right and left.
  3. */
  4. /* Adjust the id or class if your theme uses another to target the node body.*/
  5. .content .autofloat-odd,
  6. #content .autofloat-odd {
  7. float: right; /* LTR */
  8. margin: 5px 0 0 15px; /* LTR */
  9. }
  10. .content .autofloat-even,
  11. #content .autofloat-even {
  12. float: left; /* LTR */
  13. margin: 5px 15px 0 0; /* LTR */
  14. }