_base.scss 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. /* ======= Base ======= */
  2. body {
  3. font-family: 'Roboto', sans-serif;
  4. color: $text-color-secondary;
  5. background: $smoky-white;
  6. font-size: 14px;
  7. padding: 30px;
  8. -webkit-font-smoothing: antialiased;
  9. -moz-osx-font-smoothing: grayscale;
  10. }
  11. h1, h2, h3, h4, h5, h6 {
  12. font-weight: 700;
  13. }
  14. a {
  15. color: darken($theme-color, 15%);
  16. &:hover {
  17. text-decoration: underline;
  18. color: darken($theme-color, 30%);
  19. }
  20. &:focus {
  21. text-decoration: none;
  22. }
  23. }
  24. p {
  25. line-height: 1.5;
  26. }
  27. .wrapper {
  28. background:$theme-color;
  29. max-width: 1000px;
  30. margin: 0 auto;
  31. position: relative;
  32. @include box-shadow(0px 2px 4px rgba(0,0,0,0.1));
  33. }
  34. .sidebar-wrapper {
  35. background: $theme-color;
  36. position: absolute;
  37. right: 0;
  38. width: 280px;
  39. height: 100%;
  40. min-height: 800px;
  41. color: #fff;
  42. a {
  43. color: #fff;
  44. }
  45. .profile-container {
  46. padding: 30px;
  47. //background: darken($theme-color, 10%);
  48. background: rgba(0, 0, 0, 0.2);
  49. text-align: center;
  50. color: #fff;
  51. }
  52. .name {
  53. font-size: 32px;
  54. font-weight: 900;
  55. margin-top: 0;
  56. margin-bottom: 10px;
  57. }
  58. .tagline {
  59. color: rgba(256, 256, 256, 0.6);
  60. font-size: 16px;
  61. font-weight: 400;
  62. margin-top: 0;
  63. margin-bottom: 0;
  64. }
  65. .profile {
  66. margin-bottom: 15px;
  67. }
  68. .profile-img {
  69. //used for profile image
  70. max-width: 100px;
  71. margin-bottom: 15px;
  72. border: 0px solid #fff;
  73. border-radius: 100%;
  74. box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  75. }
  76. .contact-list {
  77. .fa {
  78. margin-right: 5px;
  79. font-size: 18px;
  80. vertical-align: middle;
  81. }
  82. li {
  83. margin-bottom: 15px;
  84. &:last-child {
  85. margin-bottom: 0;
  86. }
  87. }
  88. .email {
  89. .fa {
  90. font-size: 14px;
  91. }
  92. }
  93. }
  94. .container-block {
  95. padding: 30px;
  96. }
  97. .container-block-title {
  98. text-transform: uppercase;
  99. font-size: 16px;
  100. font-weight: 700;
  101. margin-top: 0;
  102. margin-bottom: 15px;
  103. }
  104. .degree {
  105. font-size: 14px;
  106. margin-top: 0;
  107. margin-bottom: 5px;
  108. }
  109. .education-container {
  110. .item {
  111. margin-bottom: 15px;
  112. &:last-child {
  113. margin-bottom: 0;
  114. }
  115. }
  116. .meta {
  117. color: rgba(256, 256, 256, 0.6);
  118. font-weight: 500;
  119. margin-bottom: 0px;
  120. margin-top: 0;
  121. }
  122. .time {
  123. color: rgba(256, 256, 256, 0.6);
  124. font-weight: 500;
  125. margin-bottom: 0px;
  126. }
  127. }
  128. .languages-container {
  129. .lang-desc {
  130. color: rgba(256, 256, 256, 0.6);
  131. }
  132. }
  133. .languages-list {
  134. margin-bottom: 0;
  135. li {
  136. margin-bottom: 10px;
  137. &:last-child {
  138. margin-bottom: 0;
  139. }
  140. }
  141. }
  142. .interests-list {
  143. margin-bottom: 0;
  144. li {
  145. margin-bottom: 10px;
  146. &:last-child {
  147. margin-bottom: 0;
  148. }
  149. }
  150. }
  151. }
  152. .main-wrapper {
  153. background: #fff;
  154. padding: 60px;
  155. padding-right: 340px;
  156. .section-title {
  157. text-transform: uppercase;
  158. font-size: 20px;
  159. font-weight: 500;
  160. color: darken($theme-color, 15%);
  161. position: relative;
  162. margin-top: 0;
  163. margin-bottom: 20px;
  164. .fa {
  165. width: 30px;
  166. height: 30px;
  167. margin-right: 8px;
  168. display: inline-block;
  169. color: #fff;
  170. @include border-radius(50%);
  171. background: darken($theme-color, 15%);
  172. text-align: center;
  173. padding-top: 8px;
  174. font-size: 16px;
  175. position: relative;
  176. top: -2px;
  177. }
  178. }
  179. .section {
  180. margin-bottom: 60px;
  181. }
  182. .experiences-section, .educations-section {
  183. .item {
  184. margin-bottom: 30px;
  185. }
  186. }
  187. .upper-row {
  188. position: relative;
  189. overflow: hidden;
  190. margin-bottom: 2px;
  191. }
  192. .job-title, .degree {
  193. color: $text-color;
  194. font-size: 16px;
  195. margin-top: 0;
  196. margin-bottom: 0;
  197. font-weight: 500;
  198. }
  199. .time {
  200. position: absolute;
  201. right: 0;
  202. top: 0;
  203. color: $text-grey;
  204. }
  205. .company, .university {
  206. margin-bottom: 10px;
  207. color: $text-grey;
  208. }
  209. .project-title {
  210. font-size: 16px;
  211. font-weight: 400;
  212. margin-top: 0;
  213. margin-bottom: 5px;
  214. }
  215. .projects-section {
  216. .intro {
  217. margin-bottom: 30px;
  218. }
  219. .item {
  220. margin-bottom: 15px;
  221. }
  222. }
  223. .publication-title {
  224. font-size: 16px;
  225. font-weight: 400;
  226. color: $text-color;
  227. margin-bottom: 1px;
  228. }
  229. .publication-authors {
  230. font-style: italic;
  231. color: $text-grey;
  232. margin-bottom: 1px;
  233. }
  234. .publications-section {
  235. .intro {
  236. margin-bottom: 30px;
  237. }
  238. .item {
  239. margin-bottom: 15px;
  240. }
  241. }
  242. }
  243. .skillset {
  244. .item {
  245. margin-bottom: 15px;
  246. overflow: hidden;
  247. }
  248. .level-title {
  249. font-size: 14px;
  250. margin-top: 0;
  251. margin-bottom: 12px;
  252. }
  253. .level-bar {
  254. height: 12px;
  255. background: $smoky-white;
  256. }
  257. .level-bar-inner {
  258. height: 12px;
  259. background: lighten($theme-color, 15%);
  260. }
  261. }
  262. .footer {
  263. padding-top: 30px;
  264. .copyright {
  265. line-height: 1.6;
  266. color: $text-color-secondary;
  267. font-size: 13px;
  268. }
  269. .fa-heart {
  270. color: $heart;
  271. }
  272. }