Created
May 20, 2010 07:47
-
-
Save chriseppstein/407318 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body.standard #footer, | |
body.standard #header, | |
body.standard #sidebar, | |
body.standard #content, | |
body.standard #ads { | |
float: left; | |
margin-left: 10px; | |
margin-right: 10px; | |
} | |
body.standard #footer, | |
body.standard #header, | |
body.standard #sidebar { | |
margin-left: 0; | |
} | |
body.standard #footer, | |
body.standard #header, | |
body.standard #ads { | |
margin-right: 0; | |
} | |
body.standard #footer, | |
body.standard #header { | |
width: 960px; | |
} | |
body.standard #sidebar { | |
width: 190px | |
} | |
body.standard #content { | |
width: 470px | |
} | |
body.standard #ads { | |
width: 270px | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$gutter-width: 10px | |
$column-width: 40px | |
=column-base | |
float: left | |
margin: | |
left: $gutter-width | |
right: $gutter-width | |
=last-column | |
margin-right: 0 | |
=first-column | |
margin-right: 0 | |
=column($columns, $first: false, $last: false) | |
@extend column-base | |
@if $first | |
@extend first-column | |
@if $last | |
@extend last-column | |
width: $column-width * $columns - $gutter-width | |
=three-column-layout($left-cols, $middle-cols, $right-cols) | |
=full-width | |
+column($left-cols + $middle-cols + $right-cols, $first: true, $last: true) | |
=header | |
@extend full-width | |
=footer | |
@extend full-width | |
=left-column | |
+column($left-cols, $first: true) | |
=middle-column | |
+column($middle-cols) | |
=right-column | |
+column($right-cols, $last: true) | |
@yield | |
body.standard | |
+three-column-layout(5,12,7) | |
#footer | |
+footer | |
#header | |
+header | |
#sidebar | |
+left-column | |
#content | |
+middle-column | |
#ads | |
+right-column |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nathan and I discussed this last night... I don't think we'll see these features anytime soon.