main.008.css 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  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. .gratipay-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 {
  118. font-size: 14pt;
  119. line-height: 14pt;
  120. }
  121. .footer .language {
  122. float: left;
  123. }
  124. .footer .language a {
  125. font: normal 24pt "League Gothic", sans-serif;
  126. }
  127. .nav {
  128. text-align: right;
  129. padding: 12pt 0;
  130. font: normal 24pt "League Gothic", sans-serif;
  131. }
  132. .nav li {
  133. display: inline-block;
  134. }
  135. .nav a {
  136. display: block;
  137. padding: 6pt 12pt;
  138. color: #000;
  139. border: 3pt solid #FFF;
  140. text-decoration: none;
  141. }
  142. .nav a.current {
  143. background: #EEE;
  144. }
  145. .nav a:hover {
  146. color: #339966;
  147. border-color: #339966;
  148. }
  149. /*****************************************************************************/
  150. /*
  151. /* Homepage
  152. /*
  153. /*****************************************************************************/
  154. .homepage {
  155. text-align: center;
  156. margin: 24pt auto;
  157. }
  158. .homepage .teaser {
  159. line-height: 150%;
  160. }
  161. .homepage .nav {
  162. text-align: center;
  163. }
  164. /*****************************************************************************/
  165. /*
  166. /* Pages
  167. /*
  168. /*****************************************************************************/
  169. .page {
  170. margin: 24pt auto;
  171. }
  172. .next-steps li {
  173. display: inline-block;
  174. list-style: none;
  175. }
  176. /*****************************************************************************/
  177. /*
  178. /* Directory
  179. /*
  180. /*****************************************************************************/
  181. .directory {
  182. margin: 0;
  183. padding: 0;
  184. }
  185. .directory li {
  186. list-style: none;
  187. float: left;
  188. width: 10pc;
  189. height: 23pc;
  190. margin-right: 2pc;
  191. text-align: center;
  192. }
  193. .directory a {
  194. display: block;
  195. padding: 1pc;
  196. color: #000;
  197. text-decoration: none;
  198. border: 3pt solid #FFF;
  199. }
  200. .directory a:hover {
  201. border-color: #339966;
  202. }
  203. .directory a:hover .name {
  204. color: #339966;
  205. }
  206. .directory .logo {
  207. min-height: 8pc;
  208. vertical-align: center;
  209. position: relative;
  210. }
  211. .directory .logo img {
  212. width: 100%;
  213. /* http://coding.smashingmagazine.com/2013/08/09/absolute-horizontal-vertical-centering-css/ */
  214. position: absolute;
  215. top: 0;
  216. bottom: 0;
  217. left: 0;
  218. right: 0;
  219. margin: auto;
  220. }
  221. .directory span {
  222. display: block;
  223. }
  224. .directory .description {
  225. font-style: italic;
  226. font-size: 11pt;
  227. }
  228. /*****************************************************************************/
  229. /*
  230. /* Blog
  231. /*
  232. /*****************************************************************************/
  233. .blog-index {
  234. margin: 0;
  235. padding: 0;
  236. }
  237. .blog-index li {
  238. list-style: none;
  239. margin: 0 0 12pt;
  240. padding: 0;
  241. }
  242. .blog-index li span {
  243. color: #999;
  244. font-family: monospace;
  245. font-size: smaller;
  246. }
  247. .rss-link {
  248. margin: 12pt 0;
  249. padding: 0;
  250. font-size: smaller;
  251. }
  252. .blog .meta {
  253. color: #999;
  254. font-family: monospace;
  255. font-size: smaller;
  256. margin: 24pt 0;
  257. }
  258. .blog .feed-back {
  259. text-align: right;
  260. font-style: italic;
  261. margin: 36pt 0 0;
  262. padding: 0;
  263. text-indent: 0;
  264. }
  265. /*****************************************************************************/
  266. /*
  267. /* Responsiveness
  268. /*
  269. /*****************************************************************************/
  270. @media (max-width: 950px) {
  271. .header h1 {
  272. float: none;
  273. text-align: center;
  274. }
  275. .nav {
  276. text-align: center;
  277. }
  278. .footer .language {
  279. float: none;
  280. text-align: center;
  281. }
  282. }
  283. @media (max-width: 580px) {
  284. .nav li {
  285. width: 100%;
  286. }
  287. .nav.language li {
  288. width: auto;
  289. }
  290. }