Replaces the “Trans” in the Google Translate logo with the transgender pride flag.
Updated 1 April 2022: Logo replacement fixed.
Google 🏳️⚧️late by fussmatte
Details
Authorfussmatte
LicenseNo License
Categorygoogle translate
Created
Updated
Size9.1 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name Google 🏳️⚧️late
@version 20220401.22.30
@namespace userstyles.world/user/fussmatte
@description Replaces the “Trans” in the Google Translate logo with the transgender pride flag.
@author fussmatte
@license No License
==/UserStyle== */
@-moz-document domain("translate.google.com") {
a[title="Google Translate"] span:not([aria-hidden="true"]) {
/* Hide original “Translate” text */
visibility: hidden;
font-size: 0px;
}
a[title="Google Translate"] span:not([aria-hidden="true"]):before {
/* Replace with “🏳️⚧️late” */
/* Override hiding of original content */
visibility: visible;
font-size: 22px;
/* Correct position */
position: relative;
top: 4px;
left: 1px;
/* Add text shifted right to compensate for flag graphic */
content: "late";
padding-left: 28px;
padding-top: 1px;
/* Render flag as SVG background */
background-size: 27px 27px;
background-repeat: no-repeat;
background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI0LjAuMywgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAxMjggMTI4IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxMjggMTI4OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZS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