A fork of hyde, the static site generation. Some patches will be pushed upstream.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

512 lines
9.0 KiB

  1. /*
  2. html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
  3. v1.6.1 2010-09-17 | Authors: Eric Meyer & Richard Clark
  4. html5doctor.com/html-5-reset-stylesheet/
  5. */
  6. html,
  7. body,
  8. div,
  9. span,
  10. object,
  11. iframe,
  12. h1,
  13. h2,
  14. h3,
  15. h4,
  16. h5,
  17. h6,
  18. p,
  19. blockquote,
  20. pre,
  21. abbr,
  22. address,
  23. cite,
  24. code,
  25. del,
  26. dfn,
  27. em,
  28. img,
  29. ins,
  30. kbd,
  31. q,
  32. samp,
  33. small,
  34. strong,
  35. sub,
  36. sup,
  37. var,
  38. b,
  39. i,
  40. dl,
  41. dt,
  42. dd,
  43. ol,
  44. ul,
  45. li,
  46. fieldset,
  47. form,
  48. label,
  49. legend,
  50. table,
  51. caption,
  52. tbody,
  53. tfoot,
  54. thead,
  55. tr,
  56. th,
  57. td,
  58. article,
  59. aside,
  60. canvas,
  61. details,
  62. figcaption,
  63. figure,
  64. footer,
  65. header,
  66. hgroup,
  67. menu,
  68. nav,
  69. section,
  70. summary,
  71. time,
  72. mark,
  73. audio,
  74. video {
  75. margin: 0;
  76. padding: 0;
  77. border: 0;
  78. outline: 0;
  79. font-size: 100%;
  80. vertical-align: baseline;
  81. background: transparent;
  82. }
  83. article,
  84. aside,
  85. details,
  86. figcaption,
  87. figure,
  88. footer,
  89. header,
  90. hgroup,
  91. menu,
  92. nav,
  93. section {
  94. display: block;
  95. }
  96. nav ul {
  97. list-style: none;
  98. }
  99. blockquote, q {
  100. quotes: none;
  101. }
  102. blockquote:before,
  103. blockquote:after,
  104. q:before,
  105. q:after {
  106. content: '';
  107. content: none;
  108. }
  109. a {
  110. margin: 0;
  111. padding: 0;
  112. font-size: 100%;
  113. vertical-align: baseline;
  114. background: transparent;
  115. }
  116. ins {
  117. background-color: #ff9;
  118. color: #000;
  119. text-decoration: none;
  120. }
  121. mark {
  122. background-color: #ff9;
  123. color: #000;
  124. font-style: italic;
  125. font-weight: bold;
  126. }
  127. del {
  128. text-decoration: line-through;
  129. }
  130. abbr[title], dfn[title] {
  131. border-bottom: 1px dotted;
  132. cursor: help;
  133. }
  134. /* tables still need cellspacing="0" in the markup */
  135. table {
  136. border-collapse: collapse;
  137. border-spacing: 0;
  138. }
  139. hr {
  140. display: block;
  141. height: 1px;
  142. border: 0;
  143. border-top: 1px solid #ccc;
  144. margin: 1em 0;
  145. padding: 0;
  146. }
  147. input, select {
  148. vertical-align: middle;
  149. }
  150. /* END RESET CSS */a img {
  151. border: none;
  152. }
  153. .clear {
  154. clear: both;
  155. }
  156. .clickable {
  157. cursor: pointer;
  158. }
  159. .nobullets {
  160. list-style-type: none;
  161. }
  162. /*
  163. * minimal base styles
  164. */
  165. /* headers (h1,h2,etc) have no default font-size or margin,
  166. you'll want to define those yourself. */
  167. h1,
  168. h2,
  169. h3,
  170. h4,
  171. h5,
  172. h6 {
  173. font-weight: bold;
  174. margin: 0;
  175. }
  176. /* always force a scrollbar in non-IE: */
  177. html {
  178. overflow-y: scroll;
  179. }
  180. /* accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
  181. a:hover, a:active {
  182. outline: none;
  183. }
  184. ol {
  185. list-style-type: decimal;
  186. }
  187. small {
  188. font-size: 85%;
  189. }
  190. strong, th {
  191. font-weight: bold;
  192. }
  193. td, td img {
  194. vertical-align: top;
  195. }
  196. /* set sub, sup without affecting line-height: gist.github.com/413930*/
  197. sub, sup {
  198. font-size: 75%;
  199. line-height: 0;
  200. position: relative;
  201. }
  202. sup {
  203. top: -0.5em;
  204. }
  205. sub {
  206. bottom: -0.25em;
  207. }
  208. textarea {
  209. overflow: auto;
  210. }
  211. /* www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */
  212. .ie6 legend, .ie7 legend {
  213. margin-left: -7px;
  214. }
  215. /* thnx ivannikolic! */
  216. /* align checkboxes, radios, text inputs with their label
  217. by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css */
  218. input[type="radio"] {
  219. vertical-align: text-bottom;
  220. }
  221. input[type="checkbox"] {
  222. vertical-align: bottom;
  223. }
  224. .ie7 input[type="checkbox"] {
  225. vertical-align: baseline;
  226. }
  227. .ie6 input {
  228. vertical-align: text-bottom;
  229. }
  230. /* hand cursor on clickable input elements */
  231. label,
  232. input[type="button"],
  233. input[type="submit"],
  234. input[type="image"],
  235. button {
  236. cursor: pointer;
  237. }
  238. /* webkit browsers add a 2px margin outside the chrome of form elements */
  239. button,
  240. input,
  241. select,
  242. textarea {
  243. margin: 0;
  244. }
  245. /* make buttons play nice in IE:
  246. www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
  247. button {
  248. width: auto;
  249. overflow: visible;
  250. }
  251. /* bicubic resizing for non-native sized IMG:
  252. code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
  253. .ie7 img {
  254. -ms-interpolation-mode: bicubic;
  255. }
  256. /*
  257. * Non-semantic helper classes
  258. */
  259. /* Hide for both screenreaders and browsers
  260. css-discuss.incutio.com/wiki/Screenreader_Visibility */
  261. .hidden {
  262. display: none;
  263. visibility: hidden;
  264. }
  265. /* Hide only visually, but have it available for screenreaders
  266. www.webaim.org/techniques/css/invisiblecontent/ & j.mp/visuallyhidden
  267. Updated to ensure no other style overrides the styles defined in this rule */
  268. .visuallyHidden {
  269. border: 0 !important;
  270. clip: rect(0 0 0 0);
  271. height: 1px !important;
  272. margin: -1px !important;
  273. overflow: hidden !important;
  274. padding: 0 !important;
  275. position: absolute !important;
  276. width: 1px !important;
  277. }
  278. /* Hide visually and from screenreaders, but maintain layout */
  279. .invisible {
  280. visibility: hidden;
  281. }
  282. /* >> The Magnificent CLEARFIX: Updated to prevent margin-collapsing on child elements << j.mp/bestclearfix */
  283. .clearfix:before, .clearfix:after {
  284. content: "\0020";
  285. display: block;
  286. height: 0;
  287. visibility: hidden;
  288. }
  289. .clearfix:after {
  290. clear: both;
  291. }
  292. /* fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */
  293. .clearfix {
  294. zoom: 1;
  295. }
  296. a {
  297. color: #497c55;
  298. text-decoration: none;
  299. text-shadow: 0px 1px 0px #fefdfd;
  300. }
  301. a:hover {
  302. color: #cd3b16;
  303. text-decoration: underline;
  304. text-shadow: 0px 1px -1px #fefdfd;
  305. }
  306. body {
  307. font-family: "ff-meta-web-pro-1", "ff-meta-web-pro-2", Helvetica, Arial, sans-serif;
  308. color: #132016;
  309. background-color: #fefdfd;
  310. }
  311. .subheading {
  312. font-family: "anivers-1", "anivers-2", Helvetica, Arial, sans-serif;
  313. font-size: 24px;
  314. font-weight: normal;
  315. color: #010202;
  316. }
  317. body {
  318. min-height: 1200px;
  319. }
  320. #container {
  321. width: 972px;
  322. margin: 0 auto 96px;
  323. background-color: #fefdfd;
  324. }
  325. #main {
  326. margin: 12px;
  327. }
  328. article {
  329. width: 612px;
  330. }
  331. h1,
  332. h2,
  333. h3,
  334. h4,
  335. h5,
  336. h6,
  337. p {
  338. margin-bottom: 24px;
  339. }
  340. ul, ol {
  341. padding-bottom: 12px;
  342. }
  343. li {
  344. margin-bottom: 12px;
  345. margin-left: 24px;
  346. }
  347. li ul, li ol {
  348. padding-top: 12px;
  349. padding-bottom: 0;
  350. }
  351. .heading {
  352. color: #d6d5d5;
  353. text-shadow: -1px -1px 0px #a4a3a3, 1px 1px 0px #ffffff;
  354. }
  355. body {
  356. font-size: 20px;
  357. line-height: 24px;
  358. font-weight: normal;
  359. }
  360. h1,
  361. h2,
  362. h3,
  363. h4,
  364. h5,
  365. h6 {
  366. font-family: "anivers-1", "anivers-2", Helvetica, Arial, sans-serif;
  367. }
  368. code, .highlight pre {
  369. font-family: menlo, monaco, courier;
  370. }
  371. code {
  372. color: rgba(0, 0, 0, 0.5);
  373. font-size: 80%;
  374. }
  375. .amp {
  376. font-family: Baskerville, Palatino, "Book Antiqua", serif;
  377. line-height: 75%;
  378. }
  379. .caps, .sc {
  380. font-family: "anivers-1", "anivers-2", Helvetica, Arial, sans-serif;
  381. }
  382. /* These selection declarations have to be separate.
  383. No text-shadow: twitter.com/miketaylr/status/12228805301
  384. Also: hot pink. */
  385. ::-moz-selection {
  386. background: #497c55;
  387. color: #fefdfd;
  388. text-shadow: none;
  389. }
  390. ::selection {
  391. background: #497c55;
  392. color: #fefdfd;
  393. text-shadow: none;
  394. }
  395. /* j.mp/webkit-tap-highlight-color */
  396. a:link {
  397. -webkit-tap-highlight-color: #497c55;
  398. }
  399. .nohover-button,
  400. .nohover-button:visited,
  401. .button,
  402. .button:visited {
  403. background: #497c55;
  404. padding: 5px 10px 6px;
  405. color: #fefdfd;
  406. text-decoration: none;
  407. -webkit-border-radius: 5px;
  408. -moz-border-radius: 5px;
  409. border-radius: 5px;
  410. -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  411. -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  412. -o-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  413. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  414. text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.5);
  415. border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  416. cursor: pointer;
  417. }
  418. .nohover-button:hover,
  419. .nohover-button:visited:hover,
  420. .button:hover,
  421. .button:visited:hover {
  422. background-color: #cd3b16;
  423. color: #d4ffe3;
  424. text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.5);
  425. text-decoration: none;
  426. }
  427. .nohover-button:active,
  428. .nohover-button:visited:active,
  429. .button:active,
  430. .button:visited:active {
  431. top: 1px;
  432. }
  433. .button, .button:visited {
  434. font-size: 13px;
  435. font-weight: bold;
  436. line-height: 1;
  437. text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.5);
  438. }
  439. .huge-button {
  440. font-size: 32px;
  441. }
  442. .buttonbar {
  443. text-align: right;
  444. margin: 3px 12px 8.399999999999999px 24px;
  445. padding: 0 0 24px 0;
  446. }
  447. h2 {
  448. font-size: 24px;
  449. color: #453f19;
  450. line-height: 24px;
  451. }
  452. header.banner {
  453. width: 100%;
  454. height: 144px;
  455. position: relative;
  456. margin-bottom: 48px;
  457. }
  458. header.banner img {
  459. display: block;
  460. float: left;
  461. }
  462. header.banner h1 {
  463. color: #d6d5d5;
  464. text-shadow: -1px -1px 0px #a4a3a3, 1px 1px 0px #ffffff;
  465. float: left;
  466. margin-left: 46px;
  467. font-size: 96px;
  468. line-height: 152px;
  469. margin-bottom: 0;
  470. }
  471. header.banner h3 {
  472. font-family: "anivers-1", "anivers-2", Helvetica, Arial, sans-serif;
  473. font-size: 24px;
  474. font-weight: normal;
  475. color: #010202;
  476. color: rgba(0, 0, 0, 0.5);
  477. position: absolute;
  478. bottom: 12px;
  479. font-size: 24px;
  480. left: 266px;
  481. margin: 0;
  482. text-shadow: -1px -1px 0px #a4a3a3, 1px 1px 0px #ffffff;
  483. }
  484. article {
  485. padding: 48px;
  486. -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  487. -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  488. -o-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  489. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  490. }
  491. article h1.title {
  492. color: #497c55;
  493. font-size: 36px;
  494. margin-bottom: 6px;
  495. }
  496. article h3.subtitle {
  497. color: #453f19;
  498. font-size: 18px;
  499. font-weight: normal;
  500. padding-left: 6px;
  501. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  502. margin-bottom: 21px;
  503. }
  504. .highlight pre {
  505. font-size: 11px;
  506. -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  507. -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  508. -o-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  509. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  510. padding: 18px 12px;
  511. }