Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Style the footer.

  • Loading branch information...
commit 773c69b39a8e8e0a3b0fae6af40a5f326acd0abf 1 parent ffb524a
Luke Sutton authored
Showing with 104 additions and 2 deletions.
  1. +40 −2 content/stylesheets/screen.css
  2. +64 −0 layouts/default.haml
View
42 content/stylesheets/screen.css
@@ -6,6 +6,7 @@ layout: false
/ Reused colours
!light_blue = #26518A
!mid_blue = #1A365C
+!heading_blue= #69B5FF
/* Widths
!layout = 961px
!margin = 30px
@@ -75,8 +76,6 @@ body
:width= !layout
#footer
- :background= !mid_blue
- :padding 1.5em 0
:width= !layout
:clear both
@@ -90,3 +89,42 @@ body
:margin-bottom= !margin
:width 100%
:float left
+
+/* Footer
+#footer
+ :background= !mid_blue
+ :padding 2.5em 0
+ :height 10em
+ :position relative
+
+ p
+ :font-size 0.85em
+ :line-height 1.3
+ :color #5E728D
+ :position absolute
+ :bottom 2.5em
+ :left= !margin
+
+ div
+ :margin-left= !margin
+ :width= (!margin * 5)
+ :float left
+
+ h1
+ :position absolute
+ :left -1000em
+
+ h2
+ :font
+ :weight bold
+ :size 1.1em
+ :color= !heading_blue
+ :margin-bottom 0.5em
+
+ li
+ :list-style-type none
+ :padding-bottom 0.4em
+
+ a
+ :font-size 0.9em
+ :color white !important
View
64 layouts/default.haml
@@ -29,3 +29,67 @@ filter: haml
%div#footer
%h1 Site-map & Copyright
+
+ %p
+ All contents copyright 2008
+ %br/
+ XHTML 1.1 & CSS 2.1
+
+ %div
+ %h2 Getting Help
+ %ul
+ %li
+ %a{:href => "/", :title => "A quickstart guide, with install instructions"}
+ Getting Started
+ %li
+ %a{:href => "/", :title => "The API docs for DM-Core"}
+ API Documentation
+ %li
+ %a{:href => "/", :title => "A series of tutorials on the wiki"}
+ Tutorials
+
+ %div
+ %h2 Source Code
+ %ul
+ %li
+ %a{:href => "http://github.com/sam/dm-core/tree/master", :title => "The Git repository for DM-Core."}
+ DM-Core
+ %li
+ %a{:href => "http://github.com/sam/dm-more/tree/master", :title => "The Git repository for DM-More."}
+ DM-More
+ %li
+ %a{:href => "http://github.com/sam/do/tree/master", :title => "The Git repository for DataObjects, a unified set of DB drivers used in DataMapper."}
+ DataObjects
+
+ %div
+ %h2 Community
+ %ul
+ %li
+ %a{:href => "/", :title => "Hosted on Google Groups and open to all subscribers."}
+ Official mailing list
+ %li
+ %a{:href => "irc://irc.freenode.net/#datamapper", :title => "If you have an IRC client installed, click the link and come have a chat with us."}
+ \#datamapper on Freenode
+
+ %div
+ %h2 About the Project
+ %ul
+ %li
+ %a{:href => "/why", :title => "An introduction and overview of what DataMapper is and why you should care. Because you really should!"}
+ Why DataMapper?
+ %li
+ %a{:href => "/community#people", :title => "Get to know the nice people that contribute to DataMapper."}
+ The people involved
+
+ %div
+ %h2 Badges & Graphics
+ %ul
+ %li
+ %a{:href => "/assets/datamapper-graphics.zip", :title => "The logo and various graphical elements in PDF format."}
+ Logo and Graphics
+ %li
+ %a{:href => "/assets/datamapper-badges.zip", :title => "Badges in various sizes and formats."}
+ Badges
+ %li
+ %a{:href => "/assets/datamapper-presskit.zip", :title => "A condensed explanation of DataMapper and graphics ready for print."}
+ Presskit
Please sign in to comment.
Something went wrong with that request. Please try again.