aboutsummaryrefslogtreecommitdiff
path: root/stylesheets/_layout.sass
diff options
context:
space:
mode:
authorB Mathis <brandon@imathis.com>2009-11-12 11:57:01 -0600
committerB Mathis <brandon@imathis.com>2009-11-12 11:57:01 -0600
commita55a55156638efd574b7d78f57da0955f355ba40 (patch)
tree12e86b9f507e319a6fd29a2232573ed24b8e10c7 /stylesheets/_layout.sass
parent0b744bae5e8379531939942670d87b46bb9d0e1a (diff)
downloadmy_new_personal_website-a55a55156638efd574b7d78f57da0955f355ba40.tar.xz
my_new_personal_website-a55a55156638efd574b7d78f57da0955f355ba40.zip
added ability to collapse layout
Diffstat (limited to 'stylesheets/_layout.sass')
-rw-r--r--stylesheets/_layout.sass24
1 files changed, 24 insertions, 0 deletions
diff --git a/stylesheets/_layout.sass b/stylesheets/_layout.sass
index 94c6015e..348c1a92 100644
--- a/stylesheets/_layout.sass
+++ b/stylesheets/_layout.sass
@@ -75,8 +75,18 @@ html body
#page
+clearfix
background-color= !page_bg
+ &.collapsed
+ .page_width
+ width= !page_width - !sidebar_width
+ #main
+ width: 100%
+ .pre_expander
+ display: none
+ #sidebar
+ float: none
.page_width
+clearfix
+ position: relative
padding:
top: 25px
bottom: 25px
@@ -91,6 +101,20 @@ html body
&.expanded
width: 100%
+#sidebar
+ float: left
+ width= !sidebar_width
+ margin-left= !sidebar_margin
+ font-size: 80%
+ line-height: 1.625em
+ h4
+ margin: 20px 0 0
+ &:first-child
+ margin-top: 10px
+ .small
+ +sans-font
+ font-size: 50%
+
#footer
position: relative
z-index: 2