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.

219 lines
3.2 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. .Navbar {
  32. background-color: #005380;
  33. display: flex;
  34. padding: 16px;
  35. font-family: 'Roboto', sans-serif;
  36. color: white;
  37. }
  38. .Navbar__Link {
  39. padding-right: 8px;
  40. font-size: 18.5px;
  41. }
  42. .Navbar__Link-brand {
  43. padding-right: 8px;
  44. font-size: 18.5px;
  45. }
  46. .Navbar__Link a,
  47. h1 {
  48. color: white;
  49. }
  50. .Navbar__Link a:link {
  51. text-decoration: none;
  52. }
  53. .Navbar__Link a:visited {
  54. text-decoration: none;
  55. }
  56. .Navbar__Link a:hover {
  57. text-decoration: underline;
  58. }
  59. .Navbar__Link a:active {
  60. text-decoration: underline;
  61. }
  62. .Navbar__Items {
  63. display: flex;
  64. }
  65. .Navbar__Items--right {
  66. margin-left: auto;
  67. }
  68. .Navbar__Link-toggle {
  69. display: none;
  70. }
  71. .banner {
  72. width: 100%;
  73. height: fit-content;
  74. padding: 10px;
  75. }
  76. .column {
  77. float: left;
  78. width: 33.33%;
  79. width: calc(100% / 3);
  80. padding: 15px;
  81. height: 400px;
  82. padding-bottom: 20px;
  83. }
  84. .row:after {
  85. content: "";
  86. display: table;
  87. clear: both;
  88. }
  89. .row {
  90. margin-left: 0px;
  91. margin-right: 0px;
  92. height: auto;
  93. padding-bottom: 20px;
  94. }
  95. .card {
  96. height: 100%;
  97. width: 100%;
  98. border-radius: 2.5%;
  99. background-color: #005380;
  100. box-shadow: 2.5px 5px #FF8B00;
  101. cursor: pointer;
  102. }
  103. .card:hover {
  104. box-shadow: 6px 12px #FF8B00;
  105. transition: box-shadow 0.25s ease-in-out;
  106. -webkit-transition: box-shadow 0.25s ease-in-out;
  107. -o-transition: box-shadow 0.25s ease-in-out;
  108. -moz-transition: box-shadow 0.25s ease-in-out;
  109. }
  110. .card-top-banner {
  111. height: 100%;
  112. width: 100%;
  113. }
  114. .top-banner-text {
  115. color: white;
  116. text-align: center;
  117. font-size: 3em;
  118. padding: 0;
  119. margin-bottom: 0.5em;
  120. margin-top: 0.5em;
  121. }
  122. .top-banner-text-medium {
  123. color: white;
  124. text-align: center;
  125. font-size: 2em;
  126. padding: 0;
  127. margin-bottom: 0em;
  128. margin-top: 0.5em;
  129. }
  130. .top-banner-text-smaller {
  131. color: white;
  132. text-align: center;
  133. font-size: 1.5em;
  134. padding: 0;
  135. margin-bottom: 25px;
  136. }
  137. .card-header {
  138. color: white;
  139. font-family: 'Roboto', sans-serif;
  140. text-align: center;
  141. font-size: 1.75em;
  142. padding: 10px;
  143. }
  144. .card-image-box {
  145. padding: 20px;
  146. padding-bottom: 5px;
  147. padding-top: 5px;
  148. width: 100%;
  149. height: 50%;
  150. text-align: center;
  151. cursor: pointer;
  152. }
  153. .card-image {
  154. height: 100%;
  155. width: auto;
  156. cursor: pointer;
  157. border-radius: 2.5%;
  158. }
  159. .card-icon-container {
  160. display: flex;
  161. width: 100%;
  162. height: fit-content;
  163. }
  164. @media only screen and (max-width: 850px) {
  165. .Navbar__Items,
  166. .Navbar {
  167. flex-direction: column;
  168. }
  169. .Navbar__Items {
  170. display: none;
  171. }
  172. .Navbar__Items--right {
  173. margin-left: 0;
  174. }
  175. .Navbar__ToggleShow {
  176. display: flex;
  177. }
  178. .Navbar__Link-toggle {
  179. align-self: flex-end;
  180. display: initial;
  181. position: absolute;
  182. cursor: pointer;
  183. }
  184. .column {
  185. width: 100%;
  186. }
  187. }