You are here

footnotes.css in Footnotes 7.3

/*
 * 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 {
  clear: both;
  margin-top: 4em;
  margin-bottom: 2em;
  border-top: 1px solid #000;
}
/* 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 bullet of the UL list of footnotes*/

ul.footnotes {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
}
ul.footnotes li {
  margin-left: 2.5em;
  list-style-type: none;
  background: none;
}
ul.footnotes {
  position: relative;
}
.footnotes .footnote-label {
  position: absolute;
  left: 0px;
  z-index: 2;
}
.see-footnote:target,
.footnotes .footnote:target {
  background-color: #eee;
}
.see-footnote:target {
  border: solid 1px #aaa;
}
.footnotes .footnote-multi {
  vertical-align: top;
  position: relative;
  top: -0.25em;
  font-size: 0.75em;
}
/* First footnote */
#fn1 {
  border-top: 1px solid #000;
  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. clear: both;
  10. margin-top: 4em;
  11. margin-bottom: 2em;
  12. border-top: 1px solid #000;
  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 bullet of the UL list of footnotes*/
  28. ul.footnotes {
  29. list-style-type: none;
  30. margin-left: 0;
  31. padding-left: 0;
  32. }
  33. ul.footnotes li {
  34. margin-left: 2.5em;
  35. list-style-type: none;
  36. background: none;
  37. }
  38. ul.footnotes {
  39. position: relative;
  40. }
  41. .footnotes .footnote-label {
  42. position: absolute;
  43. left: 0px;
  44. z-index: 2;
  45. }
  46. .see-footnote:target,
  47. .footnotes .footnote:target {
  48. background-color: #eee;
  49. }
  50. .see-footnote:target {
  51. border: solid 1px #aaa;
  52. }
  53. .footnotes .footnote-multi {
  54. vertical-align: top;
  55. position: relative;
  56. top: -0.25em;
  57. font-size: 0.75em;
  58. }
  59. /* First footnote */
  60. #fn1 {
  61. border-top: 1px solid #000;
  62. margin-top: 3em;
  63. }
  64. .footnote {
  65. font-size: 0.9em;
  66. }