main.005.css 5.2 KB

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