From 93fde2410b807912f7eafd614e7bd00182bab9fc Mon Sep 17 00:00:00 2001 From: Luke Else Date: Fri, 29 Sep 2023 14:41:37 +0100 Subject: [PATCH] Completed contact form and improved styling on cards --- .gitignore | 1 + .vscode/settings.json | 15 --------- src/Card.svelte | 5 +-- src/main.svelte | 2 -- src/routes/contact/+page.svelte | 58 ++++++++++++++++++++++++--------- 5 files changed, 47 insertions(+), 34 deletions(-) delete mode 100644 .vscode/settings.json diff --git a/.gitignore b/.gitignore index 6635cf5..ee1f68a 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ node_modules !.env.example vite.config.js.timestamp-* vite.config.ts.timestamp-* +.vscode diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 3ea61bc..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "spellright.language": [ - "en" - ], - "spellright.documentTypes": [ - "markdown", - "latex", - "plaintext" - ], - "spellright.parserByClass": { - "svelte": { - "parser": "plain" - } - } -} \ No newline at end of file diff --git a/src/Card.svelte b/src/Card.svelte index 35eb151..4e70aa1 100644 --- a/src/Card.svelte +++ b/src/Card.svelte @@ -15,7 +15,7 @@ justify-content: space-between; flex-wrap: wrap; flex: 2 1 20%; - min-width: 10em; + min-width: 8em; padding: .5em 2.5em 2em 2.5em; background: var(--bg-grad); border-radius: .5em; @@ -44,7 +44,8 @@ .card .card-footer :global(div){ margin-bottom: 1em; display: flex; - gap: 1.5em; + gap: 1em; + max-width: 100%; justify-content: space-between; } diff --git a/src/main.svelte b/src/main.svelte index 0d8a94f..9ea76cb 100644 --- a/src/main.svelte +++ b/src/main.svelte @@ -78,7 +78,6 @@ /* Skills Cards CSS */ .skills-container { max-width: 90%; - padding: 0em 2em; margin: auto; } @@ -88,7 +87,6 @@ flex-direction: row; gap: 3em 3em; padding: 3em 1em 2em 0em; - list-style: none; transition: all 0.2s; } diff --git a/src/routes/contact/+page.svelte b/src/routes/contact/+page.svelte index 4bbe430..cd29431 100644 --- a/src/routes/contact/+page.svelte +++ b/src/routes/contact/+page.svelte @@ -1,25 +1,38 @@ @@ -43,15 +66,20 @@

Contact

-
+
- - - + + + + + +
- -
+ +
+ +