@@ -15,162 +15,136 @@ $white: #F1FFF7;
1515$warning-yellow : #FFFDF1 ;
1616$warning-dark-yellow : #F5F1C7 ;
1717$red : #BA2121 ;
18+ $red-light : #FFBABA ;
1819$red-dark : #6A0E0E ;
1920$font-path : " ../fonts/fira-mono" ;
2021
2122// @font-face declarations
2223
2324@font-face {
24- font-family : ' Fira Mono' ;
25- src : url (' #{$font-path } /FiraMono-Regular.eot' );
26- src : url (' #{$font-path } /FiraMono-Regular.eot' ) format (' embedded-opentype' ),
27- url (' #{$font-path } /FiraMono-Regular.woff' ) format (' woff' ),
28- url (' #{$font-path } /FiraMono-Regular.ttf' ) format (' truetype' );
29- font-weight : 400 ;
30- font-style : normal ;
25+ font-family : ' Fira Mono' ;
26+ src : url (' #{$font-path } /FiraMono-Regular.eot' );
27+ src : url (' #{$font-path } /FiraMono-Regular.eot' ) format (' embedded-opentype' ),
28+ url (' #{$font-path } /FiraMono-Regular.woff' ) format (' woff' ),
29+ url (' #{$font-path } /FiraMono-Regular.ttf' ) format (' truetype' );
30+ font-weight : 400 ;
31+ font-style : normal ;
3132}
3233
3334@font-face {
34- font-family : ' Fira Mono' ;
35- src : url (' #{$font-path } /FiraMono-Bold.eot' );
36- src : url (' #{$font-path } /FiraMono-Bold.eot' ) format (' embedded-opentype' ),
37- url (' #{$font-path } /FiraMono-Bold.woff' ) format (' woff' ),
38- url (' #{$font-path } /FiraMono-Bold.ttf' ) format (' truetype' );
39- font-weight : 700 ;
40- font-style : normal ;
35+ font-family : ' Fira Mono' ;
36+ src : url (' #{$font-path } /FiraMono-Bold.eot' );
37+ src : url (' #{$font-path } /FiraMono-Bold.eot' ) format (' embedded-opentype' ),
38+ url (' #{$font-path } /FiraMono-Bold.woff' ) format (' woff' ),
39+ url (' #{$font-path } /FiraMono-Bold.ttf' ) format (' truetype' );
40+ font-weight : 700 ;
41+ font-style : normal ;
4142}
4243
4344// Media Queries Mixin (http://jakearchibald.github.com/sass-ie/)
44- $fix-mqs : false !default ;
4545@mixin respond-min ($width ) {
46- @if $fix-mqs {
47- @if $fix-mqs >= $width {
48- @content ;
49- }
50- }
51- @else {
52- @media screen and (min-width : $width ) {
53- @content ;
54- }
55- }
46+ @media screen and (min-width : $width ) {
47+ @content ;
48+ }
5649}
5750
5851@mixin device-min ($width ) {
59- @if $fix-mqs {
60- @if $fix-mqs >= $width {
61- @content ;
62- }
63- }
64- @else {
65- @media screen and (min-device-width : $width ) {
66- @content ;
67- }
68- }
69- }
70-
71- // OLD IE Mixin (http://jakearchibald.github.com/sass-ie/)
72- $old-ie : false !default ;
73- @mixin old-ie {
74- @if $old-ie {
75- @content ;
76- }
52+ @media screen and (min-device-width : $width ) {
53+ @content ;
54+ }
7755}
7856
7957// Retina media query mixin
8058@mixin retina-display {
81- @media only screen and
82- (-webkit-min-device-pixel-ratio : 2 ),
83- (min-resolution : 192dpi ) {
84- @content ;
85- }
59+ @media only screen and
60+ (-webkit-min-device-pixel-ratio : 2 ),
61+ (min-resolution : 192dpi ) {
62+ @content ;
63+ }
8664}
8765
8866// Font Family Mixins
8967@mixin serif {
90- font-family : Palatino, " Palatino Linotype" , " Book Antiqua" , " Hoefler Text" , Georgia , " Lucida Bright" , Cambria, Times , " Times New Roman" , serif ;
68+ font-family : Palatino, " Palatino Linotype" , " Book Antiqua" , " Hoefler Text" , Georgia , " Lucida Bright" , Cambria, Times , " Times New Roman" , serif ;
9169}
9270@mixin sans-serif {
93- font-family : " Roboto" , Corbel, Avenir, " Lucida Grande" , " Lucida Sans" , sans-serif ;
71+ font-family : " Roboto" , Corbel, Avenir, " Lucida Grande" , " Lucida Sans" , sans-serif ;
9472}
9573@mixin monospace {
96- font-family : " Fira Mono" , Consolas, Menlo, Monaco, " Courier New" , Courier , monospace ;
97- font-variant-ligatures : no-common-ligatures ; // disables the common ligatures only
98- text-rendering : optimizeSpeed ; // for Safari 7.x
74+ font-family : " Fira Mono" , Consolas, Menlo, Monaco, " Courier New" , Courier , monospace ;
75+ font-variant-ligatures : no-common-ligatures ; // disables the common ligatures only
76+ text-rendering : optimizeSpeed ; // for Safari 7.x
9977}
10078
10179// Font Sizing Mixin (http://css-tricks.com/snippets/css/less-mixin-for-rem-font-sizing/)
10280html {
103- font-size : 62.5% ;
81+ font-size : 62.5% ;
10482}
10583@mixin font-size ( $size : 16 ) {
106- font-size : $size + px;
107- font-size : $size / 10 + rem;
84+ font-size : $size + px;
85+ font-size : $size / 10 + rem;
10886}
10987
11088// Boilerplate Helper mixins (https://github.com/h5bp/html5-boilerplate/blob/v4.1.0/doc/css.md)
11189@mixin visuallyhidden {
112- border : 0 ;
113- clip : rect (0 0 0 0 );
114- height : 1px ;
115- margin : -1px ;
116- overflow : hidden ;
117- padding : 0 ;
118- position : absolute ;
119- width : 1px ;
90+ border : 0 ;
91+ clip : rect (0 0 0 0 );
92+ height : 1px ;
93+ margin : -1px ;
94+ overflow : hidden ;
95+ padding : 0 ;
96+ position : absolute ;
97+ width : 1px ;
12098}
12199@mixin clearfix {
122- & :before ,
123- & :after {
124- content : " " ;
125- display : table ;
126- }
127- & :after {
128- clear : both ;
129- }
130- @include old-ie {
131- zoom : 1 ;
132- }
100+ & :before ,
101+ & :after {
102+ content : " " ;
103+ display : table ;
104+ }
105+ & :after {
106+ clear : both ;
107+ }
133108}
134109
135110@mixin svg-image ( $name ) {
136- background-image : url (' ../img/' + $name + ' .png' );
137- .mdzr-svg & {
138- background-image : url (' ../img/' + $name + ' .svg' );
139- }
111+ background-image : url (' ../img/' + $name + ' .png' );
112+ .mdzr-svg & {
113+ background-image : url (' ../img/' + $name + ' .svg' );
114+ }
140115}
141116
142117// Green Link Mixin
143118@mixin link-green {
144- color : $green ;
145- text-decoration : none ;
146- & :visited {
147- color : $green ;
148- }
149- & :hover ,
150- & :active ,
151- & :focus {
152- color : lighten ($green , 6% );
153- text-decoration : none ;
154- }
119+ color : $green ;
120+ text-decoration : none ;
121+ & :visited {
122+ color : $green ;
123+ }
124+ & :hover ,
125+ & :active ,
126+ & :focus {
127+ color : lighten ($green , 6% );
128+ text-decoration : none ;
129+ }
155130
156131}
157132
158133// Secondary content box-shadow:
159134@mixin secondary-shadow-top {
160- -moz-box-shadow : 0 4px 8px rgba (12 ,60 ,38 ,0.07 );
161- -webkit-box-shadow : 0 4px 8px rgba (12 ,60 ,38 ,0.07 );
162- box-shadow : 0 4px 8px rgba (12 ,60 ,38 ,0.07 );
135+ -moz-box-shadow : 0 4px 8px rgba (12 ,60 ,38 ,0.07 );
136+ -webkit-box-shadow : 0 4px 8px rgba (12 ,60 ,38 ,0.07 );
137+ box-shadow : 0 4px 8px rgba (12 ,60 ,38 ,0.07 );
163138}
164139
165140@mixin secondary-shadow-bottom {
166- -moz-box-shadow : 0 -4px 8px rgba (12 ,60 ,38 ,0.07 );
167- -webkit-box-shadow : 0 -4px 8px rgba (12 ,60 ,38 ,0.07 );
168- box-shadow : 0 -4px 8px rgba (12 ,60 ,38 ,0.07 );
141+ -moz-box-shadow : 0 -4px 8px rgba (12 ,60 ,38 ,0.07 );
142+ -webkit-box-shadow : 0 -4px 8px rgba (12 ,60 ,38 ,0.07 );
143+ box-shadow : 0 -4px 8px rgba (12 ,60 ,38 ,0.07 );
169144}
170145
171146@mixin framed-image {
172- padding : 20px ;
173- border : 1px solid $gray-line ;
174- @include border-radius (4px );
175-
147+ padding : 20px ;
148+ border : 1px solid $gray-line ;
149+ border-radius : 4px ;
176150}
0 commit comments