Misc adjustments to browse page

This commit is contained in:
Victoria Wang 2015-07-17 10:54:41 -07:00
parent 6773034487
commit ac9d314b2b
2 changed files with 7 additions and 3 deletions

View file

@ -42,6 +42,10 @@
.interior .header-Outro h1 { .interior .header-Outro h1 {
font-size: 2.5em; font-size: 2.5em;
margin-top: 15px; margin-top: 15px;
a {
color: white;
}
} }
.news-site-info { .news-site-info {
@media (max-device-width:480px), screen and (max-width:800px) { @media (max-device-width:480px), screen and (max-width:800px) {

View file

@ -12,9 +12,9 @@
<div class="row content"> <div class="row content">
<div class="col col-100"> <div class="col col-100">
<% if params[:tag] %> <% if params[:tag] %>
<h1>Sites tagged <%= params[:tag] %></h1> <h1><a href="/browse">Websites</a> > <%= params[:tag] %></h1>
<% else %> <% else %>
<h1>Sites on Neocities</h1> <h1>Websites on Neocities</h1>
<% end %> <% end %>
</div> </div>
@ -50,7 +50,7 @@
<form method="GET" action="browse"> <form method="GET" action="browse">
<fieldset class="grouping"> <fieldset class="grouping">
<% unless is_education? || params[:sort_by] == 'followers' %> <% unless is_education? || params[:sort_by] == 'followers' %>
<label class="text-Label" for="tag"><span class="hide-on-mobile">Search by </span>Tag:</label> <label class="text-Label" for="tag"><span class="hide-on-mobile">Filter by </span>Tag:</label>
<input class="input-Area typeahead" id="tag" name="tag" type="text" placeholder="pokemon" value="<%= params[:tag] %>" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" dir="auto"> <input class="input-Area typeahead" id="tag" name="tag" type="text" placeholder="pokemon" value="<%= params[:tag] %>" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" dir="auto">
<input style="vertical-align: -4px;margin-left: 4px;" type="submit" class="btn-Action" value="Search"> <input style="vertical-align: -4px;margin-left: 4px;" type="submit" class="btn-Action" value="Search">
<% end %> <% end %>