commit b1a1d9f67ed2b6e313c878998131d84c77da7f98 Author: Dym Sohin Date: Mon Dec 18 10:39:44 2023 +0100 init diff --git a/after.png b/after.png new file mode 100644 index 0000000..951ae66 Binary files /dev/null and b/after.png differ diff --git a/before.png b/before.png new file mode 100644 index 0000000..027701e Binary files /dev/null and b/before.png differ diff --git a/style.user.css b/style.user.css new file mode 100644 index 0000000..982d68d --- /dev/null +++ b/style.user.css @@ -0,0 +1,39 @@ +/* ==UserStyle== +@name gravatar-chevron +@description better chevron for buttons with icons, i.e. «Read our Privacy Policy» +@version 2023.12.18 +@namespace dym.sh +@author Dym Sohin +@homepageURL https://dym.sh/gravatar-chevron/ +@updateURL https://source.garden/styles/gravatar-chevron/raw/branch/latest/style.user.css +@supportURL https://source.garden/styles/gravatar-chevron/issues/ +@license 0BSD +==/UserStyle== */ + +@-moz-document domain("gravatar.com") { + +.g-has-chevron-external::after { + content: "⭟"; + font-weight: 700; + margin-left: 0.75rem; + line-height: 0.75rem; + background: var(--g-color-accent); + padding: 0.125rem; + color: var(--g-background); + border-radius: 0.125rem; + + left: unset; + margin-right: unset; + top: unset; + -webkit-transform: unset; + transform: unset; + -webkit-transform-origin: unset; + transform-origin: unset; +} + +.g-has-chevron-external:active::after +, .g-has-chevron-external:hover::after { + background: var(--g-color); +} + +}