You are here

autofloat-rtl.css in AutoFloat 7.2

Same filename and directory in other branches
  1. 8 css/autofloat-rtl.css
/**
 * Float images alternately in right-to-left content.
 */

/**
 * The CSS values that are wrapped in '/*variable' comments are intended for use
 * by https://www.drupal.org/project/style_settings. Enable that module to
 * have those CSS variables exposed in the settings UI.
 */

/* Adjust the id or class if your theme uses another to target the node body.*/
.content .autofloat-odd,
#content .autofloat-odd,
.style-settings-preview .autofloat-odd,
article .autofloat-odd {
  float: left;
  margin-right: /*variable:autofloat_right*/5px/*variable*/;
  margin-left: 0;
}

.content .autofloat-even,
#content .autofloat-even,
.style-settings-preview .autofloat-even,
article .autofloat-even {
  float: right;
  margin-right: 0;
  margin-left: /*variable:autofloat_left*/5px/*variable*/;
}

File

css/autofloat-rtl.css
View source
  1. /**
  2. * Float images alternately in right-to-left content.
  3. */
  4. /**
  5. * The CSS values that are wrapped in '/*variable' comments are intended for use
  6. * by https://www.drupal.org/project/style_settings. Enable that module to
  7. * have those CSS variables exposed in the settings UI.
  8. */
  9. /* Adjust the id or class if your theme uses another to target the node body.*/
  10. .content .autofloat-odd,
  11. #content .autofloat-odd,
  12. .style-settings-preview .autofloat-odd,
  13. article .autofloat-odd {
  14. float: left;
  15. margin-right: /*variable:autofloat_right*/5px/*variable*/;
  16. margin-left: 0;
  17. }
  18. .content .autofloat-even,
  19. #content .autofloat-even,
  20. .style-settings-preview .autofloat-even,
  21. article .autofloat-even {
  22. float: right;
  23. margin-right: 0;
  24. margin-left: /*variable:autofloat_left*/5px/*variable*/;
  25. }