main.css 6.2 KB

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