main.css 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495
  1. /* ========= Colors ============
  2. Heading: #1C2D41
  3. Paragraph: #3C4858
  4. Iconography: #8392A5
  5. Secondary: #C0CCDA
  6. Dirty Snow: #E5E9F2
  7. Snow: #F9FAFC
  8. Magenta: #7551E9
  9. Orange: #FF7D51
  10. Pink: #ED63D2
  11. Green: #2DCA73
  12. Yellow: #FFC212
  13. */
  14. body {
  15. background-color: #f9fafc;
  16. font-family: "Muli";
  17. }
  18. h1,
  19. h2,
  20. h3,
  21. h4,
  22. h5 {
  23. color: #1c2d41;
  24. }
  25. strong {
  26. color: #1c2d41 !important;
  27. }
  28. p {
  29. color: #3c4858;
  30. }
  31. a {
  32. color: #248aaa;
  33. }
  34. a:hover {
  35. color: #207089;
  36. }
  37. .nav-button {
  38. background-color: transparent;
  39. border: 1px solid transparent;
  40. border-radius: 0.25rem;
  41. color: #8392a5;
  42. }
  43. .btn-dark {
  44. background-color: #3c4858!important;
  45. border-color: #3c4858!important;
  46. color: #e5e9f2!important;
  47. transition: all 0.3s ease-out!important;
  48. }
  49. .btn-dark:hover,
  50. .btn-dark:focus {
  51. background-color: #248aaa!important;
  52. border-color: #248aaa!important;
  53. transition: all 0.3s ease-out!important;
  54. }
  55. .btn-outline-info {
  56. color: #2098d1 !important;
  57. border-color: #2098d1 !important;
  58. }
  59. .btn-outline-info:hover {
  60. background-color: #2098d1 !important;
  61. color: #e5e9f2 !important;
  62. }
  63. .btn-info {
  64. background-color: #248aaa !important;
  65. color: #e5e9f2 !important;
  66. }
  67. .btn-info:hover {
  68. background-color: #2098d1 !important;
  69. color: #e5e9f2 !important;
  70. }
  71. .btn-link {
  72. color: #248aaa;
  73. }
  74. .btn-link:hover {
  75. color: #207089;
  76. }
  77. .bg-white {
  78. background-color: #f9fafc !important;
  79. }
  80. .bg-dimmed {
  81. background-color: #e5e9f2;
  82. }
  83. .anchor {
  84. padding-top: 3.5rem;
  85. }
  86. img.center {
  87. display: block;
  88. margin-left: auto;
  89. margin-right: auto;
  90. }
  91. img.left {
  92. display: block;
  93. margin-right: auto;
  94. }
  95. img.right {
  96. display: block;
  97. margin-left: auto;
  98. }
  99. .card {
  100. box-shadow: none;
  101. transition: all 0.3s ease-out;
  102. overflow: hidden;
  103. }
  104. .card-img-sm {
  105. width: 32px;
  106. height: 32px;
  107. }
  108. .card-img-xs {
  109. width: 24px;
  110. height: 24px;
  111. }
  112. .card:hover,
  113. .card:focus {
  114. box-shadow: 0px 8px 56px rgba(15, 80, 100, 0.16);
  115. border: 1px solid #fff;
  116. transition: all 0.3s ease-out;
  117. }
  118. .card .card-head {
  119. height: 172px;
  120. -o-object-fit: cover;
  121. object-fit: cover;
  122. overflow: hidden;
  123. }
  124. .card-img-top {
  125. transition: all 0.3s ease-out !important;
  126. }
  127. .card:hover .card-head .card-img-top,
  128. .card:focus .card-head .card-img-top {
  129. transition: all 0.3s ease-out;
  130. transform: scale(1.2);
  131. }
  132. .card-body {
  133. text-align: justify;
  134. }
  135. .sub-title {
  136. color: #c0ccda;
  137. font-size: 10pt;
  138. }
  139. .flag-icon {
  140. width: 16px !important;
  141. margin-top: 3px;
  142. margin-right: 3px;
  143. }
  144. /* ====== table ====== */
  145. table {
  146. border-radius: 0.1rem;
  147. background: #e5e9f2;
  148. border: 1px solid #c0ccda;
  149. padding: 0.1rem;
  150. }
  151. table tr {
  152. height: 40px !important;
  153. }
  154. table th,
  155. td {
  156. padding: 0.5rem;
  157. border-left: 1px solid #8392a5;
  158. border-bottom: 1px solid #8392a5;
  159. }
  160. table thead tr {
  161. background: #248aaa;
  162. color: #e5e9f2;
  163. }
  164. tbody tr:nth-child(odd) {
  165. background-color: #e5e9f2;
  166. }
  167. tbody tr:hover {
  168. background: #c0ccda;
  169. }
  170. /* ====== don't apply css to tables inside gist ====== */
  171. .gist table {
  172. border-radius: unset;
  173. background: unset;
  174. border: unset;
  175. padding: unset;
  176. }
  177. .gist table tr {
  178. height: unset !important;
  179. }
  180. .gist table th,
  181. td {
  182. padding: unset;
  183. border-left: unset;
  184. border-bottom: unset;
  185. }
  186. .gist table thead tr {
  187. background: unset;
  188. color: unset;
  189. }
  190. .gist tbody tr:nth-child(odd) {
  191. background-color: unset;
  192. }
  193. .gist tbody tr:hover {
  194. background: unset;
  195. }
  196. .gist table td, .gist table tc{
  197. border-right: 1px solid #eee;
  198. }
  199. figure {
  200. border: 1px solid #c0ccda;
  201. height: -moz-fit-content;
  202. height: fit-content;
  203. width: -moz-fit-content;
  204. width: fit-content;
  205. align-self: center;
  206. margin: auto;
  207. }
  208. img {
  209. max-width: 100%;
  210. }
  211. caption,
  212. figcaption {
  213. caption-side: bottom;
  214. text-align: center;
  215. color: #8392a5;
  216. }
  217. pre {
  218. margin: 5px;
  219. }
  220. pre > code {
  221. padding: 10px !important;
  222. }
  223. a.header-anchor {
  224. text-decoration: none;
  225. color: #1c2d41;
  226. }
  227. a.header-anchor i {
  228. font-size: 10pt;
  229. color: #3c4858;
  230. display: none;
  231. margin-left: 0.5rem;
  232. }
  233. a.header-anchor:hover i {
  234. display: inline-block;
  235. }
  236. a.header-anchor code {
  237. color: #e83e8c;
  238. }
  239. .content ul > ol,
  240. .content ol > ul,
  241. .content ul > ul,
  242. .content ol > ol,
  243. .content li > ol,
  244. .content li > ul {
  245. -webkit-padding-start: 1rem;
  246. padding-inline-start: 1rem;
  247. }
  248. kbd {
  249. background-color: #248aaa !important;
  250. color: #f9fafc;
  251. }
  252. mark {
  253. background-color: #ffc21280;
  254. }
  255. /* ======= Paginator ========= */
  256. .paginator {
  257. width: -moz-fit-content;
  258. width: fit-content;
  259. margin: auto;
  260. vertical-align: bottom;
  261. }
  262. .paginator .page-item > a {
  263. color: #248aaa;
  264. }
  265. .paginator .page-item.active > a {
  266. background-color: #248aaa;
  267. color: #f9fafc;
  268. }
  269. /* --- FOOTER START --- */
  270. .footer {
  271. color: #8392a5 !important;
  272. background-color: #1c2d41;
  273. position: relative;
  274. z-index: 9999;
  275. }
  276. .footer h5 {
  277. color: #c0ccda;
  278. }
  279. .footer a {
  280. color: #8392a5;
  281. transition: all 0.3s ease-out;
  282. }
  283. .footer a:hover {
  284. margin-left: 5px;
  285. transition: all 0.3s ease-out;
  286. }
  287. .footer ul {
  288. list-style: none;
  289. padding-left: 0;
  290. }
  291. .footer li {
  292. margin-top: 5px;
  293. }
  294. .footer hr {
  295. background-color: #8392a5;
  296. }
  297. .footer p:first-child {
  298. color: #c0ccda;
  299. }
  300. .footer input {
  301. background-color: #c0ccda;
  302. }
  303. .footer input:focus {
  304. background-color: #e5e9f2;
  305. }
  306. .footer #disclaimer{
  307. color: #8392a5 !important;
  308. text-align: justify;
  309. }
  310. .footer #disclaimer>strong{
  311. color: #c0ccda!important;
  312. }
  313. .footer #theme {
  314. color: #c0ccda;
  315. }
  316. .footer #theme img {
  317. width: 32px;
  318. }
  319. .footer #hugo:hover {
  320. margin-right: 5px;
  321. transition: all 0.3s ease-out;
  322. }
  323. /* --- FOOTER END ---- */
  324. /* ============= Device specific fixes ======= */
  325. /* Large screens such as TV */
  326. @media only screen and (min-width: 1824px) {
  327. }
  328. /* Extra large devices (large desktops, 1200px and up) */
  329. @media (max-width: 1400px) {
  330. }
  331. @media (max-width: 1200px) {
  332. }
  333. /* IPad Pro */
  334. @media (max-width: 1024px) {
  335. .content-section .languageSelector {
  336. position: fixed;
  337. right: 0.5rem;
  338. bottom: 1rem;
  339. z-index: 10000000;
  340. background-color: #f9fafc;
  341. box-shadow: 0px 8px 56px rgba(15, 80, 100, 0.16);
  342. }
  343. pre {
  344. margin: 0px;
  345. }
  346. code {
  347. padding: 0px;
  348. }
  349. }
  350. /* Large devices (desktops, 992px and up) */
  351. @media (max-width: 992px) {
  352. }
  353. /* Medium devices (tablets, 768px and up) */
  354. @media only screen and (max-width: 768px) {
  355. }
  356. /* Small devices (landscape phones, 576px and up) */
  357. @media only screen and (max-width: 576px) {
  358. .skills-section .container,
  359. .projects-section .container,
  360. .publications-section .container {
  361. padding-left: 0.3rem;
  362. padding-right: 0.3rem;
  363. }
  364. .section-holder {
  365. padding-left: 5px;
  366. padding-right: 5px;
  367. }
  368. .skills-section,
  369. .projects-section,
  370. .recent-posts-section,
  371. .achievements-section,
  372. .publications-section {
  373. padding-left: 0;
  374. padding-right: 0;
  375. }
  376. pre {
  377. margin: 0px;
  378. }
  379. code {
  380. padding: 0px;
  381. }
  382. h1 {
  383. font-size: 2.2rem;
  384. }
  385. }
  386. /* iPhoneX, iPhone 6,7,8 */
  387. @media only screen and (max-width: 375px) {
  388. h1 {
  389. font-size: 2rem;
  390. }
  391. }
  392. /* Galaxy S5, Moto G4 */
  393. @media only screen and (max-width: 360px) {
  394. h1 {
  395. font-size: 1.8rem;
  396. }
  397. }
  398. /* iPhone 5 or before */
  399. @media only screen and (max-width: 320px) {
  400. h1 {
  401. font-size: 1.5rem;
  402. }
  403. }