mirror of
https://github.com/neocities/neocities.git
synced 2025-04-28 11:12:30 +02:00
Adjusted styling for message explaining comment policy
This commit is contained in:
parent
204b1fbd0d
commit
931a1f8554
2 changed files with 13 additions and 10 deletions
|
@ -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;
|
||||||
|
|
|
@ -83,17 +83,13 @@
|
||||||
<% unless current_site.commenting_allowed? %>disabled<% end %>
|
<% unless current_site.commenting_allowed? %>disabled<% end %>
|
||||||
>Post</button>
|
>Post</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
<% unless current_site.commenting_allowed? %>
|
||||||
|
<p class="comment-policy">
|
||||||
|
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>
|
||||||
|
</p>
|
||||||
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% unless current_site.commenting_allowed? %>
|
|
||||||
<div class="post-comment">
|
|
||||||
<p>
|
|
||||||
<small>
|
|
||||||
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>
|
|
||||||
</small>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<% end %>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% if @latest_events.empty? %>
|
<% if @latest_events.empty? %>
|
||||||
|
|
Loading…
Add table
Reference in a new issue