From 00b7dff3595d340be61894a0674800f8ed02b4ab Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 10 Sep 2011 21:05:23 -0700 Subject: overhaul docs CSS since it was scalable, converted docs mastheads and footers to classes and HTML5 elements, add masthead to js docs page but make it slate so it looks cool and stands out --- lib/forms.less | 47 +++++++++++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 22 deletions(-) (limited to 'lib/forms.less') diff --git a/lib/forms.less b/lib/forms.less index 2ac43177e..2333718e0 100644 --- a/lib/forms.less +++ b/lib/forms.less @@ -343,31 +343,34 @@ textarea[readonly] { display: block; padding: 0; width: 100%; - label { - display: block; - float: none; - width: auto; - padding: 0; - line-height: @baseline; - text-align: left; - white-space: normal; - strong { - color: @gray; - } - small { - font-size: @basefont - 2; - font-weight: normal; - } - } - ul.inputs-list { - margin-left: 25px; - margin-bottom: 10px; - padding-top: 0; + } + label { + display: block; + float: none; + width: auto; + padding: 0; + line-height: @baseline; + text-align: left; + white-space: normal; + strong { + color: @gray; } - &:first-child { - padding-top: 5px; + small { + font-size: @basefont - 2; + font-weight: normal; } } + .inputs-list { + margin-left: 25px; + margin-bottom: 10px; + padding-top: 0; + } + &:first-child { + padding-top: 6px; + } + li + li { + padding-top: 2px; + } input[type=radio], input[type=checkbox] { margin-bottom: 0; -- cgit v1.2.3