mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
adding placeholder font-face mixin which doesn't work yet
This commit is contained in:
parent
96dd7a2903
commit
cde17c9491
2 changed files with 15 additions and 1 deletions
2
bootstrap.css
vendored
2
bootstrap.css
vendored
|
@ -6,7 +6,7 @@
|
|||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Designed and built with all the love in the world @twitter by @mdo and @fat.
|
||||
* Date: Tue Oct 4 00:16:55 PDT 2011
|
||||
* Date: Tue Oct 4 00:48:20 PDT 2011
|
||||
*/
|
||||
/* Reset.less
|
||||
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue