Merge branch 'v2' of github.com:neocities/neocities into v2

This commit is contained in:
Kyle Drake 2014-10-13 15:22:17 -07:00
commit 4bdf43097e
2 changed files with 25 additions and 4 deletions

View file

@ -10,6 +10,7 @@
@extend .col-25;
float:left;
margin-bottom:$spacing*2;
color: #666;
@include box-shadow(1px 1px 2px 0px rgba(0, 0, 0, 0.15));
@media (max-device-width:480px), screen and (max-width:800px){
@ -17,9 +18,9 @@
}
}
li a {
display:block;
}
// li a {
// display:block;
// }
.site-info a {
color: #666;
font-size: 80%;
@ -28,6 +29,14 @@
margin-top: 8px;
margin-bottom: 2px;
}
.site-tags {
width: 100%;
clear: both;
height: 1.4em;
}
.site-tags .fa-tag {
vertical-align: -2px;
}
&.int-Gall{
@ -37,7 +46,11 @@
background-color: white;
border: 9px solid white;
overflow: hidden;
@media (max-width:1000px){
width:32%
}
@media (max-device-width:480px), screen and (max-width:800px){
width:49%
}

View file

@ -88,6 +88,14 @@
<% end %>
</a>
</div>
<div class="site-tags">
<% if site.tags.count > 0 %>
<i class="fa fa-tag"></i>
<% site.tags.each_with_index do |tag, index| %>
<a class="" href="/browse?tag=<%= Rack::Utils.escape tag.name %>"><%= tag.name %></a><% if index != site.tags.length - 1 %>,<% end %>
<% end %>
<% end %>
</div>
</div>
</li>
<% end %>