Skip to content

Inverted Google Translate by ghotriw

Details

Authorghotriw

LicenseNo License

Categorytranslate.google.com

Created

Updated

Size600 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Inverted Google Translate

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         Inverted Google translate
@version      20241112.00.02
@author       ghotriw
@namespace    ?
==/UserStyle== */

@-moz-document domain("translate.google.com") {
  :root {
       --contrast-value: 85;
       --contrast-general: calc(var(--contrast-value)/100);
       --contrast-images: calc(1/var(--contrast-value)*100);
   }

   html {
        filter: invert(1) hue-rotate(180deg) contrast(var(--contrast-general));
   }

   img,
   [style*="background-image"] {
       filter: invert(1) hue-rotate(180deg) contrast(var(--contrast-images));
   }
}

Reviews

No reviews yet.