$max-width: 1000px; @mixin square($property){ width: $property; height: $property; } @mixin user-select($select){ -moz-user-select: $select; -khtml-user-select: $select; -webkit-user-select: $select; -o-user-select: $select; user-select: $select; } @mixin border-shadow($top: #fff, $bottom: #ddd){ border-top: 1px solid $top; border-bottom: 1px solid $bottom; } @mixin center($width, $height){ position: absolute; top: 50%; left: 50%; margin-left: $width/(-2); margin-top: $height/(-2); width: $width; height: $height; } *{ margin: 0; padding: 0; } body{ font-family: $default; font-weight: 300; font-size: 14px; background: $background; color: $font-main; } h1{ font-size: 1.8em; } h2{ font-size: 1.5em; } h3{ font-size: 1.3em; } a{ text-decoration: none; outline-width: 0; color: $main; } .left{ float: left; } .right{ float: right; } .clear{ clear: both; } .inner{ width: $max-width; margin: 0 auto; } @media screen and (max-width: 1030px){ body{ margin: 0 30px; } .inner{ width: 100%; } } @media screen and (max-width: 600px){ body{ font-size: 13px; } }