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.

354 lines
6.7 KiB

  1. :root {
  2. --main-bg-color: #A3A960;
  3. --main-card-bg-color: #3d405b;
  4. --main-highlight-color: #6b705c;
  5. --background-section-color: #B68468;
  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: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",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. .Navbar__Link--sources {
  100. margin-right: 0.5em;
  101. }
  102. .background-section {
  103. width: 40%;
  104. background-color: var(--background-section-color);
  105. height: 20rem;
  106. padding: 1em;
  107. margin: 1em;
  108. box-shadow: 10px 15px var(--main-highlight-color);
  109. }
  110. .symbiosis-section {
  111. width: 50%;
  112. background-color: var(--background-section-color);
  113. height: 37.5rem;
  114. padding: 1em;
  115. margin: 1em;
  116. margin-left: 5%;
  117. box-shadow: 10px 15px var(--main-highlight-color);
  118. }
  119. .causes-section {
  120. width: 50%;
  121. background-color: var(--background-section-color);
  122. height: 25rem;
  123. padding: 1em;
  124. margin: 1em;
  125. margin-right: 2.5%;
  126. margin-left: auto;
  127. margin-top: -27.5rem;
  128. box-shadow: 10px 15px var(--main-highlight-color);
  129. }
  130. .solutions-section {
  131. width: 50%;
  132. background-color: var(--background-section-color);
  133. height: 25rem;
  134. padding: 1em;
  135. margin: 1em;
  136. margin-left: 5%;
  137. margin-right: auto;
  138. margin-top: 6.5rem;
  139. box-shadow: 10px 15px var(--main-highlight-color);
  140. }
  141. .food-web-section {
  142. width: 50%;
  143. background-color: var(--background-section-color);
  144. height: 27.5rem;
  145. padding: 1em;
  146. margin: 1em;
  147. box-shadow: 10px 15px var(--main-highlight-color);
  148. margin-top: 10.5em;
  149. }
  150. .location-section {
  151. width: 40%;
  152. background-color: var(--background-section-color);
  153. height: 20rem;
  154. padding: 1em;
  155. margin: 1em;
  156. margin-left: auto;
  157. margin-bottom: 5rem;
  158. margin-right: 2em;
  159. box-shadow: 10px 15px var(--main-highlight-color);
  160. }
  161. .section-header {
  162. text-align: center;
  163. }
  164. .section-header p {
  165. padding-top: 0.25rem;
  166. margin-top: 0.25rem;
  167. }
  168. .placeholder {
  169. visibility: hidden;
  170. }
  171. .image-section-1 {
  172. width: 35%;
  173. background-color: var(--background-section-color);
  174. height: 17.5rem;
  175. padding: 1em;
  176. margin: 1em;
  177. margin-left: auto;
  178. margin-bottom: 5rem;
  179. margin-top: -19.5rem;
  180. margin-right: 10%;
  181. box-shadow: 10px 15px var(--main-highlight-color);
  182. text-align: center;
  183. }
  184. .image-section-2 {
  185. width: 40%;
  186. background-color: var(--background-section-color);
  187. height: 20rem;
  188. padding: 1em;
  189. margin: 1em;
  190. margin-left: auto;
  191. margin-bottom: 5rem;
  192. margin-top: -30rem;
  193. margin-right: 2em;
  194. box-shadow: 10px 15px var(--main-highlight-color);
  195. text-align: center;
  196. }
  197. .image-section-3 {
  198. width: 40%;
  199. background-color: var(--background-section-color);
  200. height: 20rem;
  201. padding: 1em;
  202. margin: 1em;
  203. margin-right: auto;
  204. margin-bottom: 5rem;
  205. margin-top: 17.5rem;
  206. margin-left: 2em;
  207. box-shadow: 10px 15px var(--main-highlight-color);
  208. text-align: center;
  209. }
  210. .image-section-4 {
  211. width: 40%;
  212. background-color: var(--background-section-color);
  213. height: 20rem;
  214. padding: 1em;
  215. margin: 1em;
  216. margin-left: auto;
  217. margin-bottom: 10rem;
  218. margin-top: -23.5rem;
  219. margin-right: 2em;
  220. box-shadow: 10px 15px var(--main-highlight-color);
  221. text-align: center;
  222. }
  223. .map-section-1 {
  224. width: 35%;
  225. background-color: var(--background-section-color);
  226. height: 17.5rem;
  227. padding: 1em;
  228. margin: 1em;
  229. margin-right: auto;
  230. margin-bottom: 5rem;
  231. margin-top: -23.5rem;
  232. margin-left: 10%;
  233. box-shadow: 10px 15px var(--main-highlight-color);
  234. }
  235. .food-web-explanation {
  236. width: 40%;
  237. background-color: var(--background-section-color);
  238. height: 35rem;
  239. padding: 1em;
  240. margin: 1em;
  241. margin-left: auto;
  242. margin-bottom: 5rem;
  243. margin-top: -32.5rem;
  244. margin-right: 2.5%;
  245. box-shadow: 10px 15px var(--main-highlight-color);
  246. text-align: center;
  247. }
  248. .poaching-image {
  249. width: 100%;
  250. height: 100%;
  251. padding: 0;
  252. margin: 0;
  253. }
  254. .poaching-image img {
  255. width: auto;
  256. height: auto;
  257. max-height: 100%;
  258. max-width: 100%;
  259. }
  260. .food-web-image {
  261. width: 100%;
  262. height: 100%;
  263. padding: 0;
  264. margin: 0;
  265. text-align: center;
  266. }
  267. .food-web-image img {
  268. width: auto;
  269. height: auto;
  270. max-height: 90%;
  271. max-width: 100%;
  272. }
  273. .sources-section {
  274. width: 80%;
  275. background-color: var(--background-section-color);
  276. height: 10rem;
  277. padding: 0.5em;
  278. margin: 1em;
  279. margin-left: 10%;
  280. box-shadow: 10px 15px var(--main-highlight-color);
  281. text-align: center;
  282. }
  283. .sources-section p {
  284. font-size: 1.5rem;
  285. }
  286. .sources {
  287. width: 65%;
  288. background-color: var(--background-section-color);
  289. height: auto;
  290. padding: 0.5em;
  291. margin: 1em;
  292. margin-left: 17.5%;
  293. box-shadow: 10px 15px var(--main-highlight-color);
  294. }
  295. .sources li {
  296. color: white;
  297. font-size: 1.1rem;
  298. }
  299. .sources h1 {
  300. text-align: center;
  301. }
  302. .centered {
  303. text-align: center;
  304. }