Skip to content

Commit

Permalink
updated layout, page styles, fixed config paths for assets
Browse files Browse the repository at this point in the history
  • Loading branch information
imathis committed Nov 21, 2009
1 parent 6f10642 commit d3313c8
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
11 changes: 5 additions & 6 deletions config.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# Require any additional compass plugins here.
#require 'compass-colors'
require 'compass-colors'
project_type = :stand_alone
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "site/stylesheets"
sass_dir = "/stylesheets"
images_dir = "images"

# To enable relative paths to assets via compass helper functions. Uncomment:
# relative_assets = true
sass_dir = "stylesheets"
images_dir = "source/images"
images_dir = "source/images/"
http_images_path = "/images"
2 changes: 1 addition & 1 deletion stylesheets/_theme.sass
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Link Colors
!link_color = #165B94
!link_color = lighten(#165B94, .30)

// Main Section Colors
!body_color = #333
Expand Down
10 changes: 7 additions & 3 deletions stylesheets/library/_easy_box_shadow.sass
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
!default_box_shadow_y_offset = 1px
!default_box_shadow_blur_radius = 8px

=easy-box-shadow(!color = !default_box_shadow_color, !x_offset = !default_box_shadow_x_offset, !y_offset = !default_box_shadow_y_offset, !blur_radius = !default_box_shadow_blur_radius)
+box-shadow(!x_offset, !y_offset, !blur_radius, !color)

=box-shadow(!color = !default_box_shadow_color, !blur_radius = !default_box_shadow_blur_radius, !x_offset = !default_box_shadow_x_offset, !y_offset = !default_box_shadow_y_offset, !inset = "")
box-shadow= !inset !x_offset !y_offset !blur_radius !color
-webkit-box-shadow= !inset !x_offset !y_offset !blur_radius !color
-moz-box-shadow= !inset !x_offset !y_offset !blur_radius !color

=inset-box-shadow(!color = !default_box_shadow_color, !blur_radius = !default_box_shadow_blur_radius, !x_offset = !default_box_shadow_x_offset, !y_offset = !default_box_shadow_y_offset)
+box-shadow(!color, !blur_radius, !x_offset, !y_offset, "inset")
2 changes: 1 addition & 1 deletion stylesheets/partials/_page.sass
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
top: 25px
bottom: 25px
background-color= !blog_bg
+easy-box-shadow(#ccc)
+box-shadow(#ccc)
border:
left= "1px solid" !page_border_sides
right= "1px solid" !page_border_sides
Expand Down

0 comments on commit d3313c8

Please sign in to comment.