diff options
author | hackademix | 2019-06-24 22:42:26 +0200 |
---|---|---|
committer | hackademix | 2019-06-24 22:42:26 +0200 |
commit | 875c5c95d1595ba3943b8be9cdc2457264111157 (patch) | |
tree | 168851956f7519a9f8b54f995ff98d0c552b773b /src/content/content.css | |
parent | 6fcf92fbb1458b007a4a5631230877df11920b41 (diff) | |
download | noscript-875c5c95d1595ba3943b8be9cdc2457264111157.tar.gz noscript-875c5c95d1595ba3943b8be9cdc2457264111157.tar.xz noscript-875c5c95d1595ba3943b8be9cdc2457264111157.zip |
Static and click-to-play placeholders.
Diffstat (limited to 'src/content/content.css')
-rw-r--r-- | src/content/content.css | 11 |
1 files changed, 5 insertions, 6 deletions
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; |