aboutsummaryrefslogtreecommitdiff
path: root/firefox/stylish/pdf
diff options
context:
space:
mode:
Diffstat (limited to 'firefox/stylish/pdf')
-rw-r--r--firefox/stylish/pdf26
1 files changed, 26 insertions, 0 deletions
diff --git a/firefox/stylish/pdf b/firefox/stylish/pdf
new file mode 100644
index 0000000..f5da48f
--- /dev/null
+++ b/firefox/stylish/pdf
@@ -0,0 +1,26 @@
+@namespace url(http://www.w3.org/1999/xhtml);
+
+@-moz-document regexp(".*\.(p|P)(d|D)(f|F)") {
+ div {
+ color: #fff !important;
+ }
+ div.textLayer {
+ background-color: #000 !important;
+ opacity: 1;
+ }
+ #toolbarViewer {
+ background-color: black !important;
+ }
+
+ .annotationLayer .linkAnnotation > a:hover {
+ box-shadow: none !important;
+ background: #000 !important;
+ opacity: 0 !important;
+ }
+
+ /* THis code don't work */
+ /* .annotationLayer .linkAnnotation > a {
+ text-decoration: underline !important;
+ color: white !important;
+ }*/
+}