From 7c7617f520daf92b97511a35c0b1957bf7a36004 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Tue, 18 Jun 2024 16:45:13 -0700 Subject: [PATCH] chore: form styles --- package-lock.json | 4 ++-- package.json | 2 +- src/assets/styles/components/forms.css | 6 ++++++ src/assets/styles/components/menu.css | 1 + 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9dc8cefe..a8d7ea56 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "19.5.1", + "version": "19.5.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "19.5.1", + "version": "19.5.2", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.4.0", diff --git a/package.json b/package.json index e8312d6d..163898d8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "19.5.1", + "version": "19.5.2", "description": "The source for my personal site. Built using 11ty.", "type": "module", "scripts": { diff --git a/src/assets/styles/components/forms.css b/src/assets/styles/components/forms.css index b05ea423..85f1dc43 100644 --- a/src/assets/styles/components/forms.css +++ b/src/assets/styles/components/forms.css @@ -24,7 +24,13 @@ input:focus, input:focus-within, textarea:focus, textarea:focus-within { + border: 0; outline: 2px dashed var(--accent-color); + padding: calc(var(--sizing-sm) + 1px); +} + +.search__form { + margin-top: 0; } .search__results { diff --git a/src/assets/styles/components/menu.css b/src/assets/styles/components/menu.css index ec74f90f..e237afc0 100644 --- a/src/assets/styles/components/menu.css +++ b/src/assets/styles/components/menu.css @@ -2,6 +2,7 @@ display: flex; flex-direction: row; list-style-type: none; + margin: 0; padding: 0; gap: var(--sizing-md);