Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
51f37cbb
Commit
51f37cbb
authored
13 years ago
by
ctalkington
Browse files
Options
Download
Email Patches
Plain Diff
make font family mixins customizable with variables.
parent
8e0afbea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
less/mixins.less
+3
-3
less/mixins.less
less/variables.less
+4
-0
less/variables.less
with
7 additions
and
3 deletions
+7
-3
less/mixins.less
+
3
-
3
View file @
51f37cbb
...
...
@@ -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) {
...
...
This diff is collapsed.
Click to expand it.
less/variables.less
+
4
-
0
View file @
51f37cbb
...
...
@@ -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
// -------------------------
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment