mirror of
https://github.com/hanzoai/site.git
synced 2026-11-21 03:30:16 +00:00
37 lines
3.9 KiB
CSS
37 lines
3.9 KiB
CSS
.xlo { position: relative; min-height: 100svh; background: #0b0b0c; color: #f4f4f5; overflow: hidden; margin-top: -60px; padding-top: 60px; }
|
|
.xlo-map { position: absolute; inset: 0; color: rgba(255, 255, 255, .9); }
|
|
.xlo-sigil { position: absolute; inset: 0; width: 100%; height: 100%; }
|
|
.xlo-map::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 70% at 30% 45%, rgba(11, 11, 12, .92), rgba(11, 11, 12, .35) 70%, transparent); }
|
|
.xlo-pin { position: absolute; left: 72%; top: 46%; width: 18px; height: 18px; border-radius: 50%; background: #fff; z-index: 1; box-shadow: 0 0 0 6px rgba(255, 255, 255, .12); }
|
|
.xlo-pin i { position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); animation: xlo-ping 2.4s cubic-bezier(.16, 1, .3, 1) infinite; }
|
|
@keyframes xlo-ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(4); opacity: 0; } }
|
|
[data-off] .xlo-pin i { animation-play-state: paused; }
|
|
.xlo-in { position: relative; z-index: 2; padding: clamp(64px, 12vh, 140px) 0 96px; max-width: 760px; margin-left: max(24px, calc((100vw - var(--wrap, 1200px)) / 2)); }
|
|
.xlo-code { margin: 0 0 18px; font-size: 13px; letter-spacing: .2em; color: rgba(255, 255, 255, .55); }
|
|
.xlo-h1 { margin: 0; font-size: clamp(3.2rem, 8vw, 7.5rem); font-weight: 560; letter-spacing: -.055em; line-height: .95; text-wrap: balance; }
|
|
.xlo-lede { margin: 22px 0 0; font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: rgba(255, 255, 255, .72); }
|
|
.xlo-path { display: inline-block; margin: 18px 0 0; padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .07); font-size: 13px; color: rgba(255, 255, 255, .7); max-width: 100%; overflow-wrap: anywhere; }
|
|
.xlo-acts { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
|
|
.xlo .x-btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .22); }
|
|
.xlo .x-btn:hover { border-color: rgba(255, 255, 255, .5); }
|
|
.xlo .x-btn.solid { background: #fff; color: #0b0b0c; border-color: #fff; }
|
|
.xlo-find { margin-top: 44px; }
|
|
.xlo-find input { width: 100%; height: 52px; padding: 0 18px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); color: #fff; font: 400 16px/1 var(--sans); outline: none; transition: border-color .25s, background .25s; }
|
|
.xlo-find input:focus { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .08); }
|
|
.xlo-hits { list-style: none; margin: 10px 0 0; padding: 0; }
|
|
.xlo-hit { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 6px; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #fff; text-decoration: none; }
|
|
.xlo-hit b { font-weight: 520; transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
|
|
.xlo-hit span { grid-column: 1; font-size: 13.5px; color: rgba(255, 255, 255, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
|
|
.xlo-hit i { grid-column: 2; grid-row: 1 / 3; align-self: center; font-style: normal; font-size: 12px; color: rgba(255, 255, 255, .4); }
|
|
.xlo-hit:hover b, .xlo-hit:hover span, .xlo-hit:focus-visible b { transform: translateX(6px); }
|
|
.xlo-more { display: flex; gap: 22px; margin-top: 36px; flex-wrap: wrap; }
|
|
.xlo-more a { color: rgba(255, 255, 255, .65); text-decoration: none; font-size: 15px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color .25s, background-size .35s cubic-bezier(.16, 1, .3, 1); }
|
|
.xlo-more a:hover { color: #fff; background-size: 100% 1px; }
|
|
.x-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
|
|
@media (max-width: 700px) {
|
|
.xlo-pin { left: 80%; top: 18%; }
|
|
.xlo-map::after { background: linear-gradient(180deg, rgba(11, 11, 12, .4), rgba(11, 11, 12, .92) 45%); }
|
|
.xlo-hit i { display: none; }
|
|
.xlo-hit { grid-template-columns: 1fr; min-height: 44px; }
|
|
}
|