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

51 lines
1.0 KiB
Plaintext
Raw Normal View History

2013-10-09 12:30:53 +02:00
// Susy Settings
$susy: (
flow: ltr,
math: fluid,
output: float,
gutter-position: after,
container: 90%,
container-position: center,
columns: <%= data.layout.susy.total_columns %>,
gutters: 1/3,
column-width: false,
global-box-sizing: border-box,
last-flow: to,
debug: (
image: hide,
color: rgba(#66f, .25),
output: background,
toggle: top right,
),
use-custom: (
background-image: true,
background-options: false,
box-sizing: true,
clearfix: false,
rem: true,
)
);
2013-10-11 22:06:20 +02:00
$gutter-width: <%= data.layout.susy.gutter_width %>;
$column-width: <%= data.layout.susy.column_width %>;
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;
}