Skip to content

Commit

Permalink
some default styles on top of CSS reset
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Apr 28, 2008
1 parent 3ae9a3a commit c3cdda0
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 2 deletions.
3 changes: 1 addition & 2 deletions app/views/layouts/application.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@
/ = javascript_include_tag :defaults, :cache => true

%body
%h1= humanized_controller_action

/ %h1= humanized_controller_action
= yield
3 changes: 3 additions & 0 deletions public/stylesheets/sass/_reset.sass
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ del
table
:border-collapse collapse
:border-spacing 0

th, h1, h2, h3, h4, h5, h6
:font-weight normal
28 changes: 28 additions & 0 deletions public/stylesheets/sass/default.sass
Original file line number Diff line number Diff line change
@@ -1 +1,29 @@
@import reset.sass

html
:background #aaa
:font-size 62.5%
body
:background white
:border 3px solid gray
:margin 3em
:padding 1.5em 2em
:font 1.2em/1.5 Verdana, Arial, sans-serif

p
:margin-bottom .5em
h1
:font 2.6em Times, "Times New Roman", Georgia, serif
:margin-bottom .3em

table
:margin-bottom 1em
td, th
:padding .4em .8em
thead
:background-color #e8e8e8
th
:font-variant small-caps
:color #555
tr
:border-bottom 1px solid silver

0 comments on commit c3cdda0

Please sign in to comment.