Adjusted styling for message explaining comment policy

This commit is contained in:
Victoria Wang 2014-10-09 18:42:31 -07:00
parent 204b1fbd0d
commit 931a1f8554
2 changed files with 13 additions and 10 deletions

View file

@ -739,6 +739,13 @@ a.tag:hover {
margin-left: 10px; margin-left: 10px;
margin-top: 4px; margin-top: 4px;
} }
.comment-policy {
margin-top: .5em;
float: left;
font-style: italic;
font-size: .8em;
margin-right: 45px;
}
.supporter-badge { .supporter-badge {
background:url(/img/supporter.png); background:url(/img/supporter.png);
width: 99px; width: 99px;

View file

@ -83,17 +83,13 @@
<% unless current_site.commenting_allowed? %>disabled<% end %> <% unless current_site.commenting_allowed? %>disabled<% end %>
>Post</button> >Post</button>
</form> </form>
</div>
<% unless current_site.commenting_allowed? %> <% unless current_site.commenting_allowed? %>
<div class="post-comment"> <p class="comment-policy">
<p> To prevent spam, you cannot comment until you have updated your site <strong><%= Site::COMMENTING_ALLOWED_UPDATED_COUNT %> times</strong> (on <%= Site::COMMENTING_ALLOWED_UPDATED_COUNT %> separate days), and your account is one week old. While waiting, now is a great time to <a href="/dashboard">start building your awesome site!</a>
<small> </p>
Note: To prevent spam, you cannot comment until you have updated your site <strong><%= Site::COMMENTING_ALLOWED_UPDATED_COUNT %></strong> times (on <%= Site::COMMENTING_ALLOWED_UPDATED_COUNT %> separate days),<br> and your account is one week old. While waiting, now is a great time to <a href="/dashboard">start building your awesome site!</a> <% end %>
</small> </div>
</p>
</div>
<% end %>
<% end %> <% end %>
<% if @latest_events.empty? %> <% if @latest_events.empty? %>