mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-09-27 07:09:08 +00:00
180 lines
4.6 KiB
CSS
180 lines
4.6 KiB
CSS
.footer.page {
|
|
scroll-snap-align: end;
|
|
will-change: transform;
|
|
transform: translateZ(0);
|
|
-webkit-backface-visibility: hidden;
|
|
}
|
|
|
|
main .section-bg {
|
|
position: relative;
|
|
}
|
|
|
|
.livestream {
|
|
--art-edge: 62.5;
|
|
--split: 56;
|
|
--gutter: 4;
|
|
background-image: url("/img/design_3/section-4-desktop-light.webp");
|
|
background-size: var(--cover-bg-w) var(--cover-bg-h);
|
|
background-position: calc(50% - var(--sec-vwu) * (var(--art-edge) - var(--split))) center;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
.dark .livestream {
|
|
background-image: url("/img/design_3/section-4-desktop.webp");
|
|
}
|
|
|
|
.livestream .text-container {
|
|
--text-col: calc(var(--sec-vwu) * (92.5 - var(--split) - var(--gutter)));
|
|
--block-gap: calc(var(--sec-vhu) * 4);
|
|
margin-left: auto;
|
|
gap: var(--block-gap);
|
|
}
|
|
|
|
.livestream .text-container .event-time {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: calc(var(--block-gap) * 0.3);
|
|
}
|
|
|
|
.livestream .text-container h1 {
|
|
font-family: "GT-Walsheim", sans-serif;
|
|
font-weight: 400;
|
|
font-size: calc(var(--sec-vwu) * 3.6);
|
|
letter-spacing: -0.025em;
|
|
line-height: 1.15;
|
|
max-width: var(--text-col);
|
|
color: #023789;
|
|
}
|
|
|
|
.dark .livestream .text-container h1 {
|
|
color: #ffffff;
|
|
}
|
|
|
|
.livestream .text-container .subtitle {
|
|
font-family: "Manrope", sans-serif;
|
|
font-weight: 500;
|
|
font-size: calc(var(--sec-vwu) * 1.6);
|
|
line-height: 1.4;
|
|
max-width: var(--text-col);
|
|
color: #000000;
|
|
}
|
|
|
|
.dark .livestream .text-container .subtitle {
|
|
color: #ffffff;
|
|
}
|
|
|
|
.livestream .text-container .event-date,
|
|
.livestream .text-container .event-join {
|
|
font-family: "Manrope", sans-serif;
|
|
font-weight: 300;
|
|
font-size: calc(var(--sec-vwu) * 1.4);
|
|
line-height: 1.3;
|
|
max-width: var(--text-col);
|
|
color: #000000;
|
|
}
|
|
|
|
.dark .livestream .text-container .event-date,
|
|
.dark .livestream .text-container .event-join {
|
|
color: #ffffff;
|
|
}
|
|
|
|
.livestream .text-container .event-join {
|
|
font-size: calc(var(--sec-vwu) * 1.3);
|
|
}
|
|
|
|
.livestream .text-container .event-join span {
|
|
font-weight: inherit;
|
|
}
|
|
|
|
.livestream .text-container .event-join a {
|
|
color: #009df7;
|
|
font-family: inherit;
|
|
font-weight: inherit;
|
|
font-size: inherit;
|
|
max-width: none;
|
|
}
|
|
|
|
.dark .livestream .text-container .event-join a {
|
|
color: #64fdff;
|
|
}
|
|
|
|
.livestream .text-container .actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: calc(var(--block-gap) * 0.4);
|
|
margin-top: calc(var(--block-gap) * 0.5);
|
|
}
|
|
|
|
.livestream .text-container .invest-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
max-width: none;
|
|
padding: calc(var(--sec-vhu) * 1.3) calc(var(--sec-vwu) * 2.4);
|
|
border-radius: 9999px;
|
|
background: #0053d0;
|
|
color: #ffffff;
|
|
font-family: "Manrope", sans-serif;
|
|
font-weight: 500;
|
|
font-size: calc(var(--sec-vwu) * 1.35);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.dark .livestream .text-container .invest-btn {
|
|
background: #70f0f9;
|
|
color: #000000;
|
|
}
|
|
|
|
@media screen and (max-width: 959px) {
|
|
.livestream {
|
|
background-image: url("/img/design_3/section-4-mobile-light.webp");
|
|
background-size: auto calc(var(--cover-bg-h) * 0.78);
|
|
background-position: 50% calc(50% - calc(var(--sec-vhu) * 16)) !important;
|
|
}
|
|
|
|
.chrome-ios .livestream,
|
|
.safari-ios .livestream {
|
|
background-position: 50% calc(50% - (calc(var(--sec-vhu) * 16) + (calc(110lvh - 100svh) / 2))) !important;
|
|
}
|
|
|
|
.chrome-android .livestream {
|
|
background-position: 50% calc(50% - (calc(var(--sec-vhu) * 16) + (calc(100lvh - 100svh) / 2))) !important;
|
|
}
|
|
|
|
.dark .livestream {
|
|
background-image: url("/img/design_3/section-4-mobile.webp");
|
|
}
|
|
|
|
.livestream .text-container {
|
|
--block-gap: calc(var(--sec-vhu) * 3.4);
|
|
padding-bottom: calc(var(--sec-vwu) * 16);
|
|
}
|
|
|
|
.livestream .text-container h1 {
|
|
font-size: calc(var(--sec-vwu) * 8.2);
|
|
max-width: calc(var(--sec-vwu) * 80);
|
|
}
|
|
|
|
.livestream .text-container .subtitle {
|
|
font-weight: 400;
|
|
font-size: calc(var(--sec-vwu) * 4.2);
|
|
max-width: calc(var(--sec-vwu) * 80);
|
|
}
|
|
|
|
.livestream .text-container .event-date,
|
|
.livestream .text-container .event-join {
|
|
font-size: calc(var(--sec-vwu) * 3.9);
|
|
max-width: calc(var(--sec-vwu) * 80);
|
|
}
|
|
|
|
.livestream .text-container .event-join {
|
|
font-size: calc(var(--sec-vwu) * 3.3);
|
|
}
|
|
|
|
.livestream .text-container .invest-btn {
|
|
padding: calc(var(--sec-vhu) * 1.4) calc(var(--sec-vwu) * 5);
|
|
font-size: calc(var(--sec-vwu) * 3.7);
|
|
}
|
|
}
|