129 lines
2.2 KiB
CSS
129 lines
2.2 KiB
CSS
@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;
|
|
/* box-sizing: border-box; */
|
|
}
|
|
|
|
/* Basic Styling */
|
|
|
|
body {
|
|
font-size: 15px;
|
|
background-color: var(--veryLightGray);
|
|
height: 100vh;
|
|
}
|
|
|
|
.flexContainer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 83.5%;
|
|
/* height: 100vh; */
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.topSection {
|
|
margin-top: 3.8rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.topSection h1 {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.topSection .title1 {
|
|
margin-top: 0.5rem;
|
|
font-weight: 200;
|
|
color: var(--grayishBlue);
|
|
}
|
|
|
|
/* should be a class but wanted to play with :nth-child() */
|
|
.topSection .title2 {
|
|
font-weight: 600;
|
|
color: var(--veryDarkBlue);
|
|
}
|
|
|
|
.topSection .blurb {
|
|
margin-top: 0.7rem;
|
|
text-align: center;
|
|
color: var(--grayishBlue);
|
|
font-size: 16px;
|
|
}
|
|
|
|
|
|
.middleSection {
|
|
margin-top: 2.5rem;
|
|
}
|
|
|
|
.card {
|
|
margin-top: 1.3rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background-color: white;
|
|
border-top: 4px solid;
|
|
border-radius: 6px;
|
|
box-shadow: 0px 10px 15px rgba(0, 0, 255, 0.15);
|
|
padding: 23px 30px 26px 30px;
|
|
}
|
|
.card-title {
|
|
font-size: 20px;
|
|
color: var(--veryDarkBlue);
|
|
font-weight: 600;
|
|
}
|
|
.card-blurb {
|
|
margin-top: 0.3rem;
|
|
color: var(--grayishBlue);
|
|
font-size: 13px;
|
|
}
|
|
.card-image {
|
|
margin-top: 1.8rem;
|
|
align-self: flex-end;
|
|
width: 22%;
|
|
}
|
|
|
|
.column1 {
|
|
}
|
|
.supervisor {
|
|
border-top-color: var(--cyan);
|
|
}
|
|
.column2 {
|
|
}
|
|
.teamBuilder {
|
|
border-top-color: var(--red);
|
|
}
|
|
.karma {
|
|
border-top-color: var(--orange);
|
|
}
|
|
.column3 {
|
|
}
|
|
.calculator {
|
|
border-top-color: var(--blue);
|
|
}
|
|
/* .attribution {
|
|
} */
|