187 lines
4.6 KiB
SCSS
187 lines
4.6 KiB
SCSS
.landing {
|
|
background: var(--home-bg);
|
|
scroll-behavior: smooth;
|
|
|
|
.landing-intro {
|
|
background: var(--home-intro-bg);
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding-top: 5rem;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.box {
|
|
border: 1px solid var(--home-border-color);
|
|
border-radius: 10px;
|
|
background-color: var(--home-box-bg);
|
|
}
|
|
|
|
.linkbox {
|
|
transition: background-color 0.3s;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
color: var(--home-linkbox-text-color);
|
|
padding: 0.5rem 1rem;
|
|
border: var(--home-linkbox-border);
|
|
background-color: var(--home-linkbox-bg);
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
background: var(--home-linkbox-hover-bg);
|
|
}
|
|
|
|
&.active {
|
|
background: var(--home-highlight-color);
|
|
color: var(--home-highlight-fore-color);
|
|
|
|
&:hover {
|
|
background: var(--home-highlight-darker-color);
|
|
}
|
|
}
|
|
}
|
|
|
|
.section-header {
|
|
font-size: 2rem;
|
|
color: var(--home-primary-text-color);
|
|
font-weight: 700;
|
|
text-align: center;
|
|
padding: 0 2rem;
|
|
}
|
|
|
|
.section-detail {
|
|
text-align: center;
|
|
color: var(--home-secondary-text-color);
|
|
font-weight: 500;
|
|
font-size: 1.25rem;
|
|
margin: 1.5rem 0 0 0;
|
|
padding: 0 2rem;
|
|
}
|
|
|
|
.section-divider {
|
|
border: 1px solid var(--home-border-color);
|
|
height: 1px;
|
|
border-bottom: 0 none;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
|
|
.text-secondary {
|
|
color: var(--home-secondary-text-color);
|
|
}
|
|
|
|
.hover\:surface-hover:hover {
|
|
background-color: var(--surface-hover);
|
|
}
|
|
|
|
.landing-footer-container {
|
|
max-width: 1250px !important;
|
|
margin-left: auto !important;
|
|
margin-right: auto !important;
|
|
}
|
|
|
|
.animated-text {
|
|
position: relative;
|
|
color: var(--home-text-color);
|
|
padding: 0.25rem 0.5rem;
|
|
border-radius: var(--border-radius);
|
|
display: inline-block;
|
|
width: 14.45rem;
|
|
|
|
&::before {
|
|
border-radius: var(--border-radius);
|
|
animation: color-animation 2s linear infinite;
|
|
background-size: auto auto;
|
|
background-clip: border-box;
|
|
background-size: 200% auto;
|
|
content: "";
|
|
width: 14.45rem;
|
|
height: 1.5rem;
|
|
position: absolute;
|
|
z-index: 0;
|
|
background-image: linear-gradient(-225deg, var(--blue-400) 30%, var(--cyan-400) 60%, var(--purple-400) 80%);
|
|
filter: blur(24px);
|
|
opacity: 0.6;
|
|
}
|
|
|
|
> span {
|
|
position: relative;
|
|
z-index: 3;
|
|
background-image: linear-gradient(-225deg, var(--blue-400) 30%, var(--cyan-400) 60%, var(--purple-400) 80%);
|
|
animation: color-animation 2s linear infinite;
|
|
background-size: auto auto;
|
|
background-clip: border-box;
|
|
background-size: 200% auto;
|
|
background-clip: text;
|
|
text-fill-color: transparent;
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
}
|
|
|
|
@keyframes color-animation {
|
|
40%,
|
|
100% {
|
|
background-position: -200% center;
|
|
}
|
|
}
|
|
|
|
@keyframes scroll {
|
|
0% {
|
|
transform: translateX(0%);
|
|
}
|
|
|
|
100% {
|
|
transform: translateX(calc(-100% - 3rem));
|
|
}
|
|
}
|
|
|
|
.landing-users {
|
|
.fade-right {
|
|
background: linear-gradient(to left, var(--home-bg), transparent);
|
|
}
|
|
.fade-left {
|
|
background: linear-gradient(to right, var(--home-bg), transparent);
|
|
}
|
|
.section-detail {
|
|
max-width: 1250px !important;
|
|
margin-left: auto !important;
|
|
margin-right: auto !important;
|
|
}
|
|
.users-container {
|
|
max-width: 1250px !important;
|
|
margin-left: auto !important;
|
|
margin-right: auto !important;
|
|
|
|
.marquee-wrapper {
|
|
user-select: none;
|
|
gap: 3rem;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-shrink: 0;
|
|
}
|
|
.marquee {
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-around;
|
|
gap: 3rem;
|
|
min-width: 100%;
|
|
animation: scroll 30s linear infinite;
|
|
|
|
> div {
|
|
max-width: clamp(10rem, 1rem + 28vmin, 20rem);
|
|
aspect-ratio: 1;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 8rem;
|
|
}
|
|
|
|
&.marquee-reverse{
|
|
animation-direction: reverse;
|
|
animation-delay: calc(30s / -2);
|
|
}
|
|
}
|
|
}
|
|
} |