sass-site/source/assets/stylesheets/dependencies/_layout.scss.erb

29 lines
662 B
Plaintext
Raw Normal View History

2013-10-09 12:30:53 +02:00
// Susy Settings
2013-10-12 17:51:13 +02:00
$container: 90%;
2013-10-11 22:06:20 +02:00
$gutter-width: <%= data.layout.susy.gutter_width %>;
$column-width: <%= data.layout.susy.column_width %>;
$columns: <%= data.layout.susy.total_columns %>;
$gutters: 1/3;
$gutter-placement: inside;
2013-10-09 12:30:53 +02:00
2013-10-11 22:06:20 +02:00
// Breakpoint Settings
$breakpoint-to-ems: true;
2013-10-12 17:51:13 +02:00
<% data.layout.resolutions.each_with_index do |resolution, index| %>
2013-10-09 12:30:53 +02:00
$<%= resolution.target %>: <%= resolution.width %>px;
2013-10-12 17:51:13 +02:00
$<%= resolution.target %>-grid: "(<%= index %> * 2) ($column-width $gutter-width) inside fluid";
2013-10-09 12:30:53 +02:00
<% end %>
2013-10-11 22:06:20 +02:00
// Misc
$border-radius: .25em;
2013-10-09 12:30:53 +02:00
$sticky-contentinfo-height: rhythm(6);
2013-10-10 22:21:47 +02:00
@mixin square($size: $column-width) {
width: $size;
height: $size;
}