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.

644 lines
11 KiB

10 years ago
10 years ago
  1. /* Reset */
  2. html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}
  3. *, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
  4. /* Clearfix */
  5. .clearfix:after {
  6. content: "";
  7. display: table;
  8. clear: both;
  9. }
  10. .hidden { display: none; }
  11. /* Icons */
  12. @font-face {
  13. font-family: 'icons';
  14. src: url('../fonts/icons.eot');
  15. src: url('../fonts/icons.eot#iefix') format('embedded-opentype'),
  16. url('../fonts/icons.woff') format('woff'),
  17. url('../fonts/icons.ttf') format('truetype'),
  18. url('../fonts/icons.svg#icons') format('svg');
  19. font-weight: normal;
  20. font-style: normal;
  21. }
  22. [class^="icon-"]:before, [class*=" icon-"]:before {
  23. font-family: "icons";
  24. font-style: normal;
  25. font-weight: normal;
  26. speak: none;
  27. display: inline-block;
  28. text-decoration: inherit;
  29. text-align: center;
  30. font-variant: normal;
  31. text-transform: none;
  32. line-height: 1em;
  33. }
  34. .icon-facebook:before { content: '\e802'; }
  35. .icon-facebook-squared:before { content: '\e800'; }
  36. .icon-twitter:before { content: '\e801'; }
  37. .icon-twitter-1:before { content: '\e804'; }
  38. .icon-facebook-circled:before { content: '\e805'; }
  39. .icon-twitter-circled:before { content: '\e806'; }
  40. .icon-facebook-rect:before { content: '\e803'; }
  41. /* Spacing */
  42. .post h1, h3, h4, h5, p, .post-body ul, #post-list li, pre {
  43. margin-bottom: 20px;
  44. }
  45. /* Base */
  46. html, body { height: 100%; }
  47. body {
  48. font:16px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  49. color: #666;
  50. -webkit-font-smoothing: antialiased;
  51. text-rendering: optimizeLegibility;
  52. }
  53. h1 {
  54. font-size: 30px;
  55. letter-spacing: -1px;
  56. color: #222;
  57. font-weight: bold;
  58. }
  59. h2 {
  60. font: italic 19px/1.3em Georgia,serif;
  61. color: #bbb;
  62. }
  63. .profile #wrapper {
  64. padding: 100px 40px 0px;
  65. max-width: 600px;
  66. margin: 0 auto;
  67. }
  68. .profile #header {
  69. border-bottom: 1px solid #eee;
  70. margin-bottom: 40px;
  71. padding-bottom: 40px;
  72. text-align: center;
  73. position: relative;
  74. }
  75. .profile #avatar {
  76. display: inline-block;
  77. width: 80px;
  78. height: 80px;
  79. border-radius: 50%;
  80. margin-bottom: 20px;
  81. }
  82. .profile h1 {
  83. font-weight: 400;
  84. letter-spacing: 0px;
  85. font-size: 20px;
  86. color: #222;
  87. }
  88. .profile h2 {
  89. font-size: 20px;
  90. font-weight: 300;
  91. color: #aaa;
  92. margin-top: 10px;
  93. font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  94. font-style: normal;
  95. }
  96. nav.main-nav {
  97. padding: 20px 20px 0;
  98. /*max-width: 600px;*/
  99. /*width:100%;*/
  100. background: #fff;
  101. background: rgba(255,255,255,.90);
  102. margin: 0 auto;
  103. text-align: right;
  104. /*position: fixed;*/
  105. z-index: 100;
  106. }
  107. nav.main-nav a {
  108. top: 8px;
  109. right: 6px;
  110. padding: 8px 12px;
  111. color: #5badf0;
  112. font-size: 13px;
  113. /*font-weight: bold;*/
  114. line-height: 1.35;
  115. border-radius: 3px;
  116. }
  117. nav.main-nav a.cta {
  118. background: #5badf0;
  119. color: #fff;
  120. margin-left: 12px;
  121. }
  122. #wrapper {
  123. max-width: 600px;
  124. margin: 0 auto;
  125. padding: 60px 40px 100px 40px;
  126. }
  127. #wrapper.home {
  128. max-width: 600px;
  129. margin: 0 auto;
  130. padding: 0px 40px 20px 40px;
  131. }
  132. .home #avatar {
  133. float: right;
  134. width: 40px;
  135. height: 40px;
  136. border-radius: 50%;
  137. }
  138. /* Typography */
  139. /*Accent color*/
  140. a,
  141. #title,
  142. #post-list a:hover,
  143. #post-list li:hover .dates,
  144. #title:hover {
  145. text-decoration: none;
  146. color: #5badf0;
  147. color: #5694f1;
  148. }
  149. p a { color: #5694f1; }
  150. /*Transitions*/
  151. a,
  152. #post-nav a,
  153. #post-list a {
  154. -webkit-transition: all 0.15s ease;
  155. -moz-transition: all 0.15s ease;
  156. -ms-transition: all 0.15s ease;
  157. -o-transition: all 0.15s ease;
  158. transition: all 0.15s ease;
  159. }
  160. ul { margin:0; padding:0; }
  161. li { list-style-type:circle; list-style-position:inside; }
  162. /* Line Height */
  163. #post-body, p { line-height:1.7; }
  164. b, strong { font-weight: 500;
  165. color: #1E2025; }
  166. em, i { font-style: italic; }
  167. #title {
  168. display: inline-block;
  169. line-height: 100%;
  170. font-weight: 500;
  171. font-size: 19px;
  172. margin: 0;
  173. padding-bottom: 20px;
  174. }
  175. .description {
  176. float: right;
  177. font: italic 14px/1.4em Georgia,serif;
  178. color: #aaa;
  179. }
  180. .home h1 {
  181. font-size: 30px;
  182. letter-spacing: -1px;
  183. color: #222;
  184. font-weight: bold;
  185. }
  186. .home h2 {
  187. font: italic 19px/1.3em Georgia,serif;
  188. color: #bbb;
  189. }
  190. .post header {
  191. text-align:center;
  192. }
  193. .post h1 {
  194. margin-bottom: 20px;
  195. color: #222;
  196. font: 300 32px/1.4em "Helvetica Neue", Helvetica,Arial,sans-serif;
  197. }
  198. .post h2 {
  199. margin-bottom: 40px;
  200. font: 300 24px/1.5 "Helvetica Neue",Helvetica,Arial,sans-serif;
  201. color: #111;
  202. }
  203. .post h2.headline {
  204. /*font: italic 22px/1.3em Georgia,serif;*/
  205. font: normal 13px/1.5em "Helvetica Neue",Helvetica,Arial,sans-serif;
  206. margin: -5px 0 40px 0;
  207. color: #b2b9be;
  208. font-size: 13px;
  209. text-transform: uppercase;
  210. letter-spacing: 2px;
  211. /*margin-top: 15px;*/
  212. display: inline-block;
  213. }
  214. #post-list h2 {
  215. font: normal 17px/1.5em "Helvetica Neue",Helvetica,Arial,sans-serif;
  216. color: #aaa;
  217. max-width: 400px;
  218. margin-top: 2px;
  219. }
  220. h3, h4, h5 { color:#333; }
  221. h3 { font-size:20px; font-weight: 400; }
  222. h4 { font-size:16px; font-weight:bold; }
  223. h5 { font-size:15px; font-weight: bold; }
  224. h6 {
  225. font-size: 13px;
  226. font-weight: bold;
  227. color: #666;
  228. margin-bottom: 6px;
  229. }
  230. p.small {
  231. color: #bbb;
  232. font-size: 14px;
  233. line-height: 1.5;
  234. display: block;
  235. }
  236. blockquote {
  237. padding-left: 15px;
  238. border-left: 3px solid #eee;
  239. }
  240. hr {
  241. display: block;
  242. border: none;
  243. height: 1px;
  244. margin: 40px auto;
  245. background: #eee;
  246. }
  247. span.code { font-family:Menlo, Monaco, Courier; background-color:#EEE; font-size:14px; }
  248. pre {
  249. font-family:Menlo, Monaco, Courier;
  250. white-space:pre-wrap;
  251. /*border: 1px solid #ddd;*/
  252. padding:20px;
  253. background-color:#fdfdfd;
  254. /*font-size:14px;*/
  255. overflow:auto;
  256. border-radius: 3px;
  257. background: #272b2d;
  258. font-family: 'Source Code Pro',Menlo,monospace;
  259. font-size: 13px;
  260. line-height: 1.5em;
  261. font-weight: 500;
  262. color: #d0d4d7;
  263. }
  264. table {
  265. width: 100%;
  266. margin: 40px 0;
  267. border-collapse: collapse;
  268. font-size: 13px;
  269. line-height: 1.5em;
  270. }
  271. th,td {
  272. text-align: left;
  273. padding-right: 20px;
  274. vertical-align: top;
  275. }
  276. table td,td {
  277. border-spacing: none;
  278. border-style: solid;
  279. padding: 10px 15px;
  280. border-width: 1px 0 0 0;
  281. }
  282. tr>td {
  283. border-top: 1px solid #eaeaea;
  284. }
  285. tr:nth-child(odd)>td {
  286. background: #fcfcfc;
  287. }
  288. thead th,th {
  289. text-align: left;
  290. padding: 10px 15px;
  291. height: 20px;
  292. font-size: 13px;
  293. font-weight: bold;
  294. color: #444;
  295. border-bottom: 1px solid #dadadc;
  296. cursor: default;
  297. white-space: nowrap;
  298. }
  299. img {
  300. width: 100%;
  301. max-width: 100%;
  302. border-radius: 3px;
  303. }
  304. /* Made with Cactus Badge */
  305. #badge {
  306. position: absolute;
  307. bottom: 8px;
  308. right: 8px;
  309. height: 48px;
  310. width: 48px;
  311. }
  312. /*=========================================
  313. Post List
  314. =========================================== */
  315. #post-list,#archive-list {
  316. margin-top: 100px;
  317. }
  318. #post-list li,#archive-list li {
  319. list-style-type: none;
  320. }
  321. #post-list li:last-child {
  322. margin-bottom: 0;
  323. }
  324. #post-list li+li {
  325. padding-top: 20px;
  326. border-top: 1px solid #eee;
  327. }
  328. #post-list a {
  329. color: #333;
  330. display: block;
  331. font: bold 19px/1.7 "Helvetica Neue",helvetica,Arial,sans-serif;
  332. }
  333. #post-list .dates {
  334. float: right;
  335. position: relative;
  336. top: 1px;
  337. font: 300 17px/1.8 "Helvetica Neue",helvetica,Arial,sans-serif;
  338. color: #bbb;
  339. }
  340. #post-list-footer {
  341. border-top: 1px solid #eee;
  342. margin-top: 20px;
  343. padding-top: 100px;
  344. }
  345. #archive-link {
  346. display: inline-block;
  347. font-size: 13px;
  348. font-weight: bold;
  349. border-radius: 4px;
  350. padding: 3px 10px 6px;
  351. box-shadow: 0 0 0 1px hsla(207,83%,80%,1);
  352. }
  353. #archive-link:hover {
  354. background: #5694f1;
  355. color: #fff;
  356. box-shadow: 0 0 0 1px #5694f1;
  357. }
  358. #archive-link span {
  359. position: relative;
  360. top: 0;
  361. font-size: 17px;
  362. }
  363. #footer {
  364. box-shadow: inset 0 1px 0 #eee;
  365. padding: 40px 0 0 0;
  366. margin-top: 100px;
  367. }
  368. /* Post Page */
  369. #header {
  370. border-bottom: 1px solid #eee;
  371. }
  372. .post {
  373. margin: 80px 0 0 0;
  374. }
  375. #post-meta {
  376. font-size: 13px;
  377. font-weight: bold;
  378. line-height: 1.4;
  379. border-top: 1px solid #eee;
  380. padding-top: 40px;
  381. margin-bottom: 40px;
  382. padding-bottom: 40px;
  383. margin-top: 40px;
  384. color:#444;
  385. border-bottom: 1px solid #eee;
  386. }
  387. #post-meta div span {
  388. color: #aaa;
  389. font-weight: 500;
  390. display: block;
  391. }
  392. #post-meta div span.dark {
  393. color: #1E2025;
  394. }
  395. #post-meta div {
  396. margin: 0 25px 0 0;
  397. float: left;
  398. }
  399. #sharing {
  400. float: right;
  401. margin: -2px;
  402. }
  403. #sharing a {
  404. font-size: 20px;
  405. font-size: 23px;
  406. margin-left: 1px;
  407. margin-top: 4px;
  408. color: #d4d4d4;
  409. display: inline-block;
  410. vertical-align: middle;
  411. }
  412. #sharing a:hover {
  413. /*color: #444;*/
  414. opacity: 0.8;
  415. }
  416. /* Post Navigation */
  417. #post-nav {
  418. border-top:1px solid #eee;
  419. text-align:center;
  420. padding-top:20px;
  421. font-size:13px;
  422. font-weight:500;
  423. margin-top: 40px;
  424. }
  425. #post-nav span {
  426. -webkit-transition: all 0.1s linear;
  427. -moz-transition: all 0.1s linear;
  428. -ms-transition: all 0.1s linear;
  429. -o-transition: all 0.1s linear;
  430. transition: all 0.1s linear;
  431. position: relative;
  432. }
  433. #post-nav span.prev {
  434. float: left;
  435. }
  436. #post-nav span.next {
  437. float: right;
  438. }
  439. #post-nav span .arrow {
  440. position: relative;
  441. padding: 1px;
  442. }
  443. #post-nav span.prev:hover .arrow {
  444. left: -4px;
  445. }
  446. #post-nav span.next:hover .arrow {
  447. right: -4px;
  448. }
  449. #post-nav span.prev:hover {
  450. left: -3px;
  451. }
  452. #post-nav span.next:hover {
  453. right: -3px;
  454. }
  455. /* Archive */
  456. h1.archive {
  457. margin-bottom: 0px;
  458. }
  459. h2.month {
  460. width: 100%;
  461. font: bold 13px/1 "Helvetica Neue",helvetica,Arial,sans-serif;
  462. text-transform: uppercase;
  463. margin-top: 40px;
  464. margin-bottom: 10px;
  465. padding-bottom: 10px;
  466. border-bottom: 1px solid #eee;
  467. }
  468. #archive-list li:last-child {
  469. margin-bottom: 0;
  470. }
  471. #archive-list a {
  472. display: block;
  473. font: bold 17px/1.7 "Helvetica Neue",helvetica,Arial,sans-serif;
  474. color: #333;
  475. }
  476. #archive-list .dates {
  477. float: right;
  478. position: relative;
  479. top: 1px;
  480. font: 300 17px/1.7 "Helvetica Neue",helvetica,Arial,sans-serif;
  481. color: #bbb;
  482. }
  483. #archive-list li a:hover,#archive-list li:hover .dates {
  484. color: #5694f1;
  485. }
  486. #post-meta img.avatar {
  487. height: 36px;
  488. width: 36px;
  489. float: left;
  490. border-radius: 50%;
  491. margin-top: 3px;
  492. margin-right: 20px;
  493. box-shadow: 0 0 0 3px #fff, 0 0 0 4px #eee;
  494. }
  495. #post-list.archive.readmore h3{
  496. font: 400 20px "Helvetica Neue", Helvetica,Arial,sans-serif;
  497. margin-bottom: 30px;
  498. }
  499. #post-list.archive.readmore a{
  500. font: 400 16px/1.6 "Helvetica Neue",helvetica,Arial,sans-serif;
  501. color: #5694f1;
  502. }
  503. #post-list.archive.readmore a:hover{
  504. opacity: 0.8;
  505. }
  506. #post-list.archive.readmore .dates{
  507. font: 300 16px/1.6 "Helvetica Neue",helvetica,Arial,sans-serif;
  508. }
  509. #sharing a.facebook {
  510. background: #4361b3;
  511. }
  512. #sharing a.twitter {
  513. background: #4fafed;
  514. }
  515. #sharing a {
  516. font-size: 20px;
  517. font-size: 13px;
  518. font-weight: bold;
  519. color: #fff;
  520. padding: 6px 10px;
  521. border-radius: 4px;
  522. margin-left: 2px;
  523. }
  524. /* Media Queries */
  525. @media screen and (max-width: 540px) {
  526. #wrapper { padding:20px 20px 20px 20px;}
  527. #header { margin-bottom: 60px; border-bottom: 1px solid #eee; }
  528. .post { margin: 40px 0; }
  529. #footer { margin-top: 60px; }
  530. #post-list, #archive-list { margin-top: 0; }
  531. #post-meta { margin-top: 60px; }
  532. #title { font-size: 17px; }
  533. #post-list .dates { display: none; }
  534. #post-list-footer { margin-top: 20px; padding-top: 40px; }
  535. h1 { font-size: 26px; }
  536. .post h2.headline { font-size: 13px; }
  537. .post h1 { font-size:24px; }
  538. .post h2 { font-size:20px; }
  539. }