diff --git a/static/js/fullscreen.js b/static/js/fullscreen.js deleted file mode 100644 index 5c5e9dc..0000000 --- a/static/js/fullscreen.js +++ /dev/null @@ -1,34 +0,0 @@ -(function () { - const btn = document.createElement('button'); - btn.id = 'fsBtn'; - btn.textContent = '⛶'; - btn.title = 'Follscreen'; - btn.style.cssText = ` - position: fixed; - top: 0.75rem; - right: 0.75rem; - z-index: 99999; - background: transparent; - border: none; - color: rgba(255,255,255,0.1337); - font-size: 1.25rem; - cursor: pointer; - padding: 0.25rem 0.5rem; - transition: color 0.2s; - `; - btn.onmouseenter = () => btn.style.color = 'rgba(255,255,255,0.42)'; - btn.onmouseleave = () => btn.style.color = 'rgba(255,255,255,0.1337)'; - btn.onclick = () => { - if (!document.fullscreenElement) { - document.documentElement.requestFullscreen(); - btn.textContent = '✕'; - } else { - document.exitFullscreen(); - btn.textContent = '⛶'; - } - }; - document.addEventListener('fullscreenchange', () => { - btn.textContent = document.fullscreenElement ? '✕' : '⛶'; - }); - document.body.appendChild(btn); -})(); diff --git a/static/style.css b/static/style.css index d08f7e9..14d4fe3 100644 --- a/static/style.css +++ b/static/style.css @@ -685,3 +685,16 @@ canvas.confetti-canvas { pointer-events: none; /* don’t block buttons/links */ z-index: 9999; /* stays above your charts/cards */ } + +.video-link { + position: fixed; + top: 0.75rem; + right: 0.75rem; + z-index: 99999; + color: rgba(255,255,255,0.15); + font-size: 1.25rem; + text-decoration: none; + padding: 0.25rem 0.5rem; + transition: color 0.2s; +} +.video-link:hover { color: rgba(255,255,255,0.42); } diff --git a/templates/about.html b/templates/about.html index 3a6a398..f3748ea 100755 --- a/templates/about.html +++ b/templates/about.html @@ -38,7 +38,7 @@ - + diff --git a/templates/inactive.html b/templates/inactive.html index 5666133..3ae6208 100755 --- a/templates/inactive.html +++ b/templates/inactive.html @@ -127,15 +127,14 @@ - + - diff --git a/templates/profiles.html b/templates/profiles.html index c298920..569dc36 100755 --- a/templates/profiles.html +++ b/templates/profiles.html @@ -54,50 +54,49 @@ {% endfor %} + - + }); + + diff --git a/templates/quiz.html b/templates/quiz.html index bff9755..ccd3434 100755 --- a/templates/quiz.html +++ b/templates/quiz.html @@ -47,23 +47,23 @@ - - + + diff --git a/templates/result.html b/templates/result.html index 1fc4a10..9f6a66c 100755 --- a/templates/result.html +++ b/templates/result.html @@ -295,7 +295,7 @@ fire(rightOrigin); }); - +