summaryrefslogtreecommitdiff
path: root/src/content/content.css
diff options
context:
space:
mode:
authorhackademix2018-07-01 01:01:23 +0200
committerhackademix2018-07-01 01:01:23 +0200
commiteceae7187a6f0e9510bc1165f6977256b87f490f (patch)
treed943f1ec73c09efa70954dcedb55eac82a726148 /src/content/content.css
downloadnoscript-eceae7187a6f0e9510bc1165f6977256b87f490f.tar.gz
noscript-eceae7187a6f0e9510bc1165f6977256b87f490f.tar.xz
noscript-eceae7187a6f0e9510bc1165f6977256b87f490f.zip
Initial commit starting at version 10.1.8.3rc4.
Diffstat (limited to 'src/content/content.css')
-rw-r--r--src/content/content.css71
1 files changed, 71 insertions, 0 deletions
diff --git a/src/content/content.css b/src/content/content.css
new file mode 100644
index 0000000..015fb2d
--- /dev/null
+++ b/src/content/content.css
@@ -0,0 +1,71 @@
+a.__NoScript_PlaceHolder__ {
+ outline: 2px solid #048;
+ color: #048;
+ text-decoration: none;
+ text-align: center;
+ background: rgba(255,250,200, .7) no-repeat center;
+ background-size: 256px;
+ visibility: visible !important;
+ cursor: pointer;
+ opacity: 0.8;
+ transition: 1s all;
+}
+
+a.__NoScript_PlaceHolder__:hover {
+ opacity: 1;
+ text-decoration: underline;
+ background-size: 128px;
+ background-position: top left;
+}
+
+a.__NoScript_PlaceHolder__.closing {
+ transition: .4s all;
+ opacity: 0;
+ transform: scale(0, 0);
+}
+
+a.__NoScript_PlaceHolder__ > span {
+ display: flex !important;
+ flex-direction: row;
+ justify-content: space-around;
+ align-items: center;
+ position: relative;
+ padding: 0;
+ margin: 0;
+ width: 100%;
+ height: 100%;
+}
+
+.__NoScript_PlaceHolder__ button {
+ appearance: none;
+ -moz-appearance: none;
+ border: none;
+ position: absolute;
+ top: 0;
+ right: 0;
+ display: block;
+ color: #800;
+ font-size: 16px;
+ font-family: sans-serif;
+ padding: 0 4px;
+ margin: 0;
+ background: none;
+ transition: .2s all;
+}
+.__NoScript_PlaceHolder__ button:hover {
+
+ color: white;
+ text-shadow: -2px 0 2px red, 2px 0 2px red;
+}
+
+.__NoScript_PlaceHolder__ > span > span {
+ display: block;
+ font-size: 18px;
+ background: rgba(255, 250, 200, .5);
+ border-radius: 8px;
+ padding: 8px;
+ margin: 0;
+ font-family: sans-serif;
+ overflow-wrap: break-word;
+ word-break: break-all;
+}