]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Remove all #font mixins; replace single instance of its use in Bootstrap with the...
authorMark Otto <otto@github.com>
Sun, 17 Mar 2013 18:34:27 +0000 (11:34 -0700)
committerMark Otto <otto@github.com>
Sun, 17 Mar 2013 18:34:27 +0000 (11:34 -0700)
less/code.less
less/mixins.less

index c28b42fddc7d4bde5aa3748dd77ead25e9959805..c55f32fe7e90c3cb643b4551289b455e59ea0e74 100644 (file)
@@ -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;
index 3a1663ab40c1beddecc9f01266204b259ea247c7..458e58cc987a4b4982da70eddf4d0c35746abfd9 100644 (file)
 }
 
 
-// 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
 // --------------------------------------------------