Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Get the front page styles working.

  • Loading branch information...
commit 8af3bcd1f8896268a45f39fc3a22048a9b59acbd 1 parent aa02a4e
Luke Sutton authored
View
BIN  content/images/home/panel-bkg.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  content/images/icon/bugs.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  content/images/icon/community.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  content/images/icon/documentation.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
35 content/index.haml
@@ -11,3 +11,38 @@ filter: haml
%p#more-info
To learn a little more, have a look at Why DataMapper?
+%div#panel
+ %div#latest-updates
+ %h2 Latest Updates
+
+ %h3 News Title
+ %p
+ We’ve just updated the getting started documentation to be a little more
+ clearer about the various issues that might crop up with installation,
+ particularly when installing dependencies on Windows.
+
+ %div#learning-help
+ %h2 Learning & Help
+ %ul
+ %li#learning-documentation
+ %h3 Documentation
+ %p
+ This should be your first port of call for help. This includes both
+ API docs, references and step by step tutorials.
+ %p.link
+ %a{:href => "/documentation", :title => "View the documentation page."}
+ View the documentation
+ %li#learning-bugs
+ %h3 Reporting Bugs
+ %p
+ If you find anything that looks like a bug in DataMapper, please
+ don’t hesitate to report it. We love it when people do that!
+ %p.link
+ %a{:href => "/development#bugs", :title => "The details for reporting bugs"}
+ Visit our bug-tracker
+ %li#learning-getting-help
+ %h3 Getting Help
+ %p
+ If you’re really stuck, DataMapper has an active community of people
+ willing to help. Get yourself onto the mailing list, or join the IRC
+ channel.
View
132 content/stylesheets/screen.css
@@ -47,28 +47,9 @@ body
:letter-spacing -1000em
#navigation
- :background #1E252E
:padding 0.5em 30px
:width= !layout - (!margin * 2)
:float left
-
- li
- :list-style-type none
-
- li, a
- :float left
-
- a
- :font
- :size 0.9em
- :weight bold
- :text-decoration none !important
- :color white !important
- :padding 0.65em 1.2em
- :-webkit-border-radius 4px
-
- a.current
- :background #171819
#content
:background left top no-repeat url(/images/layout/content-bkg.gif)
@@ -90,6 +71,59 @@ body
:width 100%
:float left
+ h2
+ :font
+ :weight bold
+ :size 1.6em
+ :color= !heading_blue
+ :margin-bottom 0.2em
+
+ h3
+ :font
+ :weight bold
+ :size 1.3em
+ :margin-bottom 0.25em
+
+ p
+ :line-height 1.3
+ :margin-bottom 1.3em
+
+ a:link
+ :color #FFCC33
+
+ a:visited
+ :color #CEB165
+
+ a:hover
+ :background black
+ :color white
+ :text-decoration none
+
+/* Navigation
+#navigation
+ :background #1E252E
+
+ li
+ :list-style-type none
+
+ li, a
+ :float left
+
+ a
+ :font
+ :size 0.9em
+ :weight bold
+ :text-decoration none !important
+ :color white !important
+ :padding 0.65em 1.2em
+ :-webkit-border-radius 4px
+
+ a.current
+ :background #171819
+
+ a:hover
+ :background= !mid_blue
+
/* Footer
#footer
:background= !mid_blue
@@ -115,10 +149,7 @@ body
:left -1000em
h2
- :font
- :weight bold
- :size 1.1em
- :color= !heading_blue
+ :font-size 1.1em
:margin-bottom 0.5em
li
@@ -154,4 +185,57 @@ body
#more-info
:font-size 1.1em
- :margin-bottom= !margin * 2
+ :margin-bottom= !margin * 2
+
+ #panel,
+ #latest-updates,
+ #learning-help
+ :background no-repeat url(/images/home/panel-bkg.gif)
+
+ #panel
+ :background-position bottom left
+ :padding-bottom 1em
+ :margin-left= !margin
+ :margin-bottom= !margin
+ :width= !layout - ((!margin * 2) - 1)
+ :float left
+ :clear both
+
+ h2
+ :margin-top 0.8em
+ :margin-bottom 0.8em
+
+ #latest-updates
+ :background-position top left
+ :padding-left= !margin
+ :width= !margin * 15
+ :float left
+
+ #learning-help
+ :background-position top right
+ :padding-right= !margin
+ :width= !margin * 11
+ :float right
+
+ li
+ :background left top no-repeat
+ :list-style-type none
+ :padding-left 48px
+ :margin-bottom 1em
+
+ h3
+ :font-size 1.05em
+
+ p
+ :font-size 0.9em
+ :margin 0
+
+ #learning-documentation
+ :background-image url(/images/icon/documentation.gif) !important
+
+ #learning-bugs
+ :background-image url(/images/icon/bugs.gif) !important
+
+ #learning-getting-help
+ :background-image url(/images/icon/community.gif) !important
+
Please sign in to comment.
Something went wrong with that request. Please try again.