/* Try to hide Page Titles on login pages */
#page-title,
h1#page-title,
h1.page-header{
  display:none;
}
p.login-title{
  font-weight:bold;
  font-size:1.5em;
  margin:0;
  color:#555;
}
#user-login{
  margin-bottom:2em;
}
#user-login .description{
  font-size:11px;
  color:#777;
  padding-left:10px;
}
/* Field Icons */
#edit-name
{
   background: #fff url("email.png") no-repeat 5px center;
   background-size: 1em 1em;
   text-indent:2em;
   border: 1px solid #aaa;   
}
#edit-pass{ 
    background: #fff url("password.png") no-repeat 5px center;
    background-size: 1em 1em;
    text-indent:2em;
    border: 1px solid #aaa;
}
/* Forms */
#user-login,
#user-pass
{
  max-width:600px;
  margin:0 auto;
  border:5px solid #555;
  padding:1em;
}
#user-login .actions-suffix{
  float:right;
  position:relative;
  bottom:10px;
}
#edit-actions{  
  margin-top:1em;
}
#user-pass label,
#user-login label{
  display:block;
  font-weight:normal;
  font-size:.8em;
}
.form-item{
  max-width:100%;
  overflow:hidden;
}
.form-item-pass,
p.forgot-password{
  display:inline-block;  
}
p.super-login-password{
  font-size:.9em;
  margin:0 0 0 1em;
}
p.forgot-password{
  margin-left:1em;
}
#user-pass .form-item.form-item-name,
#user-login .form-item.form-item-name{
  margin:1em 0;
}
#user-login .form-item.form-item-pass{
  margin:0;
}
#capslockdiv{
  height:1em;
}
#capslockdiv P{
  color:#c61414;
  margin:0;
  background:url("warning.png") left center no-repeat;
  background-size: 1em 1em;
  text-indent:1.25em;
  font-size:.75em;
  margin-top:.5em;
  margin-left:1.5em;  
}
#user-login .messages,
#user-pass .messages{
  margin:0 0 1em 0;
}
.back-to-login{
  font-size:.9em;
  float:right;
  margin:0 1em .125em 0;
}
input.form-text{
  border: 2px solid #dadada;  
}
input.form-text:focus { 
    outline: none;
    border-color: #0088cc;
    box-shadow: 0 0 8px #9ecaed;
}
input.form-control{
  display:inline;
  width:auto;
}
/* Remove Chrome's autofill yellow */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}
@media all and (max-width: 500px) {
  #user-login div .actions-suffix{
    float:none;
    bottom:0;
    margin:0;
    text-align: center;
  }
  #user-login div p.forgot-password,
  #user-login div .form-actions{
    margin:0;
    text-align: center;
  }
  #user-login div #capslockdiv{
    display:none;
    height:0;
  }
  #user-login div .form-actions{
    margin:1em 0;
  }  
} 
  
    View source  
  - /* Try to hide Page Titles on login pages */
- #page-title,
- h1#page-title,
- h1.page-header{
-   display:none;
- }
- 
- p.login-title{
-   font-weight:bold;
-   font-size:1.5em;
-   margin:0;
-   color:#555;
- }
- #user-login{
-   margin-bottom:2em;
- }
- #user-login .description{
-   font-size:11px;
-   color:#777;
-   padding-left:10px;
- }
- 
- /* Field Icons */
- #edit-name
- {
-    background: #fff url("email.png") no-repeat 5px center;
-    background-size: 1em 1em;
-    text-indent:2em;
-    border: 1px solid #aaa;   
- }
- 
- #edit-pass{ 
-     background: #fff url("password.png") no-repeat 5px center;
-     background-size: 1em 1em;
-     text-indent:2em;
-     border: 1px solid #aaa;
- }
- 
- /* Forms */
- #user-login,
- #user-pass
- {
-   max-width:600px;
-   margin:0 auto;
-   border:5px solid #555;
-   padding:1em;
- }
- 
- #user-login .actions-suffix{
-   float:right;
-   position:relative;
-   bottom:10px;
- }
- 
- #edit-actions{  
-   margin-top:1em;
- }
- 
- #user-pass label,
- #user-login label{
-   display:block;
-   font-weight:normal;
-   font-size:.8em;
- }
- .form-item{
-   max-width:100%;
-   overflow:hidden;
- }
- .form-item-pass,
- p.forgot-password{
-   display:inline-block;  
- }
- p.super-login-password{
-   font-size:.9em;
-   margin:0 0 0 1em;
- }
- p.forgot-password{
-   margin-left:1em;
- }
- 
- #user-pass .form-item.form-item-name,
- #user-login .form-item.form-item-name{
-   margin:1em 0;
- }
- #user-login .form-item.form-item-pass{
-   margin:0;
- }
- #capslockdiv{
-   height:1em;
- }
- 
- #capslockdiv P{
-   color:#c61414;
-   margin:0;
-   background:url("warning.png") left center no-repeat;
-   background-size: 1em 1em;
-   text-indent:1.25em;
-   font-size:.75em;
-   margin-top:.5em;
-   margin-left:1.5em;  
- }
- 
- #user-login .messages,
- #user-pass .messages{
-   margin:0 0 1em 0;
- }
- 
- .back-to-login{
-   font-size:.9em;
-   float:right;
-   margin:0 1em .125em 0;
- }
- 
- input.form-text{
-   border: 2px solid #dadada;  
- }
- 
- input.form-text:focus { 
-     outline: none;
-     border-color: #0088cc;
-     box-shadow: 0 0 8px #9ecaed;
- }
- 
- input.form-control{
-   display:inline;
-   width:auto;
- }
- 
- 
- /* Remove Chrome's autofill yellow */
- input:-webkit-autofill {
-     -webkit-box-shadow: 0 0 0px 1000px white inset;
- }
- 
- @media all and (max-width: 500px) {
-   #user-login div .actions-suffix{
-     float:none;
-     bottom:0;
-     margin:0;
-     text-align: center;
-   }
-   #user-login div p.forgot-password,
-   #user-login div .form-actions{
-     margin:0;
-     text-align: center;
-   }
-   #user-login div #capslockdiv{
-     display:none;
-     height:0;
-   }
-   #user-login div .form-actions{
-     margin:1em 0;
-   }  
- }