You are here

footnotes.css in Footnotes 6

/*
 * CSS specific to Footnotes module.
*
* Thanks to binford2k@lug.wsu.edu for this tip and drinkypoo
* for the question leading up to it. http://drupal.org/node/80538
*/
 

/* Add empty space before footnotes and a black line on top. */
.footnotes {
  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: 2.5em;
}

/* Move the footnote number outside of the margin for footnote text (hanging indent) */
ol.footnotes {
  /* This is apparently very needed for the "position: absolute;" below to work correctly*/
  position: relative; 
}
.footnotes .footnote {
  position: absolute;
  left: 0px;
  z-index: 2;
}

/* Note: This CSS has a minor bug on all versions of IE in that the footnote numbers 
are aligned with the absolute bottom of their space, thus being a couple of pixels 
lower than their corresponding line of text. IE5.5 has a serious bug in that the numbers 
are not shifted left at all, thus being garbled together with the start of their text. */


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

File

footnotes.css
View source
  1. /*
  2. * CSS specific to Footnotes module.
  3. *
  4. * Thanks to binford2k@lug.wsu.edu for this tip and drinkypoo
  5. * for the question leading up to it. http://drupal.org/node/80538
  6. */
  7. /* Add empty space before footnotes and a black line on top. */
  8. .footnotes {
  9. margin-top: 4em;
  10. margin-bottom: 2em;
  11. border-top: 1px solid #000000;
  12. }
  13. /* Make footnotes appear in a smaller font */
  14. .footnotes {
  15. font-size: 0.9em;
  16. }
  17. /*
  18. Make the footnote a supertext^1
  19. */
  20. .see_footnote {
  21. vertical-align: top;
  22. position: relative;
  23. top: -0.25em;
  24. font-size: 0.9em;
  25. }
  26. /* Hide the actual number of the OL list of footnotes*/
  27. ol.footnotes {
  28. list-style-type: none;
  29. margin-left: 0;
  30. padding-left: 0;
  31. }
  32. ol.footnotes li {
  33. margin-left: 2.5em;
  34. }
  35. /* Move the footnote number outside of the margin for footnote text (hanging indent) */
  36. ol.footnotes {
  37. /* This is apparently very needed for the "position: absolute;" below to work correctly*/
  38. position: relative;
  39. }
  40. .footnotes .footnote {
  41. position: absolute;
  42. left: 0px;
  43. z-index: 2;
  44. }
  45. /* Note: This CSS has a minor bug on all versions of IE in that the footnote numbers
  46. are aligned with the absolute bottom of their space, thus being a couple of pixels
  47. lower than their corresponding line of text. IE5.5 has a serious bug in that the numbers
  48. are not shifted left at all, thus being garbled together with the start of their text. */
  49. /*
  50. * Textile Footnotes
  51. */
  52. /* First footnote */
  53. #fn1 {
  54. border-top: 1px solid #000000;
  55. margin-top: 3em;
  56. }
  57. .footnote {
  58. font-size: 0.9em;
  59. }