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.

186 lines
3.3 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: 15px; /* 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: 5px solid var(--scrollbar-color); /* creates padding around scroll thumb */
  24. }
  25. * {
  26. box-sizing: border-box;
  27. }
  28. html {
  29. height: 100%;
  30. scroll-behavior: smooth;
  31. }
  32. body {
  33. margin: 0;
  34. font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
  35. height: 100%;
  36. background-color: var(--main-bg-color);
  37. }
  38. h1 {
  39. all: initial;
  40. }
  41. h1 {
  42. font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
  43. color: white;
  44. padding-right: 8px;
  45. font-size: 23.5px;
  46. }
  47. a {
  48. color: white;
  49. }
  50. a:hover {
  51. color: var(--main-highlight-color);
  52. }
  53. p {
  54. color: white;
  55. font-size: 1.1rem;
  56. }
  57. .Navbar {
  58. background-color: var(--main-card-bg-color);
  59. display: flex;
  60. padding: 16px;
  61. font-family: 'Roboto', sans-serif;
  62. color: white;
  63. }
  64. .Navbar__Link {
  65. padding-right: 8px;
  66. font-size: 18.5px;
  67. }
  68. .Navbar__Link-brand {
  69. padding-right: 8px;
  70. font-size: 18.5px;
  71. }
  72. .Navbar__Link a,
  73. h1 {
  74. color: white;
  75. }
  76. .Navbar__Link a:link {
  77. text-decoration: none;
  78. }
  79. .Navbar__Link a:visited {
  80. text-decoration: none;
  81. }
  82. .Navbar__Link a:hover {
  83. text-decoration: underline;
  84. }
  85. .Navbar__Link a:active {
  86. text-decoration: underline;
  87. }
  88. .Navbar__Items {
  89. display: flex;
  90. }
  91. .Navbar__Items--right {
  92. margin-left: auto;
  93. }
  94. .background-section {
  95. width: 40%;
  96. background-color: var(--background-section-color);
  97. height: 20rem;
  98. padding: 1em;
  99. margin: 1em;
  100. box-shadow: 10px 15px var(--main-highlight-color);
  101. }
  102. .location-section {
  103. width: 40%;
  104. background-color: var(--background-section-color);
  105. height: 20rem;
  106. padding: 1em;
  107. margin: 1em;
  108. margin-left: auto;
  109. margin-bottom: 5rem;
  110. margin-right: 2em;
  111. box-shadow: 10px 15px var(--main-highlight-color);
  112. }
  113. .section-header {
  114. text-align: center;
  115. }
  116. .placeholder {
  117. visibility: hidden;
  118. }
  119. .image-section-1 {
  120. width: 35%;
  121. background-color: var(--background-section-color);
  122. height: 17.5rem;
  123. padding: 1em;
  124. margin: 1em;
  125. margin-left: auto;
  126. margin-bottom: 5rem;
  127. margin-top: -19.5rem;
  128. margin-right: 10%;
  129. box-shadow: 10px 15px var(--main-highlight-color);
  130. text-align: center;
  131. }
  132. .map-section-1 {
  133. width: 35%;
  134. background-color: var(--background-section-color);
  135. height: 17.5rem;
  136. padding: 1em;
  137. margin: 1em;
  138. margin-right: auto;
  139. margin-bottom: 5rem;
  140. margin-top: -23.5rem;
  141. margin-left: 10%;
  142. box-shadow: 10px 15px var(--main-highlight-color);
  143. }
  144. .poaching-image {
  145. width: 100%;
  146. height: 100%;
  147. padding: 0;
  148. margin: 0;
  149. }
  150. .poaching-image img {
  151. width: auto;
  152. height: auto;
  153. max-height: 100%;
  154. max-width: 100%;
  155. }