Commit c5fbd31dbfc7c819f0c91389556ad5709a11820d

Authored by Jared Pace
1 parent 17c4eba3
Exists in master and in 1 other branch production

Switch away from HTML5 tags for the time being

app/views/layouts/application.html.haml
... ... @@ -10,13 +10,13 @@
10 10 = stylesheet_link_tag 'reset', 'application'
11 11 = yield :head
12 12 %body{:id => controller.controller_name, :class => controller.action_name}
13   - %header
  13 + #header
14 14 %div
15 15 = link_to 'Errbit', root_path, :id => 'site-name'
16 16  
17 17 = render :partial => 'shared/navigation'
18 18  
19   - %section#content-wrapper
  19 + #content-wrapper
20 20 #content-title
21 21 %h1= yield :title
22 22 %span.meta= yield :meta
... ...
public/stylesheets/application.css
... ... @@ -34,20 +34,20 @@ a:visited { color: #0069cc;}
34 34 a:hover { color: #0069cc; text-decoration: underline; }
35 35 a.action { float: right; font-size: 0.9em;}
36 36  
37   -header > div, #nav-bar, #content-wrapper, #footer {
  37 +#header > div, #nav-bar, #content-wrapper, #footer {
38 38 width: 900px;
39 39 margin: 0 auto;
40 40 position: relative;
41 41 }
42 42  
43 43 /* Header */
44   -header {
  44 +#header {
45 45 height: 75px;
46 46 margin-bottom: 24px;
47 47 border-bottom: 1px solid #fff;
48 48 background: #000 url(images/header.png) 0 0 repeat-x;
49 49 }
50   -header #site-name {
  50 +#header #site-name {
51 51 display: block;
52 52 width: 88px;
53 53 height: 31px;
... ... @@ -103,7 +103,7 @@ header #site-name {
103 103 }
104 104  
105 105 /* Content Wrapper */
106   -section#content-wrapper {
  106 +#content-wrapper {
107 107 border: 1px solid #C6C6C6;
108 108 }
109 109  
... ...