base.less 5.8 KB

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