This commit is contained in:
2026-11-14 16:42:38 -08:00
parent 285f3d512e
commit 65bf9409d9
7 changed files with 199 additions and 343 deletions

134
home.txt
View File

@@ -23,7 +23,8 @@
box-sizing: border-box;
}
.header-video {
.header-video,
.header-image {
position: absolute;
inset: 0;
width: 100%;
@@ -32,6 +33,9 @@
background-size: cover;
background-repeat: no-repeat;
z-index: 0;
margin-top: 130px !important;
border-top-left-radius: 50px !important;
border-top-right-radius: 50px !important;
will-change: transform, opacity;
backface-visibility: hidden;
transform-origin: center top;
@@ -87,70 +91,31 @@
gap: 10px;
}
.btn-primary,
.btn-secondary {
position: relative;
.btn-primary {
display: inline-flex;
align-items: center;
justify-content: center;
overflow: hidden;
gap: 6px;
padding: 10px 22px;
border-radius: 100px;
background: var(--btn-primary-bg);
color: var(--btn-primary-text) !important;
font-size: 13.5px;
font-weight: 600;
text-decoration: none !important;
transition: transform 0.2s ease, opacity 0.26s ease-out;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}
.btn-primary {
color: light-dark(#000000, #ffffff) !important;
transition: transform 0.15s ease;
}
.btn-secondary {
color: var(--text) !important;
}
.glass-surface__filter {
width: 100%;
height: 100%;
pointer-events: none;
position: absolute;
inset: 0;
opacity: 0;
z-index: -1;
}
.glass-surface__content {
width: 100%;
height: 100%;
display: flex;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 10px 22px;
border-radius: inherit;
position: relative;
z-index: 1;
padding: 10px 20px;
border-radius: 100px;
font-size: 13.5px;
font-weight: 600;
}
.btn-secondary .glass-surface__content {
padding: 10px 20px;
}
.glass-surface--svg {
background: transparent !important;
border: none !important;
box-shadow: none;
backdrop-filter: var(--filter-id, url(#glass-filter)) saturate(var(--glass-saturation, 1)) !important;
-webkit-backdrop-filter: var(--filter-id, url(#glass-filter)) saturate(var(--glass-saturation, 1)) !important;
}
.glass-surface--fallback {
background: transparent!important;
-webkit-backdrop-filter: blur(12px);
backdrop-filter: blur(12px);
border: transparent !important;
box-shadow: none;
text-decoration: none !important;
backdrop-filter: blur(25px) saturate(2);
-webkit-backdrop-filter: blur(25px) saturate(2);
transition: transform 0.15s ease;
}
@keyframes fadeVideoBg {
@@ -173,11 +138,24 @@
will-change: opacity;
}
.body-blurred-video {
.body-blurred-video,
.body-blurred-image {
width: 100%;
height: 100%;
object-fit: cover;
filter: blur(25px);
display: block;
}
.body-blurred-video:not([src]),
.body-blurred-video[src=""],
.body-blurred-image:not([src]),
.body-blurred-image[src=""],
.header-video:not([src]),
.header-video[src=""],
.header-image:not([src]),
.header-image[src=""] {
display: none;
}
.content-section {
@@ -236,20 +214,6 @@
transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.feature-box .glass-surface__content {
flex-direction: column;
align-items: stretch;
justify-content: flex-start;
gap: 0;
padding: 24px;
}
.feature-box.glass-surface--svg,
.feature-box.glass-surface--fallback {
background: transparent !important;
border: none !important;
}
.feature-box::after {
content: "";
position: absolute;
@@ -328,20 +292,13 @@
letter-spacing: 0.01em;
}
.hero-greeting .glass-surface__content {
padding: 6px 16px;
font-size: 13px;
font-weight: 600;
letter-spacing: 0.01em;
}
.hero-resume {
width: min(100vw, 200px);
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: var(--text);
margin-top: 30px;
text-align: center;
}
@media (max-width: 900px) {
@@ -350,6 +307,16 @@
top: max(6px, env(safe-area-inset-top));
width: 90%;
}
.header-video,
.header-image {
margin-top: 80px !important;
border-top-left-radius: 55px !important;
border-top-right-radius: 55px !important;
width: 97% !important;
margin-left: auto !important;
margin-right: auto !important;
}
}
@media (orientation: landscape) and (max-height: 550px) {
@@ -385,11 +352,6 @@
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 12px;
}
.feature-box,
.feature-box .glass-surface__content {
padding: 18px;
}
}
</style>
@@ -397,6 +359,7 @@
<div class="body-blurred-backdrop">
<video class="body-blurred-video" autoplay muted loop playsinline
src=""></video>
<img class="body-blurred-image" alt="" />
</div>
<link rel="preload" href="" as="video" type="video/mp4"
@@ -405,6 +368,7 @@
<header class="home-header">
<video class="header-video" autoplay muted loop playsinline preload="auto"
src=""></video>
<img class="header-image" alt="" />
<div class="header-tint"></div>
@@ -416,9 +380,9 @@
<p class="header-desc">A community-built media project focused on freedom, privacy, and giving people
control over their own experience.</p>
<div class="header-actions">
<div class="header-actions">
<div class="header-actions-row">
<a href="/start-here/introduction" class="btn-secondary">
<a href="/start-here/introduction" class="btn-primary">
Get Started
<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">