1
0
mirror of https://github.com/danbee/danbarberphoto synced 2025-03-04 08:49:07 +00:00

Add semantic header and footer.

This commit is contained in:
Dan Barber 2013-05-22 08:41:02 +01:00
parent 43e877b1e3
commit 9666229d59
2 changed files with 7 additions and 7 deletions

View File

@ -34,7 +34,7 @@ p a
#wrapper #wrapper
background: #101010 background: #101010
#header header
position: relative position: relative
background: #0082bf background: #0082bf
height: 308px height: 308px
@ -51,7 +51,7 @@ p a
bottom: 18px bottom: 18px
right: 20px right: 20px
#footer footer
//background: #333 //background: #333
color: #333 color: #333
text-align: right text-align: right

View File

@ -22,15 +22,15 @@
<div class="sgParent sg-12"> <div class="sgParent sg-12">
<div id="header" class="sg-11"> <header class="sg-11">
<%= link_to image_tag('/assets/title.png', :alt => 'Dan Barber Photography', :width => 236), '/' %> <%= link_to image_tag('/assets/title.png', :alt => 'Dan Barber Photography', :width => 236), '/' %>
</div> </header>
<%= yield %> <%= yield %>
<div id="footer" class="sg-35"> <footer class="sg-35">
<p>&copy;2013 Dan Barber</p> &copy;2013 Dan Barber
</div> </footer>
</div> </div>
</div> </div>