1 /* ------------------------------
3 ------------------------------ */
5 /* Calculate px to rem */
6 @function calculateRem($size) {
7 $remSize: $size / $base-font-size;
8 @return $remSize * 1rem;
11 @mixin font-size($size) {
13 font-size: calculateRem($size);
28 // somewhere here -- widen?
39 $break-footer: $break5;
44 //@if $canvas == 'phone' {
46 @media only screen and (min-width: $canvas) {
53 @else if $canvas == 'print' {
65 @include rwd($break5) {
71 @include rwd($break5) {
83 flex-direction: column;
86 justify-content: space-between;
89 @include rwd($break5) {
95 @include rwd($break5) {
100 flex-direction: column-reverse;
101 @include rwd($break5) {
111 $max-logical-viewport-width: 1140px + 32px;
113 @mixin lvw($property, $size) {
114 #{$property}: $size * $max-logical-viewport-width / 100;
116 @include rwd($break-wide) {
117 #{$property}: $size * 1vw;