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.

663 lines
12 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
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, 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. padding-bottom: 40px;
  70. text-align: center;
  71. position: relative;
  72. }
  73. .profile #avatar {
  74. display: inline-block;
  75. width: 80px;
  76. height: 80px;
  77. border-radius: 50%;
  78. margin-bottom: 20px;
  79. }
  80. .profile h1 {
  81. font-weight: 400;
  82. letter-spacing: 0px;
  83. font-size: 20px;
  84. color: #222;
  85. }
  86. .profile h2 {
  87. font-size: 20px;
  88. font-weight: 300;
  89. color: #aaa;
  90. margin-top: 10px;
  91. font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  92. font-style: normal;
  93. }
  94. nav.main-nav {
  95. padding: 20px 20px 0;
  96. /*max-width: 600px;*/
  97. /*width:100%;*/
  98. background: #fff;
  99. background: rgba(255,255,255,.90);
  100. margin: 0 auto;
  101. text-align: right;
  102. /*position: fixed;*/
  103. z-index: 100;
  104. }
  105. nav.main-nav a {
  106. top: 8px;
  107. right: 6px;
  108. padding: 8px 12px;
  109. color: #5badf0;
  110. font-size: 13px;
  111. /*font-weight: bold;*/
  112. line-height: 1.35;
  113. border-radius: 3px;
  114. }
  115. nav.main-nav a.cta {
  116. background: #5badf0;
  117. color: #fff;
  118. margin-left: 12px;
  119. }
  120. #wrapper {
  121. max-width: 600px;
  122. margin: 0 auto;
  123. padding: 60px 40px 100px 40px;
  124. }
  125. #wrapper.home {
  126. max-width: 600px;
  127. margin: 0 auto;
  128. padding: 0px 40px 20px 40px;
  129. }
  130. .home #avatar {
  131. float: right;
  132. width: 40px;
  133. height: 40px;
  134. border-radius: 50%;
  135. }
  136. /* Typography */
  137. /*Accent color*/
  138. a,
  139. #title,
  140. #post-list a:hover,
  141. #post-list li:hover .dates,
  142. #title:hover {
  143. text-decoration: none;
  144. color: #5badf0;
  145. color: #5694f1;
  146. }
  147. p a { color: #5694f1; }
  148. /*Transitions*/
  149. a,
  150. #post-nav a,
  151. #post-list a {
  152. -webkit-transition: all 0.15s ease;
  153. -moz-transition: all 0.15s ease;
  154. -ms-transition: all 0.15s ease;
  155. -o-transition: all 0.15s ease;
  156. transition: all 0.15s ease;
  157. }
  158. ul { margin:0; padding:0; margin-bottom: 20px; }
  159. li { list-style-type:circle; list-style-position:inside; }
  160. /* Line Height */
  161. #post-body, p { line-height:1.7; }
  162. b, strong { font-weight: 500;
  163. color: #1E2025; }
  164. em, i { font-style: italic; }
  165. #title {
  166. display: inline-block;
  167. line-height: 100%;
  168. font-weight: 500;
  169. font-size: 19px;
  170. margin: 0;
  171. padding-bottom: 20px;
  172. }
  173. .description {
  174. float: right;
  175. font: italic 14px/1.4em Georgia,serif;
  176. color: #aaa;
  177. }
  178. .home h1 {
  179. font-size: 30px;
  180. letter-spacing: -1px;
  181. color: #222;
  182. font-weight: bold;
  183. }
  184. .home h2 {
  185. font: italic 19px/1.3em Georgia,serif;
  186. color: #bbb;
  187. }
  188. .post header {
  189. text-align:center;
  190. }
  191. .post h1 {
  192. margin-bottom: 20px;
  193. color: #222;
  194. font: 300 32px/1.4em "Helvetica Neue", Helvetica,Arial,sans-serif;
  195. }
  196. .post h2 {
  197. margin-bottom: 40px;
  198. font: 300 24px/1.5 "Helvetica Neue",Helvetica,Arial,sans-serif;
  199. color: #111;
  200. }
  201. .post h2.headline {
  202. /*font: italic 22px/1.3em Georgia,serif;*/
  203. font: normal 13px/1.5em "Helvetica Neue",Helvetica,Arial,sans-serif;
  204. margin: -5px 0 40px 0;
  205. color: #b2b9be;
  206. font-size: 13px;
  207. text-transform: uppercase;
  208. letter-spacing: 2px;
  209. /*margin-top: 15px;*/
  210. display: inline-block;
  211. }
  212. #post-list h2 {
  213. font: normal 17px/1.5em "Helvetica Neue",Helvetica,Arial,sans-serif;
  214. color: #aaa;
  215. max-width: 400px;
  216. margin-top: 2px;
  217. }
  218. h3, h4, h5 { color:#333; }
  219. h3 { font-size:20px; font-weight: 400; }
  220. h4 { font-size:16px; font-weight:bold; }
  221. h5 { font-size:15px; font-weight: bold; }
  222. h6 {
  223. font-size: 13px;
  224. font-weight: bold;
  225. color: #666;
  226. margin-bottom: 6px;
  227. }
  228. p.small {
  229. color: #bbb;
  230. font-size: 14px;
  231. line-height: 1.5;
  232. display: block;
  233. text-align: center;
  234. margin-top: 20px;
  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. max-width: 100%;
  301. border-radius: 3px;
  302. }
  303. /* Made with Cactus Badge */
  304. #badge {
  305. position: absolute;
  306. bottom: 8px;
  307. right: 8px;
  308. height: 48px;
  309. width: 48px;
  310. }
  311. /*=========================================
  312. Post List
  313. =========================================== */
  314. #archive-list {
  315. margin-top: 100px;
  316. }
  317. #post-list {
  318. margin-bottom: 0;
  319. }
  320. #post-list li,#archive-list li {
  321. border-top: 1px solid #eee;
  322. padding-top: 20px;
  323. padding-bottom: 20px;
  324. list-style-type: none;
  325. margin-bottom: 0;
  326. }
  327. #post-list li:last-child {
  328. border-bottom: 1px solid #eee;
  329. }
  330. #post-list a {
  331. color: #333;
  332. display: block;
  333. font: bold 19px/1.7 "Helvetica Neue",helvetica,Arial,sans-serif;
  334. }
  335. #post-list .dates {
  336. float: right;
  337. position: relative;
  338. top: 1px;
  339. font: 300 17px/1.8 "Helvetica Neue",helvetica,Arial,sans-serif;
  340. color: #bbb;
  341. }
  342. #post-list-footer {
  343. border-top: 1px solid #eee;
  344. margin-top: 20px;
  345. padding-top: 100px;
  346. }
  347. #archive-link {
  348. display: inline-block;
  349. font-size: 13px;
  350. font-weight: bold;
  351. border-radius: 4px;
  352. padding: 3px 10px 6px;
  353. box-shadow: 0 0 0 1px hsla(207,83%,80%,1);
  354. }
  355. #archive-link:hover {
  356. background: #5694f1;
  357. color: #fff;
  358. box-shadow: 0 0 0 1px #5694f1;
  359. }
  360. #archive-link span {
  361. position: relative;
  362. top: 0;
  363. font-size: 17px;
  364. }
  365. #footer {
  366. padding: 40px 0 0 0;
  367. }
  368. /* Post Page */
  369. .post {
  370. margin: 80px 0 0 0;
  371. }
  372. #post-meta {
  373. font-size: 13px;
  374. font-weight: bold;
  375. line-height: 1.4;
  376. border-top: 1px solid #eee;
  377. padding-top: 40px;
  378. margin-bottom: 40px;
  379. padding-bottom: 40px;
  380. margin-top: 40px;
  381. color:#444;
  382. border-bottom: 1px solid #eee;
  383. }
  384. #post-meta div span {
  385. color: #aaa;
  386. font-weight: 500;
  387. display: block;
  388. }
  389. #post-meta div span.dark {
  390. color: #1E2025;
  391. }
  392. #post-meta div {
  393. margin: 0 25px 0 0;
  394. float: left;
  395. }
  396. #sharing {
  397. float: right;
  398. margin: -2px;
  399. }
  400. #sharing a {
  401. font-size: 20px;
  402. font-size: 23px;
  403. margin-left: 1px;
  404. margin-top: 4px;
  405. color: #d4d4d4;
  406. display: inline-block;
  407. vertical-align: middle;
  408. }
  409. #sharing a:hover {
  410. /*color: #444;*/
  411. opacity: 0.8;
  412. }
  413. /* Post Navigation */
  414. #post-nav {
  415. text-align:center;
  416. font-size:13px;
  417. font-weight:500;
  418. margin-top: 20px;
  419. }
  420. #post-nav span {
  421. -webkit-transition: all 0.1s linear;
  422. -moz-transition: all 0.1s linear;
  423. -ms-transition: all 0.1s linear;
  424. -o-transition: all 0.1s linear;
  425. transition: all 0.1s linear;
  426. position: relative;
  427. }
  428. #post-nav span.prev {
  429. float: left;
  430. }
  431. #post-nav span.next {
  432. float: right;
  433. }
  434. #post-nav span .arrow {
  435. position: relative;
  436. padding: 1px;
  437. }
  438. #post-nav span.prev:hover .arrow {
  439. left: -4px;
  440. }
  441. #post-nav span.next:hover .arrow {
  442. right: -4px;
  443. }
  444. #post-nav span.prev:hover {
  445. left: -3px;
  446. }
  447. #post-nav span.next:hover {
  448. right: -3px;
  449. }
  450. /* Archive */
  451. h1.archive {
  452. margin-bottom: 0px;
  453. }
  454. h2.month {
  455. width: 100%;
  456. font: bold 13px/1 "Helvetica Neue",helvetica,Arial,sans-serif;
  457. text-transform: uppercase;
  458. margin-top: 40px;
  459. margin-bottom: 10px;
  460. padding-bottom: 10px;
  461. border-bottom: 1px solid #eee;
  462. }
  463. #archive-list li:last-child {
  464. margin-bottom: 0;
  465. }
  466. #archive-list a {
  467. display: block;
  468. font: bold 17px/1.7 "Helvetica Neue",helvetica,Arial,sans-serif;
  469. color: #333;
  470. }
  471. #archive-list .dates {
  472. float: right;
  473. position: relative;
  474. top: 1px;
  475. font: 300 17px/1.7 "Helvetica Neue",helvetica,Arial,sans-serif;
  476. color: #bbb;
  477. }
  478. #archive-list li a:hover,#archive-list li:hover .dates {
  479. color: #5694f1;
  480. }
  481. #post-meta img.avatar {
  482. height: 36px;
  483. width: 36px;
  484. float: left;
  485. border-radius: 50%;
  486. margin-top: 3px;
  487. margin-right: 20px;
  488. box-shadow: 0 0 0 3px #fff, 0 0 0 4px #eee;
  489. }
  490. #post-list.archive.readmore h3{
  491. font: 400 20px "Helvetica Neue", Helvetica,Arial,sans-serif;
  492. margin-bottom: 30px;
  493. }
  494. #post-list.archive.readmore a{
  495. font: 400 16px/1.6 "Helvetica Neue",helvetica,Arial,sans-serif;
  496. color: #5694f1;
  497. }
  498. #post-list.archive.readmore a:hover{
  499. opacity: 0.8;
  500. }
  501. #post-list.archive.readmore .dates{
  502. font: 300 16px/1.6 "Helvetica Neue",helvetica,Arial,sans-serif;
  503. }
  504. #sharing a.facebook {
  505. background: #4361b3;
  506. }
  507. #sharing a.twitter {
  508. background: #4fafed;
  509. }
  510. #sharing a {
  511. font-size: 20px;
  512. font-size: 13px;
  513. font-weight: bold;
  514. color: #fff;
  515. padding: 6px 10px;
  516. border-radius: 4px;
  517. margin-left: 2px;
  518. }
  519. /* Media Queries */
  520. @media screen and (max-width: 540px) {
  521. #wrapper { padding:20px 20px 20px 20px;}
  522. .post { margin: 40px 0; }
  523. #post-list, #archive-list { margin-top: 0; }
  524. #post-meta { margin-top: 60px; }
  525. #title { font-size: 17px; }
  526. #post-list .dates { display: none; }
  527. #post-list-footer { margin-top: 20px; padding-top: 40px; }
  528. h1 { font-size: 26px; }
  529. .post h2.headline { font-size: 13px; }
  530. .post h1 { font-size:24px; }
  531. .post h2 { font-size:20px; }
  532. }
  533. /* CUSTOM ADDITIONS */
  534. #social {
  535. display: flex;
  536. flex-direction: row;
  537. justify-content: center;
  538. }
  539. a.symbol {
  540. color: #cdd4da;
  541. font-size: 2rem;
  542. text-decoration: none;
  543. margin-right: 0.3rem;
  544. }
  545. a.symbol:hover {
  546. color: #BCD4DA;
  547. }
  548. code {
  549. font-family:Menlo, Monaco, Courier;
  550. background-color:#EEE; font-size:14px;
  551. padding: 4px;
  552. font-weight: 600;
  553. }