1 $default-em-size: 16px;
3 @mixin size($name, $args) {
7 @if type-of($val) == number {
8 @if unit($val) == "px" {
9 $remval: $val / $default-em-size * 1rem;
12 // Workaround for PySCSS issue with appending to empty lists.
13 @if $rems == snowflake {
17 $rems: append($rems, $remval);
24 @mixin min-screen($size) {
25 @if unit($size) == "px" {
26 $size: $size / $default-em-size * 1em;
29 @media screen and (min-width: $size) {
35 @mixin vendors($name, $args) {
36 @include size(-moz + $name, $args);
37 @include size(-webkit + $name, $args);
38 @include size(-moz + $name, $args);
41 @mixin vendors($names, $args) {
42 @each $name in $names {
43 @include size($name, $args);
47 @mixin box-shadow($args) {
56 font-family: "Cousine";
61 @include size(width, 1px);
62 @include size(height, 1px);
67 @include size(border, 1px solid #ddd);
69 @include box-shadow(2px 2px 2px #ddd);