From 42f58354e508d46957aae13432f0bc3c2b2aa020 Mon Sep 17 00:00:00 2001 From: karim Date: Mon, 29 Jun 2026 11:06:24 +0200 Subject: [PATCH] selfhost video, drop vimeo --- assets/css/custom.css | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/assets/css/custom.css b/assets/css/custom.css index 8bc9fb3..bb3931c 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -304,27 +304,13 @@ footer a:hover { border-bottom-color: transparent; } -/* vimeo: privacy-first click-to-load facade (no iframe until you press play) */ -.vimeo { - position: relative; +/* self-hosted video — native element, same-origin so the custom cursor works */ +.video { width: 100%; aspect-ratio: 16 / 9; - display: flex; - align-items: center; - justify-content: center; - background: var(--color-bg-secondary); + display: block; + background: #000; } -.vimeo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; } -.vimeo__play { - font-family: var(--font-family-mono); - font-size: var(--font-size-base); - padding: 0.4rem 1.2ch; - border: 1px solid var(--color-text-primary); - background: none; - color: var(--color-text-primary); - cursor: pointer; -} -.vimeo__play:hover { background: var(--color-text-primary); color: var(--color-bg-primary); } /* all images always in colour (selection drives what's shown, not hover) */ img { filter: none; }