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.

173 lines
2.5 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. h1 {
  17. font-family: 'Roboto', sans-serif;
  18. color: white;
  19. padding-right: 8px;
  20. font-size: 23.5px;
  21. }
  22. a {
  23. color: white;
  24. }
  25. a:hover {
  26. color: #FF8B00;
  27. }
  28. .Navbar {
  29. background-color: #005380;
  30. display: flex;
  31. padding: 16px;
  32. font-family: 'Roboto', sans-serif;
  33. color: white;
  34. }
  35. .Navbar__Link {
  36. padding-right: 8px;
  37. font-size: 18.5px;
  38. }
  39. .Navbar__Link-brand {
  40. padding-right: 8px;
  41. font-size: 18.5px;
  42. }
  43. .Navbar__Link a,
  44. h1 {
  45. color: white;
  46. }
  47. .Navbar__Link a:link {
  48. text-decoration: none;
  49. }
  50. .Navbar__Link a:visited {
  51. text-decoration: none;
  52. }
  53. .Navbar__Link a:hover {
  54. text-decoration: underline;
  55. }
  56. .Navbar__Link a:active {
  57. text-decoration: underline;
  58. }
  59. .Navbar__Items {
  60. display: flex;
  61. }
  62. .Navbar__Items--right {
  63. margin-left: auto;
  64. }
  65. .Navbar__Link-toggle {
  66. display: none;
  67. }
  68. .banner {
  69. width: 100%;
  70. height: 500px;
  71. padding: 10px;
  72. }
  73. .column {
  74. float: left;
  75. width: 33.33%;
  76. width: calc(100% / 3);
  77. padding: 10px;
  78. height: 500px;
  79. padding-bottom: 20px;
  80. }
  81. .row:after {
  82. content: "";
  83. display: table;
  84. clear: both;
  85. }
  86. .row {
  87. margin-left: 0px;
  88. margin-right: 0px;
  89. height: auto;
  90. padding-bottom: 20px;
  91. }
  92. .card {
  93. height: 100%;
  94. width: 100%;
  95. border-radius: 2.5%;
  96. background-color: #005380;
  97. box-shadow: 2.5px 5px #FF8B00;
  98. }
  99. .card:hover {
  100. box-shadow: 5px 10px #FF8B00;
  101. transition: box-shadow 0.25s ease-in-out;
  102. -webkit-transition: box-shadow 0.25s ease-in-out;
  103. -o-transition: box-shadow 0.25s ease-in-out;
  104. -moz-transition: box-shadow 0.25s ease-in-out;
  105. }
  106. .card-top-banner {
  107. height: 100%;
  108. width: 100%;
  109. }
  110. .top-banner-text {
  111. color: white;
  112. text-align: center;
  113. font-size: 3em;
  114. padding: 0;
  115. margin-bottom: 0.3em;
  116. }
  117. .top-banner-text-smaller {
  118. color: white;
  119. text-align: center;
  120. font-size: 1.5em;
  121. padding: 0;
  122. margin: 0 0;
  123. }
  124. @media only screen and (max-width: 850px) {
  125. .Navbar__Items,
  126. .Navbar {
  127. flex-direction: column;
  128. }
  129. .Navbar__Items {
  130. display: none;
  131. }
  132. .Navbar__Items--right {
  133. margin-left: 0;
  134. }
  135. .Navbar__ToggleShow {
  136. display: flex;
  137. }
  138. .Navbar__Link-toggle {
  139. align-self: flex-end;
  140. display: initial;
  141. position: absolute;
  142. cursor: pointer;
  143. }
  144. .column {
  145. width: 100%;
  146. }
  147. }