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.

260 lines
4.9 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: 50%;
  109. background-color: var(--background-section-color);
  110. height: 37.5rem;
  111. padding: 1em;
  112. margin: 1em;
  113. margin-left: 5%;
  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. margin-top: 10.5em;
  124. }
  125. .location-section {
  126. width: 40%;
  127. background-color: var(--background-section-color);
  128. height: 20rem;
  129. padding: 1em;
  130. margin: 1em;
  131. margin-left: auto;
  132. margin-bottom: 5rem;
  133. margin-right: 2em;
  134. box-shadow: 10px 15px var(--main-highlight-color);
  135. }
  136. .section-header {
  137. text-align: center;
  138. }
  139. .section-header p {
  140. padding-top: 0.25rem;
  141. margin-top: 0.25rem;
  142. }
  143. .placeholder {
  144. visibility: hidden;
  145. }
  146. .image-section-1 {
  147. width: 35%;
  148. background-color: var(--background-section-color);
  149. height: 17.5rem;
  150. padding: 1em;
  151. margin: 1em;
  152. margin-left: auto;
  153. margin-bottom: 5rem;
  154. margin-top: -19.5rem;
  155. margin-right: 10%;
  156. box-shadow: 10px 15px var(--main-highlight-color);
  157. text-align: center;
  158. }
  159. .image-section-2 {
  160. width: 40%;
  161. background-color: var(--background-section-color);
  162. height: 20rem;
  163. padding: 1em;
  164. margin: 1em;
  165. margin-left: auto;
  166. margin-bottom: 5rem;
  167. margin-top: -30rem;
  168. margin-right: 2em;
  169. box-shadow: 10px 15px var(--main-highlight-color);
  170. text-align: center;
  171. }
  172. .map-section-1 {
  173. width: 35%;
  174. background-color: var(--background-section-color);
  175. height: 17.5rem;
  176. padding: 1em;
  177. margin: 1em;
  178. margin-right: auto;
  179. margin-bottom: 5rem;
  180. margin-top: -23.5rem;
  181. margin-left: 10%;
  182. box-shadow: 10px 15px var(--main-highlight-color);
  183. }
  184. .food-web-explanation {
  185. width: 40%;
  186. background-color: var(--background-section-color);
  187. height: 35rem;
  188. padding: 1em;
  189. margin: 1em;
  190. margin-left: auto;
  191. margin-bottom: 5rem;
  192. margin-top: -32.5rem;
  193. margin-right: 2.5%;
  194. box-shadow: 10px 15px var(--main-highlight-color);
  195. text-align: center;
  196. }
  197. .poaching-image {
  198. width: 100%;
  199. height: 100%;
  200. padding: 0;
  201. margin: 0;
  202. }
  203. .poaching-image img {
  204. width: auto;
  205. height: auto;
  206. max-height: 100%;
  207. max-width: 100%;
  208. }
  209. .food-web-image {
  210. width: 100%;
  211. height: 100%;
  212. padding: 0;
  213. margin: 0;
  214. text-align: center;
  215. }
  216. .food-web-image img {
  217. width: auto;
  218. height: auto;
  219. max-height: 90%;
  220. max-width: 100%;
  221. }