From c5fbd31dbfc7c819f0c91389556ad5709a11820d Mon Sep 17 00:00:00 2001 From: Jared Pace Date: Mon, 9 Aug 2010 10:26:57 -0400 Subject: [PATCH] Switch away from HTML5 tags for the time being --- app/views/layouts/application.html.haml | 4 ++-- public/stylesheets/application.css | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 2eea34a..0d860f1 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -10,13 +10,13 @@ = stylesheet_link_tag 'reset', 'application' = yield :head %body{:id => controller.controller_name, :class => controller.action_name} - %header + #header %div = link_to 'Errbit', root_path, :id => 'site-name' = render :partial => 'shared/navigation' - %section#content-wrapper + #content-wrapper #content-title %h1= yield :title %span.meta= yield :meta diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 0e4ac5d..613a8b7 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -34,20 +34,20 @@ a:visited { color: #0069cc;} a:hover { color: #0069cc; text-decoration: underline; } a.action { float: right; font-size: 0.9em;} -header > div, #nav-bar, #content-wrapper, #footer { +#header > div, #nav-bar, #content-wrapper, #footer { width: 900px; margin: 0 auto; position: relative; } /* Header */ -header { +#header { height: 75px; margin-bottom: 24px; border-bottom: 1px solid #fff; background: #000 url(images/header.png) 0 0 repeat-x; } -header #site-name { +#header #site-name { display: block; width: 88px; height: 31px; @@ -103,7 +103,7 @@ header #site-name { } /* Content Wrapper */ -section#content-wrapper { +#content-wrapper { border: 1px solid #C6C6C6; } -- libgit2 0.21.2