Code for my portfolio website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

294 lines
4.4 KiB

  1. * {
  2. box-sizing: border-box;
  3. }
  4. html {
  5. height: 100%;
  6. }
  7. body {
  8. margin: 0;
  9. font-family: 'Roboto', sans-serif;
  10. height: 100%;
  11. background-color: #040e1e;
  12. }
  13. h1 {
  14. all: initial;
  15. }
  16. img {
  17. all: initial;
  18. }
  19. h1 {
  20. font-family: 'Roboto', sans-serif;
  21. color: white;
  22. padding-right: 8px;
  23. font-size: 23.5px;
  24. }
  25. a {
  26. color: white;
  27. }
  28. a:hover {
  29. color: #FF8B00;
  30. }
  31. .page-container {
  32. position: relative;
  33. min-height: 100vh;
  34. }
  35. .content-wrap {
  36. padding-bottom: 8.5rem;
  37. }
  38. .Navbar {
  39. background-color: #005380;
  40. display: flex;
  41. padding: 16px;
  42. font-family: 'Roboto', sans-serif;
  43. color: white;
  44. }
  45. .Navbar__Link {
  46. padding-right: 8px;
  47. font-size: 18.5px;
  48. }
  49. .Navbar__Link-brand {
  50. padding-right: 8px;
  51. font-size: 18.5px;
  52. }
  53. .Navbar__Link a,
  54. h1 {
  55. color: white;
  56. }
  57. .Navbar__Link a:link {
  58. text-decoration: none;
  59. }
  60. .Navbar__Link a:visited {
  61. text-decoration: none;
  62. }
  63. .Navbar__Link a:hover {
  64. text-decoration: underline;
  65. }
  66. .Navbar__Link a:active {
  67. text-decoration: underline;
  68. }
  69. .Navbar__Items {
  70. display: flex;
  71. }
  72. .Navbar__Items--right {
  73. margin-left: auto;
  74. }
  75. .Navbar__Link-toggle {
  76. display: none;
  77. }
  78. .banner {
  79. width: 100%;
  80. height: fit-content;
  81. padding: 10px;
  82. }
  83. .column {
  84. float: left;
  85. width: 33.33%;
  86. width: calc(100% / 3);
  87. padding: 15px;
  88. height: 400px;
  89. padding-bottom: 20px;
  90. }
  91. .row:after {
  92. content: "";
  93. display: table;
  94. clear: both;
  95. }
  96. .row {
  97. margin-left: 0px;
  98. margin-right: 0px;
  99. height: auto;
  100. padding-bottom: 20px;
  101. }
  102. .card {
  103. height: 100%;
  104. width: 100%;
  105. border-radius: 2.5%;
  106. background-color: #005380;
  107. box-shadow: 5px 10px #FF8B00;
  108. cursor: pointer;
  109. }
  110. .card:hover {
  111. box-shadow: 10px 20px #FF8B00;
  112. transition: box-shadow 0.25s ease-in-out;
  113. -webkit-transition: box-shadow 0.25s ease-in-out;
  114. -o-transition: box-shadow 0.25s ease-in-out;
  115. -moz-transition: box-shadow 0.25s ease-in-out;
  116. }
  117. .card-top-banner {
  118. height: 100%;
  119. width: 100%;
  120. }
  121. .top-banner-text {
  122. color: white;
  123. text-align: center;
  124. font-size: 3em;
  125. padding: 0;
  126. margin-bottom: 0.5em;
  127. margin-top: 0.5em;
  128. }
  129. .top-banner-text-medium {
  130. color: white;
  131. text-align: center;
  132. font-size: 2em;
  133. padding: 0;
  134. margin-bottom: 0em;
  135. margin-top: 0em;
  136. }
  137. .top-banner-text-smaller {
  138. color: white;
  139. text-align: center;
  140. font-size: 1.5em;
  141. padding: 0;
  142. margin-bottom: 25px;
  143. }
  144. .card-header {
  145. color: white;
  146. font-family: 'Roboto', sans-serif;
  147. text-align: center;
  148. font-size: 1.75em;
  149. padding: 10px;
  150. }
  151. .card-image-box {
  152. padding-left: 10px;
  153. padding-right: 10px;
  154. padding-bottom: 5px;
  155. padding-top: 5px;
  156. width: 100%;
  157. height: 50%;
  158. text-align: center;
  159. cursor: pointer;
  160. overflow: hidden;
  161. }
  162. .card-image {
  163. height: 100%;
  164. width: auto;
  165. cursor: pointer;
  166. border-radius: 2.5%;
  167. }
  168. .card-icon-container {
  169. padding-top: 22.5px;
  170. display: flex;
  171. width: 100%;
  172. height: fit-content;
  173. text-align: center;
  174. align-items: center;
  175. justify-content: center;
  176. }
  177. .social-icons {
  178. text-align: center;
  179. padding: 0;
  180. margin: 0;
  181. }
  182. .social-icons li {
  183. display: inline-flex;
  184. list-style-type: none;
  185. user-select: none;
  186. -webkit-user-select: none;
  187. -moz-user-select: none;
  188. cursor: pointer;
  189. }
  190. .social-icons li a {
  191. border-bottom: none;
  192. }
  193. .social-icons li img {
  194. width: 70px;
  195. height: 70px;
  196. margin-right: 10px;
  197. cursor: pointer;
  198. }
  199. .footer {
  200. background-color: #005380;
  201. color: white;
  202. text-align: center;
  203. position: absolute;
  204. bottom: 0;
  205. width: 100%;
  206. height: 5rem;
  207. }
  208. .footer-links {
  209. padding-top: 10px;
  210. padding-bottom: 10px;
  211. width: 100%;
  212. height: 100%;
  213. line-height: 1em;
  214. }
  215. .footer a {
  216. background-color: transparent;
  217. font-size: 1.1em;
  218. }
  219. .footer p {
  220. background-color: transparent;
  221. font-size: 1.1em;
  222. }
  223. @media only screen and (max-width: 1200px) {
  224. .Navbar__Items,
  225. .Navbar {
  226. flex-direction: column;
  227. }
  228. .Navbar__Items {
  229. display: none;
  230. }
  231. .Navbar__Items--right {
  232. margin-left: 0;
  233. }
  234. .Navbar__ToggleShow {
  235. display: flex;
  236. }
  237. .Navbar__Link-toggle {
  238. align-self: flex-end;
  239. display: initial;
  240. position: absolute;
  241. cursor: pointer;
  242. }
  243. .column {
  244. width: 100%;
  245. }
  246. }
  247. @media only screen and (max-width: 1300px) {
  248. .card-icon-container {
  249. padding-top: 10px;
  250. }
  251. }