Skip to content

Commit

Permalink
Adding styling for textarea
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl Whittaker committed Feb 21, 2011
1 parent 4578792 commit 1d177fb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion static/css/style.css
Expand Up @@ -303,7 +303,7 @@ form .errors{
clear:both;
}
/* FIELDS */
input[type=text], input[type=email], .slug{
input[type=text], input[type=email], .slug, textarea{
color:#000;
text-shadow:none;
background-color:#fff;
Expand All @@ -318,6 +318,9 @@ input[type=text], input[type=email], .slug{
-webkit-box-shadow:2px 2px 0 #000, inset 1px 1px 3px rgba(0,0,0,0.6);
-moz-box-shadow:2px 2px 0 #000, inset 1px 1px 3px rgba(0,0,0,0.6);
}
textarea{
height:60px;
}
.slug{
display:inline-block;
margin-left:0;
Expand Down
4 changes: 2 additions & 2 deletions wager/templates/index.html
Expand Up @@ -22,8 +22,8 @@ <h1>Create a wager</h1>
</ul>
{% endif %}
<label>
<span>What is this wager about?</span>
<textarea name="description"></textarea>
<span>What's at stake?</span>
<textarea name="description" placeholder="Money?, Beer?, Your immortal soul?"></textarea>
</label>
{% if wager_form.description.errors %}
<ul class="errors">
Expand Down

0 comments on commit 1d177fb

Please sign in to comment.