main.css 6.2 KB

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