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.

672 lines
12 KiB

9 years ago
9 years ago
9 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. text-align: center;
  236. margin-top: 20px;
  237. }
  238. blockquote {
  239. padding-left: 15px;
  240. border-left: 3px solid #eee;
  241. }
  242. hr {
  243. display: block;
  244. border: none;
  245. height: 1px;
  246. margin: 40px auto;
  247. background: #eee;
  248. }
  249. span.code { font-family:Menlo, Monaco, Courier; background-color:#EEE; font-size:14px; }
  250. pre {
  251. font-family:Menlo, Monaco, Courier;
  252. white-space:pre-wrap;
  253. /*border: 1px solid #ddd;*/
  254. padding:20px;
  255. background-color:#fdfdfd;
  256. /*font-size:14px;*/
  257. overflow:auto;
  258. border-radius: 3px;
  259. background: #272b2d;
  260. font-family: 'Source Code Pro',Menlo,monospace;
  261. font-size: 13px;
  262. line-height: 1.5em;
  263. font-weight: 500;
  264. color: #d0d4d7;
  265. }
  266. table {
  267. width: 100%;
  268. margin: 40px 0;
  269. border-collapse: collapse;
  270. font-size: 13px;
  271. line-height: 1.5em;
  272. }
  273. th,td {
  274. text-align: left;
  275. padding-right: 20px;
  276. vertical-align: top;
  277. }
  278. table td,td {
  279. border-spacing: none;
  280. border-style: solid;
  281. padding: 10px 15px;
  282. border-width: 1px 0 0 0;
  283. }
  284. tr>td {
  285. border-top: 1px solid #eaeaea;
  286. }
  287. tr:nth-child(odd)>td {
  288. background: #fcfcfc;
  289. }
  290. thead th,th {
  291. text-align: left;
  292. padding: 10px 15px;
  293. height: 20px;
  294. font-size: 13px;
  295. font-weight: bold;
  296. color: #444;
  297. border-bottom: 1px solid #dadadc;
  298. cursor: default;
  299. white-space: nowrap;
  300. }
  301. img {
  302. max-width: 100%;
  303. border-radius: 3px;
  304. }
  305. /* Made with Cactus Badge */
  306. #badge {
  307. position: absolute;
  308. bottom: 8px;
  309. right: 8px;
  310. height: 48px;
  311. width: 48px;
  312. }
  313. /*=========================================
  314. Post List
  315. =========================================== */
  316. #post-list,#archive-list {
  317. margin-top: 100px;
  318. }
  319. #post-list li,#archive-list li {
  320. list-style-type: none;
  321. }
  322. #post-list li:last-child {
  323. margin-bottom: 0;
  324. }
  325. #post-list li+li {
  326. padding-top: 20px;
  327. border-top: 1px solid #eee;
  328. }
  329. #post-list a {
  330. color: #333;
  331. display: block;
  332. font: bold 19px/1.7 "Helvetica Neue",helvetica,Arial,sans-serif;
  333. }
  334. #post-list .dates {
  335. float: right;
  336. position: relative;
  337. top: 1px;
  338. font: 300 17px/1.8 "Helvetica Neue",helvetica,Arial,sans-serif;
  339. color: #bbb;
  340. }
  341. #post-list-footer {
  342. border-top: 1px solid #eee;
  343. margin-top: 20px;
  344. padding-top: 100px;
  345. }
  346. #archive-link {
  347. display: inline-block;
  348. font-size: 13px;
  349. font-weight: bold;
  350. border-radius: 4px;
  351. padding: 3px 10px 6px;
  352. box-shadow: 0 0 0 1px hsla(207,83%,80%,1);
  353. }
  354. #archive-link:hover {
  355. background: #5694f1;
  356. color: #fff;
  357. box-shadow: 0 0 0 1px #5694f1;
  358. }
  359. #archive-link span {
  360. position: relative;
  361. top: 0;
  362. font-size: 17px;
  363. }
  364. #footer {
  365. box-shadow: inset 0 1px 0 #eee;
  366. padding: 40px 0 0 0;
  367. margin-top: 100px;
  368. }
  369. /* Post Page */
  370. #header {
  371. border-bottom: 1px solid #eee;
  372. }
  373. .post {
  374. margin: 80px 0 0 0;
  375. }
  376. #post-meta {
  377. font-size: 13px;
  378. font-weight: bold;
  379. line-height: 1.4;
  380. border-top: 1px solid #eee;
  381. padding-top: 40px;
  382. margin-bottom: 40px;
  383. padding-bottom: 40px;
  384. margin-top: 40px;
  385. color:#444;
  386. border-bottom: 1px solid #eee;
  387. }
  388. #post-meta div span {
  389. color: #aaa;
  390. font-weight: 500;
  391. display: block;
  392. }
  393. #post-meta div span.dark {
  394. color: #1E2025;
  395. }
  396. #post-meta div {
  397. margin: 0 25px 0 0;
  398. float: left;
  399. }
  400. #sharing {
  401. float: right;
  402. margin: -2px;
  403. }
  404. #sharing a {
  405. font-size: 20px;
  406. font-size: 23px;
  407. margin-left: 1px;
  408. margin-top: 4px;
  409. color: #d4d4d4;
  410. display: inline-block;
  411. vertical-align: middle;
  412. }
  413. #sharing a:hover {
  414. /*color: #444;*/
  415. opacity: 0.8;
  416. }
  417. /* Post Navigation */
  418. #post-nav {
  419. border-top:1px solid #eee;
  420. text-align:center;
  421. padding-top:20px;
  422. font-size:13px;
  423. font-weight:500;
  424. margin-top: 40px;
  425. }
  426. #post-nav span {
  427. -webkit-transition: all 0.1s linear;
  428. -moz-transition: all 0.1s linear;
  429. -ms-transition: all 0.1s linear;
  430. -o-transition: all 0.1s linear;
  431. transition: all 0.1s linear;
  432. position: relative;
  433. }
  434. #post-nav span.prev {
  435. float: left;
  436. }
  437. #post-nav span.next {
  438. float: right;
  439. }
  440. #post-nav span .arrow {
  441. position: relative;
  442. padding: 1px;
  443. }
  444. #post-nav span.prev:hover .arrow {
  445. left: -4px;
  446. }
  447. #post-nav span.next:hover .arrow {
  448. right: -4px;
  449. }
  450. #post-nav span.prev:hover {
  451. left: -3px;
  452. }
  453. #post-nav span.next:hover {
  454. right: -3px;
  455. }
  456. /* Archive */
  457. h1.archive {
  458. margin-bottom: 0px;
  459. }
  460. h2.month {
  461. width: 100%;
  462. font: bold 13px/1 "Helvetica Neue",helvetica,Arial,sans-serif;
  463. text-transform: uppercase;
  464. margin-top: 40px;
  465. margin-bottom: 10px;
  466. padding-bottom: 10px;
  467. border-bottom: 1px solid #eee;
  468. }
  469. #archive-list li:last-child {
  470. margin-bottom: 0;
  471. }
  472. #archive-list a {
  473. display: block;
  474. font: bold 17px/1.7 "Helvetica Neue",helvetica,Arial,sans-serif;
  475. color: #333;
  476. }
  477. #archive-list .dates {
  478. float: right;
  479. position: relative;
  480. top: 1px;
  481. font: 300 17px/1.7 "Helvetica Neue",helvetica,Arial,sans-serif;
  482. color: #bbb;
  483. }
  484. #archive-list li a:hover,#archive-list li:hover .dates {
  485. color: #5694f1;
  486. }
  487. #post-meta img.avatar {
  488. height: 36px;
  489. width: 36px;
  490. float: left;
  491. border-radius: 50%;
  492. margin-top: 3px;
  493. margin-right: 20px;
  494. box-shadow: 0 0 0 3px #fff, 0 0 0 4px #eee;
  495. }
  496. #post-list.archive.readmore h3{
  497. font: 400 20px "Helvetica Neue", Helvetica,Arial,sans-serif;
  498. margin-bottom: 30px;
  499. }
  500. #post-list.archive.readmore a{
  501. font: 400 16px/1.6 "Helvetica Neue",helvetica,Arial,sans-serif;
  502. color: #5694f1;
  503. }
  504. #post-list.archive.readmore a:hover{
  505. opacity: 0.8;
  506. }
  507. #post-list.archive.readmore .dates{
  508. font: 300 16px/1.6 "Helvetica Neue",helvetica,Arial,sans-serif;
  509. }
  510. #sharing a.facebook {
  511. background: #4361b3;
  512. }
  513. #sharing a.twitter {
  514. background: #4fafed;
  515. }
  516. #sharing a {
  517. font-size: 20px;
  518. font-size: 13px;
  519. font-weight: bold;
  520. color: #fff;
  521. padding: 6px 10px;
  522. border-radius: 4px;
  523. margin-left: 2px;
  524. }
  525. /* Media Queries */
  526. @media screen and (max-width: 540px) {
  527. #wrapper { padding:20px 20px 20px 20px;}
  528. #header { margin-bottom: 60px; border-bottom: 1px solid #eee; }
  529. .post { margin: 40px 0; }
  530. #footer { margin-top: 60px; }
  531. #post-list, #archive-list { margin-top: 0; }
  532. #post-meta { margin-top: 60px; }
  533. #title { font-size: 17px; }
  534. #post-list .dates { display: none; }
  535. #post-list-footer { margin-top: 20px; padding-top: 40px; }
  536. h1 { font-size: 26px; }
  537. .post h2.headline { font-size: 13px; }
  538. .post h1 { font-size:24px; }
  539. .post h2 { font-size:20px; }
  540. }
  541. /* CUSTOM ADDITIONS */
  542. #social {
  543. display: flex;
  544. flex-direction: row;
  545. justify-content: center;
  546. }
  547. a.symbol {
  548. color: #cdd4da;
  549. font-size: 2rem;
  550. text-decoration: none;
  551. margin-right: 0.3rem;
  552. }
  553. a.symbol:hover {
  554. color: #BCD4DA;
  555. }
  556. code {
  557. font-family:Menlo, Monaco, Courier;
  558. background-color:#EEE; font-size:14px;
  559. padding: 4px;
  560. font-weight: 600;
  561. }