Commit c5fbd31dbfc7c819f0c91389556ad5709a11820d
1 parent
17c4eba3
Exists in
master
and in
1 other branch
Switch away from HTML5 tags for the time being
Showing
2 changed files
with
6 additions
and
6 deletions
Show diff stats
app/views/layouts/application.html.haml
@@ -10,13 +10,13 @@ | @@ -10,13 +10,13 @@ | ||
10 | = stylesheet_link_tag 'reset', 'application' | 10 | = stylesheet_link_tag 'reset', 'application' |
11 | = yield :head | 11 | = yield :head |
12 | %body{:id => controller.controller_name, :class => controller.action_name} | 12 | %body{:id => controller.controller_name, :class => controller.action_name} |
13 | - %header | 13 | + #header |
14 | %div | 14 | %div |
15 | = link_to 'Errbit', root_path, :id => 'site-name' | 15 | = link_to 'Errbit', root_path, :id => 'site-name' |
16 | 16 | ||
17 | = render :partial => 'shared/navigation' | 17 | = render :partial => 'shared/navigation' |
18 | 18 | ||
19 | - %section#content-wrapper | 19 | + #content-wrapper |
20 | #content-title | 20 | #content-title |
21 | %h1= yield :title | 21 | %h1= yield :title |
22 | %span.meta= yield :meta | 22 | %span.meta= yield :meta |
public/stylesheets/application.css
@@ -34,20 +34,20 @@ a:visited { color: #0069cc;} | @@ -34,20 +34,20 @@ a:visited { color: #0069cc;} | ||
34 | a:hover { color: #0069cc; text-decoration: underline; } | 34 | a:hover { color: #0069cc; text-decoration: underline; } |
35 | a.action { float: right; font-size: 0.9em;} | 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 | width: 900px; | 38 | width: 900px; |
39 | margin: 0 auto; | 39 | margin: 0 auto; |
40 | position: relative; | 40 | position: relative; |
41 | } | 41 | } |
42 | 42 | ||
43 | /* Header */ | 43 | /* Header */ |
44 | -header { | 44 | +#header { |
45 | height: 75px; | 45 | height: 75px; |
46 | margin-bottom: 24px; | 46 | margin-bottom: 24px; |
47 | border-bottom: 1px solid #fff; | 47 | border-bottom: 1px solid #fff; |
48 | background: #000 url(images/header.png) 0 0 repeat-x; | 48 | background: #000 url(images/header.png) 0 0 repeat-x; |
49 | } | 49 | } |
50 | -header #site-name { | 50 | +#header #site-name { |
51 | display: block; | 51 | display: block; |
52 | width: 88px; | 52 | width: 88px; |
53 | height: 31px; | 53 | height: 31px; |
@@ -103,7 +103,7 @@ header #site-name { | @@ -103,7 +103,7 @@ header #site-name { | ||
103 | } | 103 | } |
104 | 104 | ||
105 | /* Content Wrapper */ | 105 | /* Content Wrapper */ |
106 | -section#content-wrapper { | 106 | +#content-wrapper { |
107 | border: 1px solid #C6C6C6; | 107 | border: 1px solid #C6C6C6; |
108 | } | 108 | } |
109 | 109 |