main.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. body {
  2. background: #e1edc1 url(bg.png) 0 0 repeat;
  3. color: #000;
  4. font-family: "Helvetica Neue", arial, sans-serif;
  5. line-height: 1.75em;
  6. font-size: 1em;
  7. margin: 0;
  8. }
  9. .iStretch {
  10. margin: 0 auto;
  11. min-width: 600px;
  12. max-width: 850px;
  13. width: 80%;
  14. }
  15. .highlight {
  16. background: #222;
  17. border: 5px solid #222;
  18. border-radius: 3px;
  19. }
  20. .column {
  21. line-height: 1.50em;
  22. }
  23. #navbar {
  24. line-height: 1.9em;
  25. position: fixed;
  26. background: transparent url(bg_top.png) 0 100% repeat-x;
  27. height: 40px;
  28. top: 0;
  29. left: 0;
  30. right: 0;
  31. color: #e1edc1;
  32. text-shadow: 0 1px 1px #000;
  33. }
  34. #navbar a, #credits a {
  35. color: #fff;
  36. text-decoration: none;
  37. }
  38. #navbar .iStretch div {
  39. float: right;
  40. padding: 0 15px;
  41. margin: 0 1px;
  42. height: 32px;
  43. text-align: center;
  44. }
  45. #navbar div:hover {
  46. background: #314016;
  47. }
  48. #navbar .iStretch div#current {
  49. float: left;
  50. background-color: #314016;
  51. }
  52. #topcontainer {
  53. padding-top: 25px;
  54. padding-bottom: 20px;
  55. height: 165px;
  56. border-left: 1px solid #fff;
  57. border-right: 1px solid #fff;
  58. background: #466807 url(logo.png) 50% 100% repeat-x;
  59. box-shadow: 0 0 25px #618224;
  60. -webkit-box-shadow: 0 0 25px #618224;
  61. -moz-box-shadow: 0 0 25px #618224;
  62. text-align: right;
  63. }
  64. #topcontainer ul{
  65. padding: 5px 20px;
  66. font-size: 0.9em;
  67. line-height: 1.75em;
  68. color: #fff;
  69. list-style: none;
  70. text-shadow: 0 1px 1px #000;
  71. }
  72. #contentcontainer {
  73. border: 1px solid #fff;
  74. background: #e1edc1 url(bg_content.png) 0 0 repeat;
  75. box-shadow: 0 0 25px #618224;
  76. -webkit-box-shadow: 0 0 25px #618224;
  77. -moz-box-shadow: 0 0 25px #618224;
  78. }
  79. .column {
  80. display: inline-block;
  81. width: 60%;
  82. padding-right: 2.9%;
  83. padding-left: 2%;
  84. font-size: 0.9em;
  85. vertical-align: top;
  86. }
  87. .newsitem h2 {
  88. font-size: 1.1em;
  89. }
  90. .column:last-child {
  91. border-left: 1px solid #fff;
  92. width: 28%;
  93. }
  94. #credits {
  95. bottom: 0;
  96. left: 0;
  97. right: 0;
  98. position: fixed;
  99. background: transparent url(bg_grass.png) 50% 0 repeat-x;
  100. height: 30px;
  101. padding-top: 45px;
  102. line-height: 1.2em;
  103. color: #e1edc1;
  104. text-shadow: 0 1px 1px #000;
  105. font-size: 0.7em;
  106. }
  107. /* Restyling default elements */
  108. .column a {
  109. background-color: #c1d29a;
  110. border: 1px solid transparent;
  111. border-radius: 4px;
  112. -moz-border-radius: 4px;
  113. -webkit-border-radius: 4px;
  114. padding: 0px 4px;
  115. line-height: 0;
  116. text-decoration: none;
  117. color: #000;
  118. }
  119. .column a:hover {
  120. background-color: #acbc85;
  121. }
  122. h2 {
  123. margin-bottom: 0;
  124. font-size: 1.8em;
  125. letter-spacing: -0.03em;
  126. text-shadow: 0 1px #fff;
  127. }
  128. h3 {
  129. margin-bottom: 0;
  130. font-size: 1.2em;
  131. text-shadow: 0 1px #fff;
  132. }
  133. .newsitem h2 {
  134. font-size: 1.2em;
  135. background-color: #314016;
  136. background-color: rgba(49,64,22,0.25);
  137. border-bottom: 2px solid #314016;
  138. line-height: 1em;
  139. letter-spacing: 0;
  140. text-shadow: none;
  141. }
  142. .newsitem h4 {
  143. font-size: 0.8em;
  144. margin: 0;
  145. line-height: 2em;
  146. margin-bottom: -0.5em;
  147. font-weight: normal;
  148. }
  149. p.introduction {
  150. line-height: 1.6em;
  151. font-weight: bold;
  152. }
  153. hr {
  154. border-top: 1px solid #547a1a;
  155. border-bottom: 1px solid #f1f5dd;
  156. }
  157. .hidden {
  158. color: #e1edc1;
  159. }
  160. /* Hacking it up for the iPod */
  161. @media handheld, only screen and (max-device-width: 480px) {
  162. body {}
  163. #navbar {background: transparent}
  164. #navbar a {background: transparent}
  165. #topcontainer ul {display: none}
  166. #credits {position: static; background: transparent}
  167. .iStretch {margin: auto 20px !important}
  168. }