summaryrefslogtreecommitdiffstats
path: root/frontend/components/styles/Form.js
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2018-03-12 14:06:25 -0400
committerWes Bos <wesbos@gmail.com>2018-03-12 14:06:25 -0400
commit46a0ba30ef54a7e36206481a4f5b2bf1f9702fca (patch)
treea95fd534fc27761d8b26d0dffcdb5f300f7a61c7 /frontend/components/styles/Form.js
parentf7bea2d1b7be2b70dceb25c9837f608b538e9cec (diff)
wip
Diffstat (limited to 'frontend/components/styles/Form.js')
-rw-r--r--frontend/components/styles/Form.js40
1 files changed, 40 insertions, 0 deletions
diff --git a/frontend/components/styles/Form.js b/frontend/components/styles/Form.js
new file mode 100644
index 0000000..db0eeb4
--- /dev/null
+++ b/frontend/components/styles/Form.js
@@ -0,0 +1,40 @@
+import styled from 'styled-components';
+
+const Form = styled.form`
+ box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.05);
+ background: rgba(0, 0, 0, 0.02);
+ border: 5px solid white;
+ margin: 100px;
+ padding: 100px;
+ font-size: 2.5rem;
+ font-weight: 600;
+ label {
+ margin-bottom: 1rem;
+ display: block;
+ }
+ input,
+ textarea,
+ select {
+ margin-top: 2rem;
+ margin-bottom: 2rem;
+ width: 100%;
+ padding: 1rem;
+ font-size: 2rem;
+ border: 1px solid black;
+ &:focus {
+ outline: 0;
+ border-color: ${props => props.theme.red};
+ }
+ }
+ button,
+ input[type='submit'] {
+ width: auto;
+ background: red;
+ color: white;
+ border: 0;
+ font-size: 2rem;
+ font-weight: 600;
+ padding: 1rem 2rem;
+ }
+`;
+export default Form;