Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Final css adds #37

Merged
merged 20 commits into from
Oct 28, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions app/assets/stylesheets/application.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,17 @@ header section#category-list article.top-bar-section ul {
text-align: center;
}

/*FOOTER*/
footer div {
width: 100%;
background-color: #5A6070;
color: #ECEBE4;
}

footer div p {
padding: .3%;
}

/*ALL PAGES*/
.page-title {
padding-top: 2%;
Expand Down
3 changes: 1 addition & 2 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
</section>
</header>

<%= yield %>

<%= yield %>
</body>
</html>
2 changes: 1 addition & 1 deletion app/views/merchants/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<% if @user_page == true %>
<h3 class="change-font top-add-space underline">
<%= "Welcome to you Merchant Page, #{@merchant.name}." %>
<%= "Welcome to your Merchant Page, #{@merchant.name}." %>
</h3>

<section class="underline">
Expand Down
4 changes: 2 additions & 2 deletions app/views/reviews/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<% end %>

<%= form_for @review, class: "", html: {class: 'form'}, url: product_reviews_path, http_method: :post do |f| %>
<article class="new-table cream-background">
<article class="new-table cream-background padding-bot">
<section class="change-font">
<%= f.label :title, 'Title:' %>
<%= f.text_field :title %>
Expand All @@ -25,7 +25,7 @@
<%= f.label :body %>
<%= f.text_field :body %>
</section>
<%= f.submit :class => 'product-button' %>
<%= f.submit :class => 'button' %>
</article>
<% end %>
</article>