Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
443 lines
8.3 KiB
CSS
443 lines
8.3 KiB
CSS
:root {
|
|
color-scheme: dark;
|
|
}
|
|
|
|
html {
|
|
min-width: 320px;
|
|
min-height: 100%;
|
|
background: #0F0F0F;
|
|
}
|
|
|
|
.nav-page-body {
|
|
width: 100%;
|
|
min-width: 320px;
|
|
min-height: 100vh;
|
|
min-height: 100dvh;
|
|
margin: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden auto;
|
|
color: #FFFFFF;
|
|
background-color: #0F0F0F;
|
|
background-image:
|
|
linear-gradient(rgba(15, 15, 15, 0.88), rgba(15, 15, 15, 0.88)),
|
|
url("/static/images/figma-nav/background-mobile.png");
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.nav-page {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: 375px;
|
|
max-width: 100%;
|
|
margin: auto;
|
|
padding: 12px 28px;
|
|
display: flex;
|
|
flex: 0 0 auto;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 24px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.nav-page-title {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
clip-path: inset(50%);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|
|
|
|
.nav-brand {
|
|
width: 319px;
|
|
max-width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.nav-brand-lockup {
|
|
display: block;
|
|
line-height: 0;
|
|
text-decoration: none;
|
|
transition: opacity 180ms ease, transform 180ms ease;
|
|
}
|
|
|
|
.nav-brand-lockup:hover,
|
|
.nav-brand-lockup:focus-visible {
|
|
opacity: 0.88;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.nav-brand-logo {
|
|
width: auto;
|
|
height: 57px;
|
|
display: block;
|
|
}
|
|
|
|
.nav-brand-tagline {
|
|
color: rgba(255, 255, 255, 0.6);
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
line-height: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.nav-brand-highlight {
|
|
color: #EC237F;
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
line-height: 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
.nav-entries {
|
|
width: 319px;
|
|
max-width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.nav-entry {
|
|
position: relative;
|
|
isolation: isolate;
|
|
width: 100%;
|
|
height: 64px;
|
|
padding: 10px 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
overflow: hidden;
|
|
color: #F6F2F9;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border: 0;
|
|
border-radius: 12px;
|
|
text-decoration: none;
|
|
box-sizing: border-box;
|
|
transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
|
|
}
|
|
|
|
.nav-entry::after {
|
|
content: "";
|
|
position: absolute;
|
|
z-index: -1;
|
|
left: 156px;
|
|
top: 43px;
|
|
width: 92px;
|
|
height: 63px;
|
|
border-radius: 50%;
|
|
background: #EC237F;
|
|
filter: blur(50px);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.nav-entry:hover,
|
|
.nav-entry:focus-visible {
|
|
background: rgba(255, 255, 255, 0.14);
|
|
box-shadow: 0 0 0 1px rgba(236, 35, 127, 0.34);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.nav-entry-copy {
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 4px;
|
|
}
|
|
|
|
.nav-entry-name,
|
|
.nav-entry-url {
|
|
display: block;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
line-height: 20px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.nav-entry-name {
|
|
color: #F6F2F9;
|
|
}
|
|
|
|
.nav-entry-url {
|
|
color: #EC237F;
|
|
}
|
|
|
|
.nav-entry-cta {
|
|
position: relative;
|
|
z-index: 1;
|
|
min-width: max-content;
|
|
padding: 4px 8px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 2px;
|
|
color: #EC237F;
|
|
background: rgba(255, 74, 74, 0.08);
|
|
border: 1px solid #EC237F;
|
|
border-radius: 999px;
|
|
font-size: 10px;
|
|
font-weight: 400;
|
|
line-height: 16px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.nav-entry-cta img {
|
|
width: 5px;
|
|
height: 4px;
|
|
display: block;
|
|
}
|
|
|
|
.nav-entry--forever {
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
background: rgba(255, 74, 74, 0.08);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.nav-entry--forever::after {
|
|
display: none;
|
|
}
|
|
|
|
.nav-entry--forever:hover,
|
|
.nav-entry--forever:focus-visible {
|
|
background: rgba(255, 74, 74, 0.13);
|
|
}
|
|
|
|
.nav-banner {
|
|
position: relative;
|
|
width: 319px;
|
|
max-width: 100%;
|
|
height: 64px;
|
|
display: block;
|
|
overflow: hidden;
|
|
border-radius: 12px;
|
|
text-decoration: none;
|
|
box-sizing: border-box;
|
|
transition: box-shadow 180ms ease, transform 180ms ease;
|
|
}
|
|
|
|
.nav-banner:hover,
|
|
.nav-banner:focus-visible {
|
|
box-shadow: 0 0 0 1px rgba(236, 35, 127, 0.5);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.nav-banner-bg {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.nav-banner::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
}
|
|
|
|
.nav-banner-text {
|
|
position: absolute;
|
|
z-index: 1;
|
|
inset: 22px 0 auto;
|
|
color: #F6F2F9;
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
line-height: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.nav-contact {
|
|
width: 319px;
|
|
max-width: 100%;
|
|
color: #EC237F;
|
|
font-size: 12px;
|
|
font-weight: 400;
|
|
line-height: 18px;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
overflow-wrap: anywhere;
|
|
transition: opacity 180ms ease;
|
|
}
|
|
|
|
.nav-contact:hover,
|
|
.nav-contact:focus-visible {
|
|
opacity: 0.76;
|
|
}
|
|
|
|
.nav-icons {
|
|
width: 319px;
|
|
max-width: 100%;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.nav-icon-item {
|
|
min-width: 0;
|
|
flex: 1 1 0;
|
|
display: inline-flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 4px;
|
|
color: #FFFFFF;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.nav-icon-circle {
|
|
width: 30px;
|
|
height: 30px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 50%;
|
|
box-sizing: border-box;
|
|
transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
|
|
}
|
|
|
|
.nav-icon-img {
|
|
width: 16px;
|
|
height: 16px;
|
|
display: block;
|
|
}
|
|
|
|
.nav-icon-img--app {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.nav-icon-label {
|
|
max-width: 100%;
|
|
color: #FFFFFF;
|
|
font-size: 12px;
|
|
font-weight: 400;
|
|
line-height: 18px;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.nav-icon-item:hover .nav-icon-circle,
|
|
.nav-icon-item:focus-visible .nav-icon-circle {
|
|
background: rgba(236, 35, 127, 0.28);
|
|
box-shadow: 0 0 0 1px rgba(236, 35, 127, 0.5);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.nav-icon-item:hover .nav-icon-label,
|
|
.nav-icon-item:focus-visible .nav-icon-label {
|
|
color: #EC237F;
|
|
}
|
|
|
|
.nav-footer {
|
|
width: 319px;
|
|
max-width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.nav-footer-note,
|
|
.nav-footer-copy {
|
|
width: 100%;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
font-size: 12px;
|
|
font-weight: 400;
|
|
line-height: 18px;
|
|
text-align: center;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.nav-page-body {
|
|
background-image:
|
|
linear-gradient(rgba(15, 15, 15, 0.88), rgba(15, 15, 15, 0.88)),
|
|
url("/static/images/figma-nav/background-desktop.png");
|
|
}
|
|
|
|
.nav-entry {
|
|
background-color: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.nav-entry:hover,
|
|
.nav-entry:focus-visible {
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.nav-entry--forever {
|
|
background-color: rgba(255, 74, 74, 0.08);
|
|
}
|
|
|
|
.nav-entry--forever:hover,
|
|
.nav-entry--forever:focus-visible {
|
|
background-color: rgba(255, 74, 74, 0.13);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.nav-page-body {
|
|
border-radius: 40px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 374px) {
|
|
.nav-page {
|
|
padding-inline: max(20px, 7.466667vw);
|
|
}
|
|
|
|
.nav-brand-highlight {
|
|
font-size: clamp(16px, 4.8vw, 18px);
|
|
}
|
|
|
|
.nav-entry {
|
|
padding-inline: 14px;
|
|
gap: 10px;
|
|
}
|
|
|
|
.nav-entry-name,
|
|
.nav-entry-url {
|
|
font-size: clamp(12px, 3.733333vw, 14px);
|
|
}
|
|
|
|
.nav-icon-label {
|
|
font-size: clamp(10px, 3.2vw, 12px);
|
|
}
|
|
}
|
|
|
|
@media (max-height: 760px) {
|
|
.nav-page-body {
|
|
align-items: flex-start;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.nav-brand-lockup,
|
|
.nav-entry,
|
|
.nav-banner,
|
|
.nav-contact,
|
|
.nav-icon-circle {
|
|
transition: none;
|
|
}
|
|
}
|