From 284ec8c8fe86139beb2cfbff8d40f6eec28d82a6 Mon Sep 17 00:00:00 2001 From: Tobias Eidelpes Date: Tue, 14 Apr 2020 14:48:14 +0200 Subject: [PATCH] Add simple styling for forms --- app/assets/stylesheets/application.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index c1e4bfb..aed84f1 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -108,4 +108,15 @@ nav a:hover { .logo:hover { background-color: transparent; +} + +input[type=text], input[type=url], input[type=email], input[type=password], input[type=tel] { + display: block; + margin: 0 0 1rem 0; + width: 100%; + max-width: 340px; + height: 25px; + line-height: 25px; + font-size: 16px; + border: 1px solid #bbb; } \ No newline at end of file