gravatar-chevron/style.user.css

45 lines
1.1 KiB
CSS
Raw Permalink 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;
2023-12-18 10:54:18 +01:00
}
.g-has-chevron-external:active::after
, .g-has-chevron-external:hover::after {
background: var(--g-color);
}
2023-12-18 10:39:44 +01:00
2023-12-18 10:54:18 +01:00
.g-has-chevron-external::after
, .g-has-chevron-external:active::after
, .g-has-chevron-external:hover::after {
2023-12-18 10:39:44 +01:00
left: unset;
margin-right: unset;
top: unset;
-webkit-transform: unset;
transform: unset;
-webkit-transform-origin: unset;
transform-origin: unset;
}
}