mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-03 17:26:37 -04:00
add :focus-visible
css selector to some hover styles
This commit is contained in:
@ -103,13 +103,6 @@ const Quiet = styled("span", {
|
||||
color: theme.colors.mediumLight,
|
||||
});
|
||||
|
||||
const EasterEgg = styled(ColorfulLink, {
|
||||
// rotated 🪄 emoji on hover
|
||||
"&:hover": {
|
||||
cursor: `url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='30' style='font-size:24px'><text y='50%' transform='rotate(-70 0 0) translate(-20, 6)'>🪄</text></svg>") 5 5, auto`,
|
||||
},
|
||||
});
|
||||
|
||||
const Index = () => {
|
||||
return (
|
||||
<>
|
||||
@ -225,14 +218,20 @@ const Index = () => {
|
||||
backend programming
|
||||
</ColorfulLink>{" "}
|
||||
back when my only source of income was{" "}
|
||||
<EasterEgg
|
||||
<ColorfulLink
|
||||
href="/birthday/"
|
||||
title="🎉 Cranky Birthday Boy on VHS Tape 📼"
|
||||
lightColor="#e40088"
|
||||
darkColor="#fd40b1"
|
||||
css={{
|
||||
// rotated 🪄 emoji on hover
|
||||
"&:hover": {
|
||||
cursor: `url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='30' style='font-size:24px'><text y='50%' transform='rotate(-70 0 0) translate(-20, 6)'>🪄</text></svg>") 5 5, auto`,
|
||||
},
|
||||
}}
|
||||
>
|
||||
the Tooth Fairy
|
||||
</EasterEgg>
|
||||
</ColorfulLink>
|
||||
. <Quiet>I've improved a bit since then, I think? 🤷</Quiet>
|
||||
</Paragraph>
|
||||
|
||||
|
Reference in New Issue
Block a user