From 004140f977a1c3ccf8427a8f937ba01128062585 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 25 Mar 2014 15:26:33 +0100 Subject: [PATCH] styling for small django forms --- gadjo/static/css/gadjo.css | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/gadjo/static/css/gadjo.css b/gadjo/static/css/gadjo.css index 9a517b4..4688ab3 100644 --- a/gadjo/static/css/gadjo.css +++ b/gadjo/static/css/gadjo.css @@ -684,11 +684,20 @@ ul.messages { box-shadow: 0px 0px 5px black; } -form.small label span { - width: 16em; +form.small p input { + margin-left: 0; +} + +form.small p { + margin-bottom: 0.5em; +} + +form.small label { + width: 200px; display: inline-block; } form.small button { - margin-left: 15.4em; + margin-left: 205px; + display: block; }