WIP sponsors page

This commit is contained in:
Matthew Holt 2023-09-29 11:45:24 -06:00 committed by Francis Lavoie
parent 7dc611e6a0
commit 8734b03923
No known key found for this signature in database
GPG key ID: 0F66EE1687682239
8 changed files with 1081 additions and 120 deletions

View file

@ -296,7 +296,7 @@ button.purple,
.button.purple {
border: none;
background: linear-gradient(165deg, rgba(170,81,212,1) 20%, rgba(37,159,235,1) 100%);
color: white;
color: white !important; /* sigh... to prevent being stepped on by very specific link color rule on the sponsors page */
font-weight: bold;
font-size: 90%;
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25)

View file

@ -8,15 +8,27 @@
padding-bottom: 20vw;
}
.hero-content {
padding-bottom: 100px;
}
h1 {
text-align: left;
text-transform: uppercase;
margin-bottom: 0;
}
h1 .the {
font-size: 75px;
line-height: 1;
}
h1 .subheading {
margin-top: .75em;
}

View file

@ -12,23 +12,30 @@ h4 {
h1 {
font-size: 120px;
font-weight: 800;
text-transform: uppercase;
text-align: center;
color: #65D1C6;
line-height: .9;
margin-bottom: 1em;
}
h1 .color-dodge {
mix-blend-mode: color-dodge;
}
h1 .subheader {
margin-top: 1em;
h1 .subheading {
margin: 2em auto 0;
margin-top: 2em;
text-transform: none;
color: #b1fffe;
font-size: 32px;
font-size: 42px;
font-weight: normal;
line-height: 1.3;
font-family: Figtree;
max-width: 850px;
}
h1 .subheading b {
font-weight: 800;
}
@ -60,13 +67,12 @@ h2 {
radial-gradient(at 82% 73%, hsla(265,72%,20%,1) 0px, transparent 50%);
}
.hero .hero-content {
padding: 100px 0;
.hero-content {
padding-top: 100px;
}
.button {
color: rgb(54 206 255);
border: 1px solid rgb(54 206 255);
@ -158,27 +164,40 @@ h2 {
.feature p {
font-weight: 600;
margin-top: 2em;
margin-bottom: 4em;
line-height: 1.65;
}
section {
padding: 200px;
padding: 200px 0;
background: white;
color: var(--text-color);
}
.hero section.transparent {
background: none;
padding: 50px 0;
color: #cbe2e4;
}
.hero section.transparent h2 {
color: #fff;
}
.hero-content a,
.hero section.transparent a {
color: #75b8c8;
}
.hero-content a:hover,
.hero section.transparent a:hover {
color: #82e7ff;
}
section.dark,
footer {
background-color: #002020;
color: #fff;
color: white;
}
section.light {
section.gray {
background-color: #f5f8f9;
}
@ -193,8 +212,28 @@ section.light {
.diagonal.down { transform: skewY(5deg); }
.diagonal.down > * { transform: skewY(-5deg); }
.feature p {
font-weight: 500;
margin-top: 2em;
line-height: 1.65;
}
.sides {
display: flex;
gap: 50px;
align-items: center;
margin: 100px 0;
}
.sides > * {
flex: 1;
}
.side-flex {
display: flex;
gap: 2em;
flex: 1.5;
}
@ -202,8 +241,10 @@ section.light {
display: flex;
flex-wrap: wrap;
justify-content:space-around;
gap: 50px;
--gap: 50px;
gap: var(--gap);
color: #424242;
margin-top: 4em;
}
section.dark .cols {
@ -211,12 +252,15 @@ section.dark .cols {
}
.col {
/* max-width: 33.333%; */
min-width: 250px;
min-width: 350px;
padding-left: 1em;
flex: 1;
}
.cols-big .col {
min-width: 450px;
}
.col h3 {
font-weight: 600;
font-size: 20px;
@ -230,10 +274,29 @@ section.dark .cols {
padding-left: calc(1em - 2px);
}
.col p + h3 {
margin-top: var(--gap);
}
.col h3.plain {
border-left: none;
margin-left: 0;
padding-left: 0;
}
.hero .col h3 {
color: white;
}
.col p {
font-family: Inter;
font-size: 90%;
font-weight: normal;
line-height: 1.5;
}
.hero .col p {
color: rgb(255 255 255 / .8);
}
.col .green {

View file

@ -0,0 +1,204 @@
h1 {
color: #4ED3FB;
background: linear-gradient(to right, #47E27C 25%, #4ED3FB 75%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
p.footnote {
margin-top: 2em;
font-size: 12px;
}
.plan {
--plan-border: 1px solid #eceff133;
border: var(--plan-border);
border-radius: 10px;
width: 50%;
display: flex;
flex-direction: column;
}
:not(.overlay) .plan {
background-image: linear-gradient(220deg, rgba(76, 170, 255, 0.31) 0%, rgba(77, 101, 141, 0.26) 52%, rgba(112, 174, 255, 0.18) 54%, rgba(13, 58, 93, 0.08) 100%);
}
.plan-header,
.plan-content {
padding: 1.5em;
}
.plan-header {
display: flex;
border-bottom: var(--plan-border);
}
.plan-name {
color: #fff;
font-size: 115%;
font-weight: bold;
}
.plan-price {
font-weight: bold;
margin-left: auto;
}
.plan-period {
font-size: 75%;
font-weight: normal;
}
.plan-content {
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
font-size: 16px;
}
.plan p,
.plan li {
font-weight: normal;
font-size: 90%;
margin-top: 0;
}
.plan p {
margin-bottom: 1em;
line-height: 1.25;
}
.plan p:last-child {
margin-bottom: 0;
}
.plan-action {
margin-top: auto;
text-align: center;
font-size: 18px;
}
section ul,
section ol {
margin: 1em 0;
}
section li {
margin: .75em 0 .75em 2.5em;
}
ul.check,
ul.minus {
list-style: none;
}
ul.check li::before,
ul.minus li.check::before,
ul.minus li::before,
ul.check li.minus::before {
display: block;
position: absolute;
margin-left: -1.75em;
}
ul.check li::before,
ul.minus li.check::before {
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='16' title='check' fill='%23dddddd'%3E%3Cpath d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z' /%3E%3C/svg%3E");
}
ul.minus li::before,
ul.check li.minus::before {
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='icon icon-tabler icon-tabler-minus' width='24' height='24' viewBox='0 0 24 24' stroke-width='4' stroke='%23dddddd' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'%3E%3C/path%3E%3Cpath d='M5 8l11 0'%3E%3C/path%3E%3C/svg%3E");
}
/* Hover glowy effect taken from here: https://codepen.io/inescodes/pen/PoxMyvX */
.plans {
position: relative;
}
.plan {
--hsl: var(--hue), var(--saturation), var(--lightness);
}
.plan.indie {
--hue: 120;
--saturation: 90%;
--lightness: 40%;
}
.plan.indie .plan-price { color: #38d959; }
.plan.startup {
--hue: 290;
--saturation: 95%;
--lightness: 61%;
}
.plan.startup .plan-price { color: #e66dff; }
.plan.business {
--hue: 180;
--saturation: 100%;
--lightness: 50%;
}
.plan.business .plan-price { color: #50e6ff; }
.plan.enterprise {
--hue: 0;
--saturation: 0%;
--lightness: 50%;
}
.plan.enterprise .plan-price { color: white; }
.overlay {
position: absolute;
inset: 0;
pointer-events: none;
user-select: none;
opacity: var(--opacity, 0);
-webkit-mask: radial-gradient(25rem 25rem at var(--x) var(--y),
#000 1%,
transparent 50%);
mask: radial-gradient(25rem 25rem at var(--x) var(--y),
#000 1%,
transparent 50%);
transition: 400ms mask ease;
will-change: mask;
}
.overlay .plan {
position: absolute;
background-color: hsla(var(--hsl), 0.15); /* alpha channel here is how intense the radial gradient is */
border-color: hsla(var(--hsl), 1);
box-shadow: 0 0 0 1px inset hsl(var(--hsl));
}
:not(.overlay) > .plan {
transition: 400ms background ease;
will-change: background;
}
.overlay .plan:nth-child(2n-1):hover{
background-color: hsla(var(--hsl), 0.2);
}
.plan:nth-child(2n):hover {
--lightness: 25%;
background-color: hsla(var(--hsl), 0.4);
}
/* as a special case, the enterprise ones should go dark */
.plan.enterprise:hover {
background-color: rgb(0 0 0 / .75);
}
/* Keep the buttons above the glow effect for legibility */
.button.purple {
position: relative;
z-index: 2;
}

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 13 KiB