Commits

David Chambers committed 5a5009c

Updated default style sheet such that submit buttons are correctly positioned with or without a preceding checkbox.

Comments (0)

Files changed (1)

static/default.css

         #tags dd:before                         { padding: 0 0.25em; content: ":"; }
 
       #contact,
-        #comment                                { margin: 1.714em 0 0; width: 440px; font-size: 0.875em; }
+        #comment                                { margin: 0; width: 440px; padding: 1.714em 0; font-size: 0.875em; }
         fieldset                                { position: relative; margin: 0; border: none; padding: 0; }
             #contact fieldset label,
               #comment fieldset label           { position: absolute; left: -9999px; }
         #contact>div,
           #comment>div                          { position: relative; }
           label[for="message"]                  { position: absolute; left: -9999px; }
-          #message                              { display: block; margin: 0; width: 426px; border: 1px solid #999; padding: 3px 6px; font-size: inherit; line-height: 1.5em; font-family: inherit; color: inherit; }
+          #message                              { display: block; margin: 0 0 6px; width: 426px; border: 1px solid #999; padding: 3px 6px; font-size: inherit; line-height: 1.5em; font-family: inherit; color: inherit; }
           .errorlist~#message                   { border-color: #c00; }
           label[for="cc_sender"],
-            label[for="subscribe"]              { display: block; margin: 0.5em 0 0 1.5em; }
+            label[for="subscribe"]              { display: block; margin: 0 0 -25px 1.5em; padding: 1px 0 0; }
           #cc_sender,
-            #subscribe                          { position: absolute; left: 0; top: 0.5em; margin: 0; }
+            #subscribe                          { position: absolute; left: 0; top: 6px; margin: 0; font-size: inherit; }
           #contact input[type="submit"],
-            #comment input[type="submit"]       { float: right; margin: -25px 0 0; height: 28px; border: 1px solid #999; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; padding: 0.333em 1em 0.5em; font-size: 0.857em; line-height: 18px; color: rgb(12, 72, 96); text-shadow: 0 1px 0 #fff; outline: none; cursor: pointer;
+            #comment input[type="submit"]       { float: right; margin: 0; height: 28px; border: 1px solid #999; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; padding: 0.333em 1em 0.5em; font-size: 0.857em; line-height: 18px; color: rgb(12, 72, 96); text-shadow: 0 1px 0 #fff; outline: none; cursor: pointer;
                                                   background: rgb(209, 215, 221);
                                                   background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(rgb(209, 215, 221)));
                                                   background: -moz-linear-gradient(center top, #fff, rgb(209, 215, 221)); }