style.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. /*
  2. Sticky Footer Solution
  3. by Steve Hatcher
  4. http://stever.ca
  5. http://www.cssstickyfooter.com
  6. */
  7. * {margin:0;padding:0;}
  8. /* must declare 0 margins on everything, also for main layout components use padding, not
  9. vertical margins (top and bottom) to add spacing, else those margins get added to total height
  10. and your footer gets pushed down a bit more, creating vertical scroll bars in the browser */
  11. html, body {height: 100%;}
  12. #wrap {min-height: 100%;}
  13. #main {overflow:auto;
  14. padding: 5px;
  15. padding-bottom: 60px;} /* must be same height as the footer */
  16. #footer {position: relative;
  17. margin-top: -40px; /* negative value of footer height */
  18. height: 40px;
  19. clear:both;}
  20. /*Opera Fix*/
  21. body:before {/* thanks to Maleika (Kohoutec)*/
  22. content:"";
  23. height:100%;
  24. float:left;
  25. width:0;
  26. margin-top:-32767px;/* thank you Erik J - negate effect of float*/
  27. }
  28. /* IMPORTANT
  29. You also need to include this conditional style in the <head> of your HTML file to feed this style to IE 6 and lower and 8 and higher.
  30. <!--[if !IE 7]>
  31. <style type="text/css">
  32. #wrap {display:table;height:100%}
  33. </style>
  34. <![endif]-->
  35. */
  36. html, body {
  37. font-family: sans-serif;
  38. background-color: white;
  39. color: black;
  40. font-size: 14px;
  41. height: 100%;
  42. }
  43. h1 {
  44. margin: 0px;
  45. padding: 0px;
  46. font-size: 24px;
  47. font-weight: bold;
  48. }
  49. h2 {
  50. margin: 0px;
  51. padding: 0px;
  52. font-size: 18px;
  53. font-weight: normal;
  54. }
  55. #header {
  56. text-align: center;
  57. padding: 20px;
  58. }
  59. #verysuggest {
  60. padding: 20px;
  61. text-align: center;
  62. }
  63. #suggestion {
  64. text-align: center;
  65. padding: 20px;
  66. }
  67. #suggestion ul {
  68. padding: 10px;
  69. list-style-type: circle;
  70. list-style-position: inside;
  71. }
  72. #suggestion ul li {
  73. }
  74. #word {
  75. padding: 5px;
  76. width: 100px;
  77. }
  78. #getvocab {
  79. padding: 5px;
  80. }
  81. #alts {
  82. display: none;
  83. }
  84. #footer {
  85. text-align: center;
  86. }