You are here

footnotes-aternative_layout.css in Footnotes 5

Same filename and directory in other branches
  1. 5.2 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 {
  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. margin-top: 4em;
  11. margin-bottom: 2em;
  12. border-top: 1px solid #000000;
  13. }
  14. /* Make footnotes appear in a smaller font */
  15. .footnotes {
  16. font-size: 0.9em;
  17. }
  18. /*
  19. Make the footnote a supertext^1
  20. */
  21. .see_footnote {
  22. vertical-align: top;
  23. position: relative;
  24. top: -0.25em;
  25. font-size: 0.9em;
  26. }
  27. /* Hide the actual number of the OL list of footnotes*/
  28. ol.footnotes {
  29. list-style-type: none;
  30. margin-left: 0;
  31. padding-left: 0;
  32. }
  33. ol.footnotes li {
  34. margin-left: 0.5em;
  35. }
  36. .footnotes .footnote {
  37. vertical-align: top;
  38. position: relative;
  39. top: -0.35em;
  40. left: -0.35em;
  41. font-size: 0.8em;
  42. }
  43. /*
  44. * Textile Footnotes
  45. */
  46. /* First footnote */
  47. #fn1 {
  48. border-top: 1px solid #000000;
  49. margin-top: 3em;
  50. }
  51. .footnote {
  52. font-size: 0.9em;
  53. }