diff --git a/index.html b/index.html index 2361c152..26041f77 100644 --- a/index.html +++ b/index.html @@ -70,7 +70,7 @@ rel="apple-touch-startup-image" /> - +
diff --git a/src/components/navigation/right/Search.tsx b/src/components/navigation/right/Search.tsx index d6e2b2fc..e887a053 100644 --- a/src/components/navigation/right/Search.tsx +++ b/src/components/navigation/right/Search.tsx @@ -102,7 +102,7 @@ export function SearchSidebar({ close }: Props) { - + « back to members diff --git a/src/components/ui/Overline.tsx b/src/components/ui/Overline.tsx index 2b8b4896..4edcac23 100644 --- a/src/components/ui/Overline.tsx +++ b/src/components/ui/Overline.tsx @@ -5,6 +5,7 @@ import { Text } from "preact-i18n"; import { Children } from "../../types/Preact"; type Props = Omit, "children" | "as"> & { + hoverEnabled?: boolean; error?: string; block?: boolean; spaced?: boolean; @@ -15,6 +16,18 @@ type Props = Omit, "children" | "as"> & { const OverlineBase = styled.div>` display: inline; + transition: 0.2s ease filter; + + ${(props) => + props.hoverEnabled && + css` + &:hover { + filter: brightness(1.2); + cursor: pointer; + + transition: 0.2s ease filter; + } + `} ${(props) => !props.noMargin &&