.conf { padding: 1em; } .conf .box { max-width: 40em; } .conf .form { margin: 0 auto; max-width: 25em; padding: 2em; } .conf .form-group { padding: 0.4em; } .conf .form-group label { display: block; margin-bottom: 0.5em; } .conf .form-group input[type=text], .conf .form-group input[type=password] { margin: 0; width: 100%; } .conf .form-group input[type=password] { margin-bottom: 0.5em; }