A website made for a class project to document an ecological issue resulting from human impact on the environment
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.

259 lines
4.8 KiB

  1. :root {
  2. --main-bg-color: #568ea3;
  3. --main-card-bg-color: #E96400;
  4. --main-highlight-color: #a40e4c;
  5. --background-section-color: #ababab;
  6. --scrollbar-color: #dedede;
  7. }
  8. ::selection {
  9. background: var(--main-highlight-color); /* WebKit/Blink Browsers */
  10. }
  11. ::-moz-selection {
  12. background: var(--main-highlight-color); /* Gecko Browsers */
  13. }
  14. body::-webkit-scrollbar {
  15. width: 20px; /* width of the entire scrollbar */
  16. }
  17. body::-webkit-scrollbar-track {
  18. background: var(--scrollbar-color); /* color of the tracking area */
  19. }
  20. body::-webkit-scrollbar-thumb {
  21. background-color: blue; /* color of the scroll thumb */
  22. border-radius: 20px; /* roundness of the scroll thumb */
  23. border: 7.5px solid var(--scrollbar-color); /* creates padding around scroll thumb */
  24. }
  25. body::-webkit-scrollbar-thumb:hover {
  26. background-color: blue; /* color of the scroll thumb */
  27. border-radius: 20px; /* roundness of the scroll thumb */
  28. border: 5px solid var(--scrollbar-color); /* creates padding around scroll thumb */
  29. }
  30. * {
  31. box-sizing: border-box;
  32. }
  33. html {
  34. height: 100%;
  35. scroll-behavior: smooth;
  36. }
  37. body {
  38. margin: 0;
  39. font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
  40. height: 100%;
  41. background-color: var(--main-bg-color);
  42. }
  43. h1 {
  44. all: initial;
  45. }
  46. h1 {
  47. font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
  48. color: white;
  49. padding-right: 8px;
  50. font-size: 23.5px;
  51. }
  52. a {
  53. color: white;
  54. }
  55. a:hover {
  56. color: var(--main-highlight-color);
  57. }
  58. p {
  59. color: white;
  60. font-size: 1.1rem;
  61. }
  62. .Navbar {
  63. background-color: var(--main-card-bg-color);
  64. display: flex;
  65. padding: 16px;
  66. font-family: 'Roboto', sans-serif;
  67. color: white;
  68. }
  69. .Navbar__Link {
  70. padding-right: 8px;
  71. font-size: 18.5px;
  72. }
  73. .Navbar__Link-brand {
  74. padding-right: 8px;
  75. font-size: 18.5px;
  76. }
  77. .Navbar__Link a,
  78. h1 {
  79. color: white;
  80. }
  81. .Navbar__Link a:link {
  82. text-decoration: none;
  83. }
  84. .Navbar__Link a:visited {
  85. text-decoration: none;
  86. }
  87. .Navbar__Link a:hover {
  88. text-decoration: underline;
  89. }
  90. .Navbar__Link a:active {
  91. text-decoration: underline;
  92. }
  93. .Navbar__Items {
  94. display: flex;
  95. }
  96. .Navbar__Items--right {
  97. margin-left: auto;
  98. }
  99. .background-section {
  100. width: 40%;
  101. background-color: var(--background-section-color);
  102. height: 20rem;
  103. padding: 1em;
  104. margin: 1em;
  105. box-shadow: 10px 15px var(--main-highlight-color);
  106. }
  107. .symbiosis-section {
  108. width: 40%;
  109. background-color: var(--background-section-color);
  110. height: 22.5rem;
  111. padding: 1em;
  112. margin: 1em;
  113. margin-left: 10%;
  114. box-shadow: 10px 15px var(--main-highlight-color);
  115. }
  116. .food-web-section {
  117. width: 50%;
  118. background-color: var(--background-section-color);
  119. height: 27.5rem;
  120. padding: 1em;
  121. margin: 1em;
  122. box-shadow: 10px 15px var(--main-highlight-color);
  123. }
  124. .location-section {
  125. width: 40%;
  126. background-color: var(--background-section-color);
  127. height: 20rem;
  128. padding: 1em;
  129. margin: 1em;
  130. margin-left: auto;
  131. margin-bottom: 5rem;
  132. margin-right: 2em;
  133. box-shadow: 10px 15px var(--main-highlight-color);
  134. }
  135. .section-header {
  136. text-align: center;
  137. }
  138. .section-header p {
  139. padding-top: 0.25rem;
  140. margin-top: 0.25rem;
  141. }
  142. .placeholder {
  143. visibility: hidden;
  144. }
  145. .image-section-1 {
  146. width: 35%;
  147. background-color: var(--background-section-color);
  148. height: 17.5rem;
  149. padding: 1em;
  150. margin: 1em;
  151. margin-left: auto;
  152. margin-bottom: 5rem;
  153. margin-top: -19.5rem;
  154. margin-right: 10%;
  155. box-shadow: 10px 15px var(--main-highlight-color);
  156. text-align: center;
  157. }
  158. .image-section-2 {
  159. width: 35%;
  160. background-color: var(--background-section-color);
  161. height: 17.5rem;
  162. padding: 1em;
  163. margin: 1em;
  164. margin-left: auto;
  165. margin-bottom: 5rem;
  166. margin-top: -20.5rem;
  167. margin-right: 2em;
  168. box-shadow: 10px 15px var(--main-highlight-color);
  169. text-align: center;
  170. }
  171. .map-section-1 {
  172. width: 35%;
  173. background-color: var(--background-section-color);
  174. height: 17.5rem;
  175. padding: 1em;
  176. margin: 1em;
  177. margin-right: auto;
  178. margin-bottom: 5rem;
  179. margin-top: -23.5rem;
  180. margin-left: 10%;
  181. box-shadow: 10px 15px var(--main-highlight-color);
  182. }
  183. .food-web-explanation {
  184. width: 35%;
  185. background-color: var(--background-section-color);
  186. height: 25rem;
  187. padding: 1em;
  188. margin: 1em;
  189. margin-left: auto;
  190. margin-bottom: 5rem;
  191. margin-top: -27rem;
  192. margin-right: 7.5%;
  193. box-shadow: 10px 15px var(--main-highlight-color);
  194. text-align: center;
  195. }
  196. .poaching-image {
  197. width: 100%;
  198. height: 100%;
  199. padding: 0;
  200. margin: 0;
  201. }
  202. .poaching-image img {
  203. width: auto;
  204. height: auto;
  205. max-height: 100%;
  206. max-width: 100%;
  207. }
  208. .food-web-image {
  209. width: 100%;
  210. height: 100%;
  211. padding: 0;
  212. margin: 0;
  213. text-align: center;
  214. }
  215. .food-web-image img {
  216. width: auto;
  217. height: auto;
  218. max-height: 90%;
  219. max-width: 100%;
  220. }