main.css 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433
  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;
  45. border-color: #3c4858;
  46. color: #e5e9f2;
  47. transition: all 0.3s ease-out;
  48. }
  49. .btn-dark:hover,
  50. .btn-dark:focus {
  51. background-color: #248aaa;
  52. border-color: #248aaa;
  53. transition: all 0.3s ease-out;
  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. /* ====== codeblocks ====== */
  140. table {
  141. border-radius: 0.1rem;
  142. background: #e5e9f2;
  143. border: 1px solid #c0ccda;
  144. padding: 0.1rem;
  145. }
  146. table tr {
  147. height: 40px !important;
  148. }
  149. table th,
  150. td {
  151. padding: 0.5rem;
  152. border-left: 1px solid #8392a5;
  153. border-bottom: 1px solid #8392a5;
  154. }
  155. table thead tr {
  156. background: #248aaa;
  157. color: #e5e9f2;
  158. }
  159. tbody tr:nth-child(odd) {
  160. background-color: #e5e9f2;
  161. }
  162. tbody tr:hover {
  163. background: #c0ccda;
  164. }
  165. figure {
  166. border: 1px solid #c0ccda;
  167. height: -webkit-fit-content;
  168. height: -moz-fit-content;
  169. height: fit-content;
  170. width: -webkit-fit-content;
  171. width: -moz-fit-content;
  172. width: fit-content;
  173. align-self: center;
  174. margin: auto;
  175. }
  176. img {
  177. max-width: 100%;
  178. }
  179. caption,
  180. figcaption {
  181. caption-side: bottom;
  182. text-align: center;
  183. color: #8392a5;
  184. }
  185. pre {
  186. margin: 5px;
  187. }
  188. pre > code {
  189. padding: 10px !important;
  190. }
  191. a.header-anchor {
  192. text-decoration: none;
  193. color: #1c2d41;
  194. }
  195. a.header-anchor i {
  196. font-size: 10pt;
  197. color: #3c4858;
  198. display: none;
  199. margin-left: 0.5rem;
  200. }
  201. a.header-anchor:hover i {
  202. display: inline-block;
  203. }
  204. a.header-anchor code {
  205. color: #e83e8c;
  206. }
  207. .content ul > ol,
  208. .content ol > ul,
  209. .content ul > ul,
  210. .content ol > ol,
  211. .content li > ol,
  212. .content li > ul {
  213. -webkit-padding-start: 1rem;
  214. padding-inline-start: 1rem;
  215. }
  216. kbd {
  217. background-color: #248aaa !important;
  218. color: #f9fafc;
  219. }
  220. mark {
  221. background-color: #ffc21280;
  222. }
  223. /* ======= Paginator ========= */
  224. .paginator {
  225. width: -webkit-fit-content;
  226. width: -moz-fit-content;
  227. width: fit-content;
  228. margin: auto;
  229. vertical-align: bottom;
  230. }
  231. .paginator .page-item > a {
  232. color: #248aaa;
  233. }
  234. .paginator .page-item.active > a {
  235. background-color: #248aaa;
  236. color: #f9fafc;
  237. }
  238. /* --- FOOTER START --- */
  239. .footer {
  240. color: #8392a5 !important;
  241. background-color: #1c2d41;
  242. position: relative;
  243. z-index: 9999;
  244. }
  245. .footer h5 {
  246. color: #c0ccda;
  247. }
  248. .footer a {
  249. color: #8392a5;
  250. transition: all 0.3s ease-out;
  251. }
  252. .footer a:hover {
  253. margin-left: 5px;
  254. transition: all 0.3s ease-out;
  255. }
  256. .footer ul {
  257. list-style: none;
  258. padding-left: 0;
  259. }
  260. .footer li {
  261. margin-top: 5px;
  262. }
  263. .footer hr {
  264. background-color: #8392a5;
  265. }
  266. .footer p:first-child {
  267. color: #c0ccda;
  268. }
  269. .footer input {
  270. background-color: #c0ccda;
  271. }
  272. .footer input:focus {
  273. background-color: #e5e9f2;
  274. }
  275. .footer #theme {
  276. color: #c0ccda;
  277. }
  278. .footer #theme img {
  279. width: 32px;
  280. }
  281. .footer #hugo:hover {
  282. margin-right: 5px;
  283. transition: all 0.3s ease-out;
  284. }
  285. /* --- FOOTER END ---- */
  286. /* ============= Device specific fixes ======= */
  287. /* Large screens such as TV */
  288. @media only screen and (min-width: 1824px) {
  289. }
  290. /* Extra large devices (large desktops, 1200px and up) */
  291. @media (max-width: 1400px) {
  292. }
  293. @media (max-width: 1200px) {
  294. }
  295. /* IPad Pro */
  296. @media (max-width: 1024px) {
  297. .content-section .languageSelector {
  298. position: fixed;
  299. right: 0.5rem;
  300. bottom: 1rem;
  301. z-index: 10000000;
  302. background-color: #f9fafc;
  303. box-shadow: 0px 8px 56px rgba(15, 80, 100, 0.16);
  304. }
  305. pre {
  306. margin: 0px;
  307. }
  308. code {
  309. padding: 0px;
  310. }
  311. }
  312. /* Large devices (desktops, 992px and up) */
  313. @media (max-width: 992px) {
  314. }
  315. /* Medium devices (tablets, 768px and up) */
  316. @media only screen and (max-width: 768px) {
  317. }
  318. /* Small devices (landscape phones, 576px and up) */
  319. @media only screen and (max-width: 576px) {
  320. .skills-section .container,
  321. .projects-section .container {
  322. padding-left: 0.3rem;
  323. padding-right: 0.3rem;
  324. }
  325. .section-holder {
  326. padding-left: 5px;
  327. padding-right: 5px;
  328. }
  329. .skills-section,
  330. .projects-section,
  331. .recent-posts-section,
  332. .achievements-section {
  333. padding-left: 0;
  334. padding-right: 0;
  335. }
  336. pre {
  337. margin: 0px;
  338. }
  339. code {
  340. padding: 0px;
  341. }
  342. }
  343. /* iPhoneX, iPhone 6,7,8 */
  344. @media only screen and (max-width: 375px) {
  345. }
  346. /* Galaxy S5, Moto G4 */
  347. @media only screen and (max-width: 360px) {
  348. }
  349. /* iPhone 5 or before */
  350. @media only screen and (max-width: 320px) {
  351. }