Build a beautiful and simple website in literally minutes. Demo at http://deanattali.com/beautiful-jekyll
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.

583 lines
11 KiB

9 years ago
9 years ago
9 years ago
9 years ago
8 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
8 years ago
8 years ago
8 years ago
9 years ago
8 years ago
9 years ago
8 years ago
9 years ago
8 years ago
9 years ago
8 years ago
9 years ago
8 years ago
9 years ago
8 years ago
9 years ago
8 years ago
9 years ago
8 years ago
9 years ago
8 years ago
9 years ago
8 years ago
9 years ago
8 years ago
9 years ago
8 years ago
9 years ago
8 years ago
9 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
7 years ago
  1. @import url("pygment_highlights.css");
  2. /* --- General --- */
  3. body {
  4. font-family: 'Lora', 'Times New Roman', serif;
  5. font-size: 18px;
  6. color: #404040;
  7. position: relative;
  8. background: #FFF;
  9. }
  10. p {
  11. line-height: 1.5;
  12. margin: 30px 0;
  13. }
  14. p a {
  15. /* text-decoration: underline */
  16. color: #008AFF;
  17. }
  18. h1,h2,h3,h4,h5,h6 {
  19. font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  20. font-weight: 800;
  21. }
  22. a {
  23. color: #008AFF;
  24. }
  25. a:hover,
  26. a:focus {
  27. color: #0085a1;
  28. }
  29. blockquote {
  30. color: #808080;
  31. font-style: italic;
  32. }
  33. hr.small {
  34. max-width: 100px;
  35. margin: 15px auto;
  36. border-width: 4px;
  37. border-color: inherit;
  38. border-radius: 3px;
  39. }
  40. .main-content {
  41. padding-top: 80px;
  42. }
  43. @media only screen and (min-width: 768px) {
  44. .main-content {
  45. padding-top: 130px;
  46. }
  47. }
  48. .main-explain-area {
  49. font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  50. padding: 15px inherit;
  51. }
  52. .get-started-wrap {
  53. text-align: center;
  54. }
  55. .get-started-btn {
  56. padding: 15px 30px;
  57. font-size: 26px;
  58. margin-top: 10px;
  59. }
  60. .hideme {
  61. display: none;
  62. }
  63. ::-moz-selection {
  64. color: white;
  65. text-shadow: none;
  66. background: #0085a1;
  67. }
  68. ::selection {
  69. color: white;
  70. text-shadow: none;
  71. background: #0085a1;
  72. }
  73. img::selection {
  74. color: white;
  75. background: transparent;
  76. }
  77. img::-moz-selection {
  78. color: white;
  79. background: transparent;
  80. }
  81. #paypalbtn {
  82. text-align: center;
  83. }
  84. #paypalbtn a {
  85. text-decoration: none;
  86. font-size: 1.2em;
  87. font-family: arial;
  88. }
  89. /* --- Navbar --- */
  90. .navbar-custom {
  91. background: #F5F5F5;
  92. border-bottom: 1px solid #EAEAEA;
  93. font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  94. }
  95. .navbar-custom .nav li a {
  96. text-transform: uppercase;
  97. font-size: 12px;
  98. letter-spacing: 1px;
  99. }
  100. .navbar-custom .navbar-brand,
  101. .navbar-custom .nav li a {
  102. font-weight: 800;
  103. color: #404040;
  104. }
  105. .navbar-custom .navbar-brand:hover,
  106. .navbar-custom .navbar-brand:focus ,
  107. .navbar-custom .nav li a:hover,
  108. .navbar-custom .nav li a:focus {
  109. color: #0085a1;
  110. }
  111. @media only screen and (min-width: 768px) {
  112. .navbar-custom {
  113. padding: 20px 0;
  114. -webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
  115. -moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
  116. transition: background .5s ease-in-out,padding .5s ease-in-out;
  117. }
  118. .navbar-custom.top-nav-short {
  119. padding: 0;
  120. }
  121. }
  122. .navbar-custom .avatar-container {
  123. opacity: 1;
  124. position: absolute;
  125. -webkit-transition: opacity 0.5s ease-in-out;
  126. -moz-transition: opacity 0.5s ease-in-out;
  127. transition: opacity 0.5s ease-in-out;
  128. left: 50%;
  129. width: 50px;
  130. margin-top: -25px;
  131. }
  132. .navbar-custom .avatar-container .avatar-img-border {
  133. width: 100%;
  134. border-radius: 50%;
  135. margin-left: -50%;
  136. display: inline-block;
  137. box-shadow: 0 0 8px rgba(0, 0, 0, .8);
  138. -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .8);
  139. -moz-box-shadow: 0 0 8px rgba(0, 0, 0, .8);
  140. }
  141. .navbar-custom .avatar-container .avatar-img {
  142. width: 100%;
  143. border-radius: 50%;
  144. display: block;
  145. }
  146. .navbar-custom.top-nav-short .avatar-container{
  147. opacity: 0;
  148. }
  149. .navbar-custom.top-nav-expanded .avatar-container {
  150. display: none;
  151. }
  152. @media only screen and (min-width: 768px) {
  153. .navbar-custom .avatar-container {
  154. width: 100px;
  155. margin-top: -50px;
  156. }
  157. .navbar-custom .avatar-container .avatar-img-border {
  158. width: 100%;
  159. box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
  160. -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
  161. -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
  162. }
  163. .navbar-custom .avatar-container .avatar-img {
  164. width: 100%;
  165. }
  166. }
  167. /* Multi-level navigation links */
  168. .navbar-custom .nav .navlinks-container {
  169. position: relative;
  170. }
  171. .navbar-custom .nav .navlinks-parent:after {
  172. content: " \25BC";
  173. }
  174. .navbar-custom .nav .navlinks-children {
  175. width: 100%;
  176. display: none;
  177. word-break: break-word;
  178. }
  179. .navbar-custom .nav .navlinks-container .navlinks-children a {
  180. display: block;
  181. padding: 10px;
  182. padding-left: 30px;
  183. background: #f5f5f5;
  184. text-decoration: none !important;
  185. border-width: 0 1px 1px 1px;
  186. font-weight: normal;
  187. }
  188. @media only screen and (max-width: 767px) {
  189. .navbar-custom .nav .navlinks-container.show-children {
  190. background: #eee;
  191. }
  192. .navbar-custom .nav .navlinks-container.show-children .navlinks-children {
  193. display: block;
  194. }
  195. }
  196. @media only screen and (min-width: 768px) {
  197. .navbar-custom .nav .navlinks-container {
  198. text-align: center;
  199. }
  200. .navbar-custom .nav .navlinks-container:hover {
  201. background: #eee;
  202. }
  203. .navbar-custom .nav .navlinks-container:hover .navlinks-children {
  204. display: block;
  205. }
  206. .navbar-custom .nav .navlinks-children {
  207. position: absolute;
  208. }
  209. .navbar-custom .nav .navlinks-container .navlinks-children a {
  210. padding-left: 10px;
  211. border: 1px solid #eaeaea;
  212. border-width: 0 1px 1px;
  213. }
  214. }
  215. /* --- Footer --- */
  216. footer {
  217. padding: 30px 0;
  218. background: #F5F5F5;
  219. border-top: 1px #EAEAEA solid;
  220. margin-top: 50px;
  221. font-size: 14px;
  222. }
  223. footer a {
  224. color: #404040;
  225. }
  226. footer .list-inline {
  227. margin: 0;
  228. padding: 0;
  229. }
  230. footer .copyright {
  231. font-family: Open Sans;
  232. text-align: center;
  233. margin-bottom: 0;
  234. }
  235. footer .theme-by {
  236. text-align: center;
  237. margin: 10px 0 0;
  238. }
  239. @media only screen and (min-width: 768px) {
  240. footer {
  241. padding: 50px 0;
  242. }
  243. footer .footer-links {
  244. font-size: 18px;
  245. }
  246. footer .copyright {
  247. font-size: 16px;
  248. }
  249. }
  250. /* --- Post preview --- */
  251. .post-preview {
  252. padding: 20px 0;
  253. border-bottom: 1px solid #eee;
  254. }
  255. @media only screen and (min-width: 768px) {
  256. .post-preview {
  257. padding: 35px 0;
  258. }
  259. }
  260. .post-preview:last-child {
  261. border-bottom: 0;
  262. }
  263. .post-preview a {
  264. text-decoration: none;
  265. color: #404040;
  266. }
  267. .post-preview a:focus,
  268. .post-preview a:hover {
  269. text-decoration: none;
  270. color: #0085a1;
  271. }
  272. .post-preview .post-title {
  273. font-size: 30px;
  274. margin-top: 0;
  275. }
  276. .post-preview .post-subtitle {
  277. margin: 0;
  278. font-weight: 300;
  279. margin-bottom: 10px;
  280. }
  281. .post-preview .post-meta,
  282. .post-heading .post-meta {
  283. color: #808080;
  284. font-size: 18px;
  285. font-style: italic;
  286. margin: 0 0 10px;
  287. }
  288. .post-preview .post-entry {
  289. font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  290. }
  291. .post-preview .post-read-more {
  292. font-weight: 800;
  293. }
  294. @media only screen and (min-width: 768px) {
  295. .post-preview .post-title {
  296. font-size: 36px;
  297. }
  298. }
  299. /* --- Post and page headers --- */
  300. .intro-header {
  301. margin: 80px 0 20px;
  302. position: relative;
  303. }
  304. .intro-header.big-img {
  305. background: no-repeat center center;
  306. -webkit-background-size: cover;
  307. -moz-background-size: cover;
  308. background-size: cover;
  309. -o-background-size: cover;
  310. margin-top: 51px; /* The small navbar is 50px tall + 1px border */
  311. margin-bottom: 35px;
  312. }
  313. .intro-header.big-img .big-img-transition {
  314. position: absolute;
  315. width: 100%;
  316. height: 100%;
  317. opacity: 0;
  318. background: no-repeat center center;
  319. -webkit-background-size: cover;
  320. -moz-background-size: cover;
  321. background-size: cover;
  322. -o-background-size: cover;
  323. -webkit-transition: opacity 1s linear;
  324. -moz-transition: opacity 1s linear;
  325. transition: opacity 1s linear;
  326. }
  327. .intro-header .page-heading {
  328. text-align: center;
  329. }
  330. .intro-header.big-img .page-heading,
  331. .intro-header.big-img .post-heading {
  332. padding: 100px 0;
  333. color: #FFF;
  334. text-shadow: 1px 1px 3px #000;
  335. }
  336. .intro-header .page-heading h1 {
  337. margin-top: 0;
  338. font-size: 50px;
  339. }
  340. .intro-header .post-heading h1 {
  341. margin-top: 0;
  342. font-size: 35px;
  343. }
  344. .intro-header .page-heading .page-subheading,
  345. .intro-header .post-heading .post-subheading {
  346. font-size: 27px;
  347. line-height: 1.1;
  348. display: block;
  349. font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  350. font-weight: 300;
  351. margin: 10px 0 0;
  352. }
  353. .intro-header .post-heading .post-subheading {
  354. margin-bottom: 20px;
  355. }
  356. .intro-header.big-img .page-heading .page-subheading,
  357. .intro-header.big-img .post-heading .post-subheading {
  358. font-weight: 400;
  359. }
  360. .intro-header.big-img .page-heading hr {
  361. box-shadow: 1px 1px 3px #000;
  362. -webkit-box-shadow: 1px 1px 3px #000;
  363. -moz-box-shadow: 1px 1px 3px #000;
  364. }
  365. .intro-header.big-img .post-heading .post-meta {
  366. color: #EEE;
  367. }
  368. .intro-header.big-img .img-desc {
  369. background: rgba(30, 30, 30, 0.6);
  370. position: absolute;
  371. padding: 5px 10px;
  372. font-size: 11px;
  373. color: #EEE;
  374. font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  375. right: 0;
  376. bottom: 0;
  377. display: none;
  378. }
  379. @media only screen and (min-width: 768px) {
  380. .intro-header {
  381. margin-top: 130px;
  382. }
  383. .intro-header.big-img {
  384. margin-top: 91px; /* Full navbar is small navbar + 20px padding on each side when expanded */
  385. }
  386. .intro-header.big-img .page-heading,
  387. .intro-header.big-img .post-heading {
  388. padding: 150px 0;
  389. }
  390. .intro-header .page-heading h1 {
  391. font-size: 80px;
  392. }
  393. .intro-header .post-heading h1 {
  394. font-size: 50px;
  395. }
  396. .intro-header.big-img .img-desc {
  397. font-size: 14px;
  398. }
  399. }
  400. .header-section.has-img .no-img {
  401. margin-top: 0;
  402. background: #FCFCFC;
  403. margin: 0 0 40px;
  404. padding: 20px 0;
  405. box-shadow: 0 0 5px #AAA;
  406. }
  407. /* Many phones are 320 or 360px, so make sure images are a proper aspect ratio in those cases */
  408. .header-section.has-img .intro-header.no-img {
  409. display: none;
  410. }
  411. @media only screen and (max-width: 365px) {
  412. .header-section.has-img .intro-header.no-img {
  413. display: block;
  414. }
  415. .intro-header.big-img {
  416. width: 100%;
  417. height: 220px;
  418. }
  419. .intro-header.big-img .page-heading,
  420. .intro-header.big-img .post-heading {
  421. display: none;
  422. }
  423. .header-section.has-img .big-img {
  424. margin-bottom: 0;
  425. }
  426. }
  427. @media only screen and (max-width: 325px) {
  428. .intro-header.big-img {
  429. height: 200px;
  430. }
  431. }
  432. .caption {
  433. text-align: center;
  434. font-size: 14px;
  435. padding: 10px;
  436. font-style: italic;
  437. margin: 0;
  438. display: block;
  439. border-bottom-right-radius: 5px;
  440. border-bottom-left-radius: 5px;
  441. }
  442. .blog-comments {
  443. margin-top: 30px;
  444. }
  445. @media only screen and (min-width: 768px) {
  446. .blog-comments {
  447. margin-top: 40px;
  448. }
  449. }
  450. /* --- Pager --- */
  451. .pager li a {
  452. font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  453. text-transform: uppercase;
  454. font-size: 14px;
  455. font-weight: 800;
  456. letter-spacing: 1px;
  457. padding: 10px 5px;
  458. background: #FFF;
  459. border-radius: 0;
  460. color: #404040;
  461. }
  462. @media only screen and (min-width: 768px) {
  463. .pager li a {
  464. padding: 15px 25px;
  465. }
  466. }
  467. .pager li a:hover,
  468. .pager li a:focus {
  469. color: #FFF;
  470. background: #0085a1;
  471. border: 1px solid #0085a1;
  472. }
  473. .pager {
  474. margin: 10px 0 0;
  475. }
  476. .pager.blog-pager {
  477. margin-top: 0;
  478. }
  479. @media only screen and (min-width: 768px) {
  480. .pager.blog-pager {
  481. margin-top: 10px;
  482. }
  483. }
  484. /* --- Tables --- */
  485. table {
  486. padding: 0;
  487. }
  488. table tr {
  489. border-top: 1px solid #cccccc;
  490. background-color: #ffffff;
  491. margin: 0;
  492. padding: 0;
  493. }
  494. table tr:nth-child(2n) {
  495. background-color: #f8f8f8;
  496. }
  497. table tr th {
  498. font-weight: bold;
  499. border: 1px solid #cccccc;
  500. text-align: left;
  501. margin: 0;
  502. padding: 6px 13px;
  503. }
  504. table tr td {
  505. border: 1px solid #cccccc;
  506. text-align: left;
  507. margin: 0;
  508. padding: 6px 13px;
  509. }
  510. table tr th :first-child,
  511. table tr td :first-child {
  512. margin-top: 0;
  513. }
  514. table tr th :last-child,
  515. table tr td :last-child {
  516. margin-bottom: 0;
  517. }
  518. /* --- Code blocks --- */
  519. pre {
  520. font-size: 16px;
  521. line-height: 1.5em;
  522. background: #FAFAFA;
  523. background-image: linear-gradient(#FAFAFA 50%, #FDFDFD 50%);
  524. background-position: 0px 10px;
  525. background-repeat: repeat;
  526. background-size: 3em 3em;
  527. border-left: 7px solid #444;
  528. }
  529. #social-share-section {
  530. margin-bottom: 30px;
  531. }