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

:root {
--main-bg-color: #568ea3;
--main-card-bg-color: #E96400;
--main-highlight-color: #a40e4c;
--background-section-color: #ababab;
--scrollbar-color: #dedede;
}
::selection {
background: var(--main-highlight-color); /* WebKit/Blink Browsers */
}
::-moz-selection {
background: var(--main-highlight-color); /* Gecko Browsers */
}
body::-webkit-scrollbar {
width: 15px; /* width of the entire scrollbar */
}
body::-webkit-scrollbar-track {
background: var(--scrollbar-color); /* color of the tracking area */
}
body::-webkit-scrollbar-thumb {
background-color: blue; /* color of the scroll thumb */
border-radius: 20px; /* roundness of the scroll thumb */
border: 5px solid var(--scrollbar-color); /* creates padding around scroll thumb */
}
* {
box-sizing: border-box;
}
html {
height: 100%;
scroll-behavior: smooth;
}
body {
margin: 0;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
height: 100%;
background-color: var(--main-bg-color);
}
h1 {
all: initial;
}
h1 {
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
color: white;
padding-right: 8px;
font-size: 23.5px;
}
a {
color: white;
}
a:hover {
color: var(--main-highlight-color);
}
p {
color: white;
font-size: 1.1rem;
}
.Navbar {
background-color: var(--main-card-bg-color);
display: flex;
padding: 16px;
font-family: 'Roboto', sans-serif;
color: white;
}
.Navbar__Link {
padding-right: 8px;
font-size: 18.5px;
}
.Navbar__Link-brand {
padding-right: 8px;
font-size: 18.5px;
}
.Navbar__Link a,
h1 {
color: white;
}
.Navbar__Link a:link {
text-decoration: none;
}
.Navbar__Link a:visited {
text-decoration: none;
}
.Navbar__Link a:hover {
text-decoration: underline;
}
.Navbar__Link a:active {
text-decoration: underline;
}
.Navbar__Items {
display: flex;
}
.Navbar__Items--right {
margin-left: auto;
}
.background-section {
width: 40%;
background-color: var(--background-section-color);
height: 20rem;
padding: 1em;
margin: 1em;
box-shadow: 10px 15px var(--main-highlight-color);
}
.location-section {
width: 40%;
background-color: var(--background-section-color);
height: 20rem;
padding: 1em;
margin: 1em;
margin-left: auto;
margin-bottom: 5rem;
margin-right: 2em;
box-shadow: 10px 15px var(--main-highlight-color);
}
.section-header {
text-align: center;
}
.placeholder {
visibility: hidden;
}
.image-section-1 {
width: 35%;
background-color: var(--background-section-color);
height: 17.5rem;
padding: 1em;
margin: 1em;
margin-left: auto;
margin-bottom: 5rem;
margin-top: -19.5rem;
margin-right: 10%;
box-shadow: 10px 15px var(--main-highlight-color);
text-align: center;
}
.map-section-1 {
width: 35%;
background-color: var(--background-section-color);
height: 17.5rem;
padding: 1em;
margin: 1em;
margin-right: auto;
margin-bottom: 5rem;
margin-top: -23.5rem;
margin-left: 10%;
box-shadow: 10px 15px var(--main-highlight-color);
}
.poaching-image {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
}
.poaching-image img {
width: auto;
height: auto;
max-height: 100%;
max-width: 100%;
}