bug fixes found now that things are starting to work.

This commit is contained in:
Chris Eppstein 2008-08-24 00:04:31 -07:00
parent ca82bca962
commit b82966e03f
4 changed files with 39 additions and 40 deletions

View File

@ -1,5 +1,4 @@
@import modules/colors
@import modules/reset
@import modules/grid
@import modules/typography
@import modules/utilities

View File

@ -0,0 +1,38 @@
@import compass/utilities
// Most of these utility classes are not "semantic". If you use them,
// you are mixing your content and presentation. For shame!
=blueprint-utilities
// Regular clearing apply to column that should drop below previous ones.
.clear
:clear both
// turn off text wrapping for the element.
.nowrap
+nowrap
// Apply to an element that has floated children to make the bottom
// of the element fall _below_ the floated children.
.clearfix
+clearfix
.small
:font-size .8em
:margin-bottom 1.875em
:line-height 1.875em
.large
:font-size 1.2em
:line-height 2.5em
:margin-bottom 1.25em
.first
:margin-left 0
:padding-left 0
.last
:margin-right 0
:padding-right 0
.top
:margin-top 0
:padding-top 0
.bottom
:margin-bottom 0
:padding-bottom 0
.print-only
:display none

View File

@ -14,41 +14,3 @@
=nowrap
:white-space nowrap
// Most of these utility classes are not "semantic". If you use them,
// you are mixing your content and presentation. For shame!
=blueprint-utilities
// Regular clearing apply to column that should drop below previous ones.
.clear
:clear both
// turn off text wrapping for the element.
.nowrap
+nowrap
// Apply to an element that has floated children to make the bottom
// of the element fall _below_ the floated children.
.clearfix
+clearfix
.small
:font-size .8em
:margin-bottom 1.875em
:line-height 1.875em
.large
:font-size 1.2em
:line-height 2.5em
:margin-bottom 1.25em
.first
:margin-left 0
:padding-left 0
.last
:margin-right 0
:padding-right 0
.top
:margin-top 0
:padding-top 0
.bottom
:margin-bottom 0
:padding-bottom 0
.print-only
:display none

View File

@ -56,7 +56,7 @@ end
%head
%meta{'http-equiv' => "content-type", :content => "text/html;charset=UTF-8"}
%title= @browser_title || 'Default Browser Title'
= stylesheet_link_tag '#{stylesheet_prefix}screen.css', :media => 'print'
= stylesheet_link_tag '#{stylesheet_prefix}screen.css', :media => 'screen, projection'
= stylesheet_link_tag '#{stylesheet_prefix}print.css', :media => 'print'
/[if IE]
= stylesheet_link_tag '#{stylesheet_prefix}ie.css', :media => 'screen, projection'