2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00

adding placeholder font-face mixin which doesn't work yet

This commit is contained in:
Mark Otto
2011-10-04 00:48:31 -07:00
parent 96dd7a2903
commit cde17c9491
2 changed files with 15 additions and 1 deletions
+14
View File
@@ -71,6 +71,20 @@
}
}
// Font face generator
.font-face(@fontFamily, @fileName, @style, @weight) {
@font-face {
font-family: @fontFamily;
font-style: @style;
font-weight: @weight;
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#@{fontFamily}') format('svg');
}
}
// Grid System
.fixed-container() {
width: @siteWidth;