front/registration: visual tweaks
This commit is contained in:
parent
6a194b1d54
commit
85949bba04
5 changed files with 47 additions and 20 deletions
|
@ -37,7 +37,7 @@ form.tabular .buttons {
|
|||
|
||||
form:not(.tabular) ul li label {
|
||||
display: block;
|
||||
padding: 0.5em 0;
|
||||
padding: 1em 0 0.5em 0;
|
||||
}
|
||||
|
||||
textarea,
|
||||
|
|
|
@ -5,6 +5,10 @@ body {
|
|||
font-size: 12pt;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #24AADD;
|
||||
}
|
||||
|
||||
#content-holder {
|
||||
margin-top: 1em;
|
||||
text-align: center;
|
||||
|
|
|
@ -3,14 +3,38 @@
|
|||
width: 20em;
|
||||
float: left;
|
||||
}
|
||||
#user-registration div.info {
|
||||
#user-registration .info {
|
||||
line-height: 1.8em;
|
||||
float: left;
|
||||
margin-left: 3em;
|
||||
border-radius: 0.2em;
|
||||
width: 20em;
|
||||
}
|
||||
#user-registration .info p:first-child,
|
||||
#user-registration form li:first-child label {
|
||||
#user-registration .info ul {
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
#user-registration .info li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
#user-registration .info i {
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
#user-registration .info i.fa { color: #24AADD; }
|
||||
#user-registration .info p:first-child {
|
||||
margin: 0 0 0.5em 0;
|
||||
}
|
||||
#user-registration .input li:first-child label {
|
||||
padding-top: 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
#user-registration .buttons {
|
||||
margin-top: 1em;
|
||||
}
|
||||
p.hint {
|
||||
margin-top: 0.5em;
|
||||
color: gray;
|
||||
font-size: 80%;
|
||||
}
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
<meta charset='utf-8'/>
|
||||
<title><!-- change via config.ini --></title>
|
||||
<link href='/bundle.min.css' rel='stylesheet' type='text/css'>
|
||||
<link href='//fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css'>
|
||||
<link href='//fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet' type='text/css'>
|
||||
<link href='//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css' rel='stylesheet' type='text/css'>
|
||||
<link href='//fonts.googleapis.com/css?family=Inconsolata|Droid+Sans' rel='stylesheet' type='text/css'>
|
||||
</head>
|
||||
<body>
|
||||
<div id='top-nav-holder'></div>
|
||||
|
|
|
@ -5,22 +5,20 @@
|
|||
<fieldset class='input'>
|
||||
<ul>
|
||||
<li>
|
||||
<label for='user-name'>User name:</label>
|
||||
<input id='user-name' name='user-name' type='text' autocomplete='off' placeholder='e.g. darth_vader' required/>
|
||||
<label for='user-name'>User name</label>
|
||||
<input id='user-name' name='user-name' type='text' autocomplete='off' placeholder='letters, digits, _, -' required/>
|
||||
</li>
|
||||
<li>
|
||||
<label for='user-password'>Password:</label>
|
||||
<input id='user-password' name='user-password' type='password' autocomplete='off' placeholder='e.g. cupcake' required/>
|
||||
<label for='user-password'>Password</label>
|
||||
<input id='user-password' name='user-password' type='password' autocomplete='off' placeholder='5+ characters' required/>
|
||||
</li>
|
||||
<li>
|
||||
<label for='user-email'>Email (optional):</label>
|
||||
<input id='user-email' name='user-email' type='email' autocomplete='off' placeholder='e.g. vader@empire.gov'/>
|
||||
<label for='user-email'>Email</label>
|
||||
<input id='user-email' name='user-email' type='email' autocomplete='off' placeholder='optional'/>
|
||||
<p class="hint">Used for password reminder and to show a <a href='http://gravatar.com/'>Gravatar</a>. Leave blank for random Gravatar.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<hr/>
|
||||
<p>By clicking "Create an account" button below, you are agreeing to the <a href='/help/tos'>Terms of Service</a>.</p>
|
||||
<hr/>
|
||||
<fieldset class='buttons'>
|
||||
<input type='submit' value='Create an account'/>
|
||||
</fieldset>
|
||||
|
@ -28,11 +26,12 @@
|
|||
<div class='info'>
|
||||
<p>Registered users can:</p>
|
||||
<ul>
|
||||
<li>upload new posts</li>
|
||||
<li>mark them as favorite</li>
|
||||
<li>add comments</li>
|
||||
<li>vote up/down on posts and comments</li>
|
||||
<li><i class="fa fa-upload"></i> upload new posts</li>
|
||||
<li><i class="fa fa-heart"></i> mark them as favorite</li>
|
||||
<li><i class="fa fa-commenting-o"></i> add comments</li>
|
||||
<li><i class="fa fa-star-half-o"></i> vote up/down on posts and comments</li>
|
||||
</ul>
|
||||
<p>Your e-mail will be used to show your <a href='http://gravatar.com/'>Gravatar</a> and for password reminders only. Leave blank for random Gravatar.</p>
|
||||
<hr/>
|
||||
<p>By creating an account, you are agreeing to the <a href='/help/tos'>Terms of Service</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue