From 432c0a5745d01089b28208569a2a2fd901970ce2 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 5 Mar 2014 19:12:03 -0500 Subject: css is simpler than html (remove the hr above the footer, do it with css) --- app/assets/stylesheets/scaffolds.css.scss | 16 ++++------------ app/views/layouts/application.html.erb | 3 +-- 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/app/assets/stylesheets/scaffolds.css.scss b/app/assets/stylesheets/scaffolds.css.scss index 07c7676..28761fc 100644 --- a/app/assets/stylesheets/scaffolds.css.scss +++ b/app/assets/stylesheets/scaffolds.css.scss @@ -72,17 +72,6 @@ div { list-style: square; } } -hr { - -moz-border-bottom-colors: none; - -moz-border-image: none; - -moz-border-left-colors: none; - -moz-border-right-colors: none; - -moz-border-top-colors: none; - border-color: #999 -moz-use-text-color #FFFFFF; - border-style: solid none; - border-width: 1px 0; - margin: 18px 0; -} .navbar-brand { a{ @@ -94,6 +83,9 @@ hr { } } -#footer{ +footer { text-align: center; + border-top: solid 1px #999999; + padding-top: 18px; + margin-top: 18px; } diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 75a9d4e..0747b5d 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -32,8 +32,7 @@
<%= yield %>
-
-