From ef3c2ddb9a056fe31be2eb67a0843d4c7e132142 Mon Sep 17 00:00:00 2001 From: spaghetti Date: Fri, 19 Aug 2016 21:01:35 -0400 Subject: [PATCH] Make hover cover images take mouse position into account when deciding what side of the page to appear on --- static/styles/global.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/styles/global.css b/static/styles/global.css index f20dd24..bf6cb82 100755 --- a/static/styles/global.css +++ b/static/styles/global.css @@ -804,7 +804,7 @@ div.torrent_artists { .r10 { color: #74C42E; } .r20,.r50,.r99 { color: #418B00; } -#index > #coverCont { +#coverCont.left { left: 20px; right: initial; } @@ -812,6 +812,7 @@ div.torrent_artists { #coverCont { position: fixed; right: 20px; + left: initial; top: 20px; max-width: 30%; background-size: contain;