1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

make font family mixins customizable with variables.

This commit is contained in:
ctalkington 2012-03-15 13:34:50 -05:00
parent 8e0afbeaa4
commit 51f37cbb81
2 changed files with 7 additions and 3 deletions

View file

@ -116,13 +116,13 @@
#font {
#family {
.serif() {
font-family: Georgia, "Times New Roman", Times, serif;
font-family: @serifFontFamily;
}
.sans-serif() {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-family: @sansFontFamily;
}
.monospace() {
font-family: Menlo, Monaco, "Courier New", monospace;
font-family: @monoFontFamily;
}
}
.shorthand(@size: @baseFontSize, @weight: normal, @lineHeight: @baseLineHeight) {

View file

@ -54,6 +54,10 @@
@headingsFontWeight: bold; // instead of browser default, bold
@headingsColor: inherit; // empty to use BS default, @textColor
@serifFontFamily: Georgia, "Times New Roman", Times, serif;
@sansFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif;
@monoFontFamily: Menlo, Monaco, "Courier New", monospace;
// Tables
// -------------------------