gravatar-chevron/style.user.css

40 lines
996 B
CSS
Raw Normal View History

2023-12-18 10:39:44 +01:00
/* ==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);
}
}