feat: changed design to current branding (ugly)

This commit is contained in:
afn 2023-01-14 16:01:19 -05:00
parent 1644f4313e
commit 931c4dfe35
4 changed files with 30 additions and 41 deletions

View File

@ -1,10 +1,10 @@
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Roboto:wght@200;300;400;500;600;700;800&display=swap");
* { * {
box-sizing: inherit; box-sizing: inherit;
margin: 0; margin: 0;
padding: 0; padding: 0;
font-family: "Manrope", sans-serif; font-family: "Roboto", sans-serif;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
} }
@ -29,7 +29,7 @@ body {
.wrapper { .wrapper {
margin-inline: auto; margin-inline: auto;
width: min(90%, 95rem); width: min(90%, 65rem);
margin-top: 4rem; margin-top: 4rem;
padding-bottom: 6rem; padding-bottom: 6rem;
display: flex; display: flex;
@ -44,17 +44,17 @@ body {
} }
:root { :root {
--white: #fff; --white: #FFD9E1;
--accent-color: #9fd5ff; --accent-color: #8F0045;
--accent-color-two: hsl(207, 65%, 90%); --accent-color-two: hsl(207, 65%, 90%);
--accent-low-opacity: #4b5f798a; --accent-low-opacity: #5B3F46;
--bg-color: hsl(240, 2%, 11%); --bg-color: #201A1B;
--grey-one: #252b31; --grey-one: #252b31;
--grey-two: #28313b; --grey-two: #5B3F46;
--grey-three: #373e4d; --grey-three: #30312B;
--grey-four: #182244; --grey-four: #182244;
--grey-five: hsl(208, 30%, 75%); --grey-five: hsl(208, 30%, 75%);
--grey-six: #202126; --grey-six: #2A2224;
--grey-seven: #43698657; --grey-seven: #43698657;
--bezier-one: cubic-bezier(0.25, 0.46, 0.45, 0.94); --bezier-one: cubic-bezier(0.25, 0.46, 0.45, 0.94);
} }
@ -67,22 +67,20 @@ body {
h1 { h1 {
color: var(--white); color: var(--white);
font-weight: 700; font-weight: 500;
font-size: 1.5rem; font-size: 1.5rem;
color: var(--white); color: var(--white);
font-weight: 700;
letter-spacing: -0.04em;
} }
h2 { h2 {
color: var(--grey-five); color: var(--white);
font-weight: 400; font-weight: 400;
font-size: 1.2rem; font-size: 1.2rem;
} }
h3 { h3 {
color: var(--white); color: var(--white);
font-weight: 500; font-weight: 400;
font-size: 1rem; font-size: 1rem;
} }
@ -90,21 +88,18 @@ h4 {
color: var(--white); color: var(--white);
font-weight: 500; font-weight: 500;
font-size: 1.25rem; font-size: 1.25rem;
letter-spacing: 0.02rem;
} }
h5 { h5 {
color: var(--white); color: var(--white);
font-weight: 300; font-weight: 300;
font-size: 1rem; font-size: 1rem;
letter-spacing: 0.02rem;
} }
h6 { h6 {
color: var(--grey-five); color: var(--white);
font-weight: 300; font-weight: 300;
font-size: 1rem; font-size: 1rem;
letter-spacing: 0.02rem;
} }
::-webkit-scrollbar { ::-webkit-scrollbar {

View File

@ -32,11 +32,11 @@
.button-secondary { .button-secondary {
min-width: max-content; min-width: max-content;
font-size: 1rem; font-size: 1rem;
color: var(--white); color: #FFD9E1;
font-weight: 600; font-weight: 400;
border: none; border: none;
border-radius: 12px; border-radius: 1200px;
padding: 0.85rem 1.5rem; padding: 0.85rem 1.75rem;
display: block; display: block;
background-color: var(--grey-two); background-color: var(--grey-two);
transition: transform 0.4s var(--bezier-one), filter 0.4s var(--bezier-one); transition: transform 0.4s var(--bezier-one), filter 0.4s var(--bezier-one);
@ -44,9 +44,9 @@
} }
.button-primary { .button-primary {
background-color: var(--accent-color); background-color: #FFB1C5;
box-shadow: 0px 0px 32px 1px var(--accent-color-glow); box-shadow: 0px 0px 32px 1px var(--accent-color-glow);
color: var(--grey-four); color: #65002F;
} }
div:hover { div:hover {

View File

@ -38,11 +38,10 @@
padding: 1.25rem; padding: 1.25rem;
width: 100%; width: 100%;
transition: all 0.3s var(--bezier-one); transition: all 0.3s var(--bezier-one);
border-radius: 12px; border-radius: 16px;
display: flex; display: flex;
gap: 1.5rem; gap: 1.5rem;
background-color: var(--grey-six); background-color: var(--grey-six);
border: 1px solid var(--grey-three);
cursor: pointer; cursor: pointer;
align-items: center; align-items: center;
} }
@ -72,7 +71,7 @@
.clicked h2, .clicked h2,
.clicked h6 { .clicked h6 {
color: var(--accent-color); color: var(--white);
} }
div:hover { div:hover {

View File

@ -236,20 +236,16 @@
h1 { h1 {
font-size: 2rem; font-size: 2rem;
font-weight: 600; color: var(--white);
text-align: center;
color: var(--grey-four);
} }
h2 { h2 {
font-size: 1.25rem; font-size: 1.25rem;
color: var(--grey-three); color: var(--white);
text-align: center;
} }
h3 { h3 {
font-weight: 500; color: var(--white);
color: var(--grey-three);
margin-bottom: -0.5rem; margin-bottom: -0.5rem;
} }
@ -286,23 +282,22 @@
button { button {
background-color: transparent; background-color: transparent;
border: none; border: none;
border: 1px solid var(--grey-six); border: 1px solid #9E8C90;
color: var(--grey-four); color: #ECE0E1;
padding: 0.5rem 1.25rem; padding: 0.5rem 1.25rem;
border-radius: 12px; border-radius: 8px;
cursor: pointer; cursor: pointer;
font-weight: 500; font-weight: 500;
} }
.top-container { .top-container {
display: flex; display: flex;
align-items: center;
flex-direction: column; flex-direction: column;
gap: 0.5rem; gap: 0.5rem;
margin-bottom: 2rem; margin-bottom: 2rem;
background-color: var(--accent-color); background-color: var(--accent-color);
padding: 1.75rem; padding: 2rem;
border-radius: 12px; border-radius: 20px;
} }
.top-custom-button-container { .top-custom-button-container {