style.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. /*
  2. * Sticky Footer Solution
  3. * by Steve Hatcher
  4. * http://stever.ca
  5. * http://www.cssstickyfooter.com
  6. * */
  7. * {margin: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 {
  12. height: 100%;
  13. }
  14. div#wrap {
  15. min-height: 100%;
  16. padding:0 1.5em;
  17. }
  18. div#nav {
  19. padding-top: 0.2%;
  20. padding-bottom: 0.2%;
  21. }
  22. div#main {
  23. overflow:auto;
  24. padding-bottom: 50px; /* must be same height as the footer */
  25. }
  26. div#home{
  27. font-size: 1.2em;
  28. padding: 5% 20%;
  29. color: #555;
  30. }
  31. div#footer {
  32. /* padding-top: 10px;*/
  33. position: relative;
  34. margin-top: -50px; /* negative value of footer height */
  35. height: 50px;
  36. clear:both;
  37. padding:0 2em;
  38. }
  39. div#attributes {
  40. padding: 1% 7%;
  41. }
  42. div.e-content {
  43. padding: 1% 2%;
  44. }
  45. div.output{
  46. padding: 2%;
  47. }
  48. div.highlight{
  49. padding: 2%;
  50. }
  51. h1 {
  52. font-family: 'EB Garamond', Garamond, serif;
  53. font-size: 3em;
  54. font-weight: normal;
  55. padding: 0 0 1% 5%;
  56. clear: both;
  57. }
  58. h2{
  59. font-family: 'EB Garamond', Garamond, serif;
  60. font-size: 1.75em;
  61. font-weight: normal;
  62. padding:0.5em 0;
  63. }
  64. h3{
  65. font-family: 'EB Garamond', Garamond, serif;
  66. font-size: 1.5em;
  67. font-weight: normal;
  68. padding:0.5em 0;
  69. }
  70. p {
  71. padding:0.5em 0;
  72. }
  73. p#post-details {
  74. font-style: italic;
  75. text-align:right;
  76. font-size: 1.1em;
  77. }
  78. p.p-summary {
  79. font-style: italic;
  80. font-size: 1.2em;
  81. }
  82. p#footer {
  83. padding-top: 15px;
  84. font-size: 0.8em;
  85. text-align: center;
  86. /* padding-left: 10%; */
  87. color: #555;
  88. }
  89. a {
  90. color: #999;
  91. text-decoration: none;
  92. }
  93. a.button{
  94. padding: 0.3em;
  95. background-color:#e2e2e2;
  96. border: solid 1px;
  97. /* display: block; */
  98. text-decoration: none;
  99. }
  100. a.u-url{
  101. font-size:0.9em;
  102. }
  103. ul {
  104. padding-left: 0.5em;
  105. line-height: 1.5em;
  106. list-style-type: none;
  107. list-style-position: outside;
  108. }
  109. ul#nav {
  110. display: block;
  111. /*margin: 0 5%;
  112. padding: 0;*/
  113. padding-left: 5%;
  114. padding-top: 0.2%;
  115. padding-bottom: 0.2%;
  116. list-style-type: none;
  117. font-family: 'EB Garamond', Garamond, serif;
  118. font-size: 1.2em;
  119. }
  120. ul#nav li {
  121. display: inline; /* make flat */
  122. }
  123. ul#nav a {
  124. display: block;
  125. float: left;
  126. padding: 0 1em;
  127. text-decoration: none;
  128. color: #999;
  129. }
  130. hr {
  131. border: 0;
  132. background-color: #999;
  133. height: 1px;
  134. }
  135. blockquote {
  136. padding: 0 2em;
  137. }