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.
 
 
 

479 lines
8.3 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 #ededed;
  300. }
  301. a:hover {
  302. color: #cd3b16;
  303. text-decoration: underline;
  304. text-shadow: 0px 1px -1px #ededed;
  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: #ededed;
  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: #ededed;
  324. }
  325. #main {
  326. margin: 12px;
  327. }
  328. article {
  329. width: 600.7416563658837px;
  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: #c5c5c5;
  353. text-shadow: -1px -1px 0px #939393, 1px 1px 0px #ffffff;
  354. }
  355. body {
  356. font-size: 20px;
  357. line-height: 24px;
  358. font-weight: normal;
  359. }
  360. .amp {
  361. font-family: Baskerville, Palatino, "Book Antiqua", serif;
  362. line-height: 75%;
  363. }
  364. .caps, .sc {
  365. font-family: "anivers-1", "anivers-2", Helvetica, Arial, sans-serif;
  366. }
  367. /* These selection declarations have to be separate.
  368. No text-shadow: twitter.com/miketaylr/status/12228805301
  369. Also: hot pink. */
  370. ::-moz-selection {
  371. background: #497c55;
  372. color: #ededed;
  373. text-shadow: none;
  374. }
  375. ::selection {
  376. background: #497c55;
  377. color: #ededed;
  378. text-shadow: none;
  379. }
  380. /* j.mp/webkit-tap-highlight-color */
  381. a:link {
  382. -webkit-tap-highlight-color: #497c55;
  383. }
  384. .nohover-button,
  385. .nohover-button:visited,
  386. .button,
  387. .button:visited {
  388. background: #497c55;
  389. padding: 5px 10px 6px;
  390. color: #ededed;
  391. text-decoration: none;
  392. -webkit-border-radius: 5px;
  393. -moz-border-radius: 5px;
  394. border-radius: 5px;
  395. -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  396. -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  397. -o-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  398. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  399. text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.5);
  400. border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  401. cursor: pointer;
  402. }
  403. .nohover-button:hover,
  404. .nohover-button:visited:hover,
  405. .button:hover,
  406. .button:visited:hover {
  407. background-color: #cd3b16;
  408. color: #d4ffe3;
  409. text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.5);
  410. text-decoration: none;
  411. }
  412. .nohover-button:active,
  413. .nohover-button:visited:active,
  414. .button:active,
  415. .button:visited:active {
  416. top: 1px;
  417. }
  418. .button, .button:visited {
  419. font-size: 13px;
  420. font-weight: bold;
  421. line-height: 1;
  422. text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.5);
  423. }
  424. .huge-button {
  425. font-size: 32px;
  426. }
  427. .buttonbar {
  428. text-align: right;
  429. margin: 3px 12px 8.399999999999999px 24px;
  430. padding: 0 0 24px 0;
  431. }
  432. h2 {
  433. font-size: 36px;
  434. color: #453f19;
  435. line-height: 48px;
  436. }
  437. header.banner {
  438. width: 100%;
  439. height: 144px;
  440. position: relative;
  441. margin-bottom: 48px;
  442. }
  443. header.banner img {
  444. display: block;
  445. float: left;
  446. }
  447. header.banner h1 {
  448. color: #c5c5c5;
  449. text-shadow: -1px -1px 0px #939393, 1px 1px 0px #ffffff;
  450. float: left;
  451. margin-left: 48px;
  452. font-size: 96px;
  453. line-height: 144px;
  454. margin-bottom: 0;
  455. }
  456. header.banner h3 {
  457. color: #453f19;
  458. position: absolute;
  459. bottom: 14px;
  460. left: 284px;
  461. margin: 0;
  462. }
  463. article {
  464. padding: 48px;
  465. -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  466. -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  467. -o-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  468. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  469. }
  470. .highlight pre {
  471. font-size: 12px;
  472. font-family: menlo, monaco, courier;
  473. -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  474. -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  475. -o-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  476. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  477. padding: 12px;
  478. }