main.css 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. /*****************************************************************************/
  2. /*
  3. /* Common
  4. /*
  5. /*****************************************************************************/
  6. /* Global Reset */
  7. * {
  8. margin: 0;
  9. padding: 0;
  10. }
  11. html, body { height: 100%; }
  12. body {
  13. font: 20pt Georgia, serif;
  14. background: #FFF;
  15. color: #000;
  16. }
  17. h1, h2, h3, h4, h5, h6 {
  18. font: normal 100% "League Gothic", sans-serif;
  19. color: #339966;
  20. }
  21. a { color: #339966; }
  22. a:hover { color: #8CD6B1; }
  23. a:visited { color: #999966; }
  24. h1 {
  25. font-size: 48pt;
  26. line-height: 48pt;
  27. margin: 48pt 0 18pt;
  28. }
  29. h2 {
  30. font-size: 36pt;
  31. line-height: 36pt;
  32. margin: 0 0 16pt;
  33. }
  34. h3 {
  35. font-size: 30pt;
  36. line-height: 30pt;
  37. margin: 30pt 0 14pt;
  38. }
  39. p {
  40. text-indent: 2em;
  41. line-height: 150%;
  42. }
  43. .gittip-widget {
  44. margin: 1em 2em;
  45. }
  46. blockquote {
  47. line-height: 150%;
  48. font-style: italic;
  49. margin: 24pt 0;
  50. }
  51. blockquote span {
  52. font-style: normal;
  53. }
  54. ul, ol {
  55. margin: 0;
  56. padding: 1em 0 1em 3.5em;
  57. }
  58. strong, b {
  59. color: #339966;
  60. font-weight: normal;
  61. font-style: italic;
  62. }
  63. .clear {
  64. clear: both;
  65. }
  66. /*****************************************************************************/
  67. /*
  68. /* Layout
  69. /*
  70. /*****************************************************************************/
  71. .header, .page, .homepage, .footer {
  72. max-width: 64pc;
  73. margin: 0 auto;
  74. padding: 0 2%;
  75. clear: both;
  76. }
  77. .header {
  78. background: #FFF;
  79. }
  80. .header h1 {
  81. margin: 0;
  82. float: left;
  83. }
  84. .header h1 a {
  85. display: inline-block;
  86. font: normal 24pt "League Gothic", sans-serif;
  87. text-decoration: none;
  88. color: black;
  89. padding-top: 9pt;
  90. }
  91. .header h1 a img {
  92. position: relative;
  93. top: 9pt;
  94. }
  95. .header h1 a span {
  96. }
  97. .header h1 a:hover {
  98. color: #339966;
  99. }
  100. .content {
  101. border: 6pt solid #000;
  102. border-style: solid none;
  103. padding: 36pt 0;
  104. clear: both;
  105. }
  106. .footer .contact {
  107. padding: 6pt 0;
  108. }
  109. .footer {
  110. font-size: 14pt;
  111. line-height: 14pt;
  112. }
  113. .nav {
  114. text-align: right;
  115. padding: 12pt 0;
  116. font: normal 24pt "League Gothic", sans-serif;
  117. }
  118. .nav li {
  119. display: inline-block;
  120. }
  121. .nav a {
  122. display: block;
  123. padding: 6pt 12pt;
  124. color: #000;
  125. border: 3pt solid #FFF;
  126. text-decoration: none;
  127. }
  128. .nav a.current {
  129. background: #EEE;
  130. }
  131. .nav a:hover {
  132. color: #339966;
  133. border-color: #339966;
  134. }
  135. /*****************************************************************************/
  136. /*
  137. /* Homepage
  138. /*
  139. /*****************************************************************************/
  140. .homepage {
  141. text-align: center;
  142. margin: 24pt auto;
  143. }
  144. .homepage .teaser {
  145. line-height: 150%;
  146. }
  147. .homepage .nav {
  148. text-align: center;
  149. }
  150. /*****************************************************************************/
  151. /*
  152. /* Pages
  153. /*
  154. /*****************************************************************************/
  155. .page {
  156. margin: 24pt auto;
  157. }
  158. .next-steps li {
  159. display: inline-block;
  160. list-style: none;
  161. }
  162. /*****************************************************************************/
  163. /*
  164. /* Directory
  165. /*
  166. /*****************************************************************************/
  167. .directory {
  168. margin: 0;
  169. padding: 0;
  170. }
  171. .directory li {
  172. list-style: none;
  173. float: left;
  174. width: 10pc;
  175. margin-right: 2pc;
  176. text-align: center;
  177. }
  178. .directory a {
  179. display: block;
  180. padding: 1pc;
  181. color: #000;
  182. text-decoration: none;
  183. border: 3pt solid #FFF;
  184. }
  185. .directory a:hover {
  186. border-color: #339966;
  187. }
  188. .directory a:hover .name {
  189. color: #339966;
  190. }
  191. .directory .logo {
  192. min-height: 8pc;
  193. vertical-align: center;
  194. position: relative;
  195. }
  196. .directory .logo img {
  197. width: 100%;
  198. /* http://coding.smashingmagazine.com/2013/08/09/absolute-horizontal-vertical-centering-css/ */
  199. position: absolute;
  200. top: 0;
  201. bottom: 0;
  202. left: 0;
  203. right: 0;
  204. margin: auto;
  205. }
  206. .directory span {
  207. display: block;
  208. }
  209. .directory .description {
  210. font-style: italic;
  211. font-size: 11pt;
  212. }
  213. /*****************************************************************************/
  214. /*
  215. /* Responsiveness
  216. /*
  217. /*****************************************************************************/
  218. @media (max-width: 880px) {
  219. .header h1 {
  220. float: none;
  221. text-align: center;
  222. }
  223. .nav {
  224. text-align: center;
  225. }
  226. }
  227. @media (max-width: 580px) {
  228. .nav li {
  229. float: none;
  230. width: 100%;
  231. }
  232. }