You are here

footnotes-aternative_layout.css in Footnotes 5.2

Same filename and directory in other branches
  1. 5 footnotes-aternative_layout.css
  2. 6 footnotes-aternative_layout.css
/*
 * CSS specific to Footnotes module.
 *
 * This is an alternative layout, it is not so nice but overcomes
 * the layout bugs on IE. http://drupal.org/node/166628
 * To use this layout, just rename this file to footnotes.css.
 */
 

/* Add empty space before footnotes and a black line on top. */
.footnotes {
  clear: both;
  margin-top: 4em;
  margin-bottom: 2em;
  border-top: 1px solid #000000;
}

/* Make footnotes appear in a smaller font */
.footnotes {
  font-size: 0.9em;
}

/* 
  Make the footnote a supertext^1
*/
.see_footnote {
  vertical-align: top;
  position: relative;
  top: -0.25em;
  font-size: 0.9em;
}

/* Hide the actual number of the OL list of footnotes*/
ol.footnotes {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
}
ol.footnotes li {
  margin-left: 0.5em;
}
.footnotes .footnote {
  vertical-align: top;
  position: relative;
  top: -0.35em;
  left: -0.35em;
  font-size: 0.8em;
}

/*
 * Textile Footnotes 
 */
 /* First footnote */
 #fn1 {
   border-top: 1px solid #000000;
   margin-top: 3em;
 }
 .footnote {
   font-size: 0.9em;
 }
 

File

footnotes-aternative_layout.css
View source
  1. /*
  2. * CSS specific to Footnotes module.
  3. *
  4. * This is an alternative layout, it is not so nice but overcomes
  5. * the layout bugs on IE. http://drupal.org/node/166628
  6. * To use this layout, just rename this file to footnotes.css.
  7. */
  8. /* Add empty space before footnotes and a black line on top. */
  9. .footnotes {
  10. clear: both;
  11. margin-top: 4em;
  12. margin-bottom: 2em;
  13. border-top: 1px solid #000000;
  14. }
  15. /* Make footnotes appear in a smaller font */
  16. .footnotes {
  17. font-size: 0.9em;
  18. }
  19. /*
  20. Make the footnote a supertext^1
  21. */
  22. .see_footnote {
  23. vertical-align: top;
  24. position: relative;
  25. top: -0.25em;
  26. font-size: 0.9em;
  27. }
  28. /* Hide the actual number of the OL list of footnotes*/
  29. ol.footnotes {
  30. list-style-type: none;
  31. margin-left: 0;
  32. padding-left: 0;
  33. }
  34. ol.footnotes li {
  35. margin-left: 0.5em;
  36. }
  37. .footnotes .footnote {
  38. vertical-align: top;
  39. position: relative;
  40. top: -0.35em;
  41. left: -0.35em;
  42. font-size: 0.8em;
  43. }
  44. /*
  45. * Textile Footnotes
  46. */
  47. /* First footnote */
  48. #fn1 {
  49. border-top: 1px solid #000000;
  50. margin-top: 3em;
  51. }
  52. .footnote {
  53. font-size: 0.9em;
  54. }