mirror of
https://github.com/kogakure/website-astro-stefanimhoff.de.git
synced 2026-02-03 20:15:27 +00:00
fix: icon sizes
This commit is contained in:
@@ -11,7 +11,7 @@ interface Props extends JSX.HTMLAttributes<HTMLAnchorElement> {
|
|||||||
export const DownloadLink: FunctionalComponent<Props> = ({ href, text, ...props }) => (
|
export const DownloadLink: FunctionalComponent<Props> = ({ href, text, ...props }) => (
|
||||||
<TextLink class="group" href={href} {...props}>
|
<TextLink class="group" href={href} {...props}>
|
||||||
{text}
|
{text}
|
||||||
<span class="more-icon relative inline-flex mis-[0.2em] block-start-[0.4em]">
|
<span class="more-icon relative inline-flex mis-[0.2em] block-start-[0.2em]">
|
||||||
<Download
|
<Download
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
class="icon h-icon w-icon transition-transform duration-500 ease-in-out group-hover:translate-y-1 group-focus:translate-y-1"
|
class="icon h-icon w-icon transition-transform duration-500 ease-in-out group-hover:translate-y-1 group-focus:translate-y-1"
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ interface Props extends JSX.HTMLAttributes<HTMLAnchorElement> {
|
|||||||
export const MoreLink: FunctionalComponent<Props> = ({ href, text, ...props }) => (
|
export const MoreLink: FunctionalComponent<Props> = ({ href, text, ...props }) => (
|
||||||
<TextLink class="group" href={href} {...props}>
|
<TextLink class="group" href={href} {...props}>
|
||||||
{text}
|
{text}
|
||||||
<span class="more-icon relative inline-flex mis-[0.2em] block-start-[0.4em]">
|
<span class="more-icon relative inline-flex mis-[0.2em] block-start-[0.2em]">
|
||||||
<ArrowRight
|
<ArrowRight
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
class="icon h-icon w-icon transition-transform duration-500 ease-in-out group-hover:translate-x-1 group-focus:translate-x-1"
|
class="icon h-icon w-icon transition-transform duration-500 ease-in-out group-hover:translate-x-1 group-focus:translate-x-1"
|
||||||
|
|||||||
@@ -117,9 +117,9 @@ module.exports = {
|
|||||||
layout: 'clamp(1.5rem, 6.9375vw, 4.5rem)',
|
layout: 'clamp(1.5rem, 6.9375vw, 4.5rem)',
|
||||||
gap: 'clamp(1.5rem, 6.9375vw, 6rem)',
|
gap: 'clamp(1.5rem, 6.9375vw, 6rem)',
|
||||||
halfgap: 'calc(clamp(1.5rem, 6.9375vw, 6rem) / 2)',
|
halfgap: 'calc(clamp(1.5rem, 6.9375vw, 6rem) / 2)',
|
||||||
icon: '30px',
|
icon: '24px',
|
||||||
'icon-small': '25px',
|
'icon-small': '20px',
|
||||||
clickarea: '50px',
|
clickarea: '40px',
|
||||||
},
|
},
|
||||||
fontFamily: {
|
fontFamily: {
|
||||||
sans: ['SecuelaVariable', 'Arial', 'sans-serif'],
|
sans: ['SecuelaVariable', 'Arial', 'sans-serif'],
|
||||||
|
|||||||
Reference in New Issue
Block a user