Agora Login
by munaf
HTML
<div id="userloginForm">
<form name="userlogin" action="#">
<ul class="mw-form-list">
<li>
<label for="wpName1" class="pos-above">
Username
<a href="#" class="pull-right"><img src="http://i.imgur.com/SH5JP.png"/> Sign in with secure server</a>
</label>
<input id="wpName1" type="text" placeholder="Enter your username" tabindex="1" autofocus />
</li>
<li>
<label for="wpPassword1" class="pos-above">Password (<a href="#">Forgot this?</a>)</label><input id="wpPassword1" type="password" placeholder="Enter password" tabindex="2" />
</li>
<li class="pull-up">
<input id="wpRemember" type="checkbox" value="1" tabindex="3" />
<label for="wpRemember">
Remember me
</label>
</li>
<li>
<button id="login-button" class="mw-btn blue xl" tabindex="4">Log in</button>
</li>
<li class="center-text">
<label><a href="#" tabindex="5">Help with logging in</a></label>
</li>
</ul>
</form>
</div>
<div id="createaccount-cta">
<h3>Don't have an account?<button class="mw-btn green">Join Wikipedia</button></h3>
</div>
CSS
body {
margin: 20px;
color: #252525;
text-shadow: white 0px 1px 0px,
white 1px 0px 0px,
white 0px -1px 0px,
white -1px 0px 0px,
white 0px 2px 0px,
white 2px 0px 0px,
white 0px -2px 0px,
white -2px 0px 0px;
}
a {
text-decoration: none;
text-shadow: none;
color: #0B0080;
}
a:hover {
text-decoration: underline;
}
#userloginForm {
font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
font-size: 16px;
}
ul.mw-form-list {
list-style: none;
list-style-image: none; /* IE7 */
}
ul.mw-form-list li {
display: block;
width: 20em;
margin-bottom: 1em;
padding: 0;
}
ul.mw-form-list input, button {
display: block;
}
ul.mw-form-list li input[type="checkbox"] {
display: inline;
}
ul.mw-form-list input[type="text"], input[type="password"] {
min-width: 100%;
max-width: 100%;
height: 2em;
margin: 0;
}
ul.mw-form-list label {
font-size: 0.75em;
color: #454545;
}
ul.mw-form-list a {
margin-right: -7px;
}
ul.mw-form-list label.pos-above {
display: block;
margin-bottom: 0.25em;
}
ul.mw-form-list label.pos-right {
display: inline;
margin-left: 0.25em;
}
ul.mw-form-list input[type="text"], input[type="password"] {
font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
font-size: 0.9em;
border: 1px solid #c9c9c9;
padding-left: 5px;
}
*.mw-btn {
display: block;
min-width: 8em;
height: 2.25em;
padding: 0 1em 0 1em;
font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
font-size: 0.8em;
font-weight: bold;
text-decoration: none;
color: white;
text-align: center;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
cursor: pointer;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
*.mw-btn.xl {
width: 15.7em;
height: 2em;
padding: 0 1em 0 1em;
...