ADD: Pricing charts layout
Added column based pricing chart layout, add nuxt/fonts
This commit is contained in:
parent
f263a5574a
commit
84a295f011
11 changed files with 1310 additions and 352 deletions
|
@ -1,91 +1,45 @@
|
|||
.Pricing {
|
||||
display: grid;
|
||||
grid-template-columns: max-content 1fr max-content;
|
||||
border-radius: 20px;
|
||||
|
||||
& article:first-child {
|
||||
border-radius: 20px 20px 0 0;
|
||||
|
||||
& header,
|
||||
& main,
|
||||
& footer {
|
||||
padding-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
& header {
|
||||
background-color: var(--color-orange-dark);
|
||||
color: var(--color-white);
|
||||
|
||||
& .bg-icon {
|
||||
top: 60%;
|
||||
}
|
||||
}
|
||||
|
||||
& .cols {
|
||||
& li .value {
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
& article:last-child {
|
||||
border-radius: 0 0 20px 20px;
|
||||
|
||||
& header,
|
||||
& main,
|
||||
& footer {
|
||||
padding-top: 1.5rem;
|
||||
}
|
||||
|
||||
& header {
|
||||
background-color: var(--color-orange-dark);
|
||||
color: var(--color-white);
|
||||
}
|
||||
|
||||
& .cols {
|
||||
& li .value {
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
& article:nth-child(2) {
|
||||
width: 105%;
|
||||
margin-left: -2.5%;
|
||||
margin-right: -2.5%;
|
||||
border-radius: 20px;
|
||||
z-index: 2;
|
||||
|
||||
& header {
|
||||
--size-difference: 7rem;
|
||||
width: calc(100% - 2rem);
|
||||
padding-top: var(--size-difference);
|
||||
padding-bottom: var(--size-difference);
|
||||
background-color: var(--color-orange);
|
||||
color: var(--color-black);
|
||||
|
||||
& .bg-icon {
|
||||
right: 20%;
|
||||
}
|
||||
}
|
||||
|
||||
& ul {
|
||||
& li .value {
|
||||
font-size: 3rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
grid-template-rows: 150px auto auto auto 1fr;
|
||||
|
||||
& article {
|
||||
display: grid;
|
||||
grid-column: 1 / -1;
|
||||
grid-template-columns: subgrid;
|
||||
grid-template-rows: subgrid;
|
||||
grid-row: 1 / -1;
|
||||
background-color: var(--color-orange-black);
|
||||
overflow: hidden;
|
||||
|
||||
&:nth-child(2) {
|
||||
border-top-left-radius: 20px;
|
||||
border-bottom-left-radius: 20px;
|
||||
}
|
||||
|
||||
&:nth-child(4) {
|
||||
border-top-right-radius: 20px;
|
||||
border-bottom-right-radius: 20px;
|
||||
}
|
||||
|
||||
&:nth-child(3) {
|
||||
z-index: 100;
|
||||
scale: 1.05;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
& .value {
|
||||
padding: 2rem;
|
||||
text-align: center;
|
||||
|
||||
&.fat {
|
||||
font-family: 'Roboto Condensed', sans-serif;
|
||||
font-weight: bold;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
&.odd {
|
||||
background: var(--color-black);
|
||||
}
|
||||
}
|
||||
|
||||
& header,
|
||||
& main,
|
||||
& footer {
|
||||
|
@ -106,15 +60,19 @@
|
|||
}
|
||||
}
|
||||
|
||||
& main {
|
||||
background-color: var(--color-orange-black);
|
||||
z-index: 1;
|
||||
&:nth-child(3) header {
|
||||
background: var(--color-orange);
|
||||
color: var(--color-black);
|
||||
}
|
||||
|
||||
&:not(:nth-child(3)) header {
|
||||
background: var(--color-orange-dark);
|
||||
color: var(--color-white);
|
||||
}
|
||||
|
||||
& header {
|
||||
position: relative;
|
||||
padding-right: 8rem;
|
||||
width: calc(100% + 8rem);
|
||||
width: 100%;
|
||||
|
||||
& strong {
|
||||
font-size: 2rem;
|
||||
|
@ -124,49 +82,11 @@
|
|||
& .bg-icon {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 40%;
|
||||
right: 25%;
|
||||
translate: 50% -50%;
|
||||
font-size: 6rem;
|
||||
opacity: 0.15;
|
||||
}
|
||||
}
|
||||
|
||||
& li {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: .5rem;
|
||||
}
|
||||
|
||||
& .list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: .5rem;
|
||||
|
||||
& .point-icon {
|
||||
color: var(--color-orange);
|
||||
}
|
||||
}
|
||||
|
||||
& .list-container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 4rem;
|
||||
}
|
||||
|
||||
& .cols {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-evenly;
|
||||
gap: 1rem;
|
||||
|
||||
& li {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
& .color-icon {
|
||||
color: var(--color-orange);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue