compass/doc-src/content/stylesheets/partials/_layout.scss

22 lines
683 B
SCSS
Raw Permalink Normal View History

2011-04-17 08:48:44 +00:00
$min-width: 700px;
$side-nav-width: 160px;
2010-11-17 05:03:42 +00:00
$main-min-width: $min-width - $side-nav-width;
body {
2010-11-17 05:03:42 +00:00
max-width: 1500px;
min-width: $min-width;
margin: 0 auto;
@extend .sans-font;
line-height: 1.45em;
}
2010-11-23 06:09:18 +00:00
#wrap { @extend .group; padding: 0 20px 20px; }
#page { @extend .group; padding-bottom: 30px; }
2010-11-23 06:09:18 +00:00
footer { @extend .group; clear: both; padding-top: 20px;}
2010-11-17 05:03:42 +00:00
header { padding: 22px 0 0; position: relative; }
#page aside + article { margin-left: $side-nav-width + 22px; padding-left: 23px; }
2010-12-09 05:02:20 +00:00
aside { float: left; width: $side-nav-width; position: relative; z-index: 2;}
body#home #page article { padding-left: 0;}
body.site, body#changelog, body.default { max-width: 1024px; }