You are here

autofloat.css in AutoFloat 7.2

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

/**
 * 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.*/
/*variable:autofloat_selector*/.node/*variable*/ .autofloat-odd,
/*variable:autofloat_selector*/.node/*variable*/ .autofloat-odd,
/*variable:autofloat_selector*/.node/*variable*/ span.flickr-wrap.autofloat-odd,
/*variable:autofloat_selector*/.node/*variable*/ span.flickr-photoset-single.autofloat-odd {
  float: right; /* LTR */
  margin-top: /*variable:autofloat_top*/2px/*variable*/;
  margin-right: 0; /* LTR */
  margin-bottom: /*variable:autofloat_bottom*/2px/*variable*/;
  margin-left: /*variable:autofloat_left*/5px/*variable*/; /* LTR */
}

/*variable:autofloat_selector*/.node/*variable*/ .autofloat-even,
/*variable:autofloat_selector*/.node/*variable*/ .autofloat-even,
/*variable:autofloat_selector*/.node/*variable*/ span.flickr-wrap.autofloat-even,
/*variable:autofloat_selector*/.node/*variable*/ span.flickr-photoset-single.autofloat-even {
  float: left; /* LTR */
  margin-top: /*variable:autofloat_top*/2px/*variable*/;
  margin-right: /*variable:autofloat_right*/5px/*variable*/; /* LTR */
  margin-bottom: /*variable:autofloat_bottom*/2px/*variable*/;
  margin-left: 0; /* LTR */
}

File

css/autofloat.css
View source
  1. /**
  2. * Float images found in the body text alternately right and left.
  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. /*variable:autofloat_selector*/.node/*variable*/ .autofloat-odd,
  11. /*variable:autofloat_selector*/.node/*variable*/ .autofloat-odd,
  12. /*variable:autofloat_selector*/.node/*variable*/ span.flickr-wrap.autofloat-odd,
  13. /*variable:autofloat_selector*/.node/*variable*/ span.flickr-photoset-single.autofloat-odd {
  14. float: right; /* LTR */
  15. margin-top: /*variable:autofloat_top*/2px/*variable*/;
  16. margin-right: 0; /* LTR */
  17. margin-bottom: /*variable:autofloat_bottom*/2px/*variable*/;
  18. margin-left: /*variable:autofloat_left*/5px/*variable*/; /* LTR */
  19. }
  20. /*variable:autofloat_selector*/.node/*variable*/ .autofloat-even,
  21. /*variable:autofloat_selector*/.node/*variable*/ .autofloat-even,
  22. /*variable:autofloat_selector*/.node/*variable*/ span.flickr-wrap.autofloat-even,
  23. /*variable:autofloat_selector*/.node/*variable*/ span.flickr-photoset-single.autofloat-even {
  24. float: left; /* LTR */
  25. margin-top: /*variable:autofloat_top*/2px/*variable*/;
  26. margin-right: /*variable:autofloat_right*/5px/*variable*/; /* LTR */
  27. margin-bottom: /*variable:autofloat_bottom*/2px/*variable*/;
  28. margin-left: 0; /* LTR */
  29. }