Expanding the homepage gallery with a title and button to visit the browse page

This commit is contained in:
Victoria Wang 2015-04-01 16:19:59 -07:00
parent 245ce0c6b0
commit bf212abb6f
2 changed files with 17 additions and 1 deletions

View file

@ -1156,8 +1156,22 @@ a.tag:hover {
} }
.section.featured-Websites { .section.featured-Websites {
background: #971D31; background: #971D31;
border-top: 1px solid #C02841;
border-bottom: 1px solid #801629;
padding: 30px 0; padding: 30px 0;
position: relative; position: relative;
h2.delta {
color: white;
margin: 0;
text-align: left;
margin-bottom: .5em;
margin-left: 5.25%;
}
.btn-Action {
margin-top: 1.8em;
margin-right: 5.25%;
}
} }
.section.featured-Websites .nav { .section.featured-Websites .nav {
float:left; float:left;

View file

@ -218,10 +218,11 @@
<main class="content-Base"> <main class="content-Base">
<div class="section featured-Websites"> <div class="section featured-Websites">
<h2 class="delta">Featured Sites</h2>
<!-- <!--
<div class="nav prev"></div> <div class="nav prev"></div>
--> -->
<ul class="website-Gallery hp-Gallery"> <ul class="website-Gallery hp-Gallery">
<% Site.featured.each do |site| %> <% Site.featured.each do |site| %>
<li> <li>
<a href="<%= site.uri %>" title="<%= site.title %>" target="_blank"> <a href="<%= site.uri %>" title="<%= site.title %>" target="_blank">
@ -233,6 +234,7 @@
<!-- <!--
<div class="nav next"></div> <div class="nav next"></div>
--> -->
<a href="/browse" class="btn-Action float-Right">Browse all sites</a>
</div> </div>
<div class="section previews"> <div class="section previews">