This commit is contained in:
Dym Sohin 2023-12-18 10:39:44 +01:00
commit b1a1d9f67e
3 changed files with 39 additions and 0 deletions

BIN
after.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

BIN
before.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 KiB

39
style.user.css Normal file
View File

@ -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);
}
}