aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB Mathis <brandon@imathis.com>2010-03-10 14:38:53 -0600
committerB Mathis <brandon@imathis.com>2010-03-10 14:38:53 -0600
commite8e361993f1e6237f4c6786e973dec83ee4b74d0 (patch)
tree4bf5720814352e2161adcefb80336d5efd71801b
parent16aab4abb277c2b98947b0983b442741fb19045e (diff)
downloadmy_new_personal_website-e8e361993f1e6237f4c6786e973dec83ee4b74d0.tar.xz
my_new_personal_website-e8e361993f1e6237f4c6786e973dec83ee4b74d0.zip
improved flexible layout for code expansion
Diffstat (limited to '')
-rw-r--r--stylesheets/_layout.sass10
1 files changed, 5 insertions, 5 deletions
diff --git a/stylesheets/_layout.sass b/stylesheets/_layout.sass
index fc4a8c64..4acb0dc4 100644
--- a/stylesheets/_layout.sass
+++ b/stylesheets/_layout.sass
@@ -1,6 +1,6 @@
!page_pad = 30px
!page_width = 980px
-!sidebar_margin = 25px
+!sidebar_margin = 20px
!sidebar_width = 280px
!default_border_radius = 4px
@@ -37,14 +37,14 @@ html body
#sidebar
float: left
- width: #{!sidebar_width - !page_pad/2}
+ width: #{!sidebar_width - !sidebar_margin}
margin: 0 -100% 0 0
- padding: #{!page_pad} 0 #{!page_pad} #{!page_pad/2}
+ padding: #{!page_pad} 0 #{!page_pad} #{!sidebar_margin}
#page.expanded
#content
- width: #{!page_width}
- padding: 0
+ width: #{!page_width - !page_pad/2}
+ padding: 0 0 0 #{!page_pad/2}
#sidebar
float: none
margin: 0