diff options
| Commit | bb2aca75ac488cfcf013791bcadec71b3fe059a1 (patch) | |
|---|---|---|
| Author | 2023-10-01 16:23:35 +0300 | |
| Committer | 2023-10-01 16:23:35 +0300 | |
| Files | bb5168ec4b42cb40b1e4888dd45c860c7252f12d /src/presentation.css | |
| syndamia.com-bb2aca75ac488cfcf013791bcadec71b3fe059a1.tar syndamia.com-bb2aca75ac488cfcf013791bcadec71b3fe059a1.tar.gz syndamia.com-bb2aca75ac488cfcf013791bcadec71b3fe059a1.zip | ||
| Parent | 19d96a1a402750f0ce8e05c7aeee23034891d7a6 (diff) | |
[presentation.css] Absolute controller now fades out by default and fades in on hover
1 files changed, 5 insertions, 1 deletions
| -rw-r--r-- | src/presentation.css | 6 |
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 */ |