From bb2aca75ac488cfcf013791bcadec71b3fe059a1 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 1 Oct 2023 16:23:35 +0300 Subject: [presentation.css] Absolute controller now fades out by default and fades in on hover --- src/presentation.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/presentation.css') diff --git a/src/presentation.css b/src/presentation.css index c4f3e39..9e9db8b 100644 --- a/src/presentation.css +++ b/src/presentation.css @@ -113,12 +113,16 @@ absolute-slide {...} */ .absolute-cont { bottom: 0; - opacity: 40%; + opacity: 0.4; position: absolute; right: 0; + transition: opacity 0.5s linear 0s; visibility: visible; z-index: 10; } + .absolute-cont:hover { opacity: 0.4; } + /* In case your browser doesn't support :hover */ + .absolute-cont:not(:hover) { opacity: 0; } #slideIndex { border: none; font-size: 1.6em; } /* Media specific stylings */ -- cgit v1.3.1-23-gd82d