website/static/css/custom.css

288 lines
4.8 KiB
CSS

nav.navbar {
background: var(--hd-bg-subtle);
box-shadow: 0 0px 3px 0 var(--hd-accent);
border-bottom: 1px solid var(--hd-accent);
z-index: 1024;
transition: background 1s linear;
}
nav.navbar.beginscroll {
background: linear-gradient(
90deg,
var(--hd-accent-subtle) 0%,
white 150%
);
box-shadow: none;
border-bottom: none;
}
nav.navbar.scrolled {
background: var(--hd-bg-subtle);
box-shadow: 0 0px 3px 0 var(--hd-accent);
border-bottom: 1px solid var(--hd-accent);
}
a.card {
background: var(--hd-bg-subtle);
transition: transform 250ms;
}
a.card:hover {
background: var(--hd-bg-inset);
transform: scale(1.14);
}
.section-title::after {
content: "";
width: 120px;
height: 4px;
background: linear-gradient(
90deg,
var(--hd-accent) 0%,
var(--hd-brand-dark) 100%
);
display: block;
margin: 10px auto 0;
border-radius: 2px;
}
.link-rounded,
.circle-head {
display: inline-flex;
justify-content: center;
align-items: center;
height: 1.8em;
line-height: 1em;
width: 1.8em;
background: var(--hd-accent);
border-radius: 100%;
color: var(--hd-accent-fg);
font-size: 1.5rem;
}
.link-rounded:hover {
background-color: var(--hd-green-800);
}
.link-rounded:hover > div {
color: var(--hd-accent-fg);
}
.anchor {
margin-top: -60px;
height: 60px;
}
.carousel {
background-color: var(--hd-plum-700);
}
.text-hilight {
background-color: yellow;
}
#voxppl {
display: none;
}
#voxppl a {
position: fixed;
bottom: 5vh;
right: 5vw;
border-radius: 5px;
background-color: color-mix(in srgb, var(--hd-plum-400) 93%, transparent);
z-index: 1023;
max-width: 98%;
}
#voxppl a:hover {
text-decoration: none;
background-color: var(--hd-plum-400);
}
img {
max-width: 100%;
}
#features .card {
background-color: var(--hd-bg-canvas);
border-radius: 10px;
padding-top: 3px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
transition: transform 0.3s;
border-top: 4px solid var(--hd-accent);
}
#features .col:nth-child(even) .card {
border-top: 4px solid var(--hd-brand-dark);
}
#features .card:hover {
transform: translateY(-10px);
}
#discover .steps {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
margin-top: 60px;
position: relative;
}
#discover .steps::before {
content: "";
position: absolute;
top: 25px;
left: 10%;
width: 80%;
height: 2px;
background: linear-gradient(
to right,
var(--hd-accent) 0%,
var(--hd-brand-dark) 100%
);
z-index: 1;
}
#discover .step {
flex-basis: 30%;
text-align: center;
position: relative;
z-index: 2;
}
#discover .step-number {
background: linear-gradient(
135deg,
var(--hd-accent) 0%,
var(--hd-brand-dark) 100%
);
color: white;
width: 50px;
height: 50px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
font-weight: bold;
margin: 0 auto 20px;
}
#discover .step h3 {
margin-bottom: 15px;
font-size: 22px;
}
#discover .step p {
color: var(--hd-fg-3);
}
#cta {
padding: 100px 0;
background: linear-gradient(
135deg,
var(--hd-brand-dark) 0%,
var(--hd-accent) 100%
);
color: white;
text-align: center;
position: relative;
overflow: hidden;
}
#cta::before,
#cta::after {
content: "";
position: absolute;
width: 300px;
height: 300px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
}
#cta::before {
top: -150px;
left: -100px;
}
#cta::after {
bottom: -150px;
right: -100px;
width: 350px;
height: 350px;
}
.cta-content {
position: relative;
z-index: 2;
}
#cta p {
max-width: 700px;
}
footer {
border-top: 3px solid var(--hd-plum-400);
}
.footer-links {
list-style: none;
padding: 0;
}
.footer-links li {
margin-bottom: 12px;
}
.footer-links a {
color: rgba(255, 255, 255, 0.7);
text-decoration: none;
transition: color 0.3s;
}
.footer-links a:hover {
color: white;
}
#download-house {
animation: floatinghouse 6s linear infinite;
}
@keyframes floatinghouse {
0% {
top: 0;
left: 0;
}
10% {
top: -2px;
}
20% {
top: -4px;
}
30% {
top: -6px;
}
40% {
top: -2px;
}
50% {
top: 0px;
}
60% {
top: 4px;
}
70% {
top: 6px;
}
80% {
top: 8px;
}
90% {
top: 4px;
}
100% {
top: 0;
}
}
@media (min-width: 768px) {
#community > div > div {
width: 50% !important;
}
#community > div > div:first-child {
border-right: 1px solid var(--hd-plum-400);
}
}