Spaces:
Sleeping
Sleeping
Download styles.css from Samfredoly/live-20: direct link, hf CLI and curl.
- Browser
- Download file 18.2 kB
-
https://huggingface.co/spaces/Samfredoly/live-20/resolve/main/styles.css
- Command line
-
hf download hf://spaces/Samfredoly/live-20/styles.css
-
curl -L -o styles.css https://huggingface.co/spaces/Samfredoly/live-20/resolve/main/styles.css
18.2 kB
| @import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap'); | |
| :root { | |
| --ink: #fff6fb; | |
| --muted: #d9b9cf; | |
| --soft: #f6c9dc; | |
| --rose: #ec719f; | |
| --coral: #ff9bbd; | |
| --berry: #b83f72; | |
| --night: #200d20; | |
| --night-deep: #120714; | |
| --line: rgba(255, 224, 239, 0.23); | |
| --card: rgba(255, 239, 247, 0.08); | |
| --shadow: 0 24px 70px rgba(4, 0, 8, 0.34); | |
| } | |
| * { box-sizing: border-box; } | |
| html, body { min-height: 100%; } | |
| body { | |
| margin: 0; | |
| background: var(--night-deep); | |
| color: var(--ink); | |
| font-family: 'DM Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; | |
| -webkit-font-smoothing: antialiased; | |
| text-rendering: optimizeLegibility; | |
| } | |
| button { font: inherit; } | |
| .experience { | |
| min-height: 100svh; | |
| position: relative; | |
| overflow: hidden; | |
| isolation: isolate; | |
| background: | |
| radial-gradient(circle at 18% 18%, rgba(157, 57, 110, 0.27), transparent 30%), | |
| radial-gradient(circle at 82% 78%, rgba(238, 99, 138, 0.16), transparent 33%), | |
| linear-gradient(135deg, #160a19 0%, #2b1027 47%, #150914 100%); | |
| } | |
| .experience::before, | |
| .experience::after { | |
| content: ''; | |
| position: absolute; | |
| z-index: -3; | |
| pointer-events: none; | |
| border-radius: 50%; | |
| filter: blur(1px); | |
| } | |
| .experience::before { | |
| width: 44vw; | |
| height: 44vw; | |
| left: -17vw; | |
| bottom: -24vw; | |
| background: rgba(230, 83, 138, 0.09); | |
| box-shadow: 0 0 110px rgba(230, 83, 138, 0.16); | |
| } | |
| .experience::after { | |
| width: 30vw; | |
| height: 30vw; | |
| right: -12vw; | |
| top: -10vw; | |
| background: rgba(249, 177, 211, 0.08); | |
| box-shadow: 0 0 100px rgba(249, 177, 211, 0.11); | |
| } | |
| .ambient { | |
| position: absolute; | |
| z-index: -2; | |
| pointer-events: none; | |
| border-radius: 50%; | |
| filter: blur(12px); | |
| opacity: 0.62; | |
| } | |
| .ambient-one { | |
| width: 17rem; | |
| height: 17rem; | |
| top: 24%; | |
| left: 58%; | |
| background: rgba(244, 124, 171, 0.08); | |
| } | |
| .ambient-two { | |
| width: 13rem; | |
| height: 13rem; | |
| bottom: 2%; | |
| left: 22%; | |
| background: rgba(181, 65, 121, 0.1); | |
| } | |
| .stars, | |
| .stars::before, | |
| .stars::after { | |
| position: absolute; | |
| inset: 0; | |
| pointer-events: none; | |
| content: ''; | |
| background-image: | |
| radial-gradient(circle at 11% 28%, rgba(255, 235, 246, .55) 0 1px, transparent 1.5px), | |
| radial-gradient(circle at 89% 21%, rgba(255, 235, 246, .35) 0 1px, transparent 1.5px), | |
| radial-gradient(circle at 77% 73%, rgba(255, 235, 246, .35) 0 1px, transparent 1.5px), | |
| radial-gradient(circle at 23% 78%, rgba(255, 235, 246, .3) 0 1px, transparent 1.5px), | |
| radial-gradient(circle at 53% 12%, rgba(255, 235, 246, .25) 0 1px, transparent 1.5px); | |
| opacity: .45; | |
| } | |
| .stars { z-index: -1; } | |
| .stars::before { transform: scale(1.4); opacity: .35; } | |
| .stars::after { transform: scale(.8); opacity: .5; } | |
| .topbar { | |
| position: absolute; | |
| inset: max(24px, env(safe-area-inset-top) + 18px) 0 auto; | |
| z-index: 3; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| width: min(100% - 40px, 1120px); | |
| margin: 0 auto; | |
| color: var(--muted); | |
| font-size: .67rem; | |
| letter-spacing: .13em; | |
| text-transform: uppercase; | |
| } | |
| .mini-mark { display: flex; align-items: center; gap: .48rem; color: var(--ink); } | |
| .mini-mark-heart { color: var(--coral); font-size: 1rem; line-height: 1; filter: drop-shadow(0 0 7px rgba(255, 155, 189, .45)); } | |
| .mini-mark-text { opacity: .76; } | |
| .topbar-note { opacity: .58; } | |
| .screen { | |
| width: min(100% - 40px, 1120px); | |
| min-height: 100svh; | |
| margin: 0 auto; | |
| display: none; | |
| position: relative; | |
| align-items: center; | |
| } | |
| .screen.is-active { display: flex; } | |
| .eyebrow { | |
| display: flex; | |
| align-items: center; | |
| gap: .7rem; | |
| margin: 0 0 1.35rem; | |
| color: var(--soft); | |
| font-size: .66rem; | |
| font-weight: 600; | |
| letter-spacing: .2em; | |
| line-height: 1; | |
| text-transform: uppercase; | |
| } | |
| .eyebrow-line { display: inline-block; width: 25px; height: 1px; background: rgba(246, 201, 220, .5); } | |
| h1, h2, p { margin-top: 0; } | |
| h1, h2 { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; letter-spacing: -.045em; } | |
| .title-dot { color: var(--coral); } | |
| .primary-button { | |
| border: 1px solid rgba(255, 212, 229, .34); | |
| border-radius: 999px; | |
| background: linear-gradient(110deg, rgba(255, 194, 218, .96), rgba(224, 108, 151, .98)); | |
| color: #3b102a; | |
| cursor: pointer; | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| gap: 2rem; | |
| min-width: 198px; | |
| padding: .95rem 1.15rem .95rem 1.35rem; | |
| box-shadow: 0 12px 35px rgba(206, 71, 123, .25), inset 0 1px 0 rgba(255, 255, 255, .45); | |
| font-size: .86rem; | |
| font-weight: 700; | |
| letter-spacing: .01em; | |
| transition: transform .25s ease, box-shadow .25s ease, filter .25s ease; | |
| } | |
| .primary-button:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(206, 71, 123, .38), inset 0 1px 0 rgba(255, 255, 255, .55); filter: saturate(1.08); } | |
| .primary-button:active { transform: translateY(0) scale(.98); } | |
| .primary-button:focus-visible, .text-button:focus-visible, .heart-hold:focus-visible { outline: 3px solid rgba(255, 230, 240, .75); outline-offset: 5px; } | |
| .button-arrow { font-size: 1.1rem; line-height: 1; } | |
| .screen-intro { justify-content: space-between; gap: 5rem; padding: clamp(8rem, 18vh, 12rem) 3vw 5rem; } | |
| .intro-copy { max-width: 580px; position: relative; z-index: 1; } | |
| .intro-copy h1 { margin-bottom: 1.5rem; font-size: clamp(4rem, 8vw, 7.4rem); line-height: .9; } | |
| .lede { max-width: 470px; margin-bottom: 2.25rem; color: var(--muted); font-size: clamp(1.03rem, 1.8vw, 1.22rem); line-height: 1.65; } | |
| .quiet-note { margin: 1.05rem 0 0; color: rgba(217, 185, 207, .62); font-size: .7rem; letter-spacing: .03em; } | |
| .intro-orbit { width: min(40vw, 440px); aspect-ratio: 1; position: relative; display: grid; place-items: center; margin-right: 3vw; } | |
| .orbit { position: absolute; border: 1px solid rgba(247, 183, 209, .22); border-radius: 50%; transform: rotate(-24deg); } | |
| .orbit-large { inset: 3%; border-left-color: rgba(248, 167, 201, .58); border-bottom-color: rgba(248, 167, 201, .07); animation: float-orbit 14s linear infinite; } | |
| .orbit-small { inset: 19%; border-right-color: rgba(248, 167, 201, .58); border-top-color: rgba(248, 167, 201, .08); transform: rotate(33deg); animation: float-orbit-reverse 10s linear infinite; } | |
| .orbit-heart { position: relative; z-index: 1; display: grid; place-items: center; width: 31%; aspect-ratio: 1; color: #ffb1cd; font-size: clamp(3rem, 7vw, 5.7rem); text-shadow: 0 0 16px rgba(255, 144, 186, .55), 0 0 50px rgba(255, 94, 157, .33); animation: heartbeat 2.6s ease-in-out infinite; } | |
| .orbit-heart::after { content: ''; position: absolute; inset: 10%; border-radius: 50%; background: rgba(255, 117, 168, .2); filter: blur(28px); z-index: -1; } | |
| .orbit-spark { position: absolute; color: rgba(255, 210, 229, .77); font-size: 1.1rem; } | |
| .spark-a { top: 17%; right: 22%; animation: twinkle 2.6s ease-in-out infinite; } | |
| .spark-b { bottom: 19%; left: 22%; font-size: 1.8rem; animation: twinkle 3.2s ease-in-out .5s infinite; } | |
| .spark-c { bottom: 30%; right: 10%; animation: twinkle 2.8s ease-in-out 1.1s infinite; } | |
| .screen-hold { flex-direction: column; justify-content: center; padding: 8rem 0 4rem; text-align: center; } | |
| .hold-header { position: relative; z-index: 1; } | |
| .hold-header .eyebrow { justify-content: center; } | |
| .hold-header h2 { margin-bottom: .72rem; font-size: clamp(2.4rem, 6vw, 5rem); line-height: .96; } | |
| .hold-instruction { max-width: 360px; margin: 0 auto; color: var(--muted); font-size: .94rem; line-height: 1.6; } | |
| .hug-stage { width: min(78vw, 430px); aspect-ratio: 1; position: relative; display: grid; place-items: center; margin: 1.5rem auto 1.25rem; } | |
| .hold-halo { position: absolute; border-radius: 50%; pointer-events: none; } | |
| .halo-back { inset: 8%; background: radial-gradient(circle, rgba(255, 128, 177, .14), rgba(255, 128, 177, .025) 56%, transparent 70%); box-shadow: 0 0 60px rgba(238, 101, 153, .18); } | |
| .halo-front { inset: 22%; border: 1px solid rgba(255, 196, 220, .16); box-shadow: inset 0 0 24px rgba(255, 198, 222, .04), 0 0 22px rgba(255, 167, 202, .08); } | |
| .heart-hold { --progress: 0%; position: relative; z-index: 2; display: grid; place-items: center; width: clamp(138px, 30vw, 188px); aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #ffd0e1; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; filter: drop-shadow(0 10px 25px rgba(223, 74, 130, .25)); transition: transform .3s ease, filter .3s ease; } | |
| .heart-hold::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: conic-gradient(from -45deg, rgba(255, 177, 207, .95) var(--progress), rgba(255, 218, 233, .14) var(--progress)); mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); transform: rotate(-18deg); } | |
| .heart-hold::after { content: ''; position: absolute; inset: 8%; border-radius: inherit; background: radial-gradient(circle at 36% 26%, rgba(255, 255, 255, .35), transparent 11%), radial-gradient(circle, #ef77a3 0%, #d34d82 64%, #9d315e 100%); box-shadow: inset -12px -16px 25px rgba(104, 17, 58, .25), inset 8px 10px 24px rgba(255, 227, 240, .2), 0 0 0 1px rgba(255, 220, 235, .2); transition: box-shadow .3s ease, filter .3s ease; } | |
| .heart-hold.is-holding { transform: scale(1.08); filter: drop-shadow(0 13px 42px rgba(251, 106, 157, .6)); } | |
| .heart-hold.is-holding::after { box-shadow: inset -12px -16px 25px rgba(104, 17, 58, .18), inset 8px 10px 24px rgba(255, 246, 250, .33), 0 0 42px rgba(255, 107, 166, .5); } | |
| .heart-core { position: relative; z-index: 1; display: block; margin-top: -.04em; font-size: clamp(4.2rem, 11vw, 6.6rem); line-height: 1; color: #ffd3e2; text-shadow: 0 3px 0 rgba(161, 42, 93, .28), 0 0 18px rgba(255, 234, 243, .5); } | |
| .heart-shine { position: absolute; z-index: 2; top: 26%; left: 30%; width: 11%; height: 11%; border-radius: 50%; background: rgba(255, 250, 253, .68); filter: blur(1px); } | |
| .hold-meter { width: min(150px, 35vw); height: 2px; overflow: hidden; border-radius: 9px; background: rgba(255, 224, 239, .15); } | |
| .hold-meter span { display: block; width: 0; height: 100%; background: var(--soft); box-shadow: 0 0 9px var(--coral); transition: width .08s linear; } | |
| .hug-sparkles { position: absolute; inset: 0; pointer-events: none; } | |
| .hug-spark { position: absolute; color: rgba(255, 206, 226, .66); opacity: .45; } | |
| .sparkle-1 { top: 21%; left: 18%; font-size: 1.3rem; } | |
| .sparkle-2 { top: 36%; right: 11%; font-size: 1.8rem; } | |
| .sparkle-3 { bottom: 23%; left: 16%; font-size: 1rem; } | |
| .sparkle-4 { bottom: 13%; right: 24%; font-size: 1.4rem; } | |
| .sparkle-5 { top: 13%; right: 28%; font-size: 1rem; } | |
| .hold-status { display: flex; align-items: center; gap: .48rem; color: var(--soft); font-size: .79rem; letter-spacing: .07em; } | |
| .status-pip { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 12px var(--coral); animation: status-pulse 1.8s ease-in-out infinite; } | |
| .hold-support { margin: .7rem 0 0; color: rgba(217, 185, 207, .53); font-size: .68rem; letter-spacing: .03em; } | |
| .screen-complete { flex-direction: column; justify-content: center; padding: 8rem 0 5rem; text-align: center; } | |
| .complete-burst { position: relative; width: min(60vw, 250px); aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 1.5rem; } | |
| .burst-ring { position: absolute; border: 1px solid rgba(255, 180, 211, .27); border-radius: 50%; } | |
| .ring-one { inset: 9%; animation: burst-ring 3.8s ease-out infinite; } | |
| .ring-two { inset: 22%; animation: burst-ring 3.8s ease-out 1.2s infinite; } | |
| .burst-heart { position: relative; z-index: 2; color: #ffbad4; font-size: clamp(4rem, 13vw, 7.2rem); line-height: 1; text-shadow: 0 0 20px rgba(255, 135, 183, .56), 0 0 75px rgba(255, 111, 165, .3); animation: heartbeat 2.8s ease-in-out infinite; } | |
| .burst-star { position: absolute; color: var(--soft); } | |
| .star-one { top: 14%; right: 8%; animation: twinkle 2.8s ease-in-out infinite; } | |
| .star-two { bottom: 14%; left: 10%; font-size: 1.2rem; animation: twinkle 3.1s ease-in-out .5s infinite; } | |
| .star-three { top: 20%; left: 8%; font-size: .8rem; animation: twinkle 2.2s ease-in-out 1s infinite; } | |
| .complete-copy .eyebrow { justify-content: center; } | |
| .complete-copy h2 { margin-bottom: 1rem; font-size: clamp(3rem, 8vw, 6.4rem); line-height: .94; } | |
| .complete-copy h2 em { color: var(--coral); font-weight: 500; } | |
| .complete-message { max-width: 410px; margin: 0 auto; color: var(--muted); font-size: 1rem; line-height: 1.7; } | |
| .love-notes { display: flex; gap: .7rem; width: min(100%, 660px); margin: 1.65rem auto 0; } | |
| .love-note-card { flex: 1; min-height: 92px; padding: .9rem 1rem; border: 1px solid rgba(255, 213, 230, .14); border-radius: 18px; background: linear-gradient(145deg, rgba(255, 239, 247, .11), rgba(255, 239, 247, .035)); text-align: left; box-shadow: 0 16px 38px rgba(4, 0, 8, .12); } | |
| .note-number { display: block; margin-bottom: .65rem; color: var(--coral); font-size: .62rem; letter-spacing: .13em; } | |
| .love-note-card p { margin: 0; color: var(--soft); font-family: 'Playfair Display', Georgia, serif; font-size: .93rem; line-height: 1.25; } | |
| .complete-actions { display: flex; flex-direction: column; align-items: center; margin-top: 2rem; } | |
| .letter-button { margin-top: .55rem; padding: .7rem 1rem; border: 1px solid rgba(255, 211, 230, .21); border-radius: 999px; background: rgba(255, 239, 247, .06); color: var(--soft); cursor: pointer; font-size: .8rem; transition: background .2s ease, color .2s ease, transform .2s ease; } | |
| .letter-button:hover { background: rgba(255, 239, 247, .13); color: var(--ink); transform: translateY(-1px); } | |
| .letter-button span { display: inline-block; margin-right: .35rem; color: var(--coral); } | |
| .text-button { padding: .75rem 1rem; border: 0; background: transparent; color: var(--soft); cursor: pointer; font-size: .84rem; transition: color .2s ease, transform .2s ease; } | |
| .text-button:hover { color: var(--ink); transform: translateY(-1px); } | |
| .text-button span { display: inline-block; margin-right: .3rem; font-size: 1.2rem; vertical-align: -.12em; } | |
| .send-back-note { min-height: 1.3rem; margin: .35rem 0 0; color: var(--coral); font-size: .75rem; } | |
| .letter-panel { position: absolute; z-index: 5; top: 50%; left: 50%; width: min(92vw, 560px); max-height: min(82svh, 690px); overflow: auto; transform: translate(-50%, -50%); padding: clamp(2rem, 5vw, 3rem); border: 1px solid rgba(255, 220, 235, .27); border-radius: 26px; background: linear-gradient(145deg, rgba(57, 20, 52, .98), rgba(29, 10, 28, .98)); box-shadow: var(--shadow), 0 0 80px rgba(239, 104, 158, .18); text-align: left; } | |
| .letter-panel[hidden] { display: none; } | |
| .letter-panel::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(255, 203, 222, .09); border-radius: 18px; pointer-events: none; } | |
| .letter-panel .eyebrow { justify-content: flex-start; } | |
| .letter-close { position: absolute; z-index: 1; top: 1rem; right: 1.2rem; width: 34px; height: 34px; border: 1px solid rgba(255, 220, 235, .18); border-radius: 50%; background: rgba(255, 239, 247, .07); color: var(--soft); cursor: pointer; font-size: 1.3rem; line-height: 1; } | |
| .letter-panel h3 { position: relative; margin: 0 0 1.25rem; color: var(--ink); font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2.5rem, 7vw, 4rem); font-weight: 500; line-height: .98; letter-spacing: -.05em; } | |
| .letter-panel h3 em { color: var(--coral); font-weight: 500; } | |
| .letter-body { position: relative; color: var(--muted); font-family: 'Playfair Display', Georgia, serif; font-size: 1rem; line-height: 1.72; } | |
| .letter-body p { margin-bottom: 1rem; } | |
| .letter-body p:first-child { color: var(--soft); } | |
| .letter-signoff { margin-top: 1.35rem; color: var(--soft); font-style: italic; } | |
| .letter-signoff strong { color: var(--coral); font-family: 'DM Sans', sans-serif; font-size: 1.4rem; font-style: normal; } | |
| .footer-note { position: absolute; z-index: 3; right: 0; bottom: max(22px, env(safe-area-inset-bottom) + 15px); left: 0; color: rgba(217, 185, 207, .4); font-size: .62rem; letter-spacing: .14em; text-align: center; text-transform: uppercase; } | |
| @keyframes heartbeat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.08); } 22% { transform: scale(.98); } 31% { transform: scale(1.04); } 44% { transform: scale(1); } } | |
| @keyframes float-orbit { to { transform: rotate(336deg); } } | |
| @keyframes float-orbit-reverse { to { transform: rotate(-327deg); } } | |
| @keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.8) rotate(0deg); } 50% { opacity: 1; transform: scale(1.15) rotate(15deg); } } | |
| @keyframes status-pulse { 0%, 100% { opacity: .55; transform: scale(.82); } 50% { opacity: 1; transform: scale(1.15); } } | |
| @keyframes burst-ring { 0% { opacity: .65; transform: scale(.72); } 80%, 100% { opacity: 0; transform: scale(1.1); } } | |
| @media (max-width: 720px) { | |
| .topbar { width: calc(100% - 32px); font-size: .59rem; } | |
| .topbar-note { display: none; } | |
| .screen { width: calc(100% - 32px); } | |
| .screen-intro { min-height: 100svh; flex-direction: column; justify-content: center; align-items: flex-start; gap: .5rem; padding: 8rem 0 7rem; } | |
| .intro-copy h1 { font-size: clamp(3.8rem, 18vw, 6.2rem); } | |
| .lede { max-width: 350px; font-size: .98rem; } | |
| .intro-orbit { width: min(68vw, 300px); align-self: center; margin: 1.5rem 0 0; } | |
| .quiet-note { font-size: .64rem; } | |
| .screen-hold, .screen-complete { padding-top: 7rem; padding-bottom: 6rem; } | |
| .hold-header h2 { font-size: clamp(2.55rem, 12vw, 4.2rem); } | |
| .hold-instruction { max-width: 300px; font-size: .87rem; } | |
| .hug-stage { margin-top: 1.9rem; } | |
| .love-notes { flex-direction: column; width: min(100%, 330px); gap: .5rem; } | |
| .love-note-card { min-height: unset; padding: .75rem .9rem; } | |
| .love-note-card p { font-size: .9rem; } | |
| } | |
| @media (min-width: 721px) { | |
| .screen-hold { padding-top: 7rem; } | |
| .screen-complete { padding-top: 7rem; } | |
| } | |
| @media (prefers-reduced-motion: reduce) { | |
| *, *::before, *::after { animation-duration: .01ms ; animation-iteration-count: 1 ; scroll-behavior: auto ; transition-duration: .01ms ; } | |
| } | |