From 875c5c95d1595ba3943b8be9cdc2457264111157 Mon Sep 17 00:00:00 2001 From: hackademix Date: Mon, 24 Jun 2019 22:42:26 +0200 Subject: Static and click-to-play placeholders. --- src/content/content.css | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/content/content.css b/src/content/content.css index ddfe1b7..949501e 100644 --- a/src/content/content.css +++ b/src/content/content.css @@ -4,18 +4,16 @@ a.__NoScript_PlaceHolder__ { text-decoration: none; text-align: center; background: rgba(255,250,200, .7) no-repeat center; - background-size: 256px; + background-size: contain; visibility: visible !important; cursor: pointer; opacity: 0.8; - transition: 1s all; + z-index: 2147483647 !important; } a.__NoScript_PlaceHolder__:hover { opacity: 1; text-decoration: underline; - background-size: 128px; - background-position: top left; } a.__NoScript_PlaceHolder__.closing { @@ -54,7 +52,6 @@ a.__NoScript_PlaceHolder__ > span { transition: .2s all; } .__NoScript_PlaceHolder__ button:hover { - color: white; text-shadow: -2px 0 2px red, 2px 0 2px red; } @@ -70,7 +67,9 @@ a.__NoScript_PlaceHolder__ > span { overflow-wrap: break-word; word-break: break-all; } - +.__NoScript_PlaceHolder__:hover > span > span { + background: rgba(255, 250, 200, .8) +} a.__NoScript_PlaceHolder__.document { position: fixed !important; top: 0 !important; -- cgit v1.2.3