From 94aab3b5ef21c753595b2748456134ec9a59d7a0 Mon Sep 17 00:00:00 2001 From: jackyzha0 Date: Sat, 9 May 2020 23:07:12 -0700 Subject: add title component --- frontend/src/css/index.css | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'frontend/src/css') diff --git a/frontend/src/css/index.css b/frontend/src/css/index.css index 3ef5b53..9a5a149 100644 --- a/frontend/src/css/index.css +++ b/frontend/src/css/index.css @@ -14,21 +14,28 @@ form { width: 100%; } -textarea { +textarea, input[type=text] { width: 100%; - height: 60vh; font-family: 'Roboto Mono', monospace; font-size: 0.8em; padding: 0.8em; border-radius: 3px; border: 1px solid #565656; outline: none; + margin-bottom: 1.5em; +} + +textarea { + height: 50vh; +} + +a { + color: #111111; } input[type=submit] { font-family: 'Lora', serif; font-weight: 700; - margin: 1.5em 0; color: #faf9f5; background-color: #111111; } -- cgit v1.2.3 From 22c58b4d7d864414c599761f92212a5825003950 Mon Sep 17 00:00:00 2001 From: jackyzha0 Date: Sun, 10 May 2020 00:25:31 -0700 Subject: input length check and component splitting --- frontend/src/css/index.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'frontend/src/css') diff --git a/frontend/src/css/index.css b/frontend/src/css/index.css index 9a5a149..902a096 100644 --- a/frontend/src/css/index.css +++ b/frontend/src/css/index.css @@ -22,7 +22,7 @@ textarea, input[type=text] { border-radius: 3px; border: 1px solid #565656; outline: none; - margin-bottom: 1.5em; + margin: 1.2em 0; } textarea { @@ -38,6 +38,7 @@ input[type=submit] { font-weight: 700; color: #faf9f5; background-color: #111111; + padding: 0.75em 2em; } input[type=submit]:focus { -- cgit v1.2.3