main.002.css 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  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. h2 a {
  35. color: #339966 ! important;
  36. text-decoration: none;
  37. }
  38. h3 {
  39. font-size: 30pt;
  40. line-height: 30pt;
  41. margin: 30pt 0 14pt;
  42. }
  43. p {
  44. text-indent: 2em;
  45. line-height: 150%;
  46. }
  47. .gittip-widget {
  48. margin: 1em 2em;
  49. }
  50. blockquote {
  51. line-height: 150%;
  52. font-style: italic;
  53. margin: 24pt 0;
  54. padding: 0 0 0 12pt;
  55. border-left: 6pt solid black;
  56. }
  57. blockquote span {
  58. font-style: normal;
  59. }
  60. blockquote > p:nth-child(1) {
  61. text-indent: 0;
  62. }
  63. ul, ol {
  64. margin: 0;
  65. padding: 1em 0 1em 3.5em;
  66. }
  67. strong, b {
  68. color: #339966;
  69. font-weight: normal;
  70. font-style: italic;
  71. }
  72. .clear {
  73. clear: both;
  74. }
  75. /*****************************************************************************/
  76. /*
  77. /* Layout
  78. /*
  79. /*****************************************************************************/
  80. .header, .page, .homepage, .footer {
  81. max-width: 64pc;
  82. margin: 0 auto;
  83. padding: 0 2%;
  84. clear: both;
  85. }
  86. .header {
  87. background: #FFF;
  88. }
  89. .header h1 {
  90. margin: 0;
  91. float: left;
  92. }
  93. .header h1 a {
  94. display: inline-block;
  95. font: normal 24pt "League Gothic", sans-serif;
  96. text-decoration: none;
  97. color: black;
  98. padding-top: 9pt;
  99. }
  100. .header h1 a img {
  101. position: relative;
  102. top: 9pt;
  103. }
  104. .header h1 a span {
  105. }
  106. .header h1 a:hover {
  107. color: #339966;
  108. }
  109. .content {
  110. border: 6pt solid #000;
  111. border-style: solid none;
  112. padding: 36pt 0;
  113. clear: both;
  114. }
  115. .footer .contact {
  116. padding: 6pt 0;
  117. }
  118. .footer {
  119. font-size: 14pt;
  120. line-height: 14pt;
  121. }
  122. .nav {
  123. text-align: right;
  124. padding: 12pt 0;
  125. font: normal 24pt "League Gothic", sans-serif;
  126. }
  127. .nav li {
  128. display: inline-block;
  129. }
  130. .nav a {
  131. display: block;
  132. padding: 6pt 12pt;
  133. color: #000;
  134. border: 3pt solid #FFF;
  135. text-decoration: none;
  136. }
  137. .nav a.current {
  138. background: #EEE;
  139. }
  140. .nav a:hover {
  141. color: #339966;
  142. border-color: #339966;
  143. }
  144. /*****************************************************************************/
  145. /*
  146. /* Homepage
  147. /*
  148. /*****************************************************************************/
  149. .homepage {
  150. text-align: center;
  151. margin: 24pt auto;
  152. }
  153. .homepage .teaser {
  154. line-height: 150%;
  155. }
  156. .homepage .nav {
  157. text-align: center;
  158. }
  159. /*****************************************************************************/
  160. /*
  161. /* Pages
  162. /*
  163. /*****************************************************************************/
  164. .page {
  165. margin: 24pt auto;
  166. }
  167. .next-steps li {
  168. display: inline-block;
  169. list-style: none;
  170. }
  171. /*****************************************************************************/
  172. /*
  173. /* Directory
  174. /*
  175. /*****************************************************************************/
  176. .directory {
  177. margin: 0;
  178. padding: 0;
  179. }
  180. .directory li {
  181. list-style: none;
  182. float: left;
  183. width: 10pc;
  184. margin-right: 2pc;
  185. text-align: center;
  186. }
  187. .directory a {
  188. display: block;
  189. padding: 1pc;
  190. color: #000;
  191. text-decoration: none;
  192. border: 3pt solid #FFF;
  193. }
  194. .directory a:hover {
  195. border-color: #339966;
  196. }
  197. .directory a:hover .name {
  198. color: #339966;
  199. }
  200. .directory .logo {
  201. min-height: 8pc;
  202. vertical-align: center;
  203. position: relative;
  204. }
  205. .directory .logo img {
  206. width: 100%;
  207. /* http://coding.smashingmagazine.com/2013/08/09/absolute-horizontal-vertical-centering-css/ */
  208. position: absolute;
  209. top: 0;
  210. bottom: 0;
  211. left: 0;
  212. right: 0;
  213. margin: auto;
  214. }
  215. .directory span {
  216. display: block;
  217. }
  218. .directory .description {
  219. font-style: italic;
  220. font-size: 11pt;
  221. }
  222. /*****************************************************************************/
  223. /*
  224. /* Blog
  225. /*
  226. /*****************************************************************************/
  227. .blog-index {
  228. margin: 0;
  229. padding: 0;
  230. }
  231. .blog-index li {
  232. list-style: none;
  233. margin: 0 0 12pt;
  234. padding: 0;
  235. }
  236. .blog-index li span {
  237. color: #999;
  238. font-family: monospace;
  239. font-size: smaller;
  240. }
  241. .rss-link {
  242. margin: 12pt 0;
  243. padding: 0;
  244. font-size: smaller;
  245. }
  246. .blog .meta {
  247. color: #999;
  248. font-family: monospace;
  249. font-size: smaller;
  250. }
  251. /*****************************************************************************/
  252. /*
  253. /* Responsiveness
  254. /*
  255. /*****************************************************************************/
  256. @media (max-width: 950px) {
  257. .header h1 {
  258. float: none;
  259. text-align: center;
  260. }
  261. .nav {
  262. text-align: center;
  263. }
  264. }
  265. @media (max-width: 580px) {
  266. .nav li {
  267. float: none;
  268. width: 100%;
  269. }
  270. }