styles.css 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423
  1. @import url(https://fonts.googleapis.com/css?family=Arvo:400,700,400italic);
  2. /* MeyerWeb Reset */
  3. html, body, div, span, applet, object, iframe,
  4. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  5. a, abbr, acronym, address, big, cite, code,
  6. del, dfn, em, img, ins, kbd, q, s, samp,
  7. small, strike, strong, sub, sup, tt, var,
  8. b, u, i, center,
  9. dl, dt, dd, ol, ul, li,
  10. fieldset, form, label, legend,
  11. table, caption, tbody, tfoot, thead, tr, th, td,
  12. article, aside, canvas, details, embed,
  13. figure, figcaption, footer, header, hgroup,
  14. menu, nav, output, ruby, section, summary,
  15. time, mark, audio, video {
  16. margin: 0;
  17. padding: 0;
  18. border: 0;
  19. font: inherit;
  20. vertical-align: baseline;
  21. }
  22. /* Base text styles */
  23. body {
  24. padding:10px 50px 0 0;
  25. font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
  26. font-size: 14px;
  27. color: #232323;
  28. background-color: #FBFAF7;
  29. margin: 0;
  30. line-height: 1.8em;
  31. -webkit-font-smoothing: antialiased;
  32. }
  33. h1, h2, h3, h4, h5, h6 {
  34. color:#232323;
  35. margin:36px 0 10px;
  36. }
  37. p, ul, ol, table, dl {
  38. margin:0 0 22px;
  39. }
  40. h1, h2, h3 {
  41. font-family: Arvo, Monaco, serif;
  42. line-height:1.3;
  43. font-weight: normal;
  44. }
  45. h1,h2, h3 {
  46. display: block;
  47. border-bottom: 1px solid #ccc;
  48. padding-bottom: 5px;
  49. }
  50. h1 {
  51. font-size: 30px;
  52. }
  53. h2 {
  54. font-size: 24px;
  55. }
  56. h3 {
  57. font-size: 18px;
  58. }
  59. h4, h5, h6 {
  60. font-family: Arvo, Monaco, serif;
  61. font-weight: 700;
  62. }
  63. a {
  64. color:#C30000;
  65. font-weight:200;
  66. text-decoration:none;
  67. }
  68. a:hover {
  69. text-decoration: underline;
  70. }
  71. a small {
  72. font-size: 12px;
  73. }
  74. em {
  75. font-style: italic;
  76. }
  77. strong {
  78. font-weight:700;
  79. }
  80. ul {
  81. list-style-position: inside;
  82. list-style: disc;
  83. padding-left: 25px;
  84. }
  85. ol {
  86. list-style-position: inside;
  87. list-style: decimal;
  88. padding-left: 25px;
  89. }
  90. blockquote {
  91. margin: 0;
  92. padding: 0 0 0 20px;
  93. font-style: italic;
  94. }
  95. dl, dt, dd, dl p {
  96. font-color: #444;
  97. }
  98. dl dt {
  99. font-weight: bold;
  100. }
  101. dl dd {
  102. padding-left: 20px;
  103. font-style: italic;
  104. }
  105. dl p {
  106. padding-left: 20px;
  107. font-style: italic;
  108. }
  109. hr {
  110. border:0;
  111. background:#ccc;
  112. height:1px;
  113. margin:0 0 24px;
  114. }
  115. /* Images */
  116. img {
  117. position: relative;
  118. margin: 0 auto;
  119. max-width: 650px;
  120. padding: 5px;
  121. margin: 10px 0 32px 0;
  122. border: 1px solid #ccc;
  123. }
  124. p img {
  125. display: inline;
  126. margin: 0;
  127. padding: 0;
  128. vertical-align: middle;
  129. text-align: center;
  130. border: none;
  131. }
  132. /* Code blocks */
  133. code, pre {
  134. font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
  135. color:#000;
  136. font-size:14px;
  137. }
  138. pre {
  139. padding: 4px 12px;
  140. background: #FDFEFB;
  141. border-radius:4px;
  142. border:1px solid #D7D8C8;
  143. overflow: auto;
  144. overflow-y: hidden;
  145. margin-bottom: 32px;
  146. }
  147. /* Tables */
  148. table {
  149. width:100%;
  150. }
  151. table {
  152. border: 1px solid #ccc;
  153. margin-bottom: 32px;
  154. text-align: left;
  155. }
  156. th {
  157. font-family: 'Arvo', Helvetica, Arial, sans-serif;
  158. font-size: 18px;
  159. font-weight: normal;
  160. padding: 10px;
  161. background: #232323;
  162. color: #FDFEFB;
  163. }
  164. td {
  165. padding: 10px;
  166. background: #ccc;
  167. }
  168. /* Wrapper */
  169. .wrapper {
  170. width:960px;
  171. }
  172. /* Header */
  173. header {
  174. background-color: #171717;
  175. color: #FDFDFB;
  176. width:170px;
  177. float:left;
  178. position:fixed;
  179. border: 1px solid #000;
  180. -webkit-border-top-right-radius: 4px;
  181. -webkit-border-bottom-right-radius: 4px;
  182. -moz-border-radius-topright: 4px;
  183. -moz-border-radius-bottomright: 4px;
  184. border-top-right-radius: 4px;
  185. border-bottom-right-radius: 4px;
  186. padding: 34px 25px 22px 50px;
  187. margin: 30px 25px 0 0;
  188. -webkit-font-smoothing: antialiased;
  189. }
  190. p.header {
  191. font-size: 16px;
  192. }
  193. h1.header {
  194. font-family: Arvo, sans-serif;
  195. font-size: 30px;
  196. font-weight: 300;
  197. line-height: 1.3em;
  198. border-bottom: none;
  199. margin-top: 0;
  200. }
  201. h1.header, a.header, a.name, header a{
  202. color: #fff;
  203. }
  204. a.header {
  205. text-decoration: underline;
  206. }
  207. a.name {
  208. white-space: nowrap;
  209. }
  210. header ul {
  211. list-style:none;
  212. padding:0;
  213. }
  214. header li {
  215. list-style-type: none;
  216. width:132px;
  217. height:15px;
  218. margin-bottom: 12px;
  219. line-height: 1em;
  220. padding: 6px 6px 6px 7px;
  221. background: #AF0011;
  222. background: -moz-linear-gradient(top, #AF0011 0%, #820011 100%);
  223. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#dddddd));
  224. background: -webkit-linear-gradient(top, #AF0011 0%,#820011 100%);
  225. background: -o-linear-gradient(top, #AF0011 0%,#820011 100%);
  226. background: -ms-linear-gradient(top, #AF0011 0%,#820011 100%);
  227. background: linear-gradient(top, #AF0011 0%,#820011 100%);
  228. border-radius:4px;
  229. border:1px solid #0D0D0D;
  230. -webkit-box-shadow: inset 0px 1px 1px 0 rgba(233,2,38, 1);
  231. box-shadow: inset 0px 1px 1px 0 rgba(233,2,38, 1);
  232. }
  233. header li:hover {
  234. background: #C3001D;
  235. background: -moz-linear-gradient(top, #C3001D 0%, #950119 100%);
  236. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#dddddd));
  237. background: -webkit-linear-gradient(top, #C3001D 0%,#950119 100%);
  238. background: -o-linear-gradient(top, #C3001D 0%,#950119 100%);
  239. background: -ms-linear-gradient(top, #C3001D 0%,#950119 100%);
  240. background: linear-gradient(top, #C3001D 0%,#950119 100%);
  241. }
  242. a.buttons {
  243. -webkit-font-smoothing: antialiased;
  244. background: url(../images/arrow-down.png) no-repeat;
  245. font-weight: normal;
  246. text-shadow: rgba(0, 0, 0, 0.4) 0 -1px 0;
  247. padding: 2px 2px 2px 22px;
  248. height: 30px;
  249. }
  250. a.github {
  251. background: url(../images/octocat-small.png) no-repeat 1px;
  252. }
  253. a.buttons:hover {
  254. color: #fff;
  255. text-decoration: none;
  256. }
  257. /* Section - for main page content */
  258. section {
  259. width:650px;
  260. float:right;
  261. padding-bottom:50px;
  262. }
  263. /* Footer */
  264. footer {
  265. width:170px;
  266. float:left;
  267. position:fixed;
  268. bottom:10px;
  269. padding-left: 50px;
  270. }
  271. @media print, screen and (max-width: 960px) {
  272. div.wrapper {
  273. width:auto;
  274. margin:0;
  275. }
  276. header, section, footer {
  277. float:none;
  278. position:static;
  279. width:auto;
  280. }
  281. footer {
  282. border-top: 1px solid #ccc;
  283. margin:0 84px 0 50px;
  284. padding:0;
  285. }
  286. header {
  287. padding-right:320px;
  288. }
  289. section {
  290. padding:20px 84px 20px 50px;
  291. margin:0 0 20px;
  292. }
  293. header a small {
  294. display:inline;
  295. }
  296. header ul {
  297. position:absolute;
  298. right:130px;
  299. top:84px;
  300. }
  301. }
  302. @media print, screen and (max-width: 720px) {
  303. body {
  304. word-wrap:break-word;
  305. }
  306. header {
  307. padding:10px 20px 0;
  308. margin-right: 0;
  309. }
  310. section {
  311. padding:10px 0 10px 20px;
  312. margin:0 0 30px;
  313. }
  314. footer {
  315. margin: 0 0 0 30px;
  316. }
  317. header ul, header p.view {
  318. position:static;
  319. }
  320. }
  321. @media print, screen and (max-width: 480px) {
  322. header ul li.download {
  323. display:none;
  324. }
  325. footer {
  326. margin: 0 0 0 20px;
  327. }
  328. footer a{
  329. display:block;
  330. }
  331. }
  332. @media print {
  333. body {
  334. padding:0.4in;
  335. font-size:12pt;
  336. color:#444;
  337. }
  338. }