aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-03-17 11:34:27 -0700
committerMark Otto <[email protected]>2013-03-17 11:34:27 -0700
commit4aba489cfdc113682d2f1b18421eb58a229d66da (patch)
tree82df4b4933586de2fd42f6509588209a6109f673
parent6012d8221b8e4f94c0cf842790ce70d868bb341a (diff)
downloadbootstrap-4aba489cfdc113682d2f1b18421eb58a229d66da.tar.xz
bootstrap-4aba489cfdc113682d2f1b18421eb58a229d66da.zip
Remove all #font mixins; replace single instance of its use in Bootstrap with the @font-family-monospace variable
-rw-r--r--less/code.less2
-rw-r--r--less/mixins.less35
2 files changed, 1 insertions, 36 deletions
diff --git a/less/code.less b/less/code.less
index c28b42fdd..c55f32fe7 100644
--- a/less/code.less
+++ b/less/code.less
@@ -7,7 +7,7 @@
code,
pre {
padding: 0 3px 2px;
- #font > #family > .monospace;
+ font-family: @font-family-monospace;
font-size: (@font-size-base - 2);
color: @grayDark;
border-radius: 4px;
diff --git a/less/mixins.less b/less/mixins.less
index 3a1663ab4..458e58cc9 100644
--- a/less/mixins.less
+++ b/less/mixins.less
@@ -79,41 +79,6 @@
}
-// FONTS
-// --------------------------------------------------
-
-#font {
- #family {
- .serif() {
- font-family: @font-family-serif;
- }
- .sans-serif() {
- font-family: @font-family-sans-serif;
- }
- .monospace() {
- font-family: @font-family-monospace;
- }
- }
- .shorthand(@size: @font-size-base, @weight: normal, @lineHeight: @line-height-base) {
- font-size: @size;
- font-weight: @weight;
- line-height: @lineHeight;
- }
- .serif(@size: @font-size-base, @weight: normal, @lineHeight: @line-height-base) {
- #font > #family > .serif;
- #font > .shorthand(@size, @weight, @lineHeight);
- }
- .sans-serif(@size: @font-size-base, @weight: normal, @lineHeight: @line-height-base) {
- #font > #family > .sans-serif;
- #font > .shorthand(@size, @weight, @lineHeight);
- }
- .monospace(@size: @font-size-base, @weight: normal, @lineHeight: @line-height-base) {
- #font > #family > .monospace;
- #font > .shorthand(@size, @weight, @lineHeight);
- }
-}
-
-
// CSS3 PROPERTIES
// --------------------------------------------------