commit 3dcdd7e249c44c2c01bbc2e543872471d858d6a3 parent f22fb3fc5c7b0d6a12ffc3b2c3c5a766b78fd6ef Author: JayVii <jayvii[AT]posteo[DOT]de> Date: Tue, 9 Dec 2025 12:16:25 +0100 fix: style play button properly Diffstat:
| M | assets/css/custom.css | | | 9 | ++++----- |
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/assets/css/custom.css b/assets/css/custom.css @@ -18,20 +18,19 @@ .preview > image { display: block; } -.playbutton { +.play_button { position: absolute; - content: "\25B6"; top: 25%; left: 25%; height: 50%; width: 50%; - background: url("/assets/motion-play.svg") #cccccc55; + background: url("/assets/motion-play.svg") #cccccc; background-size: 100% 100%; border: 2px solid; - border-radius: 5px; + border-radius: 25px; opacity: 0.5; } -.playbutton:hover { +.play_button:hover { filter: invert(100%); opacity: 1; }