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.

665 lines
12 KiB

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, #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. width: 100%;
  303. max-width: 100%;
  304. border-radius: 3px;
  305. }
  306. /* Made with Cactus Badge */
  307. #badge {
  308. position: absolute;
  309. bottom: 8px;
  310. right: 8px;
  311. height: 48px;
  312. width: 48px;
  313. }
  314. /*=========================================
  315. Post List
  316. =========================================== */
  317. #post-list,#archive-list {
  318. margin-top: 100px;
  319. }
  320. #post-list li,#archive-list li {
  321. list-style-type: none;
  322. }
  323. #post-list li:last-child {
  324. margin-bottom: 0;
  325. }
  326. #post-list li+li {
  327. padding-top: 20px;
  328. border-top: 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. box-shadow: inset 0 1px 0 #eee;
  367. padding: 40px 0 0 0;
  368. margin-top: 100px;
  369. }
  370. /* Post Page */
  371. #header {
  372. border-bottom: 1px solid #eee;
  373. }
  374. .post {
  375. margin: 80px 0 0 0;
  376. }
  377. #post-meta {
  378. font-size: 13px;
  379. font-weight: bold;
  380. line-height: 1.4;
  381. border-top: 1px solid #eee;
  382. padding-top: 40px;
  383. margin-bottom: 40px;
  384. padding-bottom: 40px;
  385. margin-top: 40px;
  386. color:#444;
  387. border-bottom: 1px solid #eee;
  388. }
  389. #post-meta div span {
  390. color: #aaa;
  391. font-weight: 500;
  392. display: block;
  393. }
  394. #post-meta div span.dark {
  395. color: #1E2025;
  396. }
  397. #post-meta div {
  398. margin: 0 25px 0 0;
  399. float: left;
  400. }
  401. #sharing {
  402. float: right;
  403. margin: -2px;
  404. }
  405. #sharing a {
  406. font-size: 20px;
  407. font-size: 23px;
  408. margin-left: 1px;
  409. margin-top: 4px;
  410. color: #d4d4d4;
  411. display: inline-block;
  412. vertical-align: middle;
  413. }
  414. #sharing a:hover {
  415. /*color: #444;*/
  416. opacity: 0.8;
  417. }
  418. /* Post Navigation */
  419. #post-nav {
  420. border-top:1px solid #eee;
  421. text-align:center;
  422. padding-top:20px;
  423. font-size:13px;
  424. font-weight:500;
  425. margin-top: 40px;
  426. }
  427. #post-nav span {
  428. -webkit-transition: all 0.1s linear;
  429. -moz-transition: all 0.1s linear;
  430. -ms-transition: all 0.1s linear;
  431. -o-transition: all 0.1s linear;
  432. transition: all 0.1s linear;
  433. position: relative;
  434. }
  435. #post-nav span.prev {
  436. float: left;
  437. }
  438. #post-nav span.next {
  439. float: right;
  440. }
  441. #post-nav span .arrow {
  442. position: relative;
  443. padding: 1px;
  444. }
  445. #post-nav span.prev:hover .arrow {
  446. left: -4px;
  447. }
  448. #post-nav span.next:hover .arrow {
  449. right: -4px;
  450. }
  451. #post-nav span.prev:hover {
  452. left: -3px;
  453. }
  454. #post-nav span.next:hover {
  455. right: -3px;
  456. }
  457. /* Archive */
  458. h1.archive {
  459. margin-bottom: 0px;
  460. }
  461. h2.month {
  462. width: 100%;
  463. font: bold 13px/1 "Helvetica Neue",helvetica,Arial,sans-serif;
  464. text-transform: uppercase;
  465. margin-top: 40px;
  466. margin-bottom: 10px;
  467. padding-bottom: 10px;
  468. border-bottom: 1px solid #eee;
  469. }
  470. #archive-list li:last-child {
  471. margin-bottom: 0;
  472. }
  473. #archive-list a {
  474. display: block;
  475. font: bold 17px/1.7 "Helvetica Neue",helvetica,Arial,sans-serif;
  476. color: #333;
  477. }
  478. #archive-list .dates {
  479. float: right;
  480. position: relative;
  481. top: 1px;
  482. font: 300 17px/1.7 "Helvetica Neue",helvetica,Arial,sans-serif;
  483. color: #bbb;
  484. }
  485. #archive-list li a:hover,#archive-list li:hover .dates {
  486. color: #5694f1;
  487. }
  488. #post-meta img.avatar {
  489. height: 36px;
  490. width: 36px;
  491. float: left;
  492. border-radius: 50%;
  493. margin-top: 3px;
  494. margin-right: 20px;
  495. box-shadow: 0 0 0 3px #fff, 0 0 0 4px #eee;
  496. }
  497. #post-list.archive.readmore h3{
  498. font: 400 20px "Helvetica Neue", Helvetica,Arial,sans-serif;
  499. margin-bottom: 30px;
  500. }
  501. #post-list.archive.readmore a{
  502. font: 400 16px/1.6 "Helvetica Neue",helvetica,Arial,sans-serif;
  503. color: #5694f1;
  504. }
  505. #post-list.archive.readmore a:hover{
  506. opacity: 0.8;
  507. }
  508. #post-list.archive.readmore .dates{
  509. font: 300 16px/1.6 "Helvetica Neue",helvetica,Arial,sans-serif;
  510. }
  511. #sharing a.facebook {
  512. background: #4361b3;
  513. }
  514. #sharing a.twitter {
  515. background: #4fafed;
  516. }
  517. #sharing a {
  518. font-size: 20px;
  519. font-size: 13px;
  520. font-weight: bold;
  521. color: #fff;
  522. padding: 6px 10px;
  523. border-radius: 4px;
  524. margin-left: 2px;
  525. }
  526. /* Media Queries */
  527. @media screen and (max-width: 540px) {
  528. #wrapper { padding:20px 20px 20px 20px;}
  529. #header { margin-bottom: 60px; border-bottom: 1px solid #eee; }
  530. .post { margin: 40px 0; }
  531. #footer { margin-top: 60px; }
  532. #post-list, #archive-list { margin-top: 0; }
  533. #post-meta { margin-top: 60px; }
  534. #title { font-size: 17px; }
  535. #post-list .dates { display: none; }
  536. #post-list-footer { margin-top: 20px; padding-top: 40px; }
  537. h1 { font-size: 26px; }
  538. .post h2.headline { font-size: 13px; }
  539. .post h1 { font-size:24px; }
  540. .post h2 { font-size:20px; }
  541. }
  542. /* CUSTOM ADDITIONS */
  543. #social {
  544. display: flex;
  545. flex-direction: row;
  546. justify-content: center;
  547. }
  548. a.symbol {
  549. color: #cdd4da;
  550. font-size: 2rem;
  551. text-decoration: none;
  552. margin-right: 0.3rem;
  553. }
  554. a.symbol:hover {
  555. color: #BCD4DA;
  556. }