diff options
author | Ashelyn Rose <git@tempest.dev> | 2023-05-08 17:28:42 -0600 |
---|---|---|
committer | Ashelyn Rose <git@tempest.dev> | 2023-05-08 17:28:42 -0600 |
commit | 6cddfdf8fe9bccc291ee8625d42cb42fd4ce2134 (patch) | |
tree | 2424244ae79ae3c018bd9049e9f112741c38560e /styles/form.module.css | |
parent | 7e3dc4ace4c6b21bc68264dc76c8c442aec8031a (diff) |
implemented contact form
Diffstat (limited to 'styles/form.module.css')
-rw-r--r-- | styles/form.module.css | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/styles/form.module.css b/styles/form.module.css new file mode 100644 index 0000000..56ed09a --- /dev/null +++ b/styles/form.module.css @@ -0,0 +1,34 @@ +.form { + display: grid; + grid-template-columns: fit-content(30px) 1fr; + grid-row-gap: var(--text-padding); + grid-column-gap: var(--text-padding); +} + +.form textarea { + min-height: 160px; + resize: none; +} + +.form button[type="submit"], +.form .status{ + grid-column: 1 / -1; + text-align: center; +} + +.form input, +.form textarea, +.form button[type="submit"] { + color: white; + background: var(--page-background); + border: none; + box-sizing: border-box; + padding: 4px; + height: 32px; + width: 100%; + box-shadow: none; +} + +.form button[type="submit"] { + cursor: pointer; +} |