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
background: #101010
#header
header
position: relative
background: #0082bf
height: 308px
@ -51,7 +51,7 @@ p a
bottom: 18px
right: 20px
#footer
footer
//background: #333
color: #333
text-align: right

View File

@ -22,15 +22,15 @@
<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), '/' %>
</div>
</header>
<%= yield %>
<div id="footer" class="sg-35">
<p>&copy;2013 Dan Barber</p>
</div>
<footer class="sg-35">
&copy;2013 Dan Barber
</footer>
</div>
</div>