2020-09-27 00:05:06 +02:00
|
|
|
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;600&display=swap');
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Challenge colors, font
|
|
|
|
*
|
|
|
|
* The font-size for 20px is to make rem clearer for increments
|
|
|
|
*
|
|
|
|
* Mobile: 375px (375x1360)
|
|
|
|
* Desktop: 1440px (1440x922)
|
|
|
|
*/
|
|
|
|
|
|
|
|
:root {
|
|
|
|
font-family: 'Poppins', sans-serif;
|
|
|
|
font-size: 20px;
|
|
|
|
|
|
|
|
/* Primary Colors */
|
|
|
|
--red: hsl(0, 78%, 62%);
|
|
|
|
--cyan: hsl(180, 62%, 55%);
|
|
|
|
--orange: hsl(34, 97%, 64%);
|
|
|
|
--blue: hsl(212, 86%, 64%);
|
|
|
|
|
|
|
|
/* Neutral */
|
|
|
|
--veryDarkBlue: hsl(234, 12%, 34%);
|
|
|
|
--grayishBlue: hsl(229, 6%, 66%);
|
|
|
|
--veryLightGray: hsl(0, 0%, 98%);
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2020-09-27 16:46:19 +02:00
|
|
|
/* box-sizing: border-box; */
|
2020-09-27 00:05:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Basic Styling */
|
|
|
|
|
|
|
|
body {
|
|
|
|
font-size: 15px;
|
2020-09-27 01:41:30 +02:00
|
|
|
background-color: var(--veryLightGray);
|
|
|
|
height: 100vh;
|
2020-09-27 01:03:33 +02:00
|
|
|
}
|
|
|
|
|
2020-09-27 01:41:30 +02:00
|
|
|
.flexContainer {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-09-27 16:46:19 +02:00
|
|
|
width: 83.5%;
|
2020-09-27 01:41:30 +02:00
|
|
|
/* height: 100vh; */
|
|
|
|
margin: 0 auto;
|
2020-09-28 00:36:12 +02:00
|
|
|
max-width: 400px;
|
2020-09-27 01:03:33 +02:00
|
|
|
}
|
2020-09-27 01:41:30 +02:00
|
|
|
|
|
|
|
.topSection {
|
2020-09-28 00:36:12 +02:00
|
|
|
/* think this change was brought about by browser differences. Was previously 3.8 */
|
|
|
|
margin-top: 3.65rem;
|
2020-09-27 01:41:30 +02:00
|
|
|
text-align: center;
|
2020-09-27 01:03:33 +02:00
|
|
|
}
|
2020-09-27 01:41:30 +02:00
|
|
|
|
2020-09-28 14:06:27 +02:00
|
|
|
.topSection > .title {
|
2020-09-28 00:36:12 +02:00
|
|
|
font-size: calc(24px + (35 - 24) * ((100vw - 375px) / (1440 - 375)));
|
2020-09-27 01:03:33 +02:00
|
|
|
}
|
2020-09-27 01:41:30 +02:00
|
|
|
|
|
|
|
.topSection .title1 {
|
2020-09-27 16:46:19 +02:00
|
|
|
margin-top: 0.5rem;
|
2020-09-27 01:41:30 +02:00
|
|
|
font-weight: 200;
|
|
|
|
color: var(--grayishBlue);
|
2020-09-27 01:03:33 +02:00
|
|
|
}
|
|
|
|
|
2020-09-27 01:41:30 +02:00
|
|
|
/* should be a class but wanted to play with :nth-child() */
|
|
|
|
.topSection .title2 {
|
|
|
|
font-weight: 600;
|
|
|
|
color: var(--veryDarkBlue);
|
|
|
|
}
|
2020-09-27 01:03:33 +02:00
|
|
|
|
2020-09-27 01:41:30 +02:00
|
|
|
.topSection .blurb {
|
2020-09-27 16:46:19 +02:00
|
|
|
margin-top: 0.7rem;
|
2020-09-27 01:41:30 +02:00
|
|
|
text-align: center;
|
|
|
|
color: var(--grayishBlue);
|
2020-09-27 16:46:19 +02:00
|
|
|
font-size: 16px;
|
2020-09-27 01:03:33 +02:00
|
|
|
}
|
2020-09-27 01:41:30 +02:00
|
|
|
|
|
|
|
|
|
|
|
.middleSection {
|
2020-09-27 17:20:14 +02:00
|
|
|
margin-top: 2.5rem;
|
2020-09-27 01:03:33 +02:00
|
|
|
}
|
2020-09-27 01:41:30 +02:00
|
|
|
|
|
|
|
.card {
|
2020-09-27 17:20:14 +02:00
|
|
|
margin-top: 1.3rem;
|
2020-09-27 01:41:30 +02:00
|
|
|
background-color: white;
|
2020-09-27 16:46:19 +02:00
|
|
|
border-top: 4px solid;
|
2020-09-27 17:20:14 +02:00
|
|
|
border-radius: 6px;
|
2020-09-28 13:55:33 +02:00
|
|
|
box-shadow: 0px 10px 15px rgba(56, 75, 108, 0.2);
|
2020-09-27 17:20:14 +02:00
|
|
|
padding: 23px 30px 26px 30px;
|
2020-09-27 01:03:33 +02:00
|
|
|
}
|
2020-09-27 01:41:30 +02:00
|
|
|
.card-title {
|
2020-09-27 17:20:14 +02:00
|
|
|
font-size: 20px;
|
2020-09-27 01:41:30 +02:00
|
|
|
color: var(--veryDarkBlue);
|
2020-09-27 16:46:19 +02:00
|
|
|
font-weight: 600;
|
2020-09-27 01:41:30 +02:00
|
|
|
}
|
|
|
|
.card-blurb {
|
2020-09-27 17:20:14 +02:00
|
|
|
margin-top: 0.3rem;
|
2020-09-27 01:41:30 +02:00
|
|
|
color: var(--grayishBlue);
|
2020-09-27 16:46:19 +02:00
|
|
|
font-size: 13px;
|
2020-09-27 01:03:33 +02:00
|
|
|
}
|
2020-09-27 01:41:30 +02:00
|
|
|
.card-image {
|
2020-09-28 13:55:33 +02:00
|
|
|
display: block;
|
2020-09-27 16:46:19 +02:00
|
|
|
margin-top: 1.8rem;
|
2020-09-28 13:55:33 +02:00
|
|
|
margin-left: auto;
|
2020-09-27 16:46:19 +02:00
|
|
|
width: 22%;
|
2020-09-28 13:55:33 +02:00
|
|
|
|
2020-09-27 01:41:30 +02:00
|
|
|
}
|
|
|
|
|
2020-09-27 01:03:33 +02:00
|
|
|
.column1 {
|
|
|
|
}
|
|
|
|
.supervisor {
|
2020-09-27 01:41:30 +02:00
|
|
|
border-top-color: var(--cyan);
|
2020-09-27 01:03:33 +02:00
|
|
|
}
|
|
|
|
.column2 {
|
|
|
|
}
|
|
|
|
.teamBuilder {
|
2020-09-27 01:41:30 +02:00
|
|
|
border-top-color: var(--red);
|
2020-09-27 01:03:33 +02:00
|
|
|
}
|
|
|
|
.karma {
|
2020-09-27 01:41:30 +02:00
|
|
|
border-top-color: var(--orange);
|
2020-09-27 01:03:33 +02:00
|
|
|
}
|
|
|
|
.column3 {
|
|
|
|
}
|
|
|
|
.calculator {
|
2020-09-27 01:41:30 +02:00
|
|
|
border-top-color: var(--blue);
|
2020-09-27 01:03:33 +02:00
|
|
|
}
|
|
|
|
/* .attribution {
|
|
|
|
} */
|
2020-09-28 00:36:12 +02:00
|
|
|
|
|
|
|
/* arbitrary figure atm */
|
|
|
|
/* @media screen and (min-width: 600px) {
|
|
|
|
.flexContainer {
|
|
|
|
width: 78%;
|
|
|
|
}
|
|
|
|
} */
|
|
|
|
|
|
|
|
@media screen and (min-width: 1000px) {
|
|
|
|
|
|
|
|
.flexContainer {
|
|
|
|
max-width: 1440px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.topSection {
|
|
|
|
margin-top: 3.45rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.topSection .blurb {
|
|
|
|
width: 45%;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
font-size: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flexContainer {
|
|
|
|
width: 78%;
|
|
|
|
}
|
|
|
|
.middleSection {
|
|
|
|
margin-top: 3.3rem;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card {
|
|
|
|
margin-top: 0;
|
|
|
|
padding: 27px 30px 36px 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-blurb {
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
}
|
|
|
|
.card-image {
|
|
|
|
margin-top: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.column {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
margin: auto;
|
|
|
|
max-width: calc((100% /3) - 1.5rem);
|
|
|
|
}
|
|
|
|
|
|
|
|
.karma {
|
|
|
|
margin-top: 1.3rem;
|
|
|
|
}
|
|
|
|
}
|