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.

585 lines
12 KiB

4 years ago
  1. body {
  2. font-family: 'Lato', arial, sans-serif;
  3. color: $text-color;
  4. background: $background;
  5. font-size: 16px;
  6. -webkit-font-smoothing: antialiased;
  7. -moz-osx-font-smoothing: grayscale;
  8. }
  9. h1, h2, h3, h4, h5, h6 {
  10. font-family: 'Montserrat', sans-serif;
  11. font-weight: 700;
  12. color: $color;
  13. }
  14. a {
  15. color: $color-2;
  16. @include transition (all 0.4s ease-in-out);
  17. &:hover {
  18. text-decoration: underline;
  19. color: darken($color, 10%);
  20. color: darken($color-2, 10%);
  21. }
  22. &:focus {
  23. text-decoration: none;
  24. }
  25. }
  26. .btn, a.btn {
  27. @include transition (all 0.4s ease-in-out);
  28. font-family: 'Montserrat', arial, sans-serif;
  29. padding: 8px 16px;
  30. font-weight:bold;
  31. .svg-inline--fa {
  32. margin-right: 5px;
  33. position: relative;
  34. top: -2px;
  35. }
  36. &:focus {
  37. color: #fff;
  38. @include box-shadow(none);
  39. }
  40. }
  41. a.btn-cta-primary, .btn-cta-primary {
  42. background: $btn-color;
  43. border: 1px solid $btn-color;
  44. color: #fff;
  45. font-weight:600;
  46. text-transform: uppercase;
  47. &:hover {
  48. background: darken($btn-color, 5%);
  49. border: 1px solid darken($btn-color, 5%);
  50. color: #fff;
  51. }
  52. }
  53. a.btn-cta-secondary, .btn-cta-secondary {
  54. background: $btn-color-2;
  55. border: 1px solid $btn-color-2;
  56. color: #fff;
  57. font-weight:600;
  58. text-transform: uppercase;
  59. &:hover, &:not(:disabled):not(.disabled):active:focus {
  60. background: darken($btn-color-2, 5%);
  61. border: 1px solid darken($btn-color-2, 5%);
  62. color: #fff;
  63. @include box-shadow(none);
  64. }
  65. }
  66. .text-highlight {
  67. color: darken($color, 30%);
  68. }
  69. .badge-theme {
  70. background: $color-2;
  71. font-size: 12px;
  72. color: #fff;
  73. @include border-radius(2px);
  74. }
  75. a.dotted-link {
  76. border-bottom: 1px dotted $color;
  77. color: $color;
  78. &:hover {
  79. text-decoration: none;
  80. color: darken($color, 20%);
  81. }
  82. }
  83. /* ======= Header ======= */
  84. .header {
  85. padding: 30px 0;
  86. background: $smoky-white;
  87. border-top: 10px solid $color;
  88. .btn {
  89. margin-top: 60px;
  90. font-weight: bold;
  91. }
  92. .profile-image {
  93. margin-right: 30px;
  94. }
  95. .profile-content {
  96. .name {
  97. color: darken($color, 20%);
  98. font-size: 38px;
  99. margin-bottom: 5px;
  100. margin-top: 30px;
  101. }
  102. .desc {
  103. color:$color;
  104. font-family: "Lato", arial, sans-serif;
  105. font-weight: 400;
  106. font-size: 24px;
  107. margin-top: 0;
  108. margin-bottom: 15px;
  109. }
  110. .social {
  111. a {
  112. background: lighten($color, 20%);
  113. width: 36px;
  114. height: 36px;
  115. display: inline-block;
  116. @include border-radius(50%);
  117. color: #fff;
  118. text-align: center;
  119. &:hover {
  120. background: $color;
  121. }
  122. .svg-inline--fa {
  123. font-size: 20px;
  124. margin-top: 8px;
  125. }
  126. }
  127. }
  128. }
  129. }
  130. /* ======= Sections======= */
  131. .sections-wrapper {
  132. padding-top: 60px;
  133. padding-bottom: 60px;
  134. }
  135. .section {
  136. margin-bottom: 30px;
  137. .section-inner {
  138. background: #fff;
  139. padding: 30px;
  140. }
  141. .heading {
  142. margin-top: 0;
  143. margin-bottom: 30px;
  144. color: darken($color, 15%);
  145. font-size: 24px;
  146. }
  147. .content {
  148. .more-link {
  149. .svg-inline--fa {
  150. margin-right: 5px;
  151. font-size: 14px;
  152. position: relative;
  153. top: -2px;
  154. }
  155. }
  156. }
  157. }
  158. /* About Section */
  159. .about {
  160. }
  161. /* Latest Section */
  162. .latest {
  163. .item {
  164. margin-bottom: 30px;
  165. .title {
  166. font-size: 18px;
  167. margin-top: 0;
  168. .label {
  169. margin-left: 5px;
  170. font-size: 12px;
  171. }
  172. a {
  173. color: $color;
  174. &:hover {
  175. color: darken($color, 10%);
  176. }
  177. }
  178. }
  179. .project-image {
  180. &:hover {
  181. @include opacity(0.8);
  182. }
  183. }
  184. }
  185. .divider {
  186. margin-bottom: 60px;
  187. }
  188. .featured {
  189. margin-bottom: 60px;
  190. .title {
  191. font-size: 20px;
  192. margin-bottom: 5px;
  193. font-size: 20px;
  194. }
  195. .summary {
  196. margin-bottom: 30px;
  197. color: $color;
  198. }
  199. img {
  200. margin-bottom: 30px;
  201. }
  202. .desc {
  203. margin-bottom: 30px;
  204. }
  205. }
  206. .has-ribbon{
  207. position: relative;
  208. display: inline-block;
  209. .text {
  210. background: $color-2;
  211. color: #fff;
  212. }
  213. .ribbon {
  214. position: absolute;
  215. top: -4px;
  216. right: -4px;
  217. width: 110px;
  218. height: 110px;
  219. overflow: hidden;
  220. .text {
  221. font-family: 'Montserrat', sans-serif;
  222. position: relative;
  223. left: -8px;
  224. top: 18px;
  225. width: 158px;
  226. padding: 10px 10px;
  227. font-size: 15px;
  228. font-weight: bold;
  229. text-align: center;
  230. text-transform: uppercase;
  231. color: #fff;
  232. background-color: $btn-color-2;
  233. @include transform (rotate(45deg) translate3d(0,0,0));
  234. &:before, &:after {
  235. content: '';
  236. position: absolute;
  237. bottom: -5px;
  238. border-top: 5px solid darken($btn-color-2, 20%);
  239. border-left: 5px solid transparent;
  240. border-right: 5px solid transparent;
  241. }
  242. &:before {
  243. left: 0;
  244. }
  245. &:after {
  246. right: 0;
  247. }
  248. }
  249. }
  250. }
  251. }
  252. /* Projects Section */
  253. .projects {
  254. .item {
  255. margin-bottom: 30px;
  256. .title {
  257. font-size: 16px;
  258. margin-top: 0;
  259. margin-bottom:5px;
  260. line-height: 1.5;
  261. a {
  262. color: $color;
  263. &:hover {
  264. color: darken($color, 10%);
  265. }
  266. }
  267. }
  268. }
  269. }
  270. /* Work Section */
  271. .experience {
  272. .item {
  273. margin-bottom: 30px;
  274. .title {
  275. font-size: 16px;
  276. margin-top: 0;
  277. margin-bottom: 5px;
  278. line-height: 1.5;
  279. .place {
  280. color: $grey;
  281. font-weight: normal;
  282. a {
  283. color: $grey;
  284. &:hover {
  285. color: darken($grey, 20%);
  286. }
  287. }
  288. }
  289. .year {
  290. color: $grey;
  291. font-weight: normal;
  292. }
  293. }
  294. }
  295. }
  296. /* Git section */
  297. .github-graph {
  298. margin-bottom: 30px;
  299. .js-calendar-graph-svg{
  300. max-width:100%;
  301. }
  302. h2 {
  303. font-size: 18px;
  304. }
  305. }
  306. .ghfeed {
  307. height: 500px;
  308. @include reset-box-sizing();
  309. }
  310. /* Info Section */
  311. .info {
  312. .svg-inline--fa {
  313. margin-right: 15px;
  314. color: lighten($color, 30%);
  315. &.fa-envelope-o {
  316. font-size: 14px;
  317. }
  318. }
  319. ul {
  320. margin-bottom: 0;
  321. }
  322. li {
  323. margin-bottom: 15px;
  324. &:last-child {
  325. margin-bottom: 0;
  326. }
  327. }
  328. }
  329. /* Skills Section */
  330. .skills {
  331. .intro {
  332. margin-bottom: 30px;
  333. }
  334. .skillset {
  335. .item {
  336. margin-bottom: 30px;
  337. }
  338. .level-title {
  339. font-size: 16px;
  340. position: relative;
  341. margin-top: 0;
  342. margin-bottom: 10;
  343. .level-label {
  344. color: lighten($color, 30%);
  345. font-size: 14px;
  346. font-weight: 400;
  347. font-family: "Lato", arial, sans-serif;
  348. position: absolute;
  349. right: 0;
  350. top: 0;
  351. }
  352. }
  353. .level-bar {
  354. height: 15px;
  355. background: darken($smoky-white, 5%);
  356. }
  357. .level-bar-inner {
  358. height: 15px;
  359. background: lighten($color-2, 15%);
  360. }
  361. }
  362. .svg-inline--fa {
  363. margin-right: 3px;
  364. position: relative;
  365. top: -1px;
  366. }
  367. }
  368. /* Testimonials section */
  369. .testimonials {
  370. .item {
  371. margin-bottom: 30px;
  372. &:last-child {
  373. margin-bottom: 0;
  374. }
  375. .quote {
  376. color: $text-color-secondary;
  377. font-size: 16px;
  378. border-left: 5px solid lighten($color-2, 30%);
  379. padding: 5px 15px;
  380. margin-bottom: 15px;
  381. p {
  382. margin-bottom: 0;
  383. }
  384. .svg-inline--fa {
  385. color: lighten($color-2, 20%);
  386. margin-right: 15px;
  387. }
  388. }
  389. .source {
  390. font-size: 14px;
  391. padding-left: 20px;
  392. font-weight: 500;
  393. .name {
  394. color: lighten($color, 10%);
  395. font-weight: 600;
  396. }
  397. .title {
  398. color: $grey;
  399. }
  400. }
  401. }
  402. }
  403. /* Education section */
  404. .education {
  405. .item {
  406. margin-bottom: 30px;
  407. &:last-child {
  408. margin-bottom: 0;
  409. }
  410. .title {
  411. font-size: 16px;
  412. margin-top: 0;
  413. }
  414. .university {
  415. font-family: "Lato", arial, sans-serif;
  416. font-size: 13px;
  417. color: $grey;
  418. font-weight: 600;
  419. padding-left: 25px;
  420. .year {
  421. color: lighten($color, 20%);
  422. font-weight: 500;
  423. }
  424. }
  425. }
  426. }
  427. /* Language Section */
  428. .languages {
  429. .item {
  430. margin-bottom: 15px;
  431. .title {
  432. color: $color;
  433. }
  434. .level {
  435. color: $grey;
  436. }
  437. &:last-child {
  438. margin-bottom: 0;
  439. }
  440. .svg-inline--fa {
  441. color: lighten($color-2, 20%);
  442. }
  443. }
  444. }
  445. /* Blog Section */
  446. .blog {
  447. .item {
  448. margin-bottom: 30px;
  449. .title {
  450. font-size: 18px;
  451. line-height: 1.3;
  452. a {
  453. color: $color;
  454. &:hover {
  455. color: darken($color, 10%);
  456. }
  457. }
  458. }
  459. p {
  460. margin-bottom: 5px;
  461. }
  462. &:last-child {
  463. margin-bottom: 0;
  464. }
  465. }
  466. }
  467. /* List section */
  468. .list {
  469. ul li{
  470. margin-bottom: 10px;
  471. .svg-inline--fa {
  472. margin-right: 5px;
  473. }
  474. a {
  475. color: $color;
  476. &:hover {
  477. color: darken($color, 20%);
  478. }
  479. }
  480. }
  481. }
  482. /* Credits */
  483. .credits {
  484. ul li{
  485. margin-bottom: 10px;
  486. .svg-inline--fa {
  487. margin-right: 5px;
  488. position: relative;
  489. top: -2px;
  490. }
  491. a {
  492. color: $color;
  493. .svg-inline--fa {
  494. color: lighten($color, 20%);
  495. }
  496. &:hover {
  497. color: darken($color, 20%);
  498. }
  499. }
  500. }
  501. .btn {
  502. margin-bottom: 15px;
  503. }
  504. }
  505. .aside {
  506. .subheading {
  507. font-size: 18px;
  508. color: darken($color, 15%);
  509. }
  510. }
  511. /* ======= Footer ======= */
  512. .footer {
  513. background: darken($color, 30%);
  514. color: #fff;
  515. padding: 10px 0;
  516. .copyright {
  517. line-height: 1.6;
  518. color: lighten($color, 15%);
  519. font-size: 14px;
  520. }
  521. a {
  522. color: #fff;
  523. }
  524. .fa-heart {
  525. color: $heart;
  526. }
  527. }