From d670bf7229df3c4edcb84124c659178b5d8ee08e Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Sun, 22 Dec 2024 21:02:30 -0500 Subject: let's experiment with sticky --- local.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'local.css') diff --git a/local.css b/local.css index 56834706..d2abba3b 100644 --- a/local.css +++ b/local.css @@ -135,5 +135,12 @@ a.highlight { background-color: yellow } .transcript .sticky-video { display: none } @media only screen and (min-width: 64.063em) { - .transcript .sticky-video { position: sticky; top: 0 } + .transcript .sticky-video { + position: sticky; + top: 0; + display: block; + margin-left: calc(47vw + 30rem); + width: calc(45vw - 30rem); + float: left; + } } -- cgit v1.2.3