From a0360445e1d94a9abcffa568db9ffa5977d1ffc1 Mon Sep 17 00:00:00 2001 From: Gnarwhal Date: Tue, 17 Sep 2024 17:56:10 +0100 Subject: [PATCH] Changes - Added 'curl' and 'wget' commands. TODO: Add feedback when user clicks on them to copy (probably need a not bajillion years outdated Inkscape with icons that aren't completely broken first though :/) - Fixed some light theme issues - Fixed some sizing issues on mobile --- src/app/[...file]/page.css.ts | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/app/[...file]/page.css.ts b/src/app/[...file]/page.css.ts index dca9e75..25d37e4 100644 --- a/src/app/[...file]/page.css.ts +++ b/src/app/[...file]/page.css.ts @@ -46,14 +46,19 @@ export const download_button = style({ marginLeft: '2em', border: 0, padding: 0, - backgroundColor: colors.background2, + border: `1px solid ${colors.background2}`, + backgroundColor: colors.background, color: colors.foreground, }); export const download_button_image = style({ - display: 'block', - width: 'auto', - height: '100%', + display: 'block', + width: 'auto', + height: '100%', + transition: 'background-color 0.35s', + ':hover': { + backgroundColor: colors.background2, + }, }); export const download_text_section = style({