@font-face Mixin
@registerfont (@face, @file, @weight: normal, @style: normal) {
@filename: '../fonts/' + @file + '_' + @weight + '_' + @style;
(~'@font-face') {
font-family: @face;
src: url(@filename + '.eot');
src: url(@filename + '.eot?#iefix') format('embedded-opentype'),
url(@filename + '.woff') format('woff'),
url(@filename + '.ttf') format('truetype'),
url(@filename + '.svg#' + @file + @weight + @style) format('svg');
font-weight: @weight;
font-style: @style;
}
}