mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
Removed actions from follow events, style changes to news feed
This commit is contained in:
parent
f1ffd458e4
commit
9cc9b0e5d7
3 changed files with 11 additions and 13 deletions
|
@ -513,18 +513,10 @@ a.tag:hover {
|
|||
.news-item {
|
||||
width: 100%;
|
||||
float: left;
|
||||
margin: 1em 0;
|
||||
margin: 1.25em 0 1.25em 0;
|
||||
}
|
||||
/*
|
||||
.news-item.update, .news-item.tags, .news-item.comment.for-me, .news-item.tip.for-me {
|
||||
margin: 1.0em 0;
|
||||
}
|
||||
*/
|
||||
.news-item:nth-of-type(1) {
|
||||
margin-top: 0;
|
||||
}
|
||||
.news-item.first {
|
||||
margin-top: 0;
|
||||
margin-top: 0!important;
|
||||
}
|
||||
.news-item .user {
|
||||
font-weight: bold;
|
||||
|
@ -540,7 +532,8 @@ a.tag:hover {
|
|||
font-style: normal;
|
||||
margin-top: .2em;
|
||||
font-size: .9em;
|
||||
margin-bottom: -.4em;
|
||||
margin-bottom: -.1em;
|
||||
margin-left: 2.35em;
|
||||
}
|
||||
.news-item .icon {
|
||||
width: 20px;
|
||||
|
@ -568,6 +561,9 @@ a.tag:hover {
|
|||
.news-item.tip .icon {
|
||||
background: #FFCC00;
|
||||
}
|
||||
.news-item.follow {
|
||||
margin: .3em 0 .3em 0;
|
||||
}
|
||||
.news-item.follow .icon {
|
||||
background: #3399CC;
|
||||
}
|
||||
|
|
|
@ -80,7 +80,9 @@
|
|||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<%== erb :'_news_actions', layout: false, locals: {event: event} %>
|
||||
<% if !event.follow_id %>
|
||||
<%== erb :'_news_actions', layout: false, locals: {event: event} %>
|
||||
<% end %>
|
||||
|
||||
<% if event.comments_dataset.count > 0 %>
|
||||
<div class="content">
|
||||
|
|
|
@ -90,7 +90,7 @@
|
|||
</div>
|
||||
<%== erb :'_news', layout: false, locals: {site: @site, events: @latest_events} %>
|
||||
<% else %>
|
||||
<%== erb :'_news', layout: false, locals: {site: @site, events: @latest_events} %>
|
||||
<div><%== erb :'_news', layout: false, locals: {site: @site, events: @latest_events} %></div>
|
||||
<% end %>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue