Style tweaks

This commit is contained in:
Erik Michaels-Ober 2011-02-25 14:41:54 -05:00
parent a64b78301b
commit e595ef03f3
2 changed files with 18 additions and 11 deletions

View File

@ -6,11 +6,11 @@
<img id="cfa-logo" src="images/logos/cfa.png" alt="Code for America" title="Code for America" /> <img id="cfa-logo" src="images/logos/cfa.png" alt="Code for America" title="Code for America" />
<h1>Adopt a Hydrant</h1> <h1>Adopt a Hydrant</h1>
<p> <p>
Take responsibility for shoveling out a fire hydrant after it snows. Claim responsibility for shoveling out a fire hydrant after it snows.
</p> </p>
<form> <form>
<label for="address"> <label for="address">
Street address Address
</label> </label>
<input id="address" name="address" type="text" value="" tabindex="1" /> <input id="address" name="address" type="text" value="" tabindex="1" />
<label for="city"> <label for="city">
@ -25,7 +25,7 @@
<select id="state" name="state" tabindex="3"> <select id="state" name="state" tabindex="3">
<option value="MA">Massachusetts</option> <option value="MA">Massachusetts</option>
</select> </select>
<button tabindex="4">Locate Orphan Fire Hydrants</button> <button tabindex="4">Find Fire Hydrants</button>
</form> </form>
<img id="hydrant-in-snow" src="images/hydrant-in-snow.jpg""> <img id="hydrant-in-snow" src="images/hydrant-in-snow.jpg"">
</div> </div>

View File

@ -31,19 +31,26 @@ body {
width: 100%; width: 100%;
} }
p, form { h1, p, form {
margin: auto; margin: auto;
width: 80%; width: 90%;
margin-top: 20px; margin-top: 10px;
}
label, input {
display: block;
clear: both;
text-align: left;
} }
input, select, option, button { input, select, option, button {
margin-bottom: 20px; margin-bottom: 10px;
text-align: center;
font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif; font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif;
font-size: 1.0em; font-size: 1.0em;
}
input, button {
width: 100%; width: 100%;
} }
button {
text-align: center;
height: 2em;
}