zulip/web/styles/portico/hello.css

956 lines
20 KiB
CSS
Raw Normal View History

2023-09-28 16:42:56 +02:00
:root {
--font-ss3: "Source Sans 3 VF", sans-serif;
--font-ops: "Open Sans Variable", sans-serif;
--appshot-1-img-width: 1095px;
}
html,
body {
margin: 0;
padding: 0;
width: 100%;
font-family: var(--font-ss3);
background: hsl(209.4deg 40.2% 50.2%);
color: hsl(0deg 0% 100%);
-webkit-tap-highlight-color: transparent;
2023-09-28 16:42:56 +02:00
}
body :target {
/* Keep elements targeted by URL fragments visible below the
floating top menu; coordinate the value here with the menu's height. */
scroll-margin-top: 60px;
}
2023-09-28 16:42:56 +02:00
a {
text-decoration: none;
color: inherit;
&:hover {
text-decoration: none;
}
}
ul {
padding: 0;
margin: 0;
}
.body-bg {
position: relative;
width: 0;
height: 0;
}
.body-bg__layer {
position: fixed;
z-index: -1;
width: 100vw;
height: 100vh;
background: linear-gradient(
180deg,
hsl(209deg 45% 58%) 30%,
hsl(238.4deg 27.9% 26.7%) 70%
);
@media (prefers-color-scheme: dark) {
background: linear-gradient(
180deg,
hsl(209deg 55% 40%) 30%,
hsl(238deg 28% 21%) 70%
);
}
}
2023-09-28 16:42:56 +02:00
.portico-hello-page {
._full-height-no-scroll {
height: 100%;
overflow: hidden;
}
2023-09-28 16:42:56 +02:00
& details summary::marker,
& details summary::-webkit-details-marker {
display: none;
}
& main {
display: block;
}
& a {
background-color: transparent;
}
& img {
border-style: none;
}
.page-wrapper {
height: 100vh;
overflow: scroll;
}
.screen-1 {
background: linear-gradient(
180deg,
hsl(209deg 45% 58%) 0%,
hsl(210deg 48% 66%) 100%
2023-09-28 16:42:56 +02:00
);
padding-top: 102px;
padding-bottom: 20px;
2023-09-28 16:42:56 +02:00
overflow: hidden;
text-align: center;
}
& h1 {
font-style: normal;
font-weight: 500;
font-size: 58px;
line-height: 110%;
text-align: center;
font-family: var(--font-ss3);
margin: 10px;
z-index: 5;
}
.appshot-1 {
display: inline-block;
margin-top: 20px;
2023-09-28 16:42:56 +02:00
text-align: center;
}
.appshot-1__img {
box-shadow: 0 8px 70px hsl(209deg 100% 31% / 40%);
2023-09-28 16:42:56 +02:00
border-radius: 10px;
width: var(--appshot-1-img-width);
height: auto;
}
.cta-buttons {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: 1fr;
gap: 16px;
padding-top: 16px;
2023-09-28 16:42:56 +02:00
}
.cta-buttons a {
user-select: none;
display: inline-block;
padding: 10px 0 9px;
2023-09-28 16:42:56 +02:00
text-align: center;
background: hsl(216deg 70% 47% / 100%);
2023-09-28 16:42:56 +02:00
border-radius: 5px;
border: none;
font-family: var(--font-ops);
font-style: normal;
font-weight: 500;
font-size: 20px;
line-height: 100%;
2023-09-28 16:42:56 +02:00
font-feature-settings:
"pnum" on,
"lnum" on;
color: hsl(0deg 0% 100%);
transition: all 0.8s ease-out;
cursor: pointer;
}
.cta-buttons a:hover {
transition-duration: 0.1s;
2023-09-28 16:42:56 +02:00
background: hsl(215.9deg 98.3% 53.3%);
transform: scale(1.01);
2023-09-28 16:42:56 +02:00
}
.cta-buttons a:active {
transition-duration: 0.1s;
background: hsl(215.8deg 89.3% 47.8%);
transform: scale(0.99);
}
.cta-desc {
font-size: 16px;
font-weight: 400;
opacity: 0.75;
padding-top: 4px;
2023-09-28 16:42:56 +02:00
}
.client-logos {
margin-top: 24px;
2023-09-28 16:42:56 +02:00
display: grid;
grid-template-columns: repeat(6, 200px);
grid-template-rows: 100px;
justify-content: center;
place-items: center;
2023-09-28 16:42:56 +02:00
}
.client-logos div {
transition: all 0.7s ease-out;
background-position: center;
}
.screen-2,
2023-09-28 16:42:56 +02:00
.screen-3,
.screen-4 {
2023-09-28 16:42:56 +02:00
box-sizing: border-box;
overflow: hidden;
}
.screen-2 {
height: 740px;
2023-09-28 16:42:56 +02:00
background: linear-gradient(
180deg,
hsl(210deg 48% 66%) 0%,
hsl(236deg 48% 58%) 100%
2023-09-28 16:42:56 +02:00
);
}
.screen-2__container,
.screen-3__container,
.screen-4__container,
.screen-5__container {
max-width: 1280px;
overflow: visible;
position: relative;
margin: auto;
gap: 56px;
2023-09-28 16:42:56 +02:00
}
.screen-4__container,
.screen-2__container {
display: flex;
flex-flow: row nowrap;
align-items: center;
justify-content: center;
2023-09-28 16:42:56 +02:00
height: 100%;
}
.appshot-2__img {
height: auto;
box-shadow: 0 -4px 40px hsl(208deg 70% 22% / 20%);
2023-09-28 16:42:56 +02:00
border-radius: 10px;
}
& h2 {
font-family: var(--font-ss3);
font-style: normal;
color: hsl(0deg 0% 100%);
font-size: 50px;
font-weight: 550;
line-height: 116%;
2023-09-28 16:42:56 +02:00
}
& h3 {
font-family: var(--font-ss3);
font-style: normal;
color: hsl(0deg 0% 100%);
font-size: 42px;
font-weight: 550;
line-height: 119%;
margin: 32px 0 16px;
}
.screen-2__header {
max-width: 600px;
2023-09-28 16:42:56 +02:00
display: inline-block;
margin: 0;
}
.screen-4__header,
.screen-5__header {
margin: 0;
}
2023-09-28 16:42:56 +02:00
.screen-2__desc,
.screen-4__desc {
max-width: 590px;
2023-09-28 16:42:56 +02:00
font-family: var(--font-ops);
font-style: normal;
font-size: 21px;
2023-09-28 16:42:56 +02:00
font-weight: 350;
line-height: 140%;
2023-09-28 16:42:56 +02:00
color: hsl(0deg 0% 100%);
margin-top: 20px;
}
.screen-4__desc {
max-width: 630px;
}
2023-09-28 16:42:56 +02:00
& em {
font-style: normal;
font-weight: 650;
}
& i {
font-style: italic;
font-weight: 400;
}
.quote {
margin-top: 50px;
max-width: 590px;
padding-bottom: 10px;
display: block;
2023-09-28 16:42:56 +02:00
}
.quote__text {
transition: all 0.5s ease-out;
2023-09-28 16:42:56 +02:00
font-family: var(--font-ss3);
font-style: normal;
font-weight: 400;
font-size: 21px;
line-height: 140%;
2023-09-28 16:42:56 +02:00
position: relative;
border-radius: 25px 25px 25px 0;
padding: 20px 24px 18px;
background: linear-gradient(
0deg,
hsl(0deg 0% 100% / 50%) 0%,
hsl(0deg 0% 100% / 75%) 100%
);
color: hsl(233deg 14% 26%);
2023-09-28 16:42:56 +02:00
}
.screen-2 .quote__text,
.screen-3 .quote__text {
max-width: 580px;
2023-09-28 16:42:56 +02:00
}
.quote__text::after {
content: "";
display: block;
2023-09-28 16:42:56 +02:00
position: absolute;
width: 42px;
height: 37px;
bottom: -37px;
2023-09-28 16:42:56 +02:00
left: 0;
mask-image: var(--quote-tail-mask);
transition: all 0.5s ease-out;
background: linear-gradient(
0deg,
hsl(0deg 0% 100% / 49%) 0%,
hsl(0deg 0% 100% / 49%) 100%
);
}
.quote:hover {
.quote__text {
transition-duration: 0.3s;
box-shadow: 0 8px 36px hsl(208deg 70% 25% / 35%);
background: linear-gradient(
0deg,
hsl(0deg 0% 100% / 65%) 0%,
hsl(0deg 0% 100% / 80%) 100%
);
}
.quote__text::after {
transition-duration: 0.3s;
background: linear-gradient(
0deg,
hsl(0deg 0% 100% / 64%) 0%,
hsl(0deg 0% 100% / 64%) 100%
);
}
2023-09-28 16:42:56 +02:00
}
.quote:active {
.quote__text {
transition-duration: 0.1s;
box-shadow: 0 0 0 hsl(208deg 70% 25% / 25%);
background: linear-gradient(
0deg,
hsl(0deg 0% 100% / 70%) 0%,
hsl(0deg 0% 100% / 85%) 100%
);
}
.quote__text::after {
transition-duration: 0.1s;
background: linear-gradient(
0deg,
hsl(0deg 0% 100% / 69%) 0%,
hsl(0deg 0% 100% / 69%) 100%
);
}
2023-09-28 16:42:56 +02:00
}
.screen-2 .quote__text strong {
color: hsl(233.8deg 65% 52.9%);
font-weight: 600;
}
.quote__source {
position: relative;
top: 7px;
left: 0;
padding-left: 24px;
2023-09-28 16:42:56 +02:00
font-family: var(--font-ops);
font-style: normal;
font-weight: 350;
font-size: 18px;
line-height: 130%;
2023-09-28 16:42:56 +02:00
color: hsl(0deg 0% 100%);
}
.quote__source strong {
font-family: var(--font-ops);
font-weight: 550;
2023-09-28 16:42:56 +02:00
font-style: bold;
}
.quote__source i {
font-family: var(--font-ops);
font-weight: 350;
font-style: italic;
}
.quote__source a {
border-bottom: 1px solid hsl(0deg 0% 100% / 50%);
transition: border 0.4s ease-out;
}
.quote__source a:hover {
border-bottom: 1px solid hsl(0deg 0% 100%);
2023-09-28 16:42:56 +02:00
transition: none;
}
.screen-3 {
height: 920px;
2023-09-28 16:42:56 +02:00
background: linear-gradient(
180deg,
hsl(236deg 48% 58%) 0%,
hsl(250deg 50% 54%) 100%
2023-09-28 16:42:56 +02:00
);
.screen-3__quotes {
display: grid;
max-width: 1120px;
margin: 30px auto;
grid-template-columns: 1fr 1fr;
gap: 24px 28px;
justify-items: center;
}
2023-09-28 16:42:56 +02:00
.screen-3__quotes .quote {
margin: 0;
}
2023-09-28 16:42:56 +02:00
.quote__text {
line-height: 130%;
}
.quote__text strong {
color: hsl(250deg 70% 60% / 100%);
font-weight: 600;
}
.quote__text h4 {
margin: 0 0 8px;
color: hsl(250deg 57% 49% / 100%);
font-size: 30px;
font-style: normal;
font-weight: 600;
line-height: 110%;
}
2023-09-28 16:42:56 +02:00
}
.screen-3__container {
padding: 60px 16px;
2023-09-28 16:42:56 +02:00
}
.screen-3__header,
.screen-5__header {
margin: 0;
text-align: center;
2023-09-28 16:42:56 +02:00
}
.screen-3__subtitle,
.screen-5__subtitle {
text-align: center;
font-size: 28px;
font-style: normal;
font-weight: 350;
line-height: 120%;
opacity: 0.8;
margin-top: 4px;
2023-09-28 16:42:56 +02:00
}
.screen-4 {
background: linear-gradient(
180deg,
hsl(250deg 50% 54%) 0%,
hsl(281deg 67% 62%) 100%
2023-09-28 16:42:56 +02:00
);
}
.screen-4__content {
display: flex;
gap: 48px;
align-items: center;
2023-09-28 16:42:56 +02:00
}
.switch-diagram {
flex: 0 1;
2023-09-28 16:42:56 +02:00
}
.badges {
display: flex;
justify-content: center;
margin-top: 64px;
gap: 50px;
flex-wrap: wrap;
2023-09-28 16:42:56 +02:00
}
.screen-2__desc a,
.screen-4__desc a {
font-weight: 550;
border-bottom: 1px solid hsl(0deg 0% 100% / 50%);
transition: border 0.4s ease-out;
2023-09-28 16:42:56 +02:00
}
.screen-2__desc a:hover,
.screen-4__desc a:hover {
border-bottom: 1px solid hsl(0deg 0% 100%);
transition: none;
2023-09-28 16:42:56 +02:00
}
.screen-5 {
background: linear-gradient(
180deg,
hsl(281deg 67% 62%) 0%,
hsl(317deg 45% 32%) 100%
2023-09-28 16:42:56 +02:00
);
box-sizing: border-box;
overflow: hidden;
}
.screen-5__container {
padding: 90px 16px;
2023-09-28 16:42:56 +02:00
}
.badge-getapp img,
.badge-capterra img {
opacity: 0.9;
height: 128px;
2023-09-28 16:42:56 +02:00
}
.screen-5__cards {
display: grid;
max-width: 900px;
margin: 30px auto;
grid-template-columns: 1fr 1fr;
gap: 20px;
2023-09-28 16:42:56 +02:00
}
.card {
2023-09-28 16:42:56 +02:00
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 4px;
justify-content: flex-start;
border-radius: 9px;
border: 2px solid hsl(0deg 0% 100% / 26%);
background: hsl(0deg 0% 100% / 7%);
min-height: 80px;
transition: all 0.2s;
padding: 12px 16px 14px;
.card__text {
width: 100%;
font-size: 17px;
font-weight: 400;
line-height: 140%;
}
2023-09-28 16:42:56 +02:00
h4 {
font-size: 28px;
font-weight: 550;
line-height: 32px;
margin: 0 0 4px;
position: relative;
}
2023-09-28 16:42:56 +02:00
h4::after {
content: "";
display: block;
position: absolute;
right: 0;
top: 4px;
opacity: 0.5;
}
2023-09-28 16:42:56 +02:00
}
.card:hover {
background: hsl(0deg 0% 100% / 15%);
2023-09-28 16:42:56 +02:00
}
/* Dark theme modifications */
@media (prefers-color-scheme: dark) {
& body {
background: hsl(209deg 55% 40%);
2023-09-28 16:42:56 +02:00
}
.screen-1 {
background: linear-gradient(
180deg,
hsl(209deg 55% 40%) 0%,
hsl(209deg 40% 55%) 100%
2023-09-28 16:42:56 +02:00
);
}
.appshot-1__img {
box-shadow: 0 0 70px hsl(209deg 100% 24%);
}
.cta-buttons a {
background: hsl(216deg 90% 82%);
color: hsl(216deg 90% 15% / 100%);
font-weight: 600;
}
.cta-desc {
font-weight: 500;
2023-09-28 16:42:56 +02:00
}
.cta-buttons a:hover {
background: hsl(216deg 90% 90%);
2023-09-28 16:42:56 +02:00
}
.cta-buttons a:active {
background: hsl(216deg 90% 82%);
2023-09-28 16:42:56 +02:00
}
.screen-2 {
background: linear-gradient(
180deg,
hsl(209deg 40% 55%) 0%,
hsl(236deg 47% 50%) 100%
2023-09-28 16:42:56 +02:00
);
}
.appshot-2__img {
box-shadow: 0 0 40px hsl(233.5deg 100% 18.2% / 50%);
2023-09-28 16:42:56 +02:00
}
.screen-3 {
background: linear-gradient(
180deg,
hsl(236deg 47% 50%) 0%,
hsl(250deg 50% 45%) 99.36%
2023-09-28 16:42:56 +02:00
);
}
.screen-4 {
background: linear-gradient(
180deg,
hsl(250deg 50% 45%) 0%,
hsl(281deg 68% 55%) 100%
2023-09-28 16:42:56 +02:00
);
}
.screen-5 {
background: linear-gradient(
180deg,
hsl(281deg 68% 55%) 0%,
hsl(317deg 45% 30%) 100%
2023-09-28 16:42:56 +02:00
);
}
.screen-5 .quote__text {
background: hsl(255deg 52% 80%);
}
& footer {
background: hsl(238deg 28% 21%);
}
.client-logos div {
opacity: 0.7;
}
2023-09-28 16:42:56 +02:00
}
/* Make sure breakpoints appear sorted so that lower breakpoints always
2023-09-28 16:42:56 +02:00
override higher ones. */
@media (width <= 1320px) {
.client-logos {
transform: scale(0.8);
}
}
@media (width <= 1311px) {
.screen-2 {
height: 768px;
}
.appshot-2__img {
width: 320px;
2023-09-28 16:42:56 +02:00
}
}
@media (width <= 1129px) {
.appshot-1__img {
width: calc(var(--appshot-1-img-width) * 0.8);
}
.screen-2__container,
.screen-4__container {
gap: 32px;
}
.switch-diagram {
max-width: 280px;
height: auto;
2023-09-28 16:42:56 +02:00
}
}
@media (width <= 1050px) {
.client-logos {
transform: scale(1);
2023-09-28 16:42:56 +02:00
grid-template-columns: repeat(3, 200px);
grid-template-rows: 100px 100px;
}
.screen-2__container,
.screen-3__container,
.screen-4__container {
gap: 16px 24px;
padding: 0 16px;
2023-09-28 16:42:56 +02:00
}
}
2023-09-28 16:42:56 +02:00
@media (width <= 990px) {
& h1 {
font-size: 40px;
2023-09-28 16:42:56 +02:00
}
& h2 {
font-size: 34px;
2023-09-28 16:42:56 +02:00
}
& h3 {
font-size: 28px;
2023-09-28 16:42:56 +02:00
}
.screen-3 .screen-3__subtitle,
.screen-5 .screen-5__subtitle {
font-size: 24px;
2023-09-28 16:42:56 +02:00
}
}
@media (width <= 940px) {
.appshot-1 {
width: auto;
}
.appshot-1__img {
width: auto;
height: auto;
}
.cta-buttons {
position: static;
width: 100%;
margin: 0;
2023-09-28 16:42:56 +02:00
display: grid;
grid-template-columns: 1fr;
grid-template-rows: 1fr 1fr 1fr;
gap: 8px;
2023-09-28 16:42:56 +02:00
}
.cta-buttons a,
.cta-buttons a:hover,
.cta-buttons a:active {
transition: none;
box-shadow: none;
}
.logos {
height: 44px;
}
.screen-2__desc,
.screen-3__desc,
.screen-4__desc {
font-size: 20px;
}
.screen-2,
.screen-3,
.screen-4 {
height: auto;
}
.screen-2__container,
.screen-3__container,
.screen-4__container {
flex-direction: column;
padding: 50px 24px;
2023-09-28 16:42:56 +02:00
height: auto;
align-items: unset;
}
.screen-2__content,
.screen-4__content {
transform: scale(1);
padding: 0;
max-width: 600px;
margin: auto;
}
.screen-4__content {
flex-direction: column;
gap: 16px;
align-items: flex-start;
}
.switch-diagram {
max-width: 220px;
2023-09-28 16:42:56 +02:00
}
.screen-2__header,
.screen-2__desc,
.screen-2 .quote__text,
.screen-3 .quote__text,
.screen-4__header,
.screen-4__desc,
.screen-5__header {
2023-09-28 16:42:56 +02:00
width: auto;
}
.quote {
margin-top: 24px;
}
.quote__text {
font-size: 20px;
}
.quote__source {
margin-right: 34px;
font-size: 16px;
background-position-y: 0;
}
.screen-3 .screen-3__quotes {
margin: 30px auto;
grid-template-columns: 1fr;
gap: 24px;
2023-09-28 16:42:56 +02:00
}
.screen-5 .screen-5__cards {
margin: 20px auto;
grid-template-columns: 1fr;
gap: 16px;
max-width: 400px;
2023-09-28 16:42:56 +02:00
.card {
min-height: 60px;
}
2023-09-28 16:42:56 +02:00
.card__text {
font-size: 15px;
}
2023-09-28 16:42:56 +02:00
h4 {
font-size: 24px;
line-height: 26px;
margin: 0 0 4px;
}
2023-09-28 16:42:56 +02:00
h4::after {
top: 0;
}
2023-09-28 16:42:56 +02:00
}
.appshot-2 {
2023-09-28 16:42:56 +02:00
width: auto;
height: auto;
text-align: center;
padding: 0 16px;
margin-top: 50px;
}
.appshot-2__img {
2023-09-28 16:42:56 +02:00
position: static;
width: 100%;
height: auto;
max-width: 375px;
}
.badges {
margin-top: 16px;
2023-09-28 16:42:56 +02:00
}
}
@media (width <= 900px) {
.client-logos {
transform: scale(0.86);
2023-09-28 16:42:56 +02:00
}
}
@media (width <= 530px) {
.client-logos {
transform: scale(0.6);
grid-template-columns: repeat(3, 200px);
grid-template-rows: 100px 100px;
margin: -29px -500px;
2023-09-28 16:42:56 +02:00
}
}
@media (width <= 400px) {
.client-logos {
transform: scale(0.7);
grid-template-columns: repeat(2, 200px);
grid-template-rows: 100px 100px 100px;
}
.appshot-1 {
margin: 20px 7px;
}
.appshot-2 {
2023-09-28 16:42:56 +02:00
margin: 30px 7px;
}
.appshot-2__img,
.appshot-1__img {
/* Let the image change width based on window width */
width: 100% !important;
}
& h1 {
font-size: 36px;
}
.screen-5 .screen-5__cards {
margin: 10px auto;
grid-template-columns: 1fr;
gap: 12px;
max-width: 320px;
.card {
min-height: 50px;
}
.card__text {
font-size: 13px;
line-height: 120%;
}
h4 {
font-size: 18px;
line-height: 24px;
margin: 0;
}
}
2023-09-28 16:42:56 +02:00
.screen-5__quotes .quote {
width: 320px;
}
.screen-5 .quote__text {
font-size: 18px;
}
}
}